Pushing Metrics using Remote Write

Push Prometheus metrics directly to groundcover.

Send Prometheus metrics to groundcover using the Remote Write 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.

Setting up remote write

Prometheus (prometheus.yml):

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

vmagent (flags):

-remoteWrite.url=https://groundcover-sensor.groundcover.svc.cluster.local/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 tab.

Create an ingestion key

See how in the ingestion key docs.

Set up Remote Write

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

Examples

Prometheus (prometheus.yml):

vmagent (flags):

Last updated