Class PrometheusProtobufWriterImpl
java.lang.Object
io.prometheus.metrics.expositionformats.internal.PrometheusProtobufWriterImpl
- All Implemented Interfaces:
io.prometheus.metrics.expositionformats.ExpositionFormatWriter
public class PrometheusProtobufWriterImpl
extends Object
implements io.prometheus.metrics.expositionformats.ExpositionFormatWriter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanconvert(io.prometheus.metrics.model.snapshots.MetricSnapshot snapshot) toDebugString(io.prometheus.metrics.model.snapshots.MetricSnapshots metricSnapshots) voidwrite(OutputStream out, io.prometheus.metrics.model.snapshots.MetricSnapshots metricSnapshots) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.prometheus.metrics.expositionformats.ExpositionFormatWriter
isAvailable
-
Constructor Details
-
PrometheusProtobufWriterImpl
public PrometheusProtobufWriterImpl()
-
-
Method Details
-
accepts
- Specified by:
acceptsin interfaceio.prometheus.metrics.expositionformats.ExpositionFormatWriter
-
getContentType
- Specified by:
getContentTypein interfaceio.prometheus.metrics.expositionformats.ExpositionFormatWriter
-
toDebugString
- Specified by:
toDebugStringin interfaceio.prometheus.metrics.expositionformats.ExpositionFormatWriter
-
write
public void write(OutputStream out, io.prometheus.metrics.model.snapshots.MetricSnapshots metricSnapshots) throws IOException - Specified by:
writein interfaceio.prometheus.metrics.expositionformats.ExpositionFormatWriter- Throws:
IOException
-
convert
-