-
Notifications
You must be signed in to change notification settings - Fork 831
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
Metric queueSize twice in Prometheus output #4382
Comments
@jack-berg duplicate async callbacks here. What's the right solution to this? |
@mateuszrzeszutek is sort of correct. BatchLogProcessor adds The spec is unclear how meter name / version manifest in the prometheus data model. The closed spec issue #2035 sheds some light on discussion that took place around this issue, but no definitive answer. We could resolve this in the short term by treating the This is an important issue to address in a general sense though: a client with two instrumented http clients recording http.client.duration would produce the same issue. |
Can also get around this in the short term by configuring the view API to drop metrics named
|
The prometheus endpoint produces invalid output.
The java application is started with:
OTEL_METRICS_EXPORTER=prometheus
OTEL_TRACES_EXPORTER=otlp
OTEL_LOGS_EXPORTER=otlp
After a while the produced output contains this information
We read the prometheus endpoint with Telegraf as we get this error:
[inputs.prometheus] Error in plugin: error reading metrics for http://localhost:9088/metrics: reading text format failed: text format parsing error in line 115: second TYPE line for metric name "queueSize", or TYPE reported after samples
queueSize is metric is twice in the output, once for logs and once for spans.
This should be grouped together, like this:
But it is now appearing as 2 different metrics, which is not valid.
The text was updated successfully, but these errors were encountered: