feat: add service source on 10 integrations#4540
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files
🚀 New features to boost your workflow:
|
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🎯 Code Coverage (details) 🔗 Commit SHA: ab42e80 | Docs | Datadog PR Page | Was this helpful? React with 👍/👎 or give us feedback! |
BenchmarksBenchmark execution time: 2026-03-15 03:00:25 Comparing candidate commit ab42e80 in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 156 metrics, 8 unstable metrics.
|
ba87a72 to
379ea03
Compare
379ea03 to
ab42e80
Compare
rarguelloF
left a comment
There was a problem hiding this comment.
LGTM, just a comment on the aws ones
| instr.ServiceName( | ||
| instrumentation.ComponentDefault, | ||
| instrumentation.OperationContext{ | ||
| ext.AWSService: awsService(req), | ||
| }, | ||
| ), |
There was a problem hiding this comment.
do we wanna signal this as a special case? I think this is the same as the driver name in database/sql, where the service name is being crafted / inferred from the request to the specific aws service (in sql there's something similar as this but with the driver name).
There was a problem hiding this comment.
while it's a special case in the servic value (not a constant) it's not using any customer input, so there's no option to set. We already treat this as AWS integration case in the backend and remap it to the base service
| instr.ServiceName(instrumentation.ComponentDefault, instrumentation.OperationContext{ | ||
| ext.AWSService: awsService, | ||
| }), | ||
| string(instrumentation.PackageAWSSDKGoV2), |
What does this PR do?
This PR is a follow-up from , completing 10 more integrations and adding missing integration tests for 5 of them.
Last remaining integration net/http due to its API will be covered alone.
Integration with no default, just WithService option
Dynamic defaults (aws.{AWS_SERVICE})
Missing V1 support - not covered in naming test harness! For this PR verifying service source directly in the contrib
Ones with no integration test <- completed with harness
Working integrations on system-test (see default service, contrib and @_dd.svc_src value
Motivation
Reviewer's Checklist
make lintlocally.make testlocally.make generatelocally.make fix-moduleslocally.Unsure? Have a question? Request a review!