public class PrometheusMetric extends Object
Constructor and Description |
---|
PrometheusMetric() |
Modifier and Type | Method and Description |
---|---|
static String |
formatMetric(PrometheusMetric metric)
Formats the metric data into Prometheus format
|
String |
getHelp() |
String |
getMetricName() |
Double |
getMetricValue() |
String |
getPropertyString() |
String |
getType() |
void |
setHelp(String help) |
void |
setMetricName(String metricName) |
void |
setMetricValue(Double metricValue) |
void |
setPropertyString(String propertyString) |
void |
setType(String type) |
public static String formatMetric(PrometheusMetric metric)
metric
- Metric objectpublic String getMetricName()
public void setMetricName(String metricName)
public String getHelp()
public void setHelp(String help)
public String getType()
public void setType(String type)
public Double getMetricValue()
public void setMetricValue(Double metricValue)
public String getPropertyString()
public void setPropertyString(String propertyString)
Copyright © 2021 WSO2. All rights reserved.