How do I setup federation correctly for prometheus ? #649
Unanswered
ashutoshraina
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Goal : Federate the prometheus server in istio-system namespace to the prometheus in monitoring namespace.
Steps :
The prometheus service, since the ServiceMonitor needs a service.
Port forwarding the prometheus service in the istio-system namespace and checking the federate endpoint works as well.
This was done based on hints provided in the istio docs. See here for the details https://istio.io/latest/docs/ops/best-practices/observability/ . Pasting the relevant section below.
Unfortunately, the prometheus service in the default namespace does not show up as a target in the prometheus server in the monitoring namespace.
I tried to hard code the port to 9090 as well which did not work. I tried both with and without the
section. It yielded no change.
Can someone help me understand what could be going on here ?
Beta Was this translation helpful? Give feedback.
All reactions