[JIRA] (MDA-282) Add progress logging for CompositeStage and SimplePipeline
Ian Young (Jira)
jira at shibboleth.atlassian.net
Wed Mar 29 11:00:57 UTC 2023
Ian Young ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae127cb03-43ed-473d-b6ba-592949cb4be8 ) *created* an issue
Metadata Aggregator ( https://shibboleth.atlassian.net/browse/MDA?atlOrigin=eyJpIjoiZWM1MjY0Y2I1OTM1NDA4MWIyYTAxYTk4ZWQ4NzA5NGYiLCJwIjoiaiJ9 ) / New Feature ( https://shibboleth.atlassian.net/browse/MDA-282?atlOrigin=eyJpIjoiZWM1MjY0Y2I1OTM1NDA4MWIyYTAxYTk4ZWQ4NzA5NGYiLCJwIjoiaiJ9 ) MDA-282 ( https://shibboleth.atlassian.net/browse/MDA-282?atlOrigin=eyJpIjoiZWM1MjY0Y2I1OTM1NDA4MWIyYTAxYTk4ZWQ4NzA5NGYiLCJwIjoiaiJ9 ) Add progress logging for CompositeStage and SimplePipeline ( https://shibboleth.atlassian.net/browse/MDA-282?atlOrigin=eyJpIjoiZWM1MjY0Y2I1OTM1NDA4MWIyYTAxYTk4ZWQ4NzA5NGYiLCJwIjoiaiJ9 )
Issue Type: New Feature Affects Versions: 0.9.2 Assignee: Ian Young ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae127cb03-43ed-473d-b6ba-592949cb4be8 ) Components: Pipeline Created: 29/Mar/23 7:00 AM Fix Versions: 0.10.0 Priority: Trivial Reporter: Ian Young ( https://shibboleth.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3Ae127cb03-43ed-473d-b6ba-592949cb4be8 )
When performing performance analysis of MDA deployments, what you really want is “how much time is spent in operation X” so that you can decide, for example, to reimplement some costly XSLT operation in Java.
The existing ComponentInfo system is worthless for this use case, so I’m going to remove it in 0.10, see https://shibboleth.atlassian.net/browse/MDA-281. I’d like to add useful functionality while doing that, though, in the form of new progress logging when a sequence of stages is executed.
I have an initial implementation of this which is controlled by the log level set on CompositeStage and SimplePipeline which logs time spent in each stage at INFO level. This seems too broad, though, so it’s probably better to use a boolean property on the individual components so that you can get more targeted logging restricted to specific instances.
Some variant of this should be added for 0.10.0.
( https://shibboleth.atlassian.net/browse/MDA-282#add-comment?atlOrigin=eyJpIjoiZWM1MjY0Y2I1OTM1NDA4MWIyYTAxYTk4ZWQ4NzA5NGYiLCJwIjoiaiJ9 ) Add Comment ( https://shibboleth.atlassian.net/browse/MDA-282#add-comment?atlOrigin=eyJpIjoiZWM1MjY0Y2I1OTM1NDA4MWIyYTAxYTk4ZWQ4NzA5NGYiLCJwIjoiaiJ9 )
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#100219- sha1:6a6077b )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/commits/attachments/20230329/e1946993/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-avatar-1482d18a-76a9-4c0c-a303-120e4cd8022e
Type: image/png
Size: 302 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230329/e1946993/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-comment-icon-ec048e94-f2b5-4dc9-ac7a-8d431435b753
Type: image/png
Size: 1084 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230329/e1946993/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-trivial-5a57467e-6a69-4440-aae0-c822e3bfb481
Type: image/png
Size: 446 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230329/e1946993/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jira-generated-image-static-footer-desktop-logo-0323d39f-b7f7-4fc9-9e5b-c31b5721bb6c
Type: image/png
Size: 10805 bytes
Desc: not available
URL: <http://shibboleth.net/pipermail/commits/attachments/20230329/e1946993/attachment-0007.png>
More information about the commits
mailing list