flagger_canary_weight{app_kubernetes_io_instance="flagger", app_kubernetes_io_name="flagger", app_kubernetes_io_version="1.44.0", instance="172.26.3.33:8080", job="kubernetes-pods", kubernetes_namespace="flagger-system", kubernetes_pod_name="flagger-5b546d7775-xrvh8", namespace="my-app", node="gke-sbx-usc1-platform-9b94eeb5-csxz", node_name="gke-sbx-usc1-platform-9b94eeb5-csxz", pod_template_hash="5b546d7775", workload="podinfo-istio-ambient"} 0
flagger_canary_weight{app_kubernetes_io_instance="flagger", app_kubernetes_io_name="flagger", app_kubernetes_io_version="1.44.0", instance="172.26.3.33:8080", job="kubernetes-pods", kubernetes_namespace="flagger-system", kubernetes_pod_name="flagger-5b546d7775-xrvh8", namespace="my-app", node="gke-sbx-usc1-platform-9b94eeb5-csxz", node_name="gke-sbx-usc1-platform-9b94eeb5-csxz", pod_template_hash="5b546d7775", workload="podinfo-istio-ambient-primary"} 100
run flagger, create some canaries, shift traffic weights and scrape it with prometheus.
Describe the bug
the
flagger_canary_weightmetric is missing thenamelabel, indicating the Canary's name.for example:
To Reproduce
run flagger, create some canaries, shift traffic weights and scrape it with prometheus.
Expected behavior
the
flagger_canary_weightmetric should have thenamelabel indicating the canary's name.Additional context