Skip to content

Add guidance for CICD per pipeline run metrics#2618

Merged
lmolkova merged 10 commits intoopen-telemetry:mainfrom
kamphaus:1184-per-pipeline-run-metrics
Sep 4, 2025
Merged

Add guidance for CICD per pipeline run metrics#2618
lmolkova merged 10 commits intoopen-telemetry:mainfrom
kamphaus:1184-per-pipeline-run-metrics

Conversation

@kamphaus
Copy link
Copy Markdown
Contributor

@kamphaus kamphaus commented Aug 12, 2025

Fixes #1184

This extracts just the per-pipeline run guidance from the previous PR #2237

Changes

This PR adds guidance on per pipeline run metrics by associating the metrics to CICD entities.

Prototype

In the opentelemetry-agent-metrics-plugin an otel collector is configured to add resource attributes for the pipeline run: otel.yaml.tmpl

A Grafana dashboard allows querying for host metrics (cpu, memory, network, disk, ...) when given the pipeline run id:
https://github.com/jenkinsci/opentelemetry-agent-metrics-plugin/blob/main/node-exporter-full-ci.json

Merge requirement checklist

  • CONTRIBUTING.md guidelines followed.
  • Change log entry added, according to the guidelines in When to add a changelog entry.
    • If your PR does not need a change log, start the PR title with [chore]
  • Links to the prototypes or existing instrumentations (when adding or changing conventions)

Comment thread docs/cicd/cicd-metrics.md
@github-actions
Copy link
Copy Markdown

This PR was marked stale due to lack of activity. It will be closed in 7 days.

@github-actions github-actions Bot added the Stale label Aug 28, 2025
Comment thread docs/cicd/cicd-metrics.md Outdated
Comment thread docs/cicd/cicd-metrics.md
@github-actions github-actions Bot removed the Stale label Aug 29, 2025
@github-project-automation github-project-automation Bot moved this from Awaiting codeowners approval to Needs More Approval in Semantic Conventions Triage Sep 3, 2025
Comment thread docs/cicd/cicd-metrics.md Outdated
Co-authored-by: Liudmila Molkova <[email protected]>
@lmolkova lmolkova enabled auto-merge September 3, 2025 23:08
@kamphaus kamphaus force-pushed the 1184-per-pipeline-run-metrics branch from 02f2183 to ec6c60a Compare September 4, 2025 05:25
@lmolkova lmolkova added this pull request to the merge queue Sep 4, 2025
Merged via the queue into open-telemetry:main with commit 190961f Sep 4, 2025
15 checks passed
@kamphaus kamphaus deleted the 1184-per-pipeline-run-metrics branch September 4, 2025 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:cicd enhancement New feature or request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

[cicd] Define conventions for associating host/pod metrics of a cicd runner with pipeline runs

4 participants