semconv.com

vcs.ref.head.revision

Release candidatestringas of v1.44.0

The revision, literally revised version, The revision most often refers to a commit object in Git, or a revision number in SVN.

head refers to where you are right now; the current reference at a given time.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.head.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.

Examples

Used by

entitys (1)

  • vcs.ref *

metrics (2)

  • vcs.change.time_to_approval (opt-in)
  • vcs.change.time_to_merge (opt-in)

* required on that signal.

History

  1. v1.43.0stability

    Promoted to release_candidate.

  2. v1.30.0

    Already present at v1.30.0, the oldest release tracked here (development).

Definition sourceRegistry docsJSON