Class PrometheusProtobufWriterImpl

java.lang.Object
io.prometheus.metrics.expositionformats.internal.PrometheusProtobufWriterImpl

public class PrometheusProtobufWriterImpl extends Object
  • Constructor Details

    • PrometheusProtobufWriterImpl

      public PrometheusProtobufWriterImpl()
  • Method Details

    • accepts

      public boolean accepts(@Nullable String acceptHeader)
    • getContentType

      public String getContentType()
    • toDebugString

      public String toDebugString(io.prometheus.metrics.model.snapshots.MetricSnapshots metricSnapshots, io.prometheus.metrics.config.EscapingScheme escapingScheme)
    • write

      public void write(OutputStream out, io.prometheus.metrics.model.snapshots.MetricSnapshots metricSnapshots, io.prometheus.metrics.config.EscapingScheme escapingScheme) throws IOException
      Throws:
      IOException
    • convert

      public Metrics.MetricFamily convert(io.prometheus.metrics.model.snapshots.MetricSnapshot snapshot, io.prometheus.metrics.config.EscapingScheme scheme)
    • write

      default void write(OutputStream arg0, io.prometheus.metrics.model.snapshots.MetricSnapshots arg1) throws IOException
      Throws:
      IOException
    • toDebugString

      default String toDebugString(io.prometheus.metrics.model.snapshots.MetricSnapshots arg0)
    • isAvailable

      default boolean isAvailable()