getGauges method

Map<String, Gauge> getGauges({
  1. MetricFilter? where,
})

Returns a map of all the gauges in the registry and their names which match the given where.

Implementation

Map<String, Gauge> getGauges({MetricFilter? where}) =>
    _getMetrics((name, metric) =>
        metric is Gauge && (where == null || where(name, metric)));