Skip to content

Conversation

@TheSafo
Copy link
Contributor

@TheSafo TheSafo commented Oct 23, 2025

What does this PR do?

A brief description of the change being made with this pull request.

Motivation

What inspired you to submit this pull request?

Related issues

A list of issues either fixed, containing architectural discussions, otherwise relevant
for this Pull Request.

Additional Notes

Anything else we should know when reviewing?

@blt blt force-pushed the blt/wip_datadog_intake branch 14 times, most recently from 95a304e to 1e47b6e Compare October 30, 2025 17:20
@TheSafo TheSafo force-pushed the stateful-logs-blackhole branch from d6bfdbb to 1643968 Compare October 30, 2025 19:47
@blt blt force-pushed the blt/wip_datadog_intake branch 5 times, most recently from a603e60 to ecc65f7 Compare October 31, 2025 22:48
@TheSafo TheSafo force-pushed the stateful-logs-blackhole branch 2 times, most recently from 25e5a3e to b61a8ce Compare November 3, 2025 15:37
@blt blt force-pushed the blt/wip_datadog_intake branch from ecc65f7 to 33f62f6 Compare November 3, 2025 23:26
blt added 7 commits November 3, 2025 17:38
This commit introduces an accumulator mechanism into the capture manager,
allowing for a rolling-window delay of metrics. The goal here is to support
historic metric uses cases, such as that present in a theoretical Datadog intake
blackhole, necessary to support #1546 and #1530.

Signed-off-by: Brian L. Troutwine <[email protected]>
This commit removes from discovered or user-provided labels any reserved
fields. We do this to avoid a serialization bug where a label duplicates one of
lading's always-present fields.

Signed-off-by: Brian L. Troutwine <[email protected]>
This commit adds an additional fuzz harness to assert that capture files
produced by lading_capture are valid. This runs the CaptureManager in afl++ in
forking mode, meaning we exercise the global registry, historical metrics et al
without needing to elide any part of the novel machinery here.

This fuzz test is however very slow. We rely on tokio's pause/advance to manage
time but it's still not quick to run. I have not found any validation issues in
produced capture files.

Signed-off-by: Brian L. Troutwine <[email protected]>
blt added 2 commits November 3, 2025 17:38
Signed-off-by: Brian L. Troutwine <[email protected]>
This commit corrects a draining data overwrite bug which caused the last minute
of data to be constant. This is corrected by introducing an additional guard
interval that prevents overwrites, we guard against the behavior with a new test
in state_machine.

Signed-off-by: Brian L. Troutwine <[email protected]>
@blt blt force-pushed the blt/wip_datadog_intake branch from 33f62f6 to 8e4638b Compare November 4, 2025 01:39
blt added 2 commits November 3, 2025 18:18
I have also left notes for myself in this commit to follow-up on in the next
few.

Signed-off-by: Brian L. Troutwine <[email protected]>
Signed-off-by: Brian L. Troutwine <[email protected]>
@blt blt force-pushed the blt/wip_datadog_intake branch from 8e4638b to d79fa1f Compare November 4, 2025 02:33
blt added 3 commits November 4, 2025 07:14
Signed-off-by: Brian L. Troutwine <[email protected]>
Signed-off-by: Brian L. Troutwine <[email protected]>
Signed-off-by: Brian L. Troutwine <[email protected]>
@blt blt force-pushed the blt/wip_datadog_intake branch from d79fa1f to 35e80aa Compare November 4, 2025 17:39
Signed-off-by: Brian L. Troutwine <[email protected]>
@blt blt force-pushed the blt/wip_datadog_intake branch from 35e80aa to 80a1af2 Compare November 4, 2025 18:35
blt added 2 commits November 4, 2025 10:43
Signed-off-by: Brian L. Troutwine <[email protected]>
This PR introduces support for Datadog intake v2 in a new blackhole,
the goal being to accumulate trace-agent metrics that are only
transmitted to dogstatsd and then out to the intake. The construction
method here is intended to make it easy to add support for new intake
versions.

Signed-off-by: Brian L. Troutwine <[email protected]>
@blt blt force-pushed the blt/wip_datadog_intake branch from 80a1af2 to a5a433e Compare November 4, 2025 18:43
blt and others added 3 commits November 4, 2025 11:41
@TheSafo TheSafo force-pushed the stateful-logs-blackhole branch from b61a8ce to 7542753 Compare November 4, 2025 21:31
@blt blt force-pushed the blt/wip_datadog_intake branch 2 times, most recently from 420a3a5 to cae011d Compare November 6, 2025 17:46
Base automatically changed from blt/wip_datadog_intake to main November 6, 2025 17:57
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