Commented failing timestamp
This commit is contained in:
parent
d8be724211
commit
84ca57eb47
3 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@ Homepage = "https://susurrando.com"
|
|||
|
||||
[project]
|
||||
name = "restic_exporter"
|
||||
version = "0.0.6"
|
||||
version = "0.0.7"
|
||||
description = "Export to node exporter the summary of a restic backup"
|
||||
readme = "README.md"
|
||||
authors = [{ name = "Antonio J. Delgado", email = "ad@susurrando.com" }]
|
||||
|
|
|
@ -58,7 +58,7 @@ class restic_exporter:
|
|||
print(f"# TYPE {self.metric_name} counter")
|
||||
for counter in counters:
|
||||
if counter in self.summary:
|
||||
print(f"{self.metric_name}_{counter}{labels} {float(self.summary[counter])} {self.summary['timestamp']}")
|
||||
print(f"{self.metric_name}_{counter}{labels} {float(self.summary[counter])}") # {self.summary['timestamp']}")
|
||||
|
||||
def _read_summary_from_json(self, json_file):
|
||||
try:
|
||||
|
|
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@ import setuptools
|
|||
setuptools.setup(
|
||||
scripts=['restic_exporter/restic_exporter.py'],
|
||||
author="Antonio J. Delgado",
|
||||
version='0.0.6',
|
||||
version='0.0.7',
|
||||
name='restic_exporter',
|
||||
author_email="",
|
||||
url="",
|
||||
|
|
Loading…
Reference in a new issue