diff --git a/pyproject.toml b/pyproject.toml index d4b53e3..603b397 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" }] diff --git a/restic_exporter/restic_exporter.py b/restic_exporter/restic_exporter.py index ea89e02..537e305 100644 --- a/restic_exporter/restic_exporter.py +++ b/restic_exporter/restic_exporter.py @@ -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: diff --git a/setup.py b/setup.py index 9884da5..cd74f26 100644 --- a/setup.py +++ b/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="",