VcsAttribute : string
VCS (Version Control System) attribute keys following OpenTelemetry semantic conventions.
These attribute names correspond to the VCS resource attributes as defined in the OpenTelemetry semantic conventions specification.
Tags
Cases
- REF_HEAD_NAME = 'vcs.ref.head.name'
- The name of the reference that the HEAD points to.
- REF_HEAD_REVISION = 'vcs.ref.head.revision'
- The revision (commit SHA) that the HEAD currently points to.
- REF_HEAD_TYPE = 'vcs.ref.head.type'
- The type of the reference that the HEAD points to.
- REPOSITORY_URL = 'vcs.repository.url.full'
- The full URL of the repository providing the remote.
Cases
REF_HEAD_NAME
The name of the reference that the HEAD points to.
For a branch this is the branch name, for a tag the tag name.
Example: "main", "v1.0.0"
REF_HEAD_REVISION
The revision (commit SHA) that the HEAD currently points to.
Example: "9d59409acf479dfa0df1c3dad539b4825a8d2bcf"
REF_HEAD_TYPE
The type of the reference that the HEAD points to.
Example: "branch", "tag"
REPOSITORY_URL
The full URL of the repository providing the remote.
Example: "https://github.com/flow-php/flow.git"