-
Notifications
You must be signed in to change notification settings - Fork 9
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
[APMSP-1512] Add metadata headers for stats #712
[APMSP-1512] Add metadata headers for stats #712
Conversation
BenchmarksComparisonBenchmark execution time: 2024-11-08 10:44:16 Comparing candidate commit 11abb1a in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 51 metrics, 2 unstable metrics. CandidateCandidate benchmark detailsGroup 1
Group 2
Group 3
Group 4
Group 5
Group 6
Group 7
Group 8
Group 9
Group 10
Group 11
Group 12
BaselineOmitted due to size. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #712 +/- ##
==========================================
- Coverage 71.56% 71.55% -0.01%
==========================================
Files 281 281
Lines 42414 42421 +7
==========================================
+ Hits 30353 30356 +3
- Misses 12061 12065 +4
|
b3fe681
to
f6cdd9f
Compare
f6cdd9f
to
759ed00
Compare
git_commit_sha: meta.git_commit_sha.clone(), | ||
// These fields will be set by the Agent | ||
container_id: String::new(), | ||
tags: Vec::new(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 From trace-agent perspective
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM...but I noticed we don't have integration tests hitting the test-agent for sending stats to validate we're sending the right headers and payloads. Should we? Does the test-agent even support the stats endpoint right now?
It has support for stats endpoint but I don't think it allows to check headers in snapshots |
What does this PR do?
Datadog-Meta-...
headers to statsgit_commit_sha
to TraceExporter meta for ClientStatsPayloadinterpreter_vendor
to TraceExporter metaversion
field toapp_version
to be more explicitThis PR can be reviewed commit-by-commit
Motivation
These headers are required by design doc
Additional Notes
Anything else we should know when reviewing?
How to test the change?
Describe here in detail how the change can be validated.