public interface IMetricsScope
| Modifier and Type | Method and Description |
|---|---|
void |
addData(java.lang.String name,
double value,
StandardUnit unit)
Adds a data point to this IMetricsScope.
|
void |
addDimension(java.lang.String name,
java.lang.String value)
Adds a dimension that applies to all metrics in this IMetricsScope.
|
void |
end()
Flushes the data from this IMetricsScope and causes future calls to addData and addDimension to fail.
|
void addData(java.lang.String name,
double value,
StandardUnit unit)
name - data point namevalue - data point valueunit - unit of data pointvoid addDimension(java.lang.String name,
java.lang.String value)
name - dimension namevalue - dimension valuevoid end()