Hi,
I am using Temporal Schedules to multiple schedule tasks. We want to setup monitoring to ensure scheduled tasks are being executed as per the configured schedule. Temporal doc recommends setting up monitoring on metric schedule_action_success.
However the above metric does not include any schedule specific labels like schedule_id or the user specified workflow_type. Labels i can see are task_queue=“temporal_sys_per_ns_tq”, type=“worker”, worker_type=“none”, workflow_type=“temporal_sys_scheduler_workflow”.
I was wondering if there is a recommendation/best practices for monitoring executions of individual schedules? As a workaround, i am emitting heartbeat metric from the workflow invoked by the schedule and have setup alert on this heartbeat metric.
Thanks in advance