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

testing(parametric): update start span parametric endpoint #170

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

Conversation

mabdinur
Copy link

Description

  • Moves http_header extraction from /trace/span/start/ to a new trace/span/extract_headers endpoint. This ensures the /trace/span/start parametric endpoint aligns with the following specification.
  • Renames the active_spans_ variable to spans_. This map will no longer just contain active spans, it will also store spans extracted from distributed tracing headers.
  • Ensures /trace/span/finish does NOT clear the span list. Spans should only be removed from spans_ (previously active_spans_) if the trace/spans/flush is called.

Motivation

Additional Notes

Jira ticket: [PROJ-IDENT]

@pr-commenter
Copy link

pr-commenter bot commented Nov 15, 2024

Benchmarks

Benchmark execution time: 2024-11-22 20:12:26

Comparing candidate commit b35ee1c in PR branch munir/update-parametric-app-start-span with baseline commit 3a8bcba in branch main.

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

@mabdinur mabdinur force-pushed the munir/update-parametric-app-start-span branch from 418cd3d to b35ee1c Compare November 22, 2024 20:09
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