Skip to content

Commit

Permalink
[refactor] updated metric descriptions and renamed for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
4lch4 committed Dec 14, 2023
1 parent de56a20 commit 7eacd6c
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions receiver/gitproviderreceiver/metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ resource_attributes:
## Attributes that will be uncommented when the rest of the metrics are added
attributes:
repository.name:
description: The full name of the Git repository
description: The full name of a Git repository
type: string
branch.name:
description: The name of the Git branch
description: The name of a Git branch
type: string

metrics:
Expand All @@ -41,49 +41,49 @@ metrics:
attributes: []
git.repository.branch.count:
enabled: true
description: Number of branches in the repository
description: Number of branches in a repository
unit: 1
gauge:
value_type: int
attributes: [repository.name]
git.repository.contributor.count:
enabled: false
description: Total number of unique contributors to this repository
description: Total number of unique contributors to a repository
unit: 1
gauge:
value_type: int
attributes: [repository.name]
git.repository.pull_request.merged.count:
enabled: true
description: The amount of merged pull requests
description: The number of merged pull requests in a repository
unit: 1
gauge:
value_type: int
attributes: [repository.name]
git.repository.pull_request.open.count:
enabled: true
description: The amount of open pull requests
description: The number of open pull requests in a repository
unit: 1
gauge:
value_type: int
attributes: [repository.name]
git.repository.pull_request.open.time:
enabled: true
description: The amount of time a PR has been open
description: The amount of time a pull request has been open
unit: 1
gauge:
value_type: int
attributes: [repository.name, branch.name]
git.repository.pull_request.merge.time:
git.repository.pull_request.merged.time:
enabled: true
description: The amount of time a PR has been merged
description: The amount of time it took a pull request to go from open to merged
unit: 1
gauge:
value_type: int
attributes: [repository.name, branch.name]
git.repository.pull_request.approval.time:
git.repository.pull_request.approved.time:
enabled: true
description: The amount of time for a PR to be approved
description: The amount of time it took a pull request to go from open to approved
unit: 1
gauge:
value_type: int
Expand Down

0 comments on commit 7eacd6c

Please sign in to comment.