recordGauge abstract method

Future<void> recordGauge({
  1. required String name,
  2. required double value,
  3. Map<String, String> attributes = const {},
})

Records a gauge metric (current value).

Use for measurements like pool size, active connections. Returns Future<void> to allow for async repository operations.

Implementation

Future<void> recordGauge({
  required String name,
  required double value,
  Map<String, String> attributes = const {},
});