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

Add probabilistic sampler processor #5151

Merged
merged 9 commits into from
Sep 18, 2023

Conversation

mar4uk
Copy link
Contributor

@mar4uk mar4uk commented Sep 11, 2023

PR Description

implements a flow component otelcol.processor.probabilistic_sampler that wraps over the upstream OpenTelemetry Collector Contrib probabilistic_sampler processor.

Which issue(s) this PR fixes

#3596

Notes to the Reviewer

PR Checklist

  • CHANGELOG.md updated
  • Documentation added
  • Tests updated

@mar4uk mar4uk force-pushed the add-otelcol-probabilistic-sampler-processor branch 2 times, most recently from d2afa4a to 00f0447 Compare September 11, 2023 15:07
@mar4uk mar4uk marked this pull request as ready for review September 12, 2023 08:09
@mar4uk mar4uk requested review from a team and clayton-cornell as code owners September 12, 2023 08:09
Copy link
Contributor

@ptodev ptodev left a comment

Choose a reason for hiding this comment

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

Thank you for working on this! I added a few notes regarding docs and testing.

@mar4uk mar4uk force-pushed the add-otelcol-probabilistic-sampler-processor branch from 00f0447 to 5fc1005 Compare September 13, 2023 11:22
@mar4uk
Copy link
Contributor Author

mar4uk commented Sep 13, 2023

Thank you @ptodev for review! I fixed all of you mentioned

@mar4uk mar4uk requested a review from ptodev September 13, 2023 13:09
Copy link
Contributor

@clayton-cornell clayton-cornell left a comment

Choose a reason for hiding this comment

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

Some doc suggestions

@clayton-cornell clayton-cornell added the type/docs Docs Squad label across all Grafana Labs repos label Sep 13, 2023
@mar4uk mar4uk force-pushed the add-otelcol-probabilistic-sampler-processor branch from 1bfa374 to 1f2f274 Compare September 14, 2023 08:27
@mar4uk
Copy link
Contributor Author

mar4uk commented Sep 14, 2023

Thank you @clayton-cornell! I made changes to address all your suggestions

Copy link
Contributor

@ptodev ptodev left a comment

Choose a reason for hiding this comment

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

Thank you, it looks great! I added a few minor suggestions. After @clayton-cornell approves, we could merge it.

@mar4uk mar4uk force-pushed the add-otelcol-probabilistic-sampler-processor branch from 5142f4c to 81d7f8e Compare September 14, 2023 11:45
@ptodev
Copy link
Contributor

ptodev commented Sep 14, 2023

Seems there are a few linter errors in the CI

@mar4uk mar4uk force-pushed the add-otelcol-probabilistic-sampler-processor branch from 81d7f8e to f7e42cf Compare September 14, 2023 12:20
@mar4uk
Copy link
Contributor Author

mar4uk commented Sep 14, 2023

forgot to import river, now linter passes

@clayton-cornell
Copy link
Contributor

@ptodev @mar4uk I've approved for docs... looks like a minor conflict needs a poke and then it should be done.

@tpaschalis tpaschalis enabled auto-merge (squash) September 18, 2023 07:10
@tpaschalis tpaschalis merged commit 8bb22c7 into main Sep 18, 2023
6 checks passed
@tpaschalis tpaschalis deleted the add-otelcol-probabilistic-sampler-processor branch September 18, 2023 07:46
@github-actions github-actions bot added the frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. label Feb 22, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
frozen-due-to-age Locked due to a period of inactivity. Please open new issues or PRs if more discussion is needed. type/docs Docs Squad label across all Grafana Labs repos
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants