-
Notifications
You must be signed in to change notification settings - Fork 162
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
[cicd] embed system attributes under cicd runners #1184
Comments
The goal of this issue is to have the capability to link Otel signals emitted by a runner (eg. host metrics, logs, events) to any jobs using a given runner. Would this mean embedding system metrics under the cicd namespace or to add some cicd attributes (eg. |
Related to #1111 SemConv meeting notes 2024-09-16
This could be a question related to the Entity Group.
Using resource attribute will work currently: Using another way to link metrics and cicd run (eg. in an event) is not currently possible.
In general, it's better to just use the existing metrics without copying / embedding them into the cicd namespace. The exception would be if we wanted to measure something that could not be expressed using the existing metrics and that relates to cicd, then we could think of embedding a metric in cicd namespace. Using resource attributes is how I have implemented the link between cicd run and runner metrics in https://github.com/jenkinsci/opentelemetry-agent-metrics-plugin. Downsides to this approach are that
|
Conceptually the link between cicd run and cicd runner is many-to-many:
The runners can be static or ephemeral / auto-scaling. |
Overview
Update the semantic conventions for CI/CD pipeline runners to embed system attributes once the embed feature is added.
Originally posted by @trisch-me in #1075 (comment)
The text was updated successfully, but these errors were encountered: