public class FilteredMetricsExporter extends OpenMetricsExporter
OpenMetricsExporter.OpenMetricsTypehelpWrittenByGlobalName, out, scope, typeWrittenByGlobalNameLOGGER| Modifier | Constructor and Description |
|---|---|
protected |
FilteredMetricsExporter(org.eclipse.microprofile.metrics.MetricRegistry.Type scope,
PrintWriter out,
Set<String> typeWrittenByGlobalName,
Set<String> helpWrittenByGlobalName,
Collection<String> metricNames) |
|
FilteredMetricsExporter(Writer out,
Collection<String> metricNames) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendHELP(String globalName,
org.eclipse.microprofile.metrics.Metadata metadata) |
protected void |
appendTYPE(String globalName,
OpenMetricsExporter.OpenMetricsType type) |
protected void |
appendValue(String globalName,
org.eclipse.microprofile.metrics.Tag[] tags,
Number value) |
MetricExporter |
in(org.eclipse.microprofile.metrics.MetricRegistry.Type scope,
boolean asNode)
Creates a new
MetricExporter with the provided scope. |
export, export, export, export, export, export, export, exportComplete, roundValue, sanitizeMetricName, tagsToStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexport, inpublic FilteredMetricsExporter(Writer out, Collection<String> metricNames)
protected FilteredMetricsExporter(org.eclipse.microprofile.metrics.MetricRegistry.Type scope,
PrintWriter out,
Set<String> typeWrittenByGlobalName,
Set<String> helpWrittenByGlobalName,
Collection<String> metricNames)
public MetricExporter in(org.eclipse.microprofile.metrics.MetricRegistry.Type scope, boolean asNode)
MetricExporterMetricExporter with the provided scope.in in interface MetricExporterin in class OpenMetricsExporterscope - the scope to use in the export, most likely on of the MetricRegistry.TypesMetricExporter with the provided scope set, this instance is kept
unchanged and will continue to use its current scope. Both, this MetricExporter and the returned
one will however share other internal state that is related to the output written so far.protected void appendTYPE(String globalName, OpenMetricsExporter.OpenMetricsType type)
appendTYPE in class OpenMetricsExporterprotected void appendHELP(String globalName, org.eclipse.microprofile.metrics.Metadata metadata)
appendHELP in class OpenMetricsExporterprotected void appendValue(String globalName, org.eclipse.microprofile.metrics.Tag[] tags, Number value)
appendValue in class OpenMetricsExporterCopyright © 2021. All rights reserved.