Skip to content

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 carsonip and simitt 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

@rubvs rubvs requested a review from carsonip April 28, 2025 20:52
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

@rubvs rubvs enabled auto-merge (squash) May 2, 2025 12:17
@rubvs rubvs merged commit 396ba0f into main May 2, 2025
4 of 5 checks passed
@rubvs rubvs deleted the update-tbs-examples branch May 2, 2025 12:19
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