Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(otelcol): fix Prometheus exporter not collecting metrics after reload #6154

Merged

Conversation

hainenber
Copy link
Contributor

PR Description

Fixes OTEL metrics not getting collected after the Agent is reloaded. The fix has already arrived in go.opentelemetry.io/otel/sdk/[email protected]

Which issue(s) this PR fixes

Fixes #6140

Notes to the Reviewer

PR Checklist

  • CHANGELOG.md updated

@hainenber hainenber changed the title fix(otelcol): fix Prom exporter not collecting metrics after reload fix(otelcol): fix Prometheus exporter not collecting metrics after reload Feb 16, 2024
Copy link
Member

@tpaschalis tpaschalis left a comment

Choose a reason for hiding this comment

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

Thank you once more @hainenber 🙌

For posterity, I think the upstream fix was open-telemetry/opentelemetry-go#4648 and the original report was open-telemetry/opentelemetry-go#4032

@tpaschalis tpaschalis enabled auto-merge (squash) February 20, 2024 08:35
@tpaschalis tpaschalis merged commit b27e321 into grafana:main Feb 20, 2024
10 checks passed
@hainenber hainenber deleted the fix-otel-metrics-not-exported-after-reload branch February 20, 2024 08:44
BarunKGP pushed a commit to BarunKGP/grafana-agent that referenced this pull request Feb 20, 2024
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Mar 24, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"An error has occurred while serving metrics" after a reload
2 participants