Type Alias TaskMetricsDefinitions

TaskMetricsDefinitions: {
    task_duration_milliseconds: Histogram;
    task_errors_total: Counter;
    task_in_progress: Gauge;
    task_total: Counter;
}

Metrics for tasks

Type declaration

  • task_duration_milliseconds: Histogram

    Duration in millisecond for each concrete task, providing insights into task efficiency.

  • task_errors_total: Counter

    Cumulative count of task errors, providing insights into system reliability

  • task_in_progress: Gauge

    Number of task in progress

  • task_total: Counter

    Cumulative count of task performed, for tracking demand and usage patterns.