Skip to content

Commit b5b89b1

Browse files
authored
Improve cicd worker description (#2590)
1 parent ebbf315 commit b5b89b1

File tree

4 files changed

+33
-0
lines changed

4 files changed

+33
-0
lines changed

.chloggen/1191.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Use this changelog template to create an entry for release notes.
2+
#
3+
# If your change doesn't affect end users you should instead start
4+
# your pull request title with [chore] or use the "Skip Changelog" label.
5+
6+
# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix'
7+
change_type: enhancement
8+
9+
# The name of the area of concern in the attributes-registry, (e.g. http, cloud, db)
10+
component: cicd
11+
12+
# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
13+
note: Improve the description of `cicd.worker` entities.
14+
15+
# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
16+
# The values here must be integers.
17+
issues: [1191]
18+
19+
# (Optional) One or more lines of additional information to render under the primary note.
20+
# These lines will be padded with 2 spaces and then inserted directly into the document.
21+
# Use pipe (|) for multiline entries.
22+
subtext:

docs/registry/entities/cicd.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@
4747
**type:** `cicd.worker`
4848

4949
**Description:** A CICD worker is a component of the CICD system that performs work (eg. running pipeline tasks or performing sync).
50+
A single pipeline run may be distributed across multiple workers. Any OpenTelemetry signal associated with a worker should be associated to the worker that performed the corresponding work.
51+
For example, when a pipeline run involves several workers, its task run spans may reference the different `cicd.worker` resources corresponding to the workers that executed each task run. The pipeline run's parent span may instead reference the CICD controller as the `cicd.worker` resource.
5052

5153
**Other Attributes:**
5254

docs/resource/cicd.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ Using the CICD pipeline run resource with metrics inherently causes high cardina
9494
**type:** `cicd.worker`
9595

9696
**Description:** A CICD worker is a component of the CICD system that performs work (eg. running pipeline tasks or performing sync).
97+
A single pipeline run may be distributed across multiple workers. Any OpenTelemetry signal associated with a worker should be associated to the worker that performed the corresponding work.
98+
For example, when a pipeline run involves several workers, its task run spans may reference the different `cicd.worker` resources corresponding to the workers that executed each task run. The pipeline run's parent span may instead reference the CICD controller as the `cicd.worker` resource.
9799

98100
| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability |
99101
|---|---|---|---|---|---|

model/cicd/entities.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,13 @@ groups:
2424
name: cicd.worker
2525
brief: >
2626
A CICD worker is a component of the CICD system that performs work (eg. running pipeline tasks or performing sync).
27+
28+
A single pipeline run may be distributed across multiple workers. Any OpenTelemetry signal associated with a worker
29+
should be associated to the worker that performed the corresponding work.
30+
31+
For example, when a pipeline run involves several workers, its task run spans may reference the different `cicd.worker` resources
32+
corresponding to the workers that executed each task run.
33+
The pipeline run's parent span may instead reference the CICD controller as the `cicd.worker` resource.
2734
attributes:
2835
- ref: cicd.worker.id
2936
requirement_level: required

0 commit comments

Comments
 (0)