feat(attributes): Add app start, display, and frames attributes#313
Draft
feat(attributes): Add app start, display, and frames attributes#313
Conversation
Add app.start.cold.value, app.start.warm.value, app.ttid.value, and app.ttfd.value attributes for tracking cold/warm app start durations and time to initial/full display metrics. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Per CONTRIBUTING.md policy, pii MUST be maybe or true unless scrubbing would break product features. Duration values don't need exemption. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Semver Impact of This PR🟡 Minor (new features) 📋 Changelog PreviewThis is how your changes will appear in the changelog. New Features ✨Attributes
Other
Bug Fixes 🐛
Documentation 📚
Internal Changes 🔧Deps
Deps Dev
Other
🤖 This preview updates automatically when you update the PR. |
…old ones Replace app.start.cold.value/app.start.warm.value with app.start.value and app.start.type. Add app.frames.total.count, app.frames.slow.count, app.frames.frozen.count, and app.frames.delay.value under the app namespace. Deprecate frames.* and app_start_type with backfill status per CONTRIBUTING.md policy. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add new namespaced attributes for mobile app performance monitoring and deprecate their old counterparts.
New attributes:
app.start.value— app start duration in millisecondsapp.start.type— app start type (cold/warm)app.ttid.value— time to initial display in millisecondsapp.ttfd.value— time to full display in millisecondsapp.frames.total.count— total frames rendered during span lifetimeapp.frames.slow.count— slow frames rendered during span lifetimeapp.frames.frozen.count— frozen frames rendered during span lifetimeapp.frames.delay.value— sum of delayed frame durations in secondsDeprecated (backfill status, with aliases on both sides):
app_start_type→app.start.typeframes.total→app.frames.total.countframes.slow→app.frames.slow.countframes.frozen→app.frames.frozen.countframes.delay→app.frames.delay.valueAll new attributes include mobile SDK entries and
pii: maybeper CONTRIBUTING.md policy. Deprecations follow the alias + backfill pattern documented in CONTRIBUTING.md.