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 additional telemetry for WAM bridge #5308

Merged
merged 15 commits into from Oct 19, 2022
Merged

Add additional telemetry for WAM bridge #5308

merged 15 commits into from Oct 19, 2022

Conversation

tnorling
Copy link
Collaborator

@tnorling tnorling commented Oct 17, 2022

Adds additional fields to our telemetry when going through the native broker.

Replaces #5098
This follows #5224

@tnorling tnorling changed the base branch from dev to add-static-fields-telemetry October 17, 2022 22:16
@github-actions github-actions bot added msal-browser Related to msal-browser package msal-common Related to msal-common package labels Oct 17, 2022
@codecov-commenter
Copy link

codecov-commenter commented Oct 18, 2022

Codecov Report

Merging #5308 (0a59189) into add-static-fields-telemetry (70a32d8) will decrease coverage by 0.08%.
The diff coverage is 35.00%.

Flag Coverage Δ *Carryforward flag
msal-angular 96.50% <ø> (ø)
msal-browser 86.47% <35.00%> (-0.30%) ⬇️
msal-common 85.45% <ø> (ø)
msal-core 82.84% <ø> (ø) Carriedforward from 70a32d8
msal-node 82.90% <ø> (ø)
msal-node-extensions 76.03% <ø> (ø) Carriedforward from 70a32d8
msal-react 94.50% <ø> (ø)
node-token-validation 88.88% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
...mmon/src/telemetry/performance/PerformanceEvent.ts 100.00% <ø> (ø)
.../src/interaction_client/NativeInteractionClient.ts 68.98% <13.33%> (-5.01%) ⬇️
...er/src/broker/nativeBroker/NativeMessageHandler.ts 85.95% <100.00%> (+0.60%) ⬆️

matsAccountJoinOnStart: mats ? mats.account_join_on_start : undefined,
matsAccountJoinOnEnd: mats ? mats.account_join_on_end : undefined,
matsDeviceJoin: mats ? mats.device_join : undefined,
matsPromptBehavior: mats ? mats.prompt_behavior : undefined,
Copy link
Member

Choose a reason for hiding this comment

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

Is all MATS data considered static?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, we only get MATS data back once per request

Copy link
Member

@sameerag sameerag left a comment

Choose a reason for hiding this comment

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

Approved to merge. One q: Are we considering everything that we get some MATS static?

Base automatically changed from add-static-fields-telemetry to dev October 19, 2022 18:20
@tnorling tnorling enabled auto-merge (squash) October 19, 2022 18:24
@tnorling tnorling merged commit 049d82b into dev Oct 19, 2022
@tnorling tnorling deleted the wam-telemetry branch October 19, 2022 18:29
@ghost
Copy link

ghost commented Nov 7, 2022

🎉@azure/msal-browser@v2.31.0 has been released which incorporates this pull request.:tada:

Handy links:

@ghost
Copy link

ghost commented Nov 21, 2022

🎉@azure/msal-common@v8.0.0 has been released which incorporates this pull request.:tada:

We recommend upgrading to the latest version of @azure/msal-browser or @azure/msal-node to take advantage of this change.

Handy links:

azure-pipelines bot pushed a commit that referenced this pull request Feb 2, 2023
* Add static fields to telemetry

* resolve merge conflicts

* restore removed params

* Fix tests

* Change files

* Update RefreshTokenClient.spec.ts

* add mats fields to telemetry

* fix test

* restore API surface for performance callback

* Change files
azure-pipelines bot pushed a commit that referenced this pull request Feb 2, 2023
* Add static fields to telemetry

* resolve merge conflicts

* restore removed params

* Fix tests

* Change files

* Update RefreshTokenClient.spec.ts

* add mats fields to telemetry

* fix test

* restore API surface for performance callback

* Change files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
msal-browser Related to msal-browser package msal-common Related to msal-common package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants