| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258 |
- /*
- * Copyright The OpenTelemetry Authors
- * SPDX-License-Identifier: Apache-2.0
- */
- /*
- * DO NOT EDIT, this is an Auto-generated file from:
- * buildscripts/semantic-convention/templates/registry/semantic_attributes-h.j2
- */
- #pragma once
- #include "opentelemetry/common/macros.h"
- #include "opentelemetry/version.h"
- OPENTELEMETRY_BEGIN_NAMESPACE
- namespace semconv
- {
- namespace cicd
- {
- /**
- The kind of action a pipeline run is performing.
- */
- static constexpr const char *kCicdPipelineActionName = "cicd.pipeline.action.name";
- /**
- The human readable name of the pipeline within a CI/CD system.
- */
- static constexpr const char *kCicdPipelineName = "cicd.pipeline.name";
- /**
- The result of a pipeline run.
- */
- static constexpr const char *kCicdPipelineResult = "cicd.pipeline.result";
- /**
- The unique identifier of a pipeline run within a CI/CD system.
- */
- static constexpr const char *kCicdPipelineRunId = "cicd.pipeline.run.id";
- /**
- The pipeline run goes through these states during its lifecycle.
- */
- static constexpr const char *kCicdPipelineRunState = "cicd.pipeline.run.state";
- /**
- The <a href="https://wikipedia.org/wiki/URL">URL</a> of the pipeline run, providing the complete
- address in order to locate and identify the pipeline run.
- */
- static constexpr const char *kCicdPipelineRunUrlFull = "cicd.pipeline.run.url.full";
- /**
- The human readable name of a task within a pipeline. Task here most closely aligns with a <a
- href="https://wikipedia.org/wiki/Pipeline_(computing)">computing process</a> in a pipeline. Other
- terms for tasks include commands, steps, and procedures.
- */
- static constexpr const char *kCicdPipelineTaskName = "cicd.pipeline.task.name";
- /**
- The unique identifier of a task run within a pipeline.
- */
- static constexpr const char *kCicdPipelineTaskRunId = "cicd.pipeline.task.run.id";
- /**
- The result of a task run.
- */
- static constexpr const char *kCicdPipelineTaskRunResult = "cicd.pipeline.task.run.result";
- /**
- The <a href="https://wikipedia.org/wiki/URL">URL</a> of the pipeline task run, providing the
- complete address in order to locate and identify the pipeline task run.
- */
- static constexpr const char *kCicdPipelineTaskRunUrlFull = "cicd.pipeline.task.run.url.full";
- /**
- The type of the task within a pipeline.
- */
- static constexpr const char *kCicdPipelineTaskType = "cicd.pipeline.task.type";
- /**
- The name of a component of the CICD system.
- */
- static constexpr const char *kCicdSystemComponent = "cicd.system.component";
- /**
- The unique identifier of a worker within a CICD system.
- */
- static constexpr const char *kCicdWorkerId = "cicd.worker.id";
- /**
- The name of a worker within a CICD system.
- */
- static constexpr const char *kCicdWorkerName = "cicd.worker.name";
- /**
- The state of a CICD worker / agent.
- */
- static constexpr const char *kCicdWorkerState = "cicd.worker.state";
- /**
- The <a href="https://wikipedia.org/wiki/URL">URL</a> of the worker, providing the complete address
- in order to locate and identify the worker.
- */
- static constexpr const char *kCicdWorkerUrlFull = "cicd.worker.url.full";
- namespace CicdPipelineActionNameValues
- {
- /**
- The pipeline run is executing a build.
- */
- static constexpr const char *kBuild = "BUILD";
- /**
- The pipeline run is executing.
- */
- static constexpr const char *kRun = "RUN";
- /**
- The pipeline run is executing a sync.
- */
- static constexpr const char *kSync = "SYNC";
- } // namespace CicdPipelineActionNameValues
- namespace CicdPipelineResultValues
- {
- /**
- The pipeline run finished successfully.
- */
- static constexpr const char *kSuccess = "success";
- /**
- 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.
- */
- static constexpr const char *kFailure = "failure";
- /**
- The pipeline run failed due to an error in the CICD system, eg. due to the worker being killed.
- */
- static constexpr const char *kError = "error";
- /**
- A timeout caused the pipeline run to be interrupted.
- */
- static constexpr const char *kTimeout = "timeout";
- /**
- The pipeline run was cancelled, eg. by a user manually cancelling the pipeline run.
- */
- static constexpr const char *kCancellation = "cancellation";
- /**
- The pipeline run was skipped, eg. due to a precondition not being met.
- */
- static constexpr const char *kSkip = "skip";
- } // namespace CicdPipelineResultValues
- namespace CicdPipelineRunStateValues
- {
- /**
- 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).
- */
- static constexpr const char *kPending = "pending";
- /**
- The executing state spans the execution of any run tasks (eg. build, test).
- */
- static constexpr const char *kExecuting = "executing";
- /**
- The finalizing state spans from when the run has finished executing (eg. cleanup of run
- resources).
- */
- static constexpr const char *kFinalizing = "finalizing";
- } // namespace CicdPipelineRunStateValues
- namespace CicdPipelineTaskRunResultValues
- {
- /**
- The task run finished successfully.
- */
- static constexpr const char *kSuccess = "success";
- /**
- The task 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 task run.
- */
- static constexpr const char *kFailure = "failure";
- /**
- The task run failed due to an error in the CICD system, eg. due to the worker being killed.
- */
- static constexpr const char *kError = "error";
- /**
- A timeout caused the task run to be interrupted.
- */
- static constexpr const char *kTimeout = "timeout";
- /**
- The task run was cancelled, eg. by a user manually cancelling the task run.
- */
- static constexpr const char *kCancellation = "cancellation";
- /**
- The task run was skipped, eg. due to a precondition not being met.
- */
- static constexpr const char *kSkip = "skip";
- } // namespace CicdPipelineTaskRunResultValues
- namespace CicdPipelineTaskTypeValues
- {
- /**
- build
- */
- static constexpr const char *kBuild = "build";
- /**
- test
- */
- static constexpr const char *kTest = "test";
- /**
- deploy
- */
- static constexpr const char *kDeploy = "deploy";
- } // namespace CicdPipelineTaskTypeValues
- namespace CicdWorkerStateValues
- {
- /**
- The worker is not performing work for the CICD system. It is available to the CICD system to
- perform work on (online / idle).
- */
- static constexpr const char *kAvailable = "available";
- /**
- The worker is performing work for the CICD system.
- */
- static constexpr const char *kBusy = "busy";
- /**
- The worker is not available to the CICD system (disconnected / down).
- */
- static constexpr const char *kOffline = "offline";
- } // namespace CicdWorkerStateValues
- } // namespace cicd
- } // namespace semconv
- OPENTELEMETRY_END_NAMESPACE
|