add apower metric

This commit is contained in:
Joerg Lehmann 2022-11-19 11:57:28 +01:00
parent 5137a8f063
commit b548580969
1 changed files with 10 additions and 0 deletions

View File

@ -21,3 +21,13 @@ metrics:
# A map of string to string for constant labels. This labels will be attached to every prometheus metric
const_labels:
sensor_type: shelly
- prom_name: apower
# The name of the metric in a MQTT JSON message
mqtt_name: params.switch:0.apower
# The prometheus help text for this metric
help: current power
# The prometheus type for this metric. Valid values are: "gauge" and "counter"
type: gauge
# A map of string to string for constant labels. This labels will be attached to every prometheus metric
const_labels:
sensor_type: shelly