Skip to content

queue_size & queue_capacity gauges not available in otel metrics #8682

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

Closed
codeboten opened this issue Oct 13, 2023 · 1 comment · Fixed by #8716
Closed

queue_size & queue_capacity gauges not available in otel metrics #8682

codeboten opened this issue Oct 13, 2023 · 1 comment · Fixed by #8716
Assignees
Labels
bug Something isn't working

Comments

@codeboten
Copy link
Contributor

Describe the bug
The following metrics are not available via opentelemetry metrics:

otelcol_exporter_queue_capacity{exporter="otlp"} 1000
otelcol_exporter_queue_size{exporter="otlp"} 0

This is because they're registered with a separate registry than the one used by the otel OC bridge.

Steps to reproduce
Enabled the following feature gates:

--feature-gates=telemetry.useOtelForInternalMetrics
--feature-gates=telemetry.useOtelWithSDKConfigurationForInternalTelemetry

What did you expect to see?
Expected to see those metrics emitted via OTLP

What did you see instead?
Those metrics did not appear

What version did you use?
v0.87.0

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

This is related to #8673 but I opened a separate issue since these are gauges and not counters

@codeboten codeboten changed the title queue_size & queue_capacity counters not available in otel metrics queue_size & queue_capacity gauges not available in otel metrics Oct 20, 2023
codeboten pushed a commit that referenced this issue Oct 26, 2023
This change ensures the queue_size and queue_capacity metrics are
available when using OpenTelemetry for the collector's internal metrics.

Fixes #8682

---------

Signed-off-by: Alex Boten <[email protected]>
Co-authored-by: Dmitrii Anoshin <[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