Skip to content

Fix sampling rate recorded for dependencies#1477

Closed
trask wants to merge 2 commits into
masterfrom
trask/fix-sampling
Closed

Fix sampling rate recorded for dependencies#1477
trask wants to merge 2 commits into
masterfrom
trask/fix-sampling

Conversation

@trask

@trask trask commented Feb 7, 2021

Copy link
Copy Markdown
Member

No description provided.

return telemetryClient;
}

public static double getSamplingPercentage() {

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.

I still think sampling rate inside TraceState is a bit awkward since you will need to strip it out before sending out the payload. Can we keep it in Global? AiSampler can access Global, but then you may need to setDelegate inside AiSampler again. Can we chat offline about this?

@trask

trask commented Mar 24, 2021

Copy link
Copy Markdown
Member Author

Closing, will open a fresh PR for this

@trask trask closed this Mar 24, 2021
@trask trask deleted the trask/fix-sampling branch March 24, 2021 23:31
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.

2 participants