vmagent
Send data to Last9 via VictoriaMetrics vmagent using Prometheus Remote Write protocol
We make use of the VictoriaMetrics’ vmagent remote-write to write to an external remote endpoint i.e. Last9’s remote-write endpoint.
Prerequisites
Create a Last9 cluster by following Getting Started.
Keep the following information handy after creating the cluster:
$levitate_remote_write_url
- Last9’s Remote write endpoint$levitate_remote_write_username
- Cluster ID$levitate_remote_write_password
- Write token created for the cluster
Sending data to Last9
The information flow is as follows:
Setup
Here is a sampledocker-compose.yaml
for the vmagent
setup:
Create vmagent.yaml
to add a sample scrape config. Replace this scrape config with your desired config:
This will run the vmagent
container, scrape the desired targets, and remote write metrics to Last9.
Verification
The Last9 Cluster will start showing a summary of ingested samples.
Next steps
Create a read token for your Last9 Cluster and follow our guide to Configure Grafana to visualize the time series data getting sent to Last9.
Troubleshooting
Please get in touch with us on Discord or Email if you have any questions.