Class JsonMetadataExporter

  • All Implemented Interfaces:
    Exporter

    public class JsonMetadataExporter
    extends Object
    implements Exporter
    Created by bob on 1/22/18.
    • Constructor Detail

      • JsonMetadataExporter

        public JsonMetadataExporter()
    • Method Detail

      • exportOneMetric

        public StringBuilder exportOneMetric​(org.eclipse.microprofile.metrics.MetricRegistry.Type scope,
                                             org.eclipse.microprofile.metrics.MetricID metricID)
        Description copied from interface: Exporter
        Exports just one metric obtained from a scope using its MetricID.
        Specified by:
        exportOneMetric in interface Exporter
      • exportMetricsByName

        public StringBuilder exportMetricsByName​(org.eclipse.microprofile.metrics.MetricRegistry.Type scope,
                                                 String name)
        Description copied from interface: Exporter
        Exports all metrics with the given name inside the given scope.
        Specified by:
        exportMetricsByName in interface Exporter