stefanprodan / swarmprom

Docker Swarm instrumentation with Prometheus, Grafana, cAdvisor, Node Exporter and Alert Manager
MIT License
1.87k stars 733 forks source link

node exporter sends whole nodes metrics #138

Open kbakhshi opened 3 years ago

kbakhshi commented 3 years ago

Hi every one, In node exporter for leader and worker has duplicate parameters. any one has ideas why that?

this is the grafana errors "found duplicate series for the match group {instance=\":9101\"} on the right hand-side of the operation: [{name=\"node_meta\", container_label_com_docker_swarm_node_id=\"xy6mro0cnbfcyyblpglyn0wm2\", endpoint=\"metrics\", instance=\":9101\", job=\"node\", namespace=\"data\", node_id=\"xy6mro0cnbfcyyblpglyn0wm2\", node_name=\"ml-infra2\", prometheus=\"prometheus/data-infra\", service=\"node\"}, {name=\"node_meta\", container_label_com_docker_swarm_node_id=\"xj1mg4ewg24dwcdqfyv3ub2no\", endpoint=\"metrics\", instance=\":9101\", job=\"node\", namespace=\"data\", node_id=\"xj1mg4ewg24dwcdqfyv3ub2no\", node_name=\"ml-infra3\", prometheus=\"prometheus/data-infra\", service=\"node\"}];many-to-many matching not allowed: matching labels must be unique on one side"