Closed sam701 closed 1 year ago
This issue is currently awaiting triage.
If prometheus-adapter contributors determine this is a relevant issue, they will accept it by applying the triage/accepted
label and provide further guidance.
The triage/accepted
label can be added by org members by writing /triage accepted
in a comment.
Sorry, I overlooked the fact that the labels are copied into the k8s metrics and can be user in the HPA/selector. It is not an issue any more. Closing...
I have a few prometheus metrics
queue_length{queue_name="xyz"}
that I want to map to external metrics. I would like to be able to do something like this:but unfortunately the
as
part does not support templates and the resulting metric name contains<<index...
.In order to fix this I have to change the original prometheus metric name to be
xyz_queue_length
. The downside is:It would be great to have support for templates in the
name.as
part or some other mean to access metric labels.