📊 A gauge instrument that tracks current values.
Gauges are perfect for tracking things that can go up or down, like
fuel levels, temperature, queue sizes, or active connections.
Unlike counters, gauges represent the current state of something rather
than a cumulative total. You can set them to any value, add to them,
or subtract from them.
Example
constgauge = newRednetGauge(client, "queue_size", "Items in queue", "items");
📊 A gauge instrument that tracks current values.
Gauges are perfect for tracking things that can go up or down, like fuel levels, temperature, queue sizes, or active connections.
Unlike counters, gauges represent the current state of something rather than a cumulative total. You can set them to any value, add to them, or subtract from them.
Example