- New dependencies - micrometer-core - java-cfenv - required by the CF tags configuration. - Add TaskMetrics configuration that installs two Meters (Timer and LongTaskTimer) that produce the following time-series: - spring.cloud.task - shows task duration (updated only after the task has completed). - spring.cloud.task.active - provides run time information about the non-completed tasks. Both meters are started at TaskExecutionListener#onTaskStartup() and ended at onTaskEnd() or onTaskFailure(). - Add common Task tags assigned to all time-series produced by the Task (not only the s.c.task and s.c.task.active). This allows to analyze CPU, Memory and other measurements grouped by task/execution ids. - Add Cloud Found tags - Activated only for CF target platform. Resolves #608
3.6 KiB
Executable File
3.6 KiB
Executable File