Skip to content

Add framework session attribute#1357

Merged
waltjones merged 1 commit into
masterfrom
waltjones/framework-attribute
Oct 8, 2025
Merged

Add framework session attribute#1357
waltjones merged 1 commit into
masterfrom
waltjones/framework-attribute

Conversation

@waltjones

Copy link
Copy Markdown
Contributor

Description of the change

Add rollbar.notifier.framework session attribute.

Type of change

  • New feature (non-breaking change that adds functionality)

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Comment thread src/tracing/session.js
'browser.mobile': navigator.userAgentData?.mobile,
'browser.platform': navigator.userAgentData?.platform,
'client.address': '$remote_ip', // updated at the API
'rollbar.notifier.framework': 'browser-js',

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

just curious - Any reason we're doing it here and not where we set everything else notifier related?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Doesn't rely on the config options, which is the real reason those other options are set in core.js.

I suppose when it's not a static value, that will inform where best to factor it.

@waltjones waltjones merged commit 990f8dd into master Oct 8, 2025
6 checks passed
@waltjones waltjones deleted the waltjones/framework-attribute branch October 8, 2025 19:55
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.

2 participants