Update Mergify integration: merge queue stats metrics and dashboard#3042
Open
JulianMaurin wants to merge 1 commit into
Open
Update Mergify integration: merge queue stats metrics and dashboard#3042JulianMaurin wants to merge 1 commit into
JulianMaurin wants to merge 1 commit into
Conversation
8542766 to
336f42a
Compare
Add 19 mergify.queue.* stats metrics (throughput, queue health, performance) and an out-of-the-box Merge Queue Stats dashboard. Deprecate the legacy operational metrics (merge_queue_length, time_to_merge.*, queue_checks_outcome) in favor of their mergify.queue.* equivalents, remove the superseded Overview dashboard, and delete the never-emitted queue_freeze.duration. Rewrite the overview and document the full outcome / exit_reason value set. Bump to 2.0.0. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
336f42a to
2ef9d29
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Updates the Mergify (
mergify_oauth) tile to 2.0.0, bringing it to parity with Mergify's merge queue Stats page:mergify.queue.*metrics covering throughput (entered/merged, queue and batch size), queue health (exit reasons, check outcomes, CI retries, bisections), and performance (queue time, CI runtime, idle waits), tagged byrepository,branch,queue, andpriority_rule.mergify.merge_queue_length,mergify.time_to_merge.*,mergify.queue_checks_outcome) in favor of the newmergify.queue.*metrics, and removes the now-superseded Mergify Merge Queue Overview dashboard.mergify.queue_freeze.durationmetric.outcome/exit_reasonvalue set.Motivation
Customers want to monitor their Mergify merge queue in Datadog with the same depth as the in-app Stats page (throughput, queue health, performance). This update ships those metrics and a ready-to-use dashboard.
Review checklist
no-changeloglabel attachedmetadata.csv, dashboard JSON,manifest.json,README.md,CHANGELOG.md); validated withddev validate all mergify_oauthandddev validate dashboards mergify_oauthREADME.md/metadata.csv/manifest.jsonchanges route to @DataDog/documentation via CODEOWNERSAdditional Notes
mergify.prefix (already shipped), so no standard-metric-allowlist change should be required.idis stripped andddev validate dashboardspasses.CHANGELOG.mdonly — this is a Manifest V2 / IDP tile with no__about__.py.