Package | Description |
---|---|
sirius.kernel.health.metrics |
Used to record and monitor system metrics.
|
Modifier and Type | Method and Description |
---|---|
MetricState |
Metric.getState()
Returns an interpretation of the value (@see MetricState).
|
static MetricState |
MetricState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricState[] |
MetricState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
MetricsCollector.metric(String title,
double value,
String unit,
MetricState state)
Provides a metric using the given values.
|
Constructor and Description |
---|
Metric(String name,
double value,
MetricState state,
String unit)
Creates a new metric using the given values
|
Copyright © 2018. All rights reserved.