Package com.persequor.extension.metrics
Class ProxiedMetric
java.lang.Object
com.persequor.extension.metrics.ProxiedMetric
- All Implemented Interfaces:
IProxiedMetric
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the OpenMetrics metric received from the external systemName alias to identify the source of the metric.
-
Constructor Details
-
ProxiedMetric
-
-
Method Details
-
getSourceAlias
Description copied from interface:IProxiedMetric
Name alias to identify the source of the metric. Helps scrapers of Saga see what external system this metric belongs to.- Specified by:
getSourceAlias
in interfaceIProxiedMetric
- Returns:
- Name and/or alias of the external system this metric belongs to.
-
getMetric
Description copied from interface:IProxiedMetric
Gets the OpenMetrics metric received from the external system- Specified by:
getMetric
in interfaceIProxiedMetric
- Returns:
- Metric received from the external system
-