This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/collector/components/contrib/githubreceiver.md.

GitHub Receiver

OpenTelemetry Collector receiver · contrib distribution

  • Component ID: contrib-githubreceiver
  • Name: githubreceiver
  • Type: receiver
  • Distribution: contrib
  • Repository: opentelemetry-collector-contrib

Stability

LevelSignals
alphametrics, traces

Metrics

MetricTypeValue typeUnitStabilityEnabledAttributesDescription
vcs.change.countgaugeint{change}developmentyesvcs.change.state (string), vcs.repository.name (string), vcs.repository.url.full (string)The number of changes (pull requests) in a repository, categorized by their state (either open or merged).
vcs.change.durationgaugeintsdevelopmentyesvcs.change.state (string), vcs.ref.head.name (string), vcs.repository.name (string), vcs.repository.url.full (string)The time duration a change (pull request/merge request/changelist) has been in an open state.
vcs.change.time_to_approvalgaugeintsdevelopmentyesvcs.ref.head.name (string), vcs.repository.name (string), vcs.repository.url.full (string)The amount of time it took a change (pull request) to go from open to approved.
vcs.change.time_to_mergegaugeintsdevelopmentyesvcs.ref.head.name (string), vcs.repository.name (string), vcs.repository.url.full (string)The amount of time it took a change (pull request) to go from open to merged.
vcs.contributor.countgaugeint{contributor}developmentnovcs.repository.name (string), vcs.repository.url.full (string)The number of unique contributors to a repository.
vcs.ref.countgaugeint{ref}developmentyesvcs.ref.type (string), vcs.repository.name (string), vcs.repository.url.full (string)The number of refs of type branch in a repository.
vcs.ref.lines_deltagaugeint{line}developmentyesvcs.line_change.type (string), vcs.ref.base.name (string), vcs.ref.base.type (string), vcs.ref.head.name (string), vcs.ref.head.type (string), vcs.repository.name (string), vcs.repository.url.full (string)The number of lines added/removed in a ref (branch) relative to the default branch (trunk).
vcs.ref.revisions_deltagaugeint{revision}developmentyesvcs.ref.base.name (string), vcs.ref.base.type (string), vcs.ref.head.name (string), vcs.ref.head.type (string), vcs.repository.name (string), vcs.repository.url.full (string), vcs.revision_delta.direction (string)The number of revisions (commits) a ref (branch) is ahead/behind the branch from trunk (default).
vcs.ref.timegaugeintsdevelopmentyesvcs.ref.head.name (string), vcs.ref.head.type (string), vcs.repository.name (string), vcs.repository.url.full (string)Time a ref (branch) created from the default branch (trunk) has existed. The vcs.ref.type attribute will always be branch.
vcs.repository.countgaugeint{repository}developmentyesThe number of repositories in an organization.

Attributes

AttributeTypeDescription
vcs.change.statestringThe state of a change (pull request)
vcs.line_change.typestringThe type of line change being measured on a ref (branch).
vcs.ref.base.namestringThe name of the VCS base reference (branch/tag) for comparison.
vcs.ref.base.typestringThe type of the base reference (branch, tag).
vcs.ref.head.namestringThe name of the VCS head reference (branch).
vcs.ref.head.typestringThe type of the head reference (branch, tag).
vcs.ref.typestringThe type of the reference in the repository.
vcs.repository.namestringThe name of the VCS repository.
vcs.repository.url.fullstringThe canonical URL of the repository providing the complete HTTPS address.
vcs.revision_delta.directionstringThe type of revision comparison.

Data

  • JSON (latest): /data/collector/components/contrib-githubreceiver/latest.json
  • JSON (pinned): /data/collector/components/contrib-githubreceiver/contrib-githubreceiver-2617dd22741a.json
  • Explore: /collector/components/contrib/githubreceiver