[midPoint] Clustered recompute performance statistics

Samuel Harmon samuel.harmon at case.edu
Tue Nov 8 19:02:34 CET 2022


On my midPoint instances, we run a weekly recompute job to fix anything
that's been missed by live synchronization. When the job completes, we have
it send out an email notification with the Environmental Performance
details of the task with the following expression:

<bodyExpression>
    <script>
    <code>
    import com.evolveum.midpoint.schema.statistics.*;
EnvironmentalPerformanceInformation.format(event.getTask().getAggregatedLiveOperationStats().getEnvironmentalPerformanceInformation());
    </code>
   </script>
</bodyExpression>

On my non-clustered setups, this works great. When I run the clustered
version of the recompute task, this expression doesn't yield any output
which makes some sense as when you click on "Environmental Performance" for
the task in the UI there's no data there. Is there a way to get some
equivalent statistics in a clustered setup (i.e. this many
updates/deletes/etc. per resource)?

I have found the per-worker Environmental Performance stats for the task in
the UI, but I'm not sure how to craft a Groovy expression to display all of
those for the workers I have configured or better yet, get a summary based
on those.

Any ideas?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.evolveum.com/pipermail/midpoint/attachments/20221108/dd6c4fe6/attachment.htm>


More information about the midPoint mailing list