From 43f4611812a0d8626b221408db3d9c8e4da0c73a Mon Sep 17 00:00:00 2001 From: Christoph Petrausch Date: Thu, 16 Jul 2020 14:50:24 +0200 Subject: [PATCH] Add comment to config.yaml.dist to show eternal presentation to prometheus --- config.yaml.dist | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/config.yaml.dist b/config.yaml.dist index e0d0a9b..3ca62fa 100644 --- a/config.yaml.dist +++ b/config.yaml.dist @@ -10,8 +10,10 @@ mqtt: # The MQTT QoS level qos: 0 cache: - # Timeout. Each received metric will be presented for this time if no update is send via MQTT - timeout: 2m + # Timeout. Each received metric will be presented for this time if no update is send via MQTT. + # Set the timeout to -1 to disable the deletion of metrics from the cache. The exporter presents the ingest timestamp + # to prometheus. + timeout: 24h # This is a list of valid metrics. Only metrics listed here will be exported metrics: # The name of the metric in prometheus