Skip to content

Conversation

@lean-apple
Copy link
Contributor

@lean-apple lean-apple commented Nov 1, 2025

Closes #19282.

  • Add a new arg --tracing-otlp.sample-ratio to enable to configure the ratio of traces exported

  • Add OtlpConfig to avoid the long list of args for some functions

@github-project-automation github-project-automation bot moved this to Backlog in Reth Tracker Nov 1, 2025
@lean-apple lean-apple changed the title feat: make trace id ratio sample configurable with --tracing-otlp-sampler-ratio arg feat: make trace id ratio sample customizable with --tracing-otlp-sampler-ratio arg Nov 1, 2025
@lean-apple lean-apple changed the title feat: make trace id ratio sample customizable with --tracing-otlp-sampler-ratio arg feat(tracing-otlp): make trace id ratio sample customizable with --tracing-otlp-sampler-ratio arg Nov 1, 2025
@lean-apple lean-apple changed the title feat(tracing-otlp): make trace id ratio sample customizable with --tracing-otlp-sampler-ratio arg feat(tracing-otlp): make trace id ratio sample customizable with --tracing-otlp-sample-ratio arg Nov 1, 2025
@lean-apple lean-apple marked this pull request as ready for review November 1, 2025 12:25
@lean-apple lean-apple changed the title feat(tracing-otlp): make trace id ratio sample customizable with --tracing-otlp-sample-ratio arg feat(tracing-otlp): make trace id ratio sample customizable with --tracing-otlp.sample-ratio arg Nov 20, 2025
Copy link
Member

@Rjected Rjected left a comment

Choose a reason for hiding this comment

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

LGTM!

@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Nov 21, 2025
@Rjected Rjected added this pull request to the merge queue Nov 21, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 21, 2025
@Rjected
Copy link
Member

Rjected commented Nov 21, 2025

@lean-apple do you mind rebasing and running make update-book-cli

@lean-apple
Copy link
Contributor Author

lean-apple commented Nov 21, 2025

@lean-apple do you mind rebasing and running make update-book-cli

Sure, it should be ok now

@Rjected Rjected enabled auto-merge November 21, 2025 20:50
@Rjected Rjected added this pull request to the merge queue Nov 21, 2025
Merged via the queue into paradigmxyz:main with commit 7f40013 Nov 21, 2025
43 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Reth Tracker Nov 21, 2025
@lean-apple lean-apple deleted the trace-sampler-ratio branch November 22, 2025 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Allow to control the otlp traces sample ratio from 0.0 to 1.0

2 participants