-
Notifications
You must be signed in to change notification settings - Fork 101
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
Metrics collision with internal metrics #165
Comments
Not sure about the build error (and don't have access to a computer to reproduce until next week). Does For the metric problem, I think you have a collision between the metrics of the exporter itself (e.g. how much CPU the exporter has used) and metrics ingested via Graphite. Can you share your mappings and what metrics you are sending? The immediate workaround/fix is to use (map to) different metric names for your metrics. In principle we could split the exporter-internal metrics from the mapped metrics, but this is a very invasive change that affects everyone, so I would rather not. |
I changed the title to reflect what is happening, since the exporter does run. I don't believe this is a build issue. |
X-ref #79 which is about collisions between different mapped metrics |
Hi @matthiasr and thank your for your quick response!
|
Can I also ask another thing here - either Graphite Bridge or Graphite Exporter turns metric names from
into
It there a way I can prevent it and keep them in Prometheus curly brackets format? Thank you! |
Ah, that explains it. I would strongly discourage this – the primary purpose of the Prometheus client libraries is to be scraped directly by Prometheus. The Graphite bridge is intended to help the transition if you have a Graphite server that should hold the metrics. When you use the Graphite bridge with the Graphite exporter, you transform from the Prometheus semantics into Graphite semantics and back, this is inherently lossy. I am going to close the issue, since the collision happens due to this unrecommended chaining of formats. Please reach out to the regular community channels who will be able to help with alternative solutions for your use case. |
cf. #165 #168 Using this exporter together with the Graphite bridge (at least the one in the Python client) does not work. Discourage trying this; point at alternatives instead. Signed-off-by: Matthias Rampke <[email protected]>
Closes #165 #168. Using this exporter together with the Graphite bridge (at least the one in the Python client) does not work. Discourage trying this; point at alternatives instead. Signed-off-by: Matthias Rampke <[email protected]>
Hi! I'm getting the same error whenever I download a prebuilt executable or run in via docker image:
When I open http://localhost:9108/metrics
And I'm also unable to build it from source:
Thank you!
The text was updated successfully, but these errors were encountered: