Skip to content

Commit

Permalink
Fix cache key in shelly.yaml example
Browse files Browse the repository at this point in the history
  • Loading branch information
chr4 committed Mar 14, 2021
1 parent 30a2180 commit 5805d04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hack/shelly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ mqtt:
metric_per_topic_config:
metric_name_regex: "shellies/(?P<deviceid>.*)/sensor/(?P<metricname>.*)"
qos: 0
cache:
timeout: 24h
cache:
timeout: 24h
metrics:
- prom_name: temperature
# The name of the metric in a MQTT JSON message
Expand Down Expand Up @@ -40,4 +40,4 @@ metrics:
# A map of string to string for constant labels. This labels will be attached to every prometheus metric
const_labels:
sensor_type: shelly
# The name of the metric in prometheus
# The name of the metric in prometheus

0 comments on commit 5805d04

Please sign in to comment.