You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I would like to add an additional, custom label (e.g. templateName) to a specific route in my service.
The value for this would come from request.body.
There are currently less than 10 different template names so this label should be manageable by Prometheus.
From inspecting the code of your plugin, I don't think that this is currently possible.
Could you please confirm this?
If so, what would be a good way to achieve this in your opinion?
Is there maybe a way to set context.config.statsId instead of adding a custom label?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi! I would like to add an additional, custom label (e.g.
templateName
) to a specific route in my service.The value for this would come from
request.body
.There are currently less than 10 different template names so this label should be manageable by Prometheus.
From inspecting the code of your plugin, I don't think that this is currently possible.
Could you please confirm this?
If so, what would be a good way to achieve this in your opinion?
Is there maybe a way to set
context.config.statsId
instead of adding a custom label?Beta Was this translation helpful? Give feedback.
All reactions