gauge method

Metric gauge(
  1. String name,
  2. int value, {
  3. List<String> tags = const <String>[],
})

????

Implementation

Metric gauge(
  String name,
  int value, {
  List<String> tags = const <String>[],
}) {
  final metric = Metric(
    name,
    MetricType.gauge,
    [
      [currentTime, value]
    ],
    host: host,
    prefix: prefix,
    tags: mergeTags(tags),
  );

  send(metric);
  return metric;
}