public class MetricValue extends Object
Jackson annotations is added only to implement toString() for logging and debugging. Do not expect consistent serialization/deserialization behavior. JSON field names are subject to change without any notice, unlike Java field names which are part of the Java scripting interface.
| Modifier and Type | Field and Description |
|---|---|
String |
help
If set and include_help is enabled, this value is included as HELP metadata in the final /metrics response.
|
Map<String,String> |
labels
Labels.
|
String |
name
Name of the metric.
|
String |
suffix |
long |
timestamp
Time in milliseconds at which the value is scraped.
|
String |
type
If set and include_type is enabled, this value is included as TYPE metadata in the final /metrics response.
|
double |
value
Metric value.
|
| Constructor and Description |
|---|
MetricValue() |
public String name
public String suffix
public double value
public long timestamp
public String help
public String type
Copyright © 2020. All rights reserved.