You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[receiver/gitproviderreceiver] rename metrics to match new conventions (#34278)
**Description:**
Updated metrics and attributes to match newest semantic conventions for
[VCSs added in the
registry](https://github.com/open-telemetry/semantic-conventions/blob/main/docs/attributes-registry/vcs.md).
Attribute Changes:
- `branch.name` is now `ref.name`
- Added a `ref.type` attribute
- `pull_request.state` is now `change.state`
- `git.vendor.name` is now `vcs.vendor.name`
Metric Changes:
- `git.repository.count` is now `vcs.repository.count`
- `git.repository.contributor.count` is now
`vcs.repository.contributor.count`
- `git.repository.branch.count` is now `vcs.repository.ref.count`
- `git.repository.branch.time` is now `vcs.repository.ref.time`
- `git.repository.branch.commit.aheadby.count` is now
`vcs.repository.ref.revisions_ahead`
- `git.repository.branch.commit.behindby.count` is now
`vcs.repository.ref.revisions_behind`
- `git.repository.branch.line.addition.count` is now
`vcs.repository.ref.lines_added`
- `git.repository.branch.line.deletion.count` is now
`vcs.repository.ref.lines_deleted`
- `git.repository.pull_request.time_open` is now `vcs.change.time_open`
- `git.repository.pull_request.time_to_merge` is now
`vcs.change.time_to_merge`
- `git.repository.pull_request.time_to_approval` is now
`vcs.change.time_to_approval`
- `git.repository.pull_request.count` is now `vcs.change.count`
The Git Provider receiver scrapes data from Git vendors.
14
+
The Git Provider receiver scrapes data from Version Control Systems (VCS) that use Git as their underlying technology.
15
15
16
-
As a starting point, this receiver can infer many of the same core git metrics across vendors, while being able to receive additional data specific to vendors.
16
+
As a starting point, this receiver can infer many of the same core VCS metrics across vendors, while being able to receive additional data specific to vendors.
17
17
18
18
The current default set of metrics common across all vendors can be found in [documentation.md](./documentation.md).
19
19
20
-
These default metrics can be used as leading indicators to the DORA metrics; helping provide insight into modern-day engineering practices.
20
+
These VCS metrics can be used as leading indicators ([capabilities][doracap]) to the [DORA][dorafour] metrics; helping provide insight into modern-day engineering practices.
0 commit comments