Skip to content

[Improvement][Metrics] Add missing metrics to Master and Worker modules #18039

@sanjana2505006

Description

@sanjana2505006

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

Currently, the Master and Worker modules are missing some key metrics that would be really useful for troubleshooting and monitoring. I noticed that a few metrics classes were already defined but weren't actually being used in the code.

I've added the following metrics:

  • Master: Tracking workflow and task state changes (success, failure, kill, retry, etc.), as well as a timer for how long it takes to generate a workflow instance.
  • Worker: Added a timer to measure the actual execution time of a task on the worker side.
  • Timeout Monitoring: Also added a counter to track when task timeout events occur.

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Labels

backendimprovementmake more easy to user or prompt friendly

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions