Class PrometheusTextFormat
java.lang.Object
org.apache.pulsar.functions.instance.stats.PrometheusTextFormat
Provide Prometheus text format for a collection of metrics, without the HELP string.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidwrite004(Writer writer, Enumeration<io.prometheus.client.Collector.MetricFamilySamples> mfs) Write out the text version 0.0.4 of the given MetricFamilySamples.
-
Constructor Details
-
PrometheusTextFormat
public PrometheusTextFormat()
-
-
Method Details
-
write004
public static void write004(Writer writer, Enumeration<io.prometheus.client.Collector.MetricFamilySamples> mfs) throws IOException Write out the text version 0.0.4 of the given MetricFamilySamples.- Throws:
IOException
-