Skip to content
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

Implement default sampling #78

Open
utr1903 opened this issue Jun 16, 2023 · 0 comments
Open

Implement default sampling #78

utr1903 opened this issue Jun 16, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@utr1903
Copy link
Owner

utr1903 commented Jun 16, 2023

Currently, there is no sampling at all.

  • Set a flag for enabling sampling
    • If no, deploy only receiver and filter & export the traces directly
    • If yes, deploy both receiver & sampler and let the receiver send the traces to sampler
  • For sampling, use 2 policies:
    • 25% of all traces
    • All traces with attribute otel.status_code = ERROR
@utr1903 utr1903 added the enhancement New feature or request label Jun 16, 2023
@utr1903 utr1903 self-assigned this Jun 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant