mirror of
https://github.com/MaxenceG2M/prometheus-immich-exporter.git
synced 2025-12-09 15:05:36 +00:00
typo + update log messages to current version
This commit is contained in:
@@ -37,6 +37,7 @@ class ImmichMetricsCollector:
|
|||||||
prom_metric = GaugeMetricFamily(name, help_text, labels=labels.keys())
|
prom_metric = GaugeMetricFamily(name, help_text, labels=labels.keys())
|
||||||
prom_metric.add_metric(value=value, labels=labels.values())
|
prom_metric.add_metric(value=value, labels=labels.values())
|
||||||
yield prom_metric
|
yield prom_metric
|
||||||
|
logger.info(prom_metric)
|
||||||
|
|
||||||
def get_immich_metrics(self):
|
def get_immich_metrics(self):
|
||||||
|
|
||||||
@@ -321,7 +322,7 @@ def check_server_up(immichHost, immichPort):
|
|||||||
logger.info(f"Found immich up and running at " + immichHost + ":" + immichPort + ".")
|
logger.info(f"Found immich up and running at " + immichHost + ":" + immichPort + ".")
|
||||||
logger.info(f"Attempting to connect to immich")
|
logger.info(f"Attempting to connect to immich")
|
||||||
time.sleep(1)
|
time.sleep(1)
|
||||||
logger.info("Exporter v1.0.6")
|
logger.info("Exporter v1.0.9")
|
||||||
|
|
||||||
|
|
||||||
def check_immich_api_key(immichHost, immichPort, immichApiKey):
|
def check_immich_api_key(immichHost, immichPort, immichApiKey):
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -6,7 +6,7 @@ with open("README.md", "r") as fh:
|
|||||||
setup(
|
setup(
|
||||||
name='prometheus-immich-exporter',
|
name='prometheus-immich-exporter',
|
||||||
packages=['immich_exporter'],
|
packages=['immich_exporter'],
|
||||||
version='1.0.8',
|
version='1.0.9',
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
description='Prometheus exporter for immich',
|
description='Prometheus exporter for immich',
|
||||||
|
|||||||
Reference in New Issue
Block a user