Class TextFormat
- java.lang.Object
-
- io.prometheus.client.exporter.common.TextFormat
-
public class TextFormat extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringCONTENT_TYPE_004Content-type for text version 0.0.4.
-
Constructor Summary
Constructors Constructor Description TextFormat()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidwrite004(Writer writer, Enumeration<io.prometheus.client.Collector.MetricFamilySamples> mfs)Write out the text version 0.0.4 of the given MetricFamilySamples.
-
-
-
Field Detail
-
CONTENT_TYPE_004
public static final String CONTENT_TYPE_004
Content-type for text version 0.0.4.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TextFormat
public TextFormat()
-
-
Method Detail
-
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
-
-