Skip to content
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

internal/telemetry: revamp #2996

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

eliottness
Copy link
Contributor

What does this PR do?

This PR rebuilds fron scratch the current instrumentation telemetry client. More informations here:
https://docs.google.com/document/d/1C3xoTZHQZNQ-Jr1w5mMThIkpHNW_4qKRf-J5CNi7G-k/edit?pli=1&tab=t.0#heading=h.88xvn2cvs9dt

Reviewer's Checklist

  • Changed code has unit tests for its functionality at or near 100% coverage.
  • System-Tests covering this feature have been added and enabled with the va.b.c-dev version tag.
  • There is a benchmark for any new code, or changes to existing code.
  • If this interacts with the agent in a new way, a system test has been added.
  • Add an appropriate team label so this PR gets put in the right place for the release notes.
  • Non-trivial go.mod changes, e.g. adding new modules, are reviewed by @DataDog/dd-trace-go-guild.

Unsure? Have a question? Request a review!

@pr-commenter
Copy link

pr-commenter bot commented Nov 27, 2024

Benchmarks

Benchmark execution time: 2025-01-14 19:21:46

Comparing candidate commit 09001e6 in PR branch eliott.bouhana/newtelemetry with baseline commit 42997e1 in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 59 metrics, 0 unstable metrics.

Signed-off-by: Eliott Bouhana <[email protected]>

wip

Signed-off-by: Eliott Bouhana <[email protected]>
Signed-off-by: Eliott Bouhana <[email protected]>
@eliottness eliottness force-pushed the eliott.bouhana/newtelemetry branch from bb195d0 to 58aaf77 Compare January 13, 2025 14:34
@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Jan 13, 2025

Datadog Report

Branch report: eliott.bouhana/newtelemetry
Commit report: 8aa41a5
Test service: dd-trace-go

✅ 0 Failed, 5131 Passed, 70 Skipped, 2m 37.64s Total Time

centralize all http concerns in the writer struct such as:
* Reusing the same top-level structures when possible
* encoding properly in json the payload
* separating the low level http writing from some higher level things we will concerns ourselves about in the telemetry client itself
* Centralizing a lot of the static data the telemtry client is supposed to send on every request

Signed-off-by: Eliott Bouhana <[email protected]>
@eliottness eliottness force-pushed the eliott.bouhana/newtelemetry branch from 27525e2 to 09001e6 Compare January 14, 2025 18:38
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.

1 participant