Skip to content

Add TBS examples to explain policy naunces #1239

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

rubvs
Copy link
Contributor

@rubvs rubvs commented Apr 22, 2025

Closes elastic/apm-server#16253

Add two examples to TBS policy configurations:

  • How does policies relate between service definitions.
  • How does policies relate between trace and service definitions.

@rubvs rubvs marked this pull request as ready for review April 22, 2025 22:38
@rubvs rubvs requested review from simitt and carsonip April 22, 2025 22:38
Copy link
Member

@carsonip carsonip left a comment

Choose a reason for hiding this comment

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

thanks, some comments on explaining the implementation

@carsonip
Copy link
Member

also looping in @colleenmcginnis for 👀 on language and style

Copy link
Member

@carsonip carsonip left a comment

Choose a reason for hiding this comment

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

nit: the fallback sampling rate is higher than the more specific policies, which is a bit unusual, but not incorrect, as users usually like to sample more for specific ones, and sample less otherwise.

lgtm from correctness PoV. Would like 👀 from @colleenmcginnis for style

Copy link
Contributor

@colleenmcginnis colleenmcginnis left a comment

Choose a reason for hiding this comment

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

I left a couple minor suggestions below.

Copy link
Member

@carsonip carsonip left a comment

Choose a reason for hiding this comment

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

lgtm, thanks

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.

docs: improve TBS explanation on distributed tracing
3 participants