mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
vmagent docs: describe vmagent integration with VictoriaMetrics Cloud
This commit is contained in:
parent
037df27dae
commit
9024b890e6
1 changed files with 13 additions and 1 deletions
|
@ -1623,7 +1623,19 @@ Two types of auth are supported:
|
||||||
|
|
||||||
## VictoriaMetrics Cloud integration
|
## VictoriaMetrics Cloud integration
|
||||||
|
|
||||||
TBD
|
1. Create a [VictoriaMetrics Cloud](https://cloud.victoriametrics.com/signUp?utm_source=website&utm_campaign=docs_vm_vmagent_mom) account (it's free!), if you don't have one.
|
||||||
|
1. [Create a new deployment](https://docs.victoriametrics.com/victoriametrics-cloud/quickstart/#creating-deployments) (Single-node or Cluster) to which your `vmagent` instances will send metrics.
|
||||||
|
1. Get the VictoriaMetrics Cloud URL and authentication token (we recommend using write-only token).
|
||||||
|
1. Send metrics to VictoriaMetrics Cloud:
|
||||||
|
Start `vmagent` with the following command-line flags:
|
||||||
|
```
|
||||||
|
-remoteWrite.bearerTokenFile=/{bearer_token_file_path} \
|
||||||
|
-remoteWrite.url=https://{victoriametrics_cloud_endpoint}/api/v1/write \
|
||||||
|
```
|
||||||
|
These flags will configure the following:
|
||||||
|
- `remoteWrite.bearerTokenFile` - authentication for VictoriaMetrics Cloud
|
||||||
|
- `remoteWrite.url` - VictoriaMetrics Cloud endpoint to push metrics to.
|
||||||
|
1. Restart `vmagent` to apply newly added command-line flags.
|
||||||
|
|
||||||
## mTLS protection
|
## mTLS protection
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue