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

Set sampling rate in CloudWatch agent #1015

Open
ShawneeY opened this issue Jan 23, 2024 · 2 comments
Open

Set sampling rate in CloudWatch agent #1015

ShawneeY opened this issue Jan 23, 2024 · 2 comments
Labels

Comments

@ShawneeY
Copy link

Is your feature request related to a problem? Please describe.
A way to set sampling_rate in CloudWatch agent.

Previous feture_request was closed. It was suggested to implement sampling in application_code and leverage the added filters to mimic sampling logs.

Describe the solution you'd like
First-class support of setting sampling_rate as part of the agent config file

Describe alternatives you've considered
Implementing sampling in application_code by flagging sampled/unsampled logs; then instruct CWAgent to only include sampled log_lines via the filters configuration.

Additional context
Support setting sampling rate is a common feature in log_systems. E.g. Sentry

@ShawneeY
Copy link
Author

Also, what is the default sampling rate in CloudWatch ? is it 100% since cofiguring sampling_rate is not directly supported ?

@okankoAMZ
Copy link
Contributor

Hi!
Thank you for bringing this to our attention. I have created a feature request ticket for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants