public async Task WriteAsync(InstrumentationBatch data) { var response = await m_Server.Call(InstrumentationServiceAddress, nameof(IInstrumentationChronicle), 0, (http, ct) => http.Client.PostAndGetJsonMapAsync("batch", data)); response.UnwrapChangeResult(); }
public async Task WriteAsync(InstrumentationBatch data) { var response = await m_Server.Call(InstrumentationServiceAddress, nameof(IInstrumentationChronicle), new ShardKey(DateTime.UtcNow), (http, ct) => http.Client.PostAndGetJsonMapAsync("batch", data)).ConfigureAwait(false); response.UnwrapChangeResult(); }