Skip to content

Commit

Permalink
Add more context to backup result 4
Browse files Browse the repository at this point in the history
  • Loading branch information
deajan committed Nov 8, 2024
1 parent 34f828c commit d3fe809
Show file tree
Hide file tree
Showing 3 changed files with 945 additions and 945 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ The follwoing metrics have this labels:

metrics:
```
altaro_lastoffsitecopy_result (0 = Succces, 1 = Warning, 2 = Error, 3 = Unknown, 4 = Other)
altaro_lastbackup_result (0 = Succces, 1 = Warning, 2 = Error, 3 = Unknown, 4 = Other)
altaro_lastoffsitecopy_result (0 = Succces, 1 = Warning, 2 = Error, 3 = Unknown, 4 = Other (includes various errors like BASEBACKUPCONTROLLER_18))
altaro_lastbackup_result (0 = Succces, 1 = Warning, 2 = Error, 3 = Unknown, 4 = Other (includes various errors))
altaro_lastoffsitecopy_transfersize_uncompressed_bytes
altaro_lastoffsitecopy_transfersize_compressed_bytes
altaro_lastbackup_transfersize_uncompressed_bytes
Expand Down
4 changes: 2 additions & 2 deletions altaro_exporter/altaro_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,13 @@ def __init__(
)
self.gauge_lastbackup_result = Gauge(
"altaro_lastbackup_result",
"Result of last backup 0 = success, 1 = warning, 2 = error, 3 = unknown, 4 = other",
"Result of last backup 0 = success, 1 = warning, 2 = error, 3 = unknown, 4 = other errors",
["vmname", "hostname", "vmuuid"],
)

self.gauge_lastoffsitecopy_result = Gauge(
"altaro_lastoffsitecopy_result",
"Result of last offsite copy 0 = success, 1 = warning, 2 = error, 3 = unknown, 4 = other",
"Result of last offsite copy 0 = success, 1 = warning, 2 = error, 3 = unknown, 4 = other errors",
["vmname", "hostname", "vmuuid"],
)

Expand Down
Loading

0 comments on commit d3fe809

Please sign in to comment.