Skip to content

Commit

Permalink
Use metrics batcher (#818)
Browse files Browse the repository at this point in the history
This applies the same fix from #817 to v1.33.0, which we will release as
v1.33.1 to fix an issue with large metrics exports.
  • Loading branch information
mwear authored Nov 20, 2024
1 parent 6c9cb70 commit 5a2ca4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightstep/sdk/metric/exporters/otlp/otelcol/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func (c *client) ExportMetrics(ctx context.Context, data data.Metrics) error {
c.tracer,
c.counter,
&c.ResourceMap,
c.exporter,
c.batcher,
true, // use exponential histograms
)
}
Expand Down

0 comments on commit 5a2ca4a

Please sign in to comment.