Interface for all metric provider implementations. More...
Public Member Functions | |
| abstract void | gauge (String eventName, double value, String[] tags) |
| Log a value to a gauge metric. More... | |
| abstract void | histogram (String eventName, double value, String[] tags) |
| Log a value to a histogram metric. More... | |
| abstract void | increment (String eventName, String[] tags) |
| Increment the count of a metric by 1. More... | |
| abstract void | increment (String eventName, long value, String[] tags) |
| Increment the count of a metric. More... | |
Interface for all metric provider implementations.
|
abstract |
Log a value to a gauge metric.
| eventName | The name of this metric. |
| value | The current value of the guage. |
| tags | Tags to apply to the event if the provider supports it. |
|
abstract |
Log a value to a histogram metric.
| eventName | |
| value | |
| tags |
|
abstract |
Increment the count of a metric.
| eventName | The name of this metric. |
| value | The amount to increment the count by. |
| tags | Tags to apply to the event if the provider supports it. |
|
abstract |
Increment the count of a metric by 1.
| eventName | The name of this metric. |
| tags | Tags to apply to the event. |