From 821ac6e374cf2cd2586b1f708411b08e068c87e3 Mon Sep 17 00:00:00 2001 From: Artem Navoiev Date: Mon, 8 Jan 2024 20:20:09 +0100 Subject: [PATCH] docs: properly close diff Signed-off-by: Artem Navoiev --- docs/README.md | 3 +++ docs/Single-server-VictoriaMetrics.md | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/docs/README.md b/docs/README.md index 6907c9089..649f330d1 100644 --- a/docs/README.md +++ b/docs/README.md @@ -564,6 +564,7 @@ sending via ENV variable `DD_ADDITIONAL_ENDPOINTS` or via configuration file `ad Run DataDog using the following ENV variable with VictoriaMetrics as additional metrics receiver:
+ ``` DD_ADDITIONAL_ENDPOINTS='{\"http://victoriametrics:8428/datadog\": [\"apikey\"]}' @@ -577,11 +578,13 @@ To configure DataDog Dual Shipping via [configuration file](https://docs.datadog add the following line:
+ ``` additional_endpoints: "http://victoriametrics:8428/datadog": - apikey ``` +
### Send via cURL diff --git a/docs/Single-server-VictoriaMetrics.md b/docs/Single-server-VictoriaMetrics.md index 129388b20..e10f47017 100644 --- a/docs/Single-server-VictoriaMetrics.md +++ b/docs/Single-server-VictoriaMetrics.md @@ -541,9 +541,11 @@ or via [configuration file](https://docs.datadoghq.com/agent/guide/agent-configu To configure DataDog agent via ENV variable add the following prefix:
+ ``` DD_DD_URL=http://victoriametrics:8428/datadog ``` +
_Choose correct URL for VictoriaMetrics [here](https://docs.victoriametrics.com/url-examples.html#datadog)._ @@ -572,10 +574,12 @@ sending via ENV variable `DD_ADDITIONAL_ENDPOINTS` or via configuration file `ad Run DataDog using the following ENV variable with VictoriaMetrics as additional metrics receiver:
+ ``` DD_ADDITIONAL_ENDPOINTS='{\"http://victoriametrics:8428/datadog\": [\"apikey\"]}' ``` +
_Choose correct URL for VictoriaMetrics [here](https://docs.victoriametrics.com/url-examples.html#datadog)._ @@ -585,11 +589,13 @@ To configure DataDog Dual Shipping via [configuration file](https://docs.datadog add the following line:
+ ``` additional_endpoints: "http://victoriametrics:8428/datadog": - apikey ``` +
### Send via cURL