-
Notifications
You must be signed in to change notification settings - Fork 142
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
No prometheus metrics #90
Comments
Users were running into this issue with long metric names so we had to abbreviate and trim the names to avoid exceptions. The metrics are now being exported with abbreviated names as a stopgap solution which we don't like. Open to suggestions. |
@puneetkhanduri It seems as though the use of Prometheus labels could be beneficial to shorten the metric names but maintain legibility. Not only is the current approach difficult to read (and is not documented at all), it seems to combine values that should really be separated out (e.g. all GET requests get squashed into the same metric so you cannot filter based on path). |
@suever I can see the counter interface offers us the ability to provide tags in addition to metric names. Can you propose a naming structure until the long metric names issue is resolved. Here's what I currently have in mind:
or
Open to anything better you might have in mind. |
@fcamposdespegar @suever : Please share your feedback if any so we may address and close this issue. |
Sorry for the delay, I had to actually install an old version of opendiffy to determine what the metrics were supposed to represent based on the names before they were truncated. I would propose something like the following where the cardinality will still be high, but the number of metrics (and length of their names) is reasonable. These examples may not be 100% accurate but provide an example of my thinking
|
Fixed in the latest release with the introduction of |
With last changes we lost prometheus metrics. Problem may be related with metric names.
The text was updated successfully, but these errors were encountered: