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 ability to adjust configuration telemetry sampling rate. #1188

Merged

Conversation

fuzzybinary
Copy link
Member

What and why?

We need to be able to test that our modifications telemetry work as expected in integration tests, so we need a way to ensure we'll send the configuration telemetry event.

How?

Instead of opening up a property, I've added an internal configuration attribute to allow the cross platform framework SDKs to adjust the configuration telemetry sample rate. The cross platform SDKs will set this so we can be assured we'll get the configuration telemetry event.

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)
  • Make sure each commit and the PR mention the Issue number or JIRA reference
  • Add CHANGELOG entry for user facing changes

Custom CI job configuration (optional)

  • Run unit tests
  • Run integration tests
  • Run smoke tests

Created an internal configuration attribute to allow the cross platform framework SDKs to adjust the configuration telemetry sample rate for testing purposes.
@fuzzybinary fuzzybinary requested a review from a team as a code owner March 1, 2023 19:45
This more closely matches what Flutter sends in for other sampling rates.
Copy link
Member

@ncreated ncreated left a comment

Choose a reason for hiding this comment

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

LG 👌 - great catch ⚾ on 0.2% → 20% fix 🏅

@maciejburda maciejburda mentioned this pull request Mar 2, 2023
3 tasks
@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Mar 2, 2023

Datadog Report

Branch report: jward/internal-telemetry-configuration-sampling
Commit report: 36ace60

dd-sdk-ios: 0 Failed, 0 New Flaky, 1019 Passed, 0 Skipped, 5m 25.74s Wall Time

@maciejburda
Copy link
Member

@fuzzybinary I hope you don't mind me merging this. I'd like to unblock the release CI :)

@maciejburda maciejburda merged commit cf23c8d into develop Mar 2, 2023
@maciejburda maciejburda deleted the jward/internal-telemetry-configuration-sampling branch March 2, 2023 09:39
@maxep maxep mentioned this pull request Mar 6, 2023
6 tasks
@ncreated ncreated mentioned this pull request Mar 31, 2023
6 tasks
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.

4 participants