Skip to content

feat(attributes): Add app start, display, and frames attributes#313

Draft
buenaflor wants to merge 3 commits intomainfrom
giancarlobuenaflor/add-app-start-ttid-ttfd-attributes
Draft

feat(attributes): Add app start, display, and frames attributes#313
buenaflor wants to merge 3 commits intomainfrom
giancarlobuenaflor/add-app-start-ttid-ttfd-attributes

Conversation

@buenaflor
Copy link
Copy Markdown
Contributor

@buenaflor buenaflor commented Apr 8, 2026

Add new namespaced attributes for mobile app performance monitoring and deprecate their old counterparts.

New attributes:

  • app.start.value — app start duration in milliseconds
  • app.start.type — app start type (cold/warm)
  • app.ttid.value — time to initial display in milliseconds
  • app.ttfd.value — time to full display in milliseconds
  • app.frames.total.count — total frames rendered during span lifetime
  • app.frames.slow.count — slow frames rendered during span lifetime
  • app.frames.frozen.count — frozen frames rendered during span lifetime
  • app.frames.delay.value — sum of delayed frame durations in seconds

Deprecated (backfill status, with aliases on both sides):

  • app_start_typeapp.start.type
  • frames.totalapp.frames.total.count
  • frames.slowapp.frames.slow.count
  • frames.frozenapp.frames.frozen.count
  • frames.delayapp.frames.delay.value

All new attributes include mobile SDK entries and pii: maybe per CONTRIBUTING.md policy. Deprecations follow the alias + backfill pattern documented in CONTRIBUTING.md.

buenaflor and others added 2 commits April 8, 2026 13:18
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>
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 8, 2026

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Attributes

  • Add app start, display, and frames attributes by buenaflor in #313
  • Add db.driver.name attribute by alexander-alderman-webb in #295
  • Add network connection-related attributes by Lms24 in #279
  • Add cache.write attribute by adinauer in #292
  • Add device context attributes by buenaflor in #300
  • Add app context attributes for mobile by buenaflor in #296
  • Add device memory and core count attributes by Lms24 in #281
  • Add ui.element.* attributes by Lms24 in #284
  • Add remaining TTFB, FCP and FP web vital attributes by Lms24 in #235
  • Add LCP web vital meta attributes by Lms24 in #233
  • Add CLS web vital source attribute by Lms24 in #234
  • Add core web web vital value attributes by Lms24 in #229
  • Add allow_any_value field to attribute schema by vgrozdanic in #272

Other

  • (http) Add http.server.request.time_in_queue attribute by dingsdax in #267
  • (resource) Add resource.deployment.environment by mjq in #266
  • Add sentry.timestamp.sequence attribute to the spec by logaretm in #262
  • Add changelog tracking to attribute definitions by ericapisani in #270

Bug Fixes 🐛

  • (attributes) Remove allow_any_value boolean attribute and allow any as type by vgrozdanic in #273
  • (gen_ai) Input and output token description by obostjancic in #261
  • (sentry) Deprecate sentry.trace.parent_span_id by mjq in #287
  • Don't run changelog generation on yarn generate by Lms24 in #277
  • Avoid changelog generation recursion by Lms24 in #274

Documentation 📚

  • (sentry) Add deprecated sentry.source by s1gr1d in #288
  • Redirect from old /generated pages to new routes by Lms24 in #291
  • Remove extra yarn run format instruction by mjq in #289
  • Update README with up-to-date links by ericapisani in #258

Internal Changes 🔧

Deps

  • Bump defu from 6.1.4 to 6.1.6 by dependabot in #309
  • Bump vite from 6.4.1 to 6.4.2 by dependabot in #310
  • Bump pygments from 2.19.2 to 2.20.0 in /python by dependabot in #307
  • Bump smol-toml from 1.6.0 to 1.6.1 by dependabot in #305
  • Bump h3 from 1.15.5 to 1.15.9 by dependabot in #299
  • Bump devalue from 5.6.3 to 5.6.4 by dependabot in #286
  • Bump dompurify from 3.3.1 to 3.3.2 by dependabot in #278
  • Bump svgo from 3.3.2 to 3.3.3 by dependabot in #275
  • Bump svelte from 5.51.5 to 5.53.5 by dependabot in #271
  • Bump rollup from 4.40.1 to 4.59.0 by dependabot in #269
  • Bump svelte from 5.48.1 to 5.51.5 by dependabot in #260

Deps Dev

  • Bump tar from 7.5.10 to 7.5.11 by dependabot in #285
  • Bump tar from 7.5.8 to 7.5.10 by dependabot in #276
  • Bump tar from 7.5.7 to 7.5.8 by dependabot in #259

Other

  • (ai) Deprecate rest of ai.* attributes by constantinius in #264
  • (attributes) Ensure each attribute json has a changelog entry by Lms24 in #282
  • (docs) Upgrade to Astro 6 by Lms24 in #283
  • (gen_ai) Deprecate gen_ai.tool.input, gen_ai.tool.message, gen_ai.tool.output by constantinius in #265
  • (publish) Bump next entries in changelog when releasing by Lms24 in #290
  • (repo) Populate changelog property when running yarn create:attribute by Lms24 in #280
  • Pin GitHub Actions to full-length commit SHAs by joshuarli in #302
  • Wrong link to CONTRIBUTING.md in PR template by sentrivana in #298

🤖 This preview updates automatically when you update the PR.

@buenaflor buenaflor changed the title feat(attributes): Add app start and display timing attributes feat(attributes): Add app start and ttid/ttf attributes for mobile Apr 8, 2026
…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>
@buenaflor buenaflor changed the title feat(attributes): Add app start and ttid/ttf attributes for mobile feat(attributes): Add app start, display, and frames attributes Apr 9, 2026
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.

1 participant