UNCLASSIFIED - NO CUI

Skip to content

414 - fixed to add name label

Michael Martin requested to merge 414-Metrics_in_Prometheus into main

This allows the service selector to find the jaeger-jaeger-jaeger-operator-metrics deployment. The service selector changes during the reconcile of the jaeger deployment which might be related to upstream issue #1479 . The name selector is added, so adding the name label to the deployment ensures a match.

With this fix, the service selector contains:

  selector:
    name: jaeger-jaeger-jaeger-operator

and the endpoint is then created correctly:

jaeger-jaeger-jaeger-operator-metrics   10.244.2.39:8383,10.244.2.39:8686 11m

Also added port 8686 to the network policy to allow prometheus to scrape those exposed metrics.

Edited by Michael Martin

Merge request reports