Add total durection counter
This commit is contained in:
parent
e56dd86161
commit
eacd54bce0
1 changed files with 2 additions and 1 deletions
|
@ -51,7 +51,8 @@ class restic_exporter:
|
||||||
'tree_blobs',
|
'tree_blobs',
|
||||||
'data_added',
|
'data_added',
|
||||||
'total_files_processed',
|
'total_files_processed',
|
||||||
'total_bytes_processed'
|
'total_bytes_processed',
|
||||||
|
'total_duration'
|
||||||
]
|
]
|
||||||
print(f"# HELP {self.metric_name} {self.metric_description}.")
|
print(f"# HELP {self.metric_name} {self.metric_description}.")
|
||||||
print(f"# TYPE {self.metric_name} counter")
|
print(f"# TYPE {self.metric_name} counter")
|
||||||
|
|
Loading…
Reference in a new issue