Skip to content

Commit

Permalink
Increase split size for metric writer (#415)
Browse files Browse the repository at this point in the history
This change increases maxBatchByteSize to reduce the number of writes
for big batches.
  • Loading branch information
srikanthccv authored Oct 3, 2024
1 parent 97bdf81 commit fd09095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exporter/clickhousemetricsexporter/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ import (
"go.opentelemetry.io/collector/pdata/pmetric"
)

const maxBatchByteSize = 3000000
const maxBatchByteSize = 128000000

// PrwExporter converts OTLP metrics to Prometheus remote write TimeSeries and sends them to a remote endpoint.
type PrwExporter struct {
Expand Down

0 comments on commit fd09095

Please sign in to comment.