Skip to content

RUN-4816: Document native Prometheus execution metrics - #1939

Merged
fdevans merged 6 commits into
6.2.0from
docs/native-prometheus-execution-metrics
Aug 25, 2026
Merged

RUN-4816: Document native Prometheus execution metrics#1939
fdevans merged 6 commits into
6.2.0from
docs/native-prometheus-execution-metrics

Conversation

@ltamaster

@ltamaster ltamaster commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds an Execution Metrics Reference page covering rundeck_executions_total, rundeck_execution_duration_seconds_*, rundeck_executions_running, rundeck_system_info, and rundeck_execution_mode_active — the native Micrometer execution metrics added in Rundeck 6.0
  • Documents the opt-in job_id/job_name dimension and cleanup behavior on job deletion
  • Adds rundeck.metrics.execution.job.dimension.enabled to the monitoring configuration reference
  • Links the new page from the monitoring overview and sidebar

Related to RUN-4816 (rundeck/rundeck PR #10486).

Test plan

  • npm run docs:build passes with no dead-link warnings
  • Verified locally via npm run docs:dev at /administration/monitoring/execution-metrics.md

🤖 Generated with Claude Code

ltamaster and others added 4 commits August 25, 2026 12:36
Adds an Execution Metrics Reference page covering rundeck_executions_total,
rundeck_execution_duration_seconds_*, rundeck_executions_running,
rundeck_system_info, and rundeck_execution_mode_active — the native Micrometer
execution metrics added in Rundeck 6.0, replacing the need for the third-party
rundeck_exporter for execution-level stats. Also documents the opt-in
job_id/job_name dimension and its cardinality tradeoff, and adds the new
rundeck.metrics.execution.job.dimension.enabled property to the monitoring
configuration reference.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ltamaster
ltamaster requested review from a team and a lite review from Copilot August 25, 2026 18:03
@ltamaster ltamaster added this to the 6.2.0 milestone Aug 25, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new documentation reference page for Rundeck 6.0 native (Micrometer) Prometheus execution metrics, and wires it into the existing monitoring docs and navigation so users can discover metric names, labels, and example PromQL queries.

Changes:

  • Added an “Execution Metrics Reference” page documenting execution counters/timers/gauges and the optional job_id/job_name label dimension.
  • Linked the new reference from the monitoring overview and from the monitoring configuration property reference.
  • Added the new page to the Administration → Monitoring sidebar section.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
docs/administration/monitoring/monitoring.md Adds an Execution Metrics subsection and links to the new reference page.
docs/administration/monitoring/execution-metrics.md New reference page describing execution metrics, label behavior, and example PromQL queries.
docs/administration/monitoring/configuration.md Documents the new rundeck.metrics.execution.job.dimension.enabled configuration property and links to the reference.
docs/.vuepress/sidebar-menus/administration.ts Adds the new execution-metrics page to the Administration sidebar navigation.
Suppressed comments (1)

docs/administration/monitoring/execution-metrics.md:64

  • This query is labeled “Average execution duration by project”, but as written it returns one series per full label set (including status and optional job labels). Aggregate by project so the result matches the description.
rate(rundeck_execution_duration_seconds_sum[5m])
/
rate(rundeck_execution_duration_seconds_count[5m])

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread docs/administration/monitoring/monitoring.md Outdated
Comment thread docs/administration/monitoring/execution-metrics.md Outdated
- Use Prometheus series names (underscores, _total suffix) instead of
  Micrometer dotted names in the monitoring.md Execution Metrics bullets,
  matching the linked reference page
- Fix rundeck_executions_running tag description: it carries project (+
  optional job tags) only, not status, since in-flight executions have no
  final status yet
- Aggregate by project in the "Average execution duration by project" query
  so the result matches its label

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@fdevans
fdevans changed the base branch from 4.0.x to 6.2.0 August 25, 2026 18:28
@fdevans
fdevans merged commit a1d31b7 into 6.2.0 Aug 25, 2026
1 of 3 checks passed
@fdevans
fdevans deleted the docs/native-prometheus-execution-metrics branch August 25, 2026 19:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants