You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <aid="cicd-pipeline-name"href="#cicd-pipeline-name">`cicd.pipeline.name`</a> | string | The human readable name of the pipeline within a CI/CD system. |`Build and Test`; `Lint`; `Deploy Go Project`; `deploy_to_environment`||
16
+
| <aid="cicd-pipeline-result"href="#cicd-pipeline-result">`cicd.pipeline.result`</a> | string | The result of a pipeline run. |`success`; `failure`; `timeout`; `skipped`||
16
17
| <aid="cicd-pipeline-run-id"href="#cicd-pipeline-run-id">`cicd.pipeline.run.id`</a> | string | The unique identifier of a pipeline run within a CI/CD system. |`120912`||
18
+
| <aid="cicd-pipeline-run-state"href="#cicd-pipeline-run-state">`cicd.pipeline.run.state`</a> | string | The pipeline run goes through these states during its lifecycle. |`pending`; `executing`; `finalizing`||
17
19
| <aid="cicd-pipeline-task-name"href="#cicd-pipeline-task-name">`cicd.pipeline.task.name`</a> | string | The human readable name of a task within a pipeline. Task here most closely aligns with a [computing process](https://wikipedia.org/wiki/Pipeline_(computing)) in a pipeline. Other terms for tasks include commands, steps, and procedures. |`Run GoLang Linter`; `Go Build`; `go-test`; `deploy_binary`||
18
20
| <aid="cicd-pipeline-task-run-id"href="#cicd-pipeline-task-run-id">`cicd.pipeline.task.run.id`</a> | string | The unique identifier of a task run within a pipeline. |`12097`||
19
21
| <aid="cicd-pipeline-task-run-url-full"href="#cicd-pipeline-task-run-url-full">`cicd.pipeline.task.run.url.full`</a> | string | The [URL](https://wikipedia.org/wiki/URL) of the pipeline run providing the complete address in order to locate and identify the pipeline run. |`https://github.com/open-telemetry/semantic-conventions/actions/runs/9753949763/job/26920038674?pr=1075`||
20
22
| <aid="cicd-pipeline-task-type"href="#cicd-pipeline-task-type">`cicd.pipeline.task.type`</a> | string | The type of the task within a pipeline. |`build`; `test`; `deploy`||
23
+
| <aid="cicd-system-component"href="#cicd-system-component">`cicd.system.component`</a> | string | The name of a component of the CICD system. |`controller`; `scheduler`; `agent`||
24
+
| <aid="cicd-worker-state"href="#cicd-worker-state">`cicd.worker.state`</a> | string | The state of a CICD worker / agent. |`idle`; `busy`; `down`||
25
+
26
+
---
27
+
28
+
`cicd.pipeline.result` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
29
+
30
+
| Value | Description | Stability |
31
+
|---|---|---|
32
+
|`cancellation`| The pipeline run was cancelled, eg. by a user manually cancelling the pipeline run. ||
33
+
|`error`| The pipeline run failed due to an error in the CICD system, eg. due to the worker being killed. ||
34
+
|`failure`| The pipeline run did not finish successfully, eg. due to a compile error or a failing test. Such failures are usually detected by non-zero exit codes of the tools executed in the pipeline run. ||
35
+
|`skip`| The pipeline run was skipped, eg. due to a precondition not being met. ||
36
+
|`success`| The pipeline run finished successfully. ||
37
+
|`timeout`| A timeout caused the pipeline run to be interrupted. ||
38
+
39
+
---
40
+
41
+
`cicd.pipeline.run.state` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
42
+
43
+
| Value | Description | Stability |
44
+
|---|---|---|
45
+
|`executing`| The executing state spans the execution of any run tasks (eg. build, test). ||
46
+
|`finalizing`| The finalizing state spans from when the run has finished executing (eg. cleanup of run resources). ||
47
+
|`pending`| The run pending state spans from the event triggering the pipeline run until the execution of the run starts (eg. time spent in a queue, provisioning agents, creating run resources). ||
21
48
22
49
---
23
50
@@ -28,3 +55,15 @@ This group describes attributes specific to pipelines within a Continuous Integr
|`test`| test ||
58
+
59
+
---
60
+
61
+
`cicd.worker.state` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used.
62
+
63
+
| Value | Description | Stability |
64
+
|---|---|---|
65
+
|`available`| The worker is not performing work for the CICD system. It is available to the CICD system to perform work on (online / idle). [1]||
66
+
|`busy`| The worker is performing work for the CICD system. ||
67
+
|`offline`| The worker is not available to the CICD system (disconnected / down). ||
68
+
69
+
**[1]:** Pipelines might have conditions on which workers they are able to run so not every worker might be available to every pipeline.
0 commit comments