[prometheus-users] Re: usage of multiple mysql db instances with openshift

2023-09-09 Thread Brian Candler
Please show what the metrics look like once scraped into Prometheus. If you're only looking at "curl" output then you won't see these labels. They are added by Prometheus itself. And if it still doesn't look right, show the actual Prometheus scrape job (i.e. from prometheus.yml; if that's built

[prometheus-users] Re: usage of multiple mysql db instances with openshift

2023-09-09 Thread sneha
two instances are there but one of the instance get name from service in this case http, and other instance is without this name. unless i check with the target query i cant differentiate . there are two parts one is service which looks like this apiVersion: v1 kind: Service metadata: name:

Re: [prometheus-users] Re: Need help with mysql exporter

2023-09-09 Thread Brian Candler
You said *"I want to keep the mysql exporter only on node A and remove it on nodes B and C"* Then what happens if node A goes down? You'll lose all monitoring of B and C! If instead you put the exporter on your prometheus server, so that it remotely contacts A, B and C, that might be better.

Re: [prometheus-users] Re: Need help with mysql exporter

2023-09-09 Thread Y.G Kumar
Hi, I am trying to find out why the multi target approach is not advisable in the case of mysql cluster ? On Friday, September 8, 2023 at 5:06:44 PM UTC+5:30 Brian Candler wrote: > Ben's answer was clear and unambiguous, IMO. > > In the case of specific questions about the galera cluster, you'