Package io.smallrye.metrics.exporters
Interface Exporter
-
- All Known Implementing Classes:
JsonExporter,JsonMetadataExporter,OpenMetricsExporter
public interface Exporter- Author:
- hrupp
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringBuilderexportAllScopes()StringBuilderexportMetricsByName(org.eclipse.microprofile.metrics.MetricRegistry.Type scope, String name)Exports all metrics with the given name inside the given scope.StringBuilderexportOneMetric(org.eclipse.microprofile.metrics.MetricRegistry.Type scope, org.eclipse.microprofile.metrics.MetricID metricID)Exports just one metric obtained from a scope using its MetricID.StringBuilderexportOneScope(org.eclipse.microprofile.metrics.MetricRegistry.Type scope)StringgetContentType()
-
-
-
Method Detail
-
exportOneScope
StringBuilder exportOneScope(org.eclipse.microprofile.metrics.MetricRegistry.Type scope)
-
exportAllScopes
StringBuilder exportAllScopes()
-
getContentType
String getContentType()
-
exportOneMetric
StringBuilder exportOneMetric(org.eclipse.microprofile.metrics.MetricRegistry.Type scope, org.eclipse.microprofile.metrics.MetricID metricID)
Exports just one metric obtained from a scope using its MetricID.
-
exportMetricsByName
StringBuilder exportMetricsByName(org.eclipse.microprofile.metrics.MetricRegistry.Type scope, String name)
Exports all metrics with the given name inside the given scope.
-
-