Skip to content

Commit

Permalink
typo + update log messages to current version
Browse files Browse the repository at this point in the history
  • Loading branch information
friendlyFriend4000 committed Nov 26, 2023
1 parent 826a0d3 commit d173208
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion immich_exporter/exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def collect(self):
prom_metric = GaugeMetricFamily(name, help_text, labels=labels.keys())
prom_metric.add_metric(value=value, labels=labels.values())
yield prom_metric
logger.info(prom_metric)

def get_immich_metrics(self):

Expand Down Expand Up @@ -321,7 +322,7 @@ def check_server_up(immichHost, immichPort):
logger.info(f"Found immich up and running at " + immichHost + ":" + immichPort + ".")
logger.info(f"Attempting to connect to immich")
time.sleep(1)
logger.info("Exporter v1.0.6")
logger.info("Exporter v1.0.9")


def check_immich_api_key(immichHost, immichPort, immichApiKey):
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
setup(
name='prometheus-immich-exporter',
packages=['immich_exporter'],
version='1.0.8',
version='1.0.9',
long_description=long_description,
long_description_content_type="text/markdown",
description='Prometheus exporter for immich',
Expand Down

0 comments on commit d173208

Please sign in to comment.