-
Notifications
You must be signed in to change notification settings - Fork 11
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
Report integration
and integration_version
to telemetry
#82
Conversation
Each of our "integrations" will need separate consideration for how the designation will make it into dd-trace-cpp. Here are the ones that come to mind:
Maybe an environment variable. Doesn't feel right, though. Have a think about it. |
Agree, it's a nice workaround but it does not feel appropriate to use an environment variable. It raises concerns about relying on a value that can be changed arbitrarily and depending on users to set it accurately. Part of it can probably be mitigated with single-step APM instrumentation. Back to our integration challenges, the underlying issue is essentially about propagating the value from X to istio integrationI had a quick look on the relationship between I stumbled upon istio/pilot/pkg/networking/core/v1alpha3/tracing.go, it can return a datadogConfig. This A potential solution might involve adding a field to ingress-nginxNo idea 🤷♂️ Further investigation is required. Let's suppose |
1dabbc0
to
0dad300
Compare
integration
and integration_version
to telemetry
BenchmarksBenchmark execution time: 2024-01-11 15:44:04 Comparing candidate commit 022a8da in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 1 metrics, 0 unstable metrics. |
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.
As we discussed in a recent meeting, once you figure out whether there's a difference between:
- the absence of the integration fields
- the presence of the integration fields, but as empty strings
then we can finalize the policy about TracerConfig::integration_*
, document them, and be done with this.
The code and test look good.
The I tried to document those fields: 3ba3d6c |
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.
Nicely done.
Co-authored-by: David Goffredo <david.goffredo@datadoghq.com>
Description
This PR send a new type of payload
app_integrations_change
to Telemetry v2. This new payload allows use know which integration is using the Tracer.