Skip to content

Duplicate series with two Raspberry Pis #156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
artur-borys opened this issue Jan 11, 2024 · 5 comments
Open

Duplicate series with two Raspberry Pis #156

artur-borys opened this issue Jan 11, 2024 · 5 comments

Comments

@artur-borys
Copy link

Hi

Recently I've added a new Raspberry Pi node to my hybrid k3s cluster. It has 3 nodes:

  • master on Hetzner cloud
  • 2 workers are RPis at my home

Hardware misc section has errors on the RPis for temperature graphs:

Status: 500. Message: execution: found duplicate series for the match group {chip="soc:firmware_raspberrypi_hwmon"} on the right hand-side of the operation: [{__name__="node_hwmon_chip_names", app_kubernetes_io_component="metrics", app_kubernetes_io_instance="prometheus", app_kubernetes_io_managed_by="Helm", app_kubernetes_io_name="prometheus-node-exporter", app_kubernetes_io_part_of="prometheus-node-exporter", app_kubernetes_io_version="1.7.0", chip="soc:firmware_raspberrypi_hwmon", chip_name="rpi_volt", helm_sh_chart="prometheus-node-exporter-4.24.0", instance="10.0.0.15:9100", job="kubernetes-service-endpoints", namespace="grafana", node="rpi-wroc-1", service="prometheus-prometheus-node-exporter"}, {__name__="node_hwmon_chip_names", app_kubernetes_io_component="metrics", app_kubernetes_io_instance="prometheus", app_kubernetes_io_managed_by="Helm", app_kubernetes_io_name="prometheus-node-exporter", app_kubernetes_io_part_of="prometheus-node-exporter", app_kubernetes_io_version="1.7.0", chip="soc:firmware_raspberrypi_hwmon", chip_name="rpi_volt", helm_sh_chart="prometheus-node-exporter-4.24.0", instance="10.0.0.10:9100", job="kubernetes-service-endpoints", namespace="grafana", node="rpi-wroc-0", service="prometheus-prometheus-node-exporter"}];many-to-many matching not allowed: matching labels must be unique on one side

I believe this must be some issue on node-exporter or this dashboard end, because I messed up something else and had to recreate the k3s cluster from scratch and the issue still persists

The error is displayed only for the RPi nodes (the Hetzner node doesn't even have temperature sensors for obvious reasons)

Let me know if you need more details.

If I'll have more free time I'll also take a deeper look at this issue if no one here does that first

@jorti
Copy link

jorti commented Jan 12, 2024

I also see this error in my x86_64 servers.

@RichardD012
Copy link

I see the same thing on my x86 servers as well.

@axel-lebourhis
Copy link

I'm having similar issue with another series.
I'm monitoring 2 devices, a rpi and an odroid, both seem to report a thermal_thermal_zone0 leading to duplicate series.
The error is reported by Hardware temperature monitor panel.

found duplicate series for the match group {chip="thermal_thermal_zone0"} on the right hand-side of the operation: [{__name__="node_hwmon_chip_names", chip="thermal_thermal_zone0", chip_name="cpu_thermal", instance="pi.hole:9100", job="node"}, {__name__="node_hwmon_chip_names", chip="thermal_thermal_zone0", chip_name="acpitz", instance="odroid.home:9100", job="node"}];many-to-many matching not allowed: matching labels must be unique on one side

@ishioni
Copy link

ishioni commented Feb 7, 2024

Same for my nas and gateway - both have an nvme0 device and that's enough to trip it over

@artur-borys
Copy link
Author

Huh, it seems like the dashboard listed on Grafana site is not the latest available version. If you import https://github.com/rfmoz/grafana-dashboards/blob/master/prometheus/node-exporter-full.json to Grafana, the issue is resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants