Skip to content

WIP: Span metrics - #5382

Closed
PerfectSlayer wants to merge 16 commits into
masterfrom
bbujon/telemetry-metrics
Closed

WIP: Span metrics#5382
PerfectSlayer wants to merge 16 commits into
masterfrom
bbujon/telemetry-metrics

Conversation

@PerfectSlayer

@PerfectSlayer PerfectSlayer commented Jun 14, 2023

Copy link
Copy Markdown
Collaborator

What Does This Do

  1. Introduce a metrics API for core tracer,
  2. Use it for span creation and finition telemetry.

Motivation

A generic metrics API allow gathering metrics from core and dispatch them later to either health metrics or telemetry (or both).
It should also allow deviated metrics in a longer term. Current metric implementations are either for client or telemetric but isn't generic.

Additional Notes

This PR is still in WIP. I will split it in two distinct PRs later: one for the metric API, another for span metrics.
For now, the new metric API is only directly linked to telemetry using the recently supported periodic action for telemetry metric payload.

@PerfectSlayer PerfectSlayer added tag: do not merge Do not merge changes comp: core Tracer core comp: metrics Metrics comp: telemetry Telemetry labels Jun 14, 2023
@pr-commenter

pr-commenter Bot commented Jun 14, 2023

Copy link
Copy Markdown

Benchmarks

Parameters

Baseline Candidate
commit 1.17.0-SNAPSHOT~f3039a2fed 1.17.0-SNAPSHOT~8ec56056ff
config baseline candidate
See matching parameters
Baseline Candidate
module Agent Agent
parent None None

Summary

Found 0 performance improvements and 1 performance regressions! Performance is the same for 21 cases.

scenario Δ mean execution_time
scenario:Startup-base-Telemetry worse
[+0.104ms; +0.236ms] or [+2.083%; +4.713%]

@PerfectSlayer
PerfectSlayer force-pushed the bbujon/telemetry-metrics branch 7 times, most recently from c97f273 to bd49ba2 Compare June 16, 2023 12:01
@PerfectSlayer
PerfectSlayer force-pushed the bbujon/telemetry-metrics branch from 05e8ce3 to 78786b8 Compare June 26, 2023 13:19
@PerfectSlayer

Copy link
Copy Markdown
Collaborator Author

The whole feature was merged to the linked PR.
This PR still proposes a new metric API for history/reference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp: core Tracer core comp: metrics Metrics comp: telemetry Telemetry tag: do not merge Do not merge changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant