Skip to content

Conversation

@AbhiPrasad
Copy link
Member

@AbhiPrasad AbhiPrasad commented Sep 21, 2022

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

Update from app_start_warm -> app.start.warm and app_start_cold -> app.start.cold

💡 Motivation and Context

To be more consistent with Cocoa and Android, update the span ops to use . instead of _ seperators. This matches the pattern we use for the rest of the span ops also.

Cocoa: https://github.com/getsentry/sentry-cocoa/blob/91fc76f19bce100895028b52f642469698cd90ae/Sources/Sentry/SentryTracer.m#L635

Android: https://github.com/getsentry/sentry-java/blob/e2ea31c73c93aa587941cb7ea9254f853786db26/sentry-android-core/src/main/java/io/sentry/android/core/ActivityLifecycleIntegration.java#L42

See: https://www.notion.so/sentry/Set-up-an-audit-for-SDK-consistency-for-span-operations-to-enable-performance-issues-addf02a8fa234dda8acf48d4ff9b8efb

💚 How did you test it?

Updated tests

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • All tests passing
  • No breaking changes

🔮 Next steps

To be more consistent with Cocoa and Android, update the span ops to use `.` instead of `_` seperators. This matches the pattern we use for the rest of the span ops also
@AbhiPrasad AbhiPrasad marked this pull request as ready for review September 21, 2022 09:33
Copy link
Contributor

@marandaneto marandaneto left a comment

Choose a reason for hiding this comment

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

Thanks @AbhiPrasad

@marandaneto marandaneto enabled auto-merge (squash) September 22, 2022 09:33
@marandaneto marandaneto merged commit a9273a0 into main Sep 22, 2022
@marandaneto marandaneto deleted the abhi-tracing-span-ops branch September 22, 2022 09:35
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.

3 participants