enhancement(antithesis): accept Datadog intake endpoints - #1893
Conversation
This comment has been minimized.
This comment has been minimized.
Binary Size Analysis (Agent Data Plane)Baseline: d95a996 · Comparison: da486e2 · diff ✅ Binary size difference within thresholdChanges by Module
Detailed Symbol Changes |
Regression Detector (Agent Data Plane)Run ID: Optimization Goals: ✅ No significant changes detectedFine details of change detection per experiment (35)Experiments configured
Bounds Checks: ✅ Passed (5)
ExplanationA change is flagged as a regression when |Δ mean %| > 5.00% in the regressing direction for its optimization goal AND SMP marks the experiment as a regression ( |
1d98614 to
a20bc37
Compare
cb55618 to
68aea10
Compare
a20bc37 to
d7c3986
Compare
43b6ef9 to
ccd88a8
Compare
ac2e0a0 to
8077839
Compare
7fe8277 to
7e581a6
Compare
8077839 to
0e8798f
Compare
7e581a6 to
33412fb
Compare
8c1fcef to
7d5101a
Compare
8bf7fa6 to
6ec313e
Compare
66dd192 to
8e0f47a
Compare
6ec313e to
78229ab
Compare
8e0f47a to
c418c13
Compare
78229ab to
fdd089b
Compare
There was a problem hiding this comment.
Pull request overview
Adds additional Datadog-compatible HTTP intake endpoints to the Antithesis mock intake service so it can accept events, service checks, and sketches (in addition to metric series) for differential comparison against the Datadog Agent.
Changes:
- Add handlers for event intake (
/api/v1/events_batch,/api/v1/events,/intake/) and service check intake (/api/v1/check_run). - Add handler for distribution sketches (
/api/beta/sketches) and route wiring for all new endpoints plus/api/v1/validate. - Add
serde(derive) dependency to support new JSON payload structs.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
| test/antithesis/intake/src/http/datadog.rs | Wires up new Datadog-compatible routes and per-route middleware. |
| test/antithesis/intake/src/http/datadog/metrics.rs | Adds /api/beta/sketches handler parsing SketchPayload. |
| test/antithesis/intake/src/http/datadog/events.rs | Adds protobuf/JSON event intake handlers and minimal payload “touch” logic. |
| test/antithesis/intake/src/http/datadog/service_checks.rs | Adds service check intake handler and JSON payload struct. |
| test/antithesis/intake/Cargo.toml | Adds serde with derive for new deserialized payloads. |
| Cargo.lock | Locks serde dependency addition. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c418c13036
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
fdd089b to
f1148f7
Compare
c418c13 to
86b6312
Compare
86b6312 to
48e58e2
Compare
48e58e2 to
bbe00c9
Compare
bbe00c9 to
da486e2
Compare
## Summary Add intake endpoints sufficient to prime a differential comparison with Datadog Agent. This commit introduces endpoints in the antithesis rig that allow for service checks, events to be handled properly by the target and will allow the rig to, up-stack, differentially compare responses to the API. ## Change Type - [ ] Bug fix - [ ] New feature - [x] Non-functional (chore, refactoring, docs) - [ ] Performance da59d73
Add intake endpoints sufficient to prime a differential comparison with Datadog Agent. This commit introduces endpoints in the antithesis rig that allow for service checks, events to be handled properly by the target and will allow the rig to, up-stack, differentially compare responses to the API. - [ ] Bug fix - [ ] New feature - [x] Non-functional (chore, refactoring, docs) - [ ] Performance

Summary
Add intake endpoints sufficient to prime a differential comparison with Datadog Agent.
This commit introduces endpoints in the antithesis rig that allow for service checks, events
to be handled properly by the target and will allow the rig to, up-stack, differentially compare
responses to the API.
Change Type