@Beta public interface MetricsCollector
Modifier and Type | Method and Description |
---|---|
void |
gauge(String metricName,
long value)
Gauge a metric value at the current time.
|
void |
increment(String metricName,
long value)
Increment a metric value at the current time.
|
void increment(String metricName, long value)
metricName
- Name of the metric.value
- value of the metric.void gauge(String metricName, long value)
metricName
- Name of the metric.value
- value of the metric.Copyright © 2023 Cask Data, Inc. Licensed under the Apache License, Version 2.0.