[JIRA] (JOIDC-55) Custom metrics (counters/timers) are not updated with the OIDC-flows
Henri Mikkonen (Jira)
jira at shibboleth.atlassian.net
Thu Aug 19 19:15:12 UTC 2021
Henri Mikkonen ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1614c4a5-c89e-4edc-9421-990bd6ea85fd ) *created* an issue
IdP Plugin - OIDC OP ( https://shibboleth.atlassian.net/browse/JOIDC?atlOrigin=eyJpIjoiZjI0Mzk3ZjViMjBlNGNiNmE2ZGYzMGM3Yzg0OTYwYTMiLCJwIjoiaiJ9 ) / Bug ( https://shibboleth.atlassian.net/browse/JOIDC-55?atlOrigin=eyJpIjoiZjI0Mzk3ZjViMjBlNGNiNmE2ZGYzMGM3Yzg0OTYwYTMiLCJwIjoiaiJ9 ) JOIDC-55 ( https://shibboleth.atlassian.net/browse/JOIDC-55?atlOrigin=eyJpIjoiZjI0Mzk3ZjViMjBlNGNiNmE2ZGYzMGM3Yzg0OTYwYTMiLCJwIjoiaiJ9 ) Custom metrics (counters/timers) are not updated with the OIDC-flows ( https://shibboleth.atlassian.net/browse/JOIDC-55?atlOrigin=eyJpIjoiZjI0Mzk3ZjViMjBlNGNiNmE2ZGYzMGM3Yzg0OTYwYTMiLCJwIjoiaiJ9 )
Issue Type: Bug Affects Versions: 3.0.0, 3.0.1 Assignee: Henri Mikkonen ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1614c4a5-c89e-4edc-9421-990bd6ea85fd ) Created: 19/Aug/21 3:15 PM Priority: Trivial Reporter: Henri Mikkonen ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A1614c4a5-c89e-4edc-9421-990bd6ea85fd )
I configured some custom timers and counters by following the instructions from https://shibboleth.atlassian.net/wiki/spaces/IDP4/pages/1265631722/MetricsConfiguration
All of them were working in the expected way with all SAML-flows, but their values were not updated with any of the OIDC-flows.
It looks like root cause for this is that the OIDC-flows are not calling *PopulateMetricContext*. The bean itself is already defined in the abstract beans shared with all the OIDC flows, but it's never evaluated from the flows.
( https://shibboleth.atlassian.net/browse/JOIDC-55#add-comment?atlOrigin=eyJpIjoiZjI0Mzk3ZjViMjBlNGNiNmE2ZGYzMGM3Yzg0OTYwYTMiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/JOIDC-55#add-comment?atlOrigin=eyJpIjoiZjI0Mzk3ZjViMjBlNGNiNmE2ZGYzMGM3Yzg0OTYwYTMiLCJwIjoiaiJ9 )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100174- sha1:8523140 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20210819/447fdfdb/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-d5074d14-88f0-4f13-9acb-ab37a3f33c07
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20210819/447fdfdb/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-bbc14063-f7e1-41ca-879c-1ab9aae49869
Type: image/png
Size: 563 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20210819/447fdfdb/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-c57d1440-5f44-4e31-ac42-a508e7fc86cc
Type: image/png
Size: 425 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20210819/447fdfdb/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-44b67bf0-487a-4344-9d7e-46b24c9cf2e4
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20210819/447fdfdb/attachment-0007.png>
More information about the commits
mailing list