SameerMesiah97 opened a new pull request, #67927: URL: https://github.com/apache/airflow/pull/67927
**Description** This change adds a `trigger_queue_delay` timing metric to measure the time between a trigger workload being queued by the `TriggerRunnerSupervisor` and being processed by the `TriggerRunner`. A `queued_at` timestamp is recorded when `RunTrigger` workloads are enqueued, and the resulting delay is emitted as a timing metric during trigger creation. **Rationale** The triggerer currently provides limited visibility into trigger startup latency. During periods of high trigger creation volume, workloads may spend time waiting before they are processed, but this delay is not currently observable. This metric helps identify triggerer backlog and provides insight into trigger startup performance under load. **Tests** Added a unit test verifying that the `trigger_queue_delay` metric is emitted with the expected value when a queued workload is processed. **Backwards Compatibility** This change is additive only and does not modify trigger execution behavior, lifecycle semantics, or public APIs. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
