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

Setting sample rate? #922

Closed
dweiner13 opened this issue Jul 8, 2022 · 3 comments
Closed

Setting sample rate? #922

dweiner13 opened this issue Jul 8, 2022 · 3 comments
Assignees

Comments

@dweiner13
Copy link

dweiner13 commented Jul 8, 2022

The issue

The android version of the SDK allows us to set the sample rate for logs via a setSampleRate function on the logger builder (https://docs.datadoghq.com/logs/log_collection/android/?tabs=java#logger-initialization).

Is there similar functionality for the iOS SDK? I can't find it anywhere.

@maxep maxep self-assigned this Jul 18, 2022
@maxep
Copy link
Member

maxep commented Jul 18, 2022

Hi @dweiner13 ! Thank you for the report and sorry for the late reply..

Indeed, unlike Android we do not provide sampling for logs on iOS, we will work on aligning those. I will keep you posted 👍

@dweiner13
Copy link
Author

@maxep Thank you! For now it's easy enough to manually write that functionality, so no huge rush from my end.

@maciejburda
Copy link
Member

Hey @dweiner13

Logging sampling is now available in the SDK.
#1045

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

No branches or pull requests

3 participants