HI All,
I'm facing an issue on AEM 6.5 where my custom Sling health check is automatically registered via class
com.adobe.granite.queries.impl.hc.QueryHealthCheckMetrics$LazyGauge.<init>(QueryHealthCheckMetrics.java:268)
to a scheduler to run every 60 seconds (configurable in com.adobe.granite.queries.impl.hc.QueryHealthCheckMetrics - but if affects all AEM health checks).
My question is - is it possible to exclude my custom health check from registering it to the scheduler via QueryHealthCheckMetrics - therefore it would not be automatically triggered to run -- I have another custom class that triggers it once a day.
Or the approach here would be to remove my custom health check from the scheduler (after it has been added).
Our implementation worked before we moved to AEM 6.x version.
Many thanks for any help
Waldemar R.