add apower metric
This commit is contained in:
parent
5137a8f063
commit
b548580969
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue