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

enqueue_failed counters not available in otel metrics #8673

Closed
codeboten opened this issue Oct 11, 2023 · 0 comments · Fixed by #8674
Closed

enqueue_failed counters not available in otel metrics #8673

codeboten opened this issue Oct 11, 2023 · 0 comments · Fixed by #8674
Assignees
Labels
bug Something isn't working

Comments

@codeboten
Copy link
Contributor

codeboten commented Oct 11, 2023

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

otelcol_exporter_enqueue_failed_log_records_total{exporter="otlp"} 0
otelcol_exporter_enqueue_failed_metric_points_total{exporter="otlp"} 0
otelcol_exporter_enqueue_failed_spans_total{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 11, 2023
@codeboten codeboten self-assigned this Oct 11, 2023
codeboten pushed a commit to codeboten/opentelemetry-collector that referenced this issue Oct 11, 2023
These metrics were only exporter either via OC or via the prometheus
exporter. Fixes open-telemetry#8673

Signed-off-by: Alex Boten <aboten@lightstep.com>
codeboten pushed a commit to codeboten/opentelemetry-collector that referenced this issue Oct 12, 2023
These metrics were only exporter either via OC or via the prometheus
exporter. Fixes open-telemetry#8673

Signed-off-by: Alex Boten <aboten@lightstep.com>
codeboten pushed a commit that referenced this issue Oct 20, 2023
These metrics were only exporter either via OC or via the prometheus
exporter. Fixes #8673

---------

Signed-off-by: Alex Boten <aboten@lightstep.com>
Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>
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