Interface ExpositionFormatWriter
- All Known Implementing Classes:
OpenMetricsTextFormatWriter,PrometheusProtobufWriter,PrometheusTextFormatWriter
public interface ExpositionFormatWriter
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidwrite(OutputStream out, io.prometheus.metrics.model.snapshots.MetricSnapshots metricSnapshots) Text formats use UTF-8 encoding.
-
Method Details
-
accepts
-
write
void write(OutputStream out, io.prometheus.metrics.model.snapshots.MetricSnapshots metricSnapshots) throws IOException Text formats use UTF-8 encoding.- Throws:
IOException
-
getContentType
String getContentType()
-