-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 names are very unusual and inconvenient. #732
Comments
+1 to add service name as a prefix the camelcase should be easy to fix - it just refers to table names The
because the metric name can easily clash with something else that uses different dimensions. Suggestions are welcome. |
That was my original point: metrics should be "namespaced". I would expect the collector to export That way metrics don't clash with other monitored software. For example you can look at metrics exported by official Prometheus products: Prometheus itself, node_exporter and a few other "official" exporters from this page. My suggestion is to follow the standard prometheus metric naming style because most software does and this will allow jaeger to coexist with it very nicely. Also, the all-in-one binary already has nice metrics (except for use of |
These two examples |
That's totally fine, it's easy to ensure metrics are called differently within the same project. Right now the bigger issue is ensuring they're unique between projects to scrape different software with a single prometheus instance. I literally have a metric called |
Signed-off-by: Yuri Shkuro <ys@uber.com>
doh, that's just a bug - #733 |
Nice bug fixing latency, thanks! But still, you might want to think about aligning with standard prometheus metric naming conventions. |
Signed-off-by: Yuri Shkuro <ys@uber.com>
… (#733) Signed-off-by: Yuri Shkuro <ys@uber.com>
I really should learn more about Prometheus, but in the meantime, I asked @simonpasquier to share his thoughts, as he's a Prometheus developer. I'm copying here his answer to me, hoping that it will bring some light to this issue:
|
@yurishkuro , could you please assign this to me? |
Talking about aggregation. It is also very hard to use the Not sure if this belongs to an extra issue. |
Yes it is. This is exactly what I meant. Thank you! |
can this be closed post 1.5 release, or is there something remaining? |
I'm closing this one, as there's been no response since end of May. If you believe this issue is still happening, feel free to reopen. |
Metrics exported from the "production" images (not all-in-one though) are not "namespaced". If you have a Prometheus that monitors dozens of apps, you can have thousands of metrics. The names of Jaeger metrics (i.e.
IndexCreate:attempts
) are very not friendly to this situation. Normally I would expect a binary names jaeger-collector to export metrics starting withjaeger_collector_
. This is the case with the all-in-one binary, but not the other ones.Other less important issues:
:
in metric names is unique to Jaeger.The text was updated successfully, but these errors were encountered: