mirror of
https://github.com/airgradienthq/arduino.git
synced 2025-07-16 18:22:09 +02:00
Merge pull request #78 from gouthamve/better-openmetrics-names
[ONE/Prometheus] Use full unit in temperature metric
This commit is contained in:
@ -1056,7 +1056,7 @@ void webServerMetricsGet(void) {
|
|||||||
add_metric("temperature",
|
add_metric("temperature",
|
||||||
"The ambient temperature as measured by the AirGradient SHT "
|
"The ambient temperature as measured by the AirGradient SHT "
|
||||||
"sensor, in degrees Celsius",
|
"sensor, in degrees Celsius",
|
||||||
"gauge", "degc");
|
"gauge", "celcius");
|
||||||
add_metric_point("", String(temp));
|
add_metric_point("", String(temp));
|
||||||
}
|
}
|
||||||
if (hum >= 0) {
|
if (hum >= 0) {
|
||||||
|
Reference in New Issue
Block a user