diff --git a/docs/README.md b/docs/README.md
index e9479f84eb..a5f9d261a9 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -461,7 +461,7 @@ DD_DD_URL=http://victoriametrics:8428/datadog
_Choose correct URL for VictoriaMetrics [here](https://docs.victoriametrics.com/url-examples.html#datadog)._
-To configure DataDog agent via [configuration file](https://docs.datadoghq.com/agent/guide/agent-configuration-files)
+To configure DataDog agent via [configuration file](https://github.com/DataDog/datadog-agent/blob/878600ef7a55c5ef0efb41ed0915f020cf7e3bd0/pkg/config/config_template.yaml#L33)
add the following line:
@@ -489,7 +489,8 @@ Run DataDog using the following ENV variable with VictoriaMetrics as additional
```
-DD_ADDITIONAL_ENDPOINTS='{\"http://victoriametrics:8428/datadog\"}'
+DD_ADDITIONAL_ENDPOINTS='{\"http://victoriametrics:8428/datadog\": [\"apikey\"]}'
+
```
@@ -503,7 +504,9 @@ add the following line:
```
-additional_endpoints: http://victoriametrics:8428/datadog
+additional_endpoints:
+ "http://victoriametrics:8428/datadog":
+ - apikey
```
diff --git a/docs/Single-server-VictoriaMetrics.md b/docs/Single-server-VictoriaMetrics.md
index 096a1fbe11..9478b61b6a 100644
--- a/docs/Single-server-VictoriaMetrics.md
+++ b/docs/Single-server-VictoriaMetrics.md
@@ -469,7 +469,7 @@ DD_DD_URL=http://victoriametrics:8428/datadog
_Choose correct URL for VictoriaMetrics [here](https://docs.victoriametrics.com/url-examples.html#datadog)._
-To configure DataDog agent via [configuration file](https://docs.datadoghq.com/agent/guide/agent-configuration-files)
+To configure DataDog agent via [configuration file](https://github.com/DataDog/datadog-agent/blob/878600ef7a55c5ef0efb41ed0915f020cf7e3bd0/pkg/config/config_template.yaml#L33)
add the following line:
@@ -497,7 +497,8 @@ Run DataDog using the following ENV variable with VictoriaMetrics as additional
```
-DD_ADDITIONAL_ENDPOINTS='{\"http://victoriametrics:8428/datadog\"}'
+DD_ADDITIONAL_ENDPOINTS='{\"http://victoriametrics:8428/datadog\": [\"apikey\"]}'
+
```
@@ -511,7 +512,9 @@ add the following line:
```
-additional_endpoints: http://victoriametrics:8428/datadog
+additional_endpoints:
+ "http://victoriametrics:8428/datadog":
+ - apikey
```