Skip to content

feat: opt-in enablement of the instrumentation telemetry client#386

Merged
astuyve merged 3 commits into
DataDog:mainfrom
Julio-Guerra:julio.guerra/telemetry-client-opt-in
Nov 7, 2023
Merged

feat: opt-in enablement of the instrumentation telemetry client#386
astuyve merged 3 commits into
DataDog:mainfrom
Julio-Guerra:julio.guerra/telemetry-client-opt-in

Conversation

@Julio-Guerra
Copy link
Copy Markdown
Contributor

@Julio-Guerra Julio-Guerra commented Nov 3, 2023

What does this PR do?

Enable the telemetry client when DD_INSTRUMENTATION_TELEMETRY_ENABLED=true

Motivation

AppSec Open-Source Software Vulnerability Scanning (aka ASM OSS Vulns) works on top of telemetry data sent by the tracing libraries. We are launching our beta for AWS Lambda using this short-term solution, but the mid-term one is to leverage a side-scanning agent instead, not requiring instrumentation telemetry at all, and out of the lambdas and tracers.

Testing Guidelines

Additional Notes

Jira: APPSEC-11434

Types of Changes

  • Bug fix
  • New feature
  • Breaking change
  • Misc (docs, refactoring, dependency upgrade, etc.)

Check all that apply

  • This PR's description is comprehensive
  • This PR contains breaking changes that are documented in the description
  • This PR introduces new APIs or parameters that are documented and unlikely to change in the foreseeable future
  • This PR impacts documentation, and it has been updated (or a ticket has been logged)
  • This PR's changes are covered by the automated tests
  • This PR collects user input/sensitive content into Datadog
  • This PR passes the integration tests (ask a Datadog member to run the tests)

@Julio-Guerra Julio-Guerra requested a review from a team as a code owner November 3, 2023 15:23
Comment thread datadog_lambda/tracing.py Outdated
Co-authored-by: Alberto Vara <a.vara.1986@gmail.com>
@Julio-Guerra
Copy link
Copy Markdown
Contributor Author

FTR, I just did an e2e test which worked:

  1. The telemetry client starts
  2. The dependency list is sent
  3. ASM OSS Vulnerabilities scanning works and detects known CVEs.

@astuyve astuyve merged commit 1dc0502 into DataDog:main Nov 7, 2023
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