public class TextFormat extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTENT_TYPE_004
Content-type for text version 0.0.4.
|
| Constructor and Description |
|---|
TextFormat() |
| Modifier and Type | Method and Description |
|---|---|
static void |
write004(Writer writer,
Enumeration<io.prometheus.client.Collector.MetricFamilySamples> mfs)
Write out the text version 0.0.4 of the given MetricFamilySamples.
|
public static final String CONTENT_TYPE_004
public TextFormat()
public static void write004(Writer writer, Enumeration<io.prometheus.client.Collector.MetricFamilySamples> mfs) throws IOException
IOExceptionCopyright © 2018. All rights reserved.