Skip to content
semconv.com
↑↓ move↵ openUse with your agent →

CI/CD and source control

as of v1.45.0

Pipelines, repositories, test runs and the artefacts and deployments they produce.

vcs 21cicd 16artifact 7deployment 5test 4

Attributes
53
Metrics
15
Signals
8
Stable
1
Deprecated
6

Signals

What this domain emits, and the attributes each one carries, most strongly required first. An attribute marked * is required on that signal; * is conditionally required.

Spans 2

Entities 6

Metrics 15

  • cicd.pipeline.run.active
    Release candidateupdowncounter · {run}The number of pipeline runs currently active in the system by state.
  • cicd.pipeline.run.duration
    Release candidatehistogram · sDuration of a pipeline run grouped by pipeline, state and result.
  • cicd.pipeline.run.errors
    Release candidatecounter · {error}The number of errors encountered in pipeline runs (eg. compile, test failures).
  • cicd.system.errors
    Release candidatecounter · {error}The number of errors in a component of the CI/CD system (eg. controller, scheduler, agent).
  • cicd.worker.count
    Release candidateupdowncounter · {worker}The number of workers on the CI/CD system by state.
  • vcs.change.count
    Release candidateupdowncounter · {change}The number of changes (pull requests/merge requests/changelists) in a repository, categorized by their state (e.g. open or merged).
  • vcs.change.duration
    Release candidategauge · sThe time duration a change (pull request/merge request/changelist) has been in a given state.
  • vcs.change.time_to_approval
    Developmentgauge · sThe amount of time since its creation it took a change (pull request/merge request/changelist) to get the first approval.
  • vcs.change.time_to_merge
    Developmentgauge · sThe amount of time since its creation it took a change (pull request/merge request/changelist) to get merged into the target(base) ref.
  • vcs.contributor.count
    Release candidategauge · {contributor}The number of unique contributors to a repository.
  • vcs.ref.count
    Release candidateupdowncounter · {ref}The number of refs of type branch or tag in a repository.
  • vcs.ref.lines_delta
    Release candidategauge · {line}The number of lines added/removed in a ref (branch) relative to the ref from the vcs.ref.base.name attribute.
  • vcs.ref.revisions_delta
    Release candidategauge · {revision}The number of revisions (commits) a ref (branch) is ahead/behind the branch from the vcs.ref.base.name attribute.
  • vcs.ref.time
    Release candidategauge · sTime a ref (branch) created from the default branch (trunk) has existed. The ref.type attribute will always be branch.
  • vcs.repository.count
    Release candidateupdowncounter · {repository}The number of repositories in an organization.

Specification

  • Spansare bound by the trace specification — 312 requirements across 8 documents, 176 of them MUST or SHALL.
  • Metricsare bound by the metrics specification — 569 requirements across 8 documents, 296 of them MUST or SHALL.
  • Entitiesare bound by the entities specification — 54 requirements across 3 documents, 24 of them MUST or SHALL.

The specification prose never names this domain. That is not an omission: the specification defines signals, not subject matter — what binds vcs telemetry is the general rules above, and the conventions themselves carry the rest.

On the wire, this lands in trace/v1/trace, metrics/v1/metrics, resource/v1/resource. Field-by-field definitions are under OTLP.

Attributes 53

vcs21 attributes

cicd16 attributes

artifact7 attributes

  • artifact.attestation.filename
    DevelopmentThe provenance filename of the built attestation which directly relates to the build artifact filename. This filename SHOULD accompany the artifact at publish t
  • artifact.attestation.hash
    DevelopmentThe full hash value (see glossary), of the built attestation. Some envelopes in the software attestation space also refer to this as the **digest**.
  • artifact.attestation.id
    DevelopmentThe ID of the build software attestation.
  • artifact.filename
    DevelopmentThe human readable filename of the artifact, typically generated during build and release processes. Often includes the package name and version in the filename
  • artifact.hash
    DevelopmentThe full hash value (see glossary), often found in checksum.txt on a release of the artifact and used to verify package integrity.
  • artifact.purl
    DevelopmentThe Package URL of the package artifact provides a standard way to identify and locate the packaged artifact.
  • artifact.version
    DevelopmentThe version of the artifact.

deployment5 attributes

test4 attributes

Recent changes

Breaking and notable changes to this domain across the last 6 semantic-conventions releases.

44 more in the full release history

Topics are this site's grouping of upstream namespaces, not a structure the OpenTelemetry project publishes. JSON · All domains