forked from vectordotdev/vector
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(datadog sinks): Compute proper validate endpoint (vectordotdev#20644
) * fix(datadog sinks): Compute proper validate endpoint When no `endpoint` is configured in the `datadog_*` sinks, they use the `site` instead to compute separate endpoints for the API key validation and for the actual service. However, when an `endpoint` _is_ configured, that URI is used for both, leading to a HTTP 404 Not Found error when trying to run the health check. This change pulls in the API endpoint computation used by the Datadog Agent to rewrite the `endpoint` URI when it is detected as a valid Datadog domain. * Add spelling allow for "ddog" * Fix changelog grammar
- Loading branch information
Showing
5 changed files
with
44 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -273,6 +273,7 @@ datacenter | |
datadog | ||
datadoghq | ||
datanode | ||
ddog | ||
debian | ||
demuxing | ||
dfs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
The `endpoint` in the Datadog sinks is rewritten the same as the Datadog Agent | ||
does to produce the API validation endpoint to avoid a HTTP 404 Not Found error | ||
when running the health check. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters