Skip to content

fix(sigil-cc): use cumulative temporality for OTLP metrics#28

Draft
alexander-akhmetov wants to merge 1 commit intomainfrom
alexander-akhmetov/claude-code-metrics-fix
Draft

fix(sigil-cc): use cumulative temporality for OTLP metrics#28
alexander-akhmetov wants to merge 1 commit intomainfrom
alexander-akhmetov/claude-code-metrics-fix

Conversation

@alexander-akhmetov
Copy link
Copy Markdown
Collaborator

@alexander-akhmetov alexander-akhmetov commented Apr 10, 2026

Delta temporality histograms are rejected by Grafana Cloud's OTLP gateway, so gen_ai.client.* metrics never reached Prometheus.


Note

Low Risk
Low risk telemetry-only change; it alters metric temporality/output format which could affect downstream dashboards/alerts but not application behavior.

Overview
Stops forcing OTLP HTTP metrics to use delta temporality by removing the custom WithTemporalitySelector configuration (and the metricdata dependency), so the exporter uses the default cumulative temporality for better compatibility with backends like Grafana Cloud OTLP.

Reviewed by Cursor Bugbot for commit 89e4578. Bugbot is set up for automated code reviews on this repo. Configure here.

Delta temporality histograms are rejected by Grafana Cloud's OTLP
gateway, so gen_ai.client.* metrics never reached Prometheus.
@alexander-akhmetov
Copy link
Copy Markdown
Collaborator Author

bugbot review

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 89e4578. Configure here.

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