App.Metrics.Formatting.ElasticSearch by Allan Hardy, Jenya Y.

<PackageReference Include="App.Metrics.Formatting.ElasticSearch" Version="1.1.1" />

 BulkPayloadBuilder

public MetricValueDataKeys DataKeys { get; }

public BulkPayloadBuilder(string index, Func<string, string, string> metricNameFormatter = null, Func<string, string> metricTagValueFormatter = null, MetricValueDataKeys dataKeys = null)

public void Clear()

public void Init()

public void Pack(string context, string name, object value, MetricTags tags)

public void Pack(string context, string name, IEnumerable<string> columns, IEnumerable<object> values, MetricTags tags)

public string PayloadFormatted()