TraceAttributes::VCS_REPOSITORY_REF_REVISION
The revision, literally revised version, The revision most often refers to a commit object in Git, or a revision number in SVN.
The revision can be a full hash value (see glossary), of the recorded change to a ref within a repository pointing to a commit commit object. It does not necessarily have to be a hash; it can simply define a revision number which is an integer that is monotonically increasing. In cases where it is identical to the `ref.name`, it SHOULD still be included. It is up to the implementer to decide which value to set as the revision based on the VCS system and situational context.
@example 9d59409acf479dfa0df1aa568182e43e43df8bbe28d60fcf2bc52e30068802cc @example main @example 123 @example HEAD
File
-
vendor/
open-telemetry/ sem-conv/ TraceAttributes.php, line 4334
Class
Namespace
OpenTelemetry\SemConvCode
public const VCS_REPOSITORY_REF_REVISION = 'vcs.repository.ref.revision';