This pull request aims to add two metrics for the Onboarding Task process at the worker level:
Summary of the onboarding processing time,
Counter for the results.
Both metrics are exposed at the worker level - they are worker-specific instead of model/database bounded. By implementing these metrics, it is possible to get brief information related to worker's performance and potential connectivity issues
# HELP onboargingtask_results_total Multiprocess metric
# TYPE onboargingtask_results_total counter
onboargingtask_results_total{status="failed"} 4.0
# HELP onboardingtask_processing_seconds Multiprocess metric
# TYPE onboardingtask_processing_seconds summary
onboardingtask_processing_seconds_count 1.0
onboardingtask_processing_seconds_sum 30.05478549201507
This pull request aims to add two metrics for the Onboarding Task process at the worker level:
Both metrics are exposed at the worker level - they are worker-specific instead of model/database bounded. By implementing these metrics, it is possible to get brief information related to worker's performance and potential connectivity issues