Package org.mockserver.metrics.remotewrite
package org.mockserver.metrics.remotewrite
-
ClassDescriptionEncodes a snapshot of Prometheus metrics into the body of a Prometheus remote-write request.Hand-encodes a
MetricSnapshotsinto a Prometheus Remote-Write v1WriteRequestprotobuf, matching the Prometheus text-exposition naming so the pushed series line up exactly with what/mockserver/metricsserves.Hand-encodes aMetricSnapshotsinto a Prometheus Remote-Write 2.0Requestprotobuf (packageio.prometheus.write.v2), matching the Prometheus text-exposition naming so the pushed series line up exactly with what/mockserver/metricsserves.Snappy compression in the raw block format that the Prometheus remote-write protocol requires (NOT the framed/streaming format).