All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.prometheus.metrics.expositionformats.ExpositionFormatWriter Maven / Gradle / Ivy

There is a newer version: 1.3.1
Show newest version
package io.prometheus.metrics.expositionformats;

import io.prometheus.metrics.model.snapshots.MetricSnapshots;

import java.io.IOException;
import java.io.OutputStream;

public interface ExpositionFormatWriter {
    boolean accepts(String acceptHeader);

    /**
     * Text formats use UTF-8 encoding.
     */
    void write(OutputStream out, MetricSnapshots metricSnapshots) throws IOException;
    String getContentType();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy