You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Include the device name as a label on the syncthing_connections_active #10509
Include the name of the device as a label on syncthing_connections_active, empty if the device is "this device".
Problem or use case
I'd like to write an alert to tell me if a device hasn't connected in a long time but it's somewhat annoying to have to filter out the syncthing_connections_active series for "this device", there's really no option except including !=<my device id> everywhere in the label selector (I think).
Alternatives or workarounds
Including a !=<my device id> in every use of syncthing_connections_active
I want to filter out the current device. I don't want to set the device name in an alert. The alert must be a general alert for all my devices. I think we need to exclude the current device from the list in syncthing_connections_active metrics
Activity
calmh commentedon Dec 29, 2025
You already have this. Assuming you want to filter out the device named
rpi5,michaelbeaumont commentedon Dec 29, 2025
Ah nice, thanks! I didn't realize we had
syncthing_config_device_info, the metrics docs are definitely out of dateAVGoodNight commentedon Jun 1, 2026
I want to filter out the current device. I don't want to set the device name in an alert. The alert must be a general alert for all my devices. I think we need to exclude the current device from the list in syncthing_connections_active metrics
fix(connections): do not report connection metrics for self (ref #10509…
Merge branch 'main' into jb/umask
Merge branch 'main' into db-drop-dev-vs-index
fix(container): update image ghcr.io/syncthing/syncthing (2.1.1 ➔ 2.1…
fix(container): update image ghcr.io/syncthing/syncthing (2.1.1 ➔ 2.1…
fix(container): update image ghcr.io/syncthing/syncthing (2.1.1 ➔ 2.1…