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

[demo] update prometheus otlp config #1462

Merged

Conversation

puckpuck
Copy link
Contributor

Updates Prometheus config for OTLP based on this guide provided in Prometheus docs.

Also fixes this issue in the demo repo.

Signed-off-by: Pierre Tessier <pierre@pierretessier.com>
Copy link
Member

@julianocosta89 julianocosta89 left a comment

Choose a reason for hiding this comment

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

LGTM!

Should we also think about adding translation_strategy?

otlp:
  # Ingest OTLP data keeping UTF-8 characters in metric/label names.
  translation_strategy: NoUTF8EscapingWithSuffixes

https://prometheus.io/docs/guides/opentelemetry/#utf-8

I'd go for a new PR though, as all dashboards will break 🫠

@puckpuck
Copy link
Contributor Author

LGTM!

Should we also think about adding translation_strategy?

otlp:
  # Ingest OTLP data keeping UTF-8 characters in metric/label names.
  translation_strategy: NoUTF8EscapingWithSuffixes

https://prometheus.io/docs/guides/opentelemetry/#utf-8

I'd go for a new PR though, as all dashboards will break 🫠

I also considered adding this but realized it would break all dashboards, so I opted not to. This is absolutely something we should do in a future PR.

@TylerHelmuth TylerHelmuth merged commit f7f7f75 into open-telemetry:main Dec 12, 2024
3 checks passed
@puckpuck puckpuck deleted the demo.update-prometheus-otlp branch December 13, 2024 02:47
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.

3 participants