Hi Adivinho,
Earlier it was using grafana to get value. as you mentioned i have edited the monitored db services and add “count(count by (id_service)
(label_replace(up{node_name=~”$node_name",job=~“mysql.|mongo.|postgres.|proxysql.”,environment=~“$environment”},“id_service”,“$2”,“job”,“(.)exporter_agent_id(.)_(.*)”))) or vector(0)" query now i am getting correct value.
I have added the query both for monitored Node and monitored DB services. is this fine or for monitor node we have different query.