Skip to content

Decouple time in queue from legacy tracing#5015

Merged
amarziali merged 1 commit into
masterfrom
andrea.marziali/v1-queue-time
Apr 28, 2023
Merged

Decouple time in queue from legacy tracing#5015
amarziali merged 1 commit into
masterfrom
andrea.marziali/v1-queue-time

Conversation

@amarziali

Copy link
Copy Markdown
Contributor

What Does This Do

Decouple time in queue tracking from legacy tracing.
The time in queue can be driven independently with the parameter dd.<instrumentation>.time-in-queue.enabled
By default it will be enabled if legacy tracing is disabled (as today)

Quick note: for the v1 naming schema, time in queue is disabled by default because synthetic spans should not be present in the service map

Motivation

Additional Notes

@amarziali
amarziali requested a review from a team as a code owner April 3, 2023 15:35
@amarziali amarziali added the type: feature Enhancements and improvements label Apr 11, 2023
@amarziali
amarziali force-pushed the andrea.marziali/v1-queue-time branch from 3e929b5 to d429ade Compare April 24, 2023 12:07
@pr-commenter

pr-commenter Bot commented Apr 24, 2023

Copy link
Copy Markdown

Benchmarks

Parameters

Baseline Candidate
commit 1.13.0-SNAPSHOT~a40147a890 1.13.0-SNAPSHOT~d429ade9b7
config baseline candidate
See matching parameters
Baseline Candidate
module Agent Agent
parent None None

Summary

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

See unchanged results
scenario Δ mean execution_time
scenario:Startup-base-Agent same
scenario:Startup-base-Agent.start same
scenario:Startup-base-BytebuddyAgent same
scenario:Startup-base-GlobalTracer same
scenario:Startup-base-AppSec same
scenario:Startup-base-Remote Config same
scenario:Startup-base-Telemetry same
scenario:Startup-iast-Agent same
scenario:Startup-iast-Agent.start same
scenario:Startup-iast-BytebuddyAgent same
scenario:Startup-iast-GlobalTracer same
scenario:Startup-iast-AppSec same
scenario:Startup-iast-IAST same
scenario:Startup-iast-Remote Config same
scenario:Startup-iast-Telemetry same
scenario:Startup-waf-Agent same
scenario:Startup-waf-Agent.start same
scenario:Startup-waf-BytebuddyAgent same
scenario:Startup-waf-GlobalTracer same
scenario:Startup-waf-AppSec same
scenario:Startup-waf-Remote Config same
scenario:Startup-waf-Telemetry same

@amarziali amarziali added inst: others All other instrumentations and removed type: feature Enhancements and improvements labels Apr 24, 2023

@ygree ygree left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me!

@amarziali
amarziali force-pushed the andrea.marziali/v1-queue-time branch from d429ade to fdf9a02 Compare April 28, 2023 08:46
@amarziali
amarziali merged commit 980f980 into master Apr 28, 2023
@amarziali
amarziali deleted the andrea.marziali/v1-queue-time branch April 28, 2023 13:49
@github-actions github-actions Bot added this to the 1.13.0 milestone Apr 28, 2023
smola added a commit that referenced this pull request May 17, 2023
In #5015 the meaning of the boolean flag to SessionState constructor was
inverted, but it was not updated in tests.
@smola smola mentioned this pull request May 17, 2023
smola added a commit that referenced this pull request May 18, 2023
In #5015 the meaning of the boolean flag to SessionState constructor was
inverted, but it was not updated in tests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

inst: others All other instrumentations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants