Interface MetricsWriter
-
- All Known Implementing Classes:
MetricsWriterImpl
public interface MetricsWriter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
write()
Write all the registered metricsvoid
write(org.eclipse.microprofile.metrics.MetricRegistry.Type scope)
Write the metrics that registered for the respective scope.void
write(org.eclipse.microprofile.metrics.MetricRegistry.Type scope, String metricName)
Write the metrics that matches the metricName for the respective scope.
-
-
-
Method Detail
-
write
void write(org.eclipse.microprofile.metrics.MetricRegistry.Type scope, String metricName) throws NoSuchRegistryException, NoSuchMetricException, IOException
Write the metrics that matches the metricName for the respective scope.- Parameters:
scope
-metricName
-- Throws:
NoSuchRegistryException
NoSuchMetricException
IOException
-
write
void write(org.eclipse.microprofile.metrics.MetricRegistry.Type scope) throws NoSuchRegistryException, IOException
Write the metrics that registered for the respective scope.- Parameters:
scope
-- Throws:
NoSuchRegistryException
IOException
-
write
void write() throws IOException
Write all the registered metrics- Throws:
IOException
-
-