📊 Gauge represents a scalar metric that always exports the "current value".
Gauges are perfect for values that can go up or down, like fuel levels, temperature, or queue sizes. They represent the current state at the time of measurement.
const temperatureGauge: Gauge = { dataPoints: [ { attributes: [ { key: "sensor.location", value: { stringValue: "reactor_core" } } ], startTimeUnixNano: "1640995200000000000", timeUnixNano: "1640995260000000000", asDouble: 85.5, exemplars: [], flags: 0 } ]}; Copy
const temperatureGauge: Gauge = { dataPoints: [ { attributes: [ { key: "sensor.location", value: { stringValue: "reactor_core" } } ], startTimeUnixNano: "1640995200000000000", timeUnixNano: "1640995260000000000", asDouble: 85.5, exemplars: [], flags: 0 } ]};
Array of data points for this gauge
📊 Gauge represents a scalar metric that always exports the "current value".
Gauges are perfect for values that can go up or down, like fuel levels, temperature, or queue sizes. They represent the current state at the time of measurement.
Example