Pushing Metrics using Remote Write

Push Prometheus metrics directly to groundcover.

Send Prometheus metrics to groundcover using the Remote Writearrow-up-right protocol for direct ingestion from external sources or non-Kubernetes environments.

Sending from Kubernetes

The recommended way to ship data via remote write in Kubernetes it by writing directly to the sensors deployed by groundcover.

circle-check

Setting up remote write

Prometheus (prometheus.yml):

remote_write:
  - url: "http://groundcover-sensor.groundcover.svc.cluster.local:8428/api/v1/write"

vmagent (flags):

-remoteWrite.url=http://groundcover-sensor.groundcover.svc.cluster.local:8428/api/v1/write

Sending from Non-Kubernetes

The recommended way to ship data from Non-Kubernetes hosts is to the BYOC ingestion endpoint.

Get your BYOC endpoint

Find your BYOC endpoint in the ingestion keys tabarrow-up-right.

Create an ingestion key

See how in the ingestion key docs.

Set up Remote Write

circle-info

You can enrich your metrics with additional context using special headers. For detailed information, see our Enriching Data with Headersarrow-up-right guide.

Examples

Prometheus (prometheus.yml):

vmagent (flags):

Last updated