Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds path to metric labels for http blackhole #1148

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

scottopell
Copy link
Contributor

What does this PR do?

Adds the HTTP path that a request was sent to for the metrics that give insight into the blackhole-received data.

Motivation

Datadog agent sends to many different endpoints, we observe spikes that don't have a clearly understood destination, this will help.

Related issues

Additional Notes

I omit the query parameters, which should limit the cardinality of these metrics, but this is still a technically unbounded metric tag, which isn't ideal. I wasn't able to come up with any ideas to bound the cardinality here without making this feature significantly less useful (ie, only record up to 1/2/3 path segments)

@scottopell scottopell requested a review from a team as a code owner December 13, 2024 12:54
@scottopell scottopell enabled auto-merge (squash) December 16, 2024 17:13
@scottopell scottopell merged commit 7df73bc into main Dec 16, 2024
18 checks passed
@scottopell scottopell deleted the sopell/blackhole-record-query branch December 16, 2024 17:47
blt added a commit that referenced this pull request Dec 17, 2024
blt added a commit that referenced this pull request Dec 17, 2024
blt added a commit that referenced this pull request Dec 17, 2024
blt added a commit that referenced this pull request Dec 17, 2024
blt added a commit that referenced this pull request Dec 17, 2024
This release reverts PR #1148. Unfortunately duplicate tags on the metrics
`bytes_received` causes errors in an analysis tool that is on a more
strict release schedule than lading itself. We will have to re-introduce
this change at a later date.

Signed-off-by: Brian L. Troutwine <[email protected]>
@blt blt mentioned this pull request Dec 17, 2024
blt added a commit that referenced this pull request Dec 17, 2024
This release reverts PR #1148. Unfortunately duplicate tags on the metrics
`bytes_received` causes errors in an analysis tool that is on a more
strict release schedule than lading itself. We will have to re-introduce
this change at a later date.

Signed-off-by: Brian L. Troutwine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants