Skip to content

Commit

Permalink
fix(replication): Rename pve_replication_failures_total to pve_replic…
Browse files Browse the repository at this point in the history
…ation_failed_syncs
  • Loading branch information
znerol committed Apr 20, 2024
1 parent 9098038 commit 3c1a6a0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -206,9 +206,9 @@ Here's an example of the metrics exported.
# HELP pve_replication_next_sync_timestamp_seconds Proxmox vm replication next_sync
# TYPE pve_replication_next_sync_timestamp_seconds gauge
pve_replication_next_sync_timestamp_seconds{id="1-0"} 1.7134689e+09
# HELP pve_replication_failures_total Proxmox vm replication fail_count
# TYPE pve_replication_failures_total gauge
pve_replication_failures_total{id="1-0"} 0.0
# HELP pve_replication_failed_syncs Proxmox vm replication fail_count
# TYPE pve_replication_failed_syncs gauge
pve_replication_failed_syncs{id="1-0"} 0.0
# HELP pve_replication_info Proxmox vm replication info
# TYPE pve_replication_info gauge
pve_replication_info{guest="qemu/1",id="1-0",source="node/proxmox1",target="node/proxmox2",type="local"} 1.0
Expand Down
2 changes: 1 addition & 1 deletion src/pve_exporter/collector/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def collect(self): # pylint: disable=missing-docstring
'Proxmox vm replication next_sync',
labels=['id']),
'fail_count': GaugeMetricFamily(
'pve_replication_failures_total',
'pve_replication_failed_syncs',
'Proxmox vm replication fail_count',
labels=['id']),
}
Expand Down

0 comments on commit 3c1a6a0

Please sign in to comment.