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

recording metrics with OTel SDK doesn't produce metrics #8962

Closed
codeboten opened this issue Nov 20, 2023 · 1 comment · Fixed by #9102
Closed

recording metrics with OTel SDK doesn't produce metrics #8962

codeboten opened this issue Nov 20, 2023 · 1 comment · Fixed by #9102
Assignees
Labels
bug Something isn't working

Comments

@codeboten
Copy link
Contributor

Describe the bug
Using the OpenTelemetry SDK (via the telemetry settings' MeterProvider) doesn't generate any metrics if useOtelForInternalMetrics isn't enabled.

Steps to reproduce
Configured a local collector to use the routingprocessor (which is instrumented using otel) and started the collector w/o enabling useOtelForInternalMetrics

What did you expect to see?
Metrics generated

What did you see instead?
No metrics generated

What version did you use?
v0.89.0

@codeboten codeboten added the bug Something isn't working label Nov 20, 2023
@codeboten codeboten self-assigned this Nov 20, 2023
@codeboten
Copy link
Contributor Author

This will be marked as fixed once useOtelForInternalMetrics is updated to stable

codeboten pushed a commit that referenced this issue Jan 16, 2024
This marks the flag as stable. Leaving this as a draft until v0.92.0 is
released.

Closes #8962
Fixes #816

---------

Signed-off-by: Alex Boten <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant