@Component
public class TasksCountMetricSource
extends java.lang.Object
metric source periodically counts stored tasks and provides this value
as gauage metrics named as
Note, this autoconfigured components depends on JPATaskDataRepository and
will be active only if this repository object is presented within the context.
org.ametiste.routine.metrics.source.info.stored-tasks-count.enabled property may be used
to disable this metric source.
Also note, in case where tasks count exceed [int max value], this metric source would provide incorrect information and should be replaced or disabled.
InfoMetrics| Constructor and Description |
|---|
TasksCountMetricSource() |
| Modifier and Type | Method and Description |
|---|---|
void |
countMetrics() |