A join needs matching label names. Try using label_replace <https://prometheus.io/docs/prometheus/latest/querying/functions/#label_replace> on one side, e.g.
haproxy_server_http_responses_total * on(exported_namespace, route) label_replace(openshift_route_info, "exported_namespace", "$1", "namespace", "(.+)") Once that's working, then you can add group_left(...) or group_right(...) as required. See: https://www.robustperception.io/how-to-have-labels-for-machine-roles https://www.robustperception.io/exposing-the-software-version-to-prometheus https://www.robustperception.io/left-joins-in-promql https://prometheus.io/docs/prometheus/latest/querying/operators/#many-to-one-and-one-to-many-vector-matches -- You received this message because you are subscribed to the Google Groups "Prometheus Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/7349b948-1ba0-4cb3-9fcc-63713994e7c6o%40googlegroups.com.

