Skip to content

Add exporter/metricbatcher to split metric batches into 200 points#1111

Closed
dashpole wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
dashpole:temp_batcher_aio
Closed

Add exporter/metricbatcher to split metric batches into 200 points#1111
dashpole wants to merge 1 commit intoGoogleCloudPlatform:mainfrom
dashpole:temp_batcher_aio

Conversation

@dashpole
Copy link
Copy Markdown
Contributor

@dashpole dashpole commented Mar 9, 2026

Based on open-telemetry/opentelemetry-go#7930.

I used AI to convert the upstream PoC into an exporter wrapper.

I tested this by writing a metric with 1000 cardinality against the OTLP metrics GCP service and verified that all timeseries are correctly ingested.

TODO: investigate errors I saw when running locally (seemed to do with target_info)

@dashpole dashpole requested a review from a team as a code owner March 9, 2026 17:46
@dashpole
Copy link
Copy Markdown
Contributor Author

I might actually have this implemented upstream soon, so this might not be neccessary...

@dashpole dashpole closed this Mar 18, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 18, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (4caace7) to head (9c73d55).
⚠️ Report is 165 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #1111       +/-   ##
==========================================
- Coverage   61.03%       0   -61.04%     
==========================================
  Files          56       0       -56     
  Lines        5903       0     -5903     
==========================================
- Hits         3603       0     -3603     
+ Misses       2143       0     -2143     
+ Partials      157       0      -157     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant