-
Notifications
You must be signed in to change notification settings - Fork 17.5k
Emit metric dag auto paused #69078
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Emit metric dag auto paused #69078
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -234,6 +234,13 @@ metrics: | |
| legacy_name: "dag.serialization_writes.{dag_id}.{bundle_name}" | ||
| name_variables: ["dag_id", "bundle_name"] | ||
|
|
||
| - name: "dag.auto_paused" | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The declaration doesn't match what the code actually emits. For comparison, #70013 declares its tagged gauges as Also minor: the description's second line starts at the same indentation as the key, which makes it a slightly odd multi-line plain scalar. Indenting the continuation under Drafted-by: Claude Code (Opus 5); reviewed by @potiuk before posting
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for the detailed review! I've dropped run_type from the tags so dag.auto_paused only carries dag_id (matching the "Dag-level event" reasoning you laid out), and fixed the description indentation to match the surrounding entries. CI is green now — happy to take another look whenever you get a chance. commit: 98128f6 Drafted-by: Claude Code (Sonnet 5); reviewed by @takayoshi-makabe before posting |
||
| description: "Number of Dags automatically paused due to consecutive failures exceeding | ||
| the configured threshold. Metric with dag_id tagging." | ||
| type: "counter" | ||
| legacy_name: "-" | ||
| name_variables: [] | ||
|
|
||
| - name: "celery.task_timeout_error" | ||
| description: "Number of ``AirflowTaskTimeout`` errors raised when publishing Task to Celery Broker." | ||
| type: "counter" | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.