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

Adjust how bytes_received is calculated in the HTTP blackhole #1166

Merged
merged 3 commits into from
Dec 17, 2024

Conversation

blt
Copy link
Collaborator

@blt blt commented Dec 17, 2024

What does this PR do?

This commit adjusts bytes_received to measure the bytes received over the wire
before decoding. This allows lading to make assertions about the efficacy of
compression by targets, matching the behavior of the other lading blackholes. We
preserve the decoded metric by renaming it decoded_bytes_received.

This commit adjusts `bytes_received` to measure the bytes received over the wire
before decoding. This allows lading to make assertions about the efficacy of
compression by targets, matching the behavior of the other lading blackholes. We
preserve the decoded metric by renaming it `decoded_bytes_received`.

Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
Copy link
Collaborator Author

blt commented Dec 17, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

@blt blt marked this pull request as ready for review December 17, 2024 19:12
@blt blt requested a review from a team as a code owner December 17, 2024 19:12
Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
CHANGELOG.md Outdated Show resolved Hide resolved
Co-authored-by: Scott Opell <me@scottopell.com>
@blt blt merged commit 6acfcdb into main Dec 17, 2024
17 checks passed
Copy link
Collaborator Author

blt commented Dec 17, 2024

Merge activity

  • Dec 17, 2:50 PM EST: A user merged this pull request with Graphite.

@blt blt deleted the blt/track_raw_bytes_received_in_blackholes_that_decompress branch December 17, 2024 19:50
blt added a commit that referenced this pull request Dec 17, 2024
Similar to #1166 this commit adds a `decoded_bytes_received` so that the telemetry
from this blackhole matches the others in the project, measuring the raw/wire bytes
in `bytes_received`.

Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
blt added a commit that referenced this pull request Dec 17, 2024
Similar to #1166 this commit adds a `decoded_bytes_received` so that the telemetry
from this blackhole matches the others in the project, measuring the raw/wire bytes
in `bytes_received`.

Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
blt added a commit that referenced this pull request Dec 17, 2024
Similar to #1166 this commit adds a `decoded_bytes_received` so that the telemetry
from this blackhole matches the others in the project, measuring the raw/wire bytes
in `bytes_received`.

Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
blt added a commit that referenced this pull request Dec 17, 2024
Similar to #1166 this commit adds a `decoded_bytes_received` so that the telemetry
from this blackhole matches the others in the project, measuring the raw/wire bytes
in `bytes_received`.

Signed-off-by: Brian L. Troutwine <brian.troutwine@datadoghq.com>
blt added a commit that referenced this pull request Dec 17, 2024
### What does this PR do?

Similar to #1166 this commit adds a `decoded_bytes_received` so that the telemetry
from this blackhole matches the others in the project, measuring the raw/wire bytes
in `bytes_received`.
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.

3 participants