-
Notifications
You must be signed in to change notification settings - Fork 218
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
Adding support for MSAL telemetry cache data. #2256
Conversation
Cant build until after MSAL release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @trwalke
I left a question.
src/Microsoft.Identity.Web.TokenCache/MsalAbstractTokenCacheProvider.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Identity.Web.TokenCache/Distributed/MsalDistributedTokenCacheAdapter.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Identity.Web.TokenCache/Distributed/MsalDistributedTokenCacheAdapter.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Identity.Web.TokenCache/Distributed/MsalDistributedTokenCacheAdapter.cs
Outdated
Show resolved
Hide resolved
src/Microsoft.Identity.Web.TokenCache/Distributed/MsalDistributedTokenCacheAdapter.cs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See comments
adding implementation for in memory cache
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving code changes, but please consider the PR blocked until we figure out the path forward with telemetry.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
marking as blocked until the telemetry questions are sorted out.
# Conflicts: # Directory.Build.props # tests/Microsoft.Identity.Web.Test/CacheExtensionsTests.cs # tests/Microsoft.Identity.Web.Test/Microsoft.Identity.Web.Test.csproj
…a' into trwalke/MSAL_Telemetry_Cache_Data # Conflicts: # Directory.Build.props
@trwalke do we have an ETA on wrapping this up? We are doing a release early next week. thanks. |
Targeting end of week or a day before. I encountered an issue with MSAL tests as a result of some of MSAL's internal static caching which is causing tests to fail on this branch. It's not a bug, but it is something that has to be worked around in tests. Go ahead and release. @jennyf19 |
tests/Microsoft.Identity.Web.Test.Common/Mocks/MockHttpMessageHandler.cs
Show resolved
Hide resolved
src/Microsoft.Identity.Web.TokenCache/Distributed/MsalDistributedTokenCacheAdapter.cs
Outdated
Show resolved
Hide resolved
tests/Microsoft.Identity.Web.Test.Common/Mocks/MockHttpMessageHandler.cs
Outdated
Show resolved
Hide resolved
tests/Microsoft.Identity.Web.Test.Common/Mocks/MockHttpMessageHandler.cs
Show resolved
Hide resolved
resolving nullable warnings
All telemetry questions are sorted out. Cache Level is required data point for MSAL - irrespective of telemetry solution.
|
@bgavrilMS can you make sure someone from the Id Web side of things approves PRs in the future before merging them? Especially ones opened a few months ago. It's hard to keep track of what is ready to review and what is not. |
also, we don't want |
Fix for #1900
Here is the implementation of the telemetry cache details for
TokenCacheNotificationArgs
.It appears to me that the
MsalDistributedTokenCacheAdapter
seems to be the correct place to make these changes but I want to confirm this with you @jmprieur and @jennyf19.MsalAbstractTokenCacheProvider
orMsalDistributedTokenCacheAdapter