Class PrometheusProtobufWriterImpl
Object
PrometheusProtobufWriterImpl
- All Implemented Interfaces:
ExpositionFormatWriter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Metrics.MetricFamily
convert
(MetricSnapshot snapshot) toDebugString
(MetricSnapshots metricSnapshots) void
write
(OutputStream out, MetricSnapshots metricSnapshots) Text formats use UTF-8 encoding.Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ExpositionFormatWriter
isAvailable
-
Constructor Details
-
PrometheusProtobufWriterImpl
public PrometheusProtobufWriterImpl()
-
-
Method Details
-
accepts
- Specified by:
accepts
in interfaceExpositionFormatWriter
-
getContentType
- Specified by:
getContentType
in interfaceExpositionFormatWriter
-
toDebugString
- Specified by:
toDebugString
in interfaceExpositionFormatWriter
-
write
Description copied from interface:ExpositionFormatWriter
Text formats use UTF-8 encoding.- Specified by:
write
in interfaceExpositionFormatWriter
- Throws:
IOException
-
convert
-