Contents:
Defined in File prometheus_writer.hpp
public Writer (Class Writer)
public Writer
A class to write metrics to Prometheus.
Public Functions
Constructor.
port -- The port number to expose Prometheus metrics.
Writes a JSON message to Prometheus.
message -- The JSON message containing metrics.