Skip to content

downgrade prometheus exporter dependency#13428

Closed
codeboten wants to merge 1 commit intoopen-telemetry:mainfrom
codeboten:codeboten/downgrade-otel-go-sdk
Closed

downgrade prometheus exporter dependency#13428
codeboten wants to merge 1 commit intoopen-telemetry:mainfrom
codeboten:codeboten/downgrade-otel-go-sdk

Conversation

@codeboten
Copy link
Copy Markdown
Contributor

@codeboten codeboten commented Jul 18, 2025

Downgrades the prometheus exporter dependency. This is to address the following issue documented in the release notes

❗ Known Issues ❗

  • Due to a bug in the prometheus exporter, if you are configuring a prometheus exporter, the collector's internal metrics will be emitted with an unexpected suffix in its name. For example, the metric otelcol_exporter_sent_spans__spans__total instead of otelcol_exporter_sent_spans_total. The workaround is to manually configure without_units: true in your prometheus exporter config

    service:
      telemetry:
        metrics:
          readers:
            - pull:
                exporter:
                  prometheus:
                    host: 0.0.0.0
                    port: 8888
                    without_units: true

    If you are using the collector's default Prometheus exporter for exporting internal metrics you are unaffected.

Signed-off-by: alex boten <223565+codeboten@users.noreply.github.com>
@codeboten codeboten requested a review from a team as a code owner July 18, 2025 15:51
@codeboten codeboten requested a review from dmathieu July 18, 2025 15:51
@codeboten
Copy link
Copy Markdown
Contributor Author

closing in favour of #13429

@codeboten codeboten closed this Jul 18, 2025
@codeboten codeboten deleted the codeboten/downgrade-otel-go-sdk branch July 18, 2025 15:58
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