Skip to content

Way to suppress the OpenMetrics types in metrics generated by prometheus exporter #11282

Closed Answered by laurit
yzhuang93 asked this question in Q&A
Discussion options

You must be logged in to vote

I am wondering if it is possible to suppress these metrics with 'Info' metrics type, as I saw in https://opentelemetry.io/docs/specs/otel/metrics/sdk_exporters/prometheus/ says we might have the option without_target_info and without_scope_info, but I am not sure if we have that in java opentelemetry as well, as I don't find any related doc for that.

This question is best asked from https://github.com/open-telemetry/opentelemetry-java. If opentelemetry-java does not provide such options then perhaps collector does, if it is so you could send metrics to collector via otlp and use the prometheus exporter in collector.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by yzhuang93
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants