Skip to content

Commit

Permalink
Metada update 2024-08-28
Browse files Browse the repository at this point in the history
  • Loading branch information
theletterf committed Aug 28, 2024
1 parent 83c92dd commit 67258c8
Show file tree
Hide file tree
Showing 11 changed files with 81 additions and 63 deletions.
4 changes: 2 additions & 2 deletions metric-metadata/deltatocumulativeprocessor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ type: deltatocumulative
status:
class: processor
stability:
development: [metrics]
distributions: []
alpha: [metrics]
distributions: [contrib]
warnings: [Statefulness]
codeowners:
active: [sh0rez, RichieSams, jpkrohling]
Expand Down
14 changes: 14 additions & 0 deletions metric-metadata/dorisexporter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
type: doris
scope_name: otelcol/doris

status:
class: exporter
stability:
development: [traces, metrics, logs]
distributions: []
codeowners:
active: [atoulme, joker-star-l]

# TODO: Update the exporter to pass the tests
tests:
skip_lifecycle: true
3 changes: 2 additions & 1 deletion metric-metadata/geoipprocessor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ type: geoip
status:
class: processor
stability:
development: [traces, metrics, logs]
alpha: [traces, metrics, logs]
distributions: [contrib]
codeowners:
active: [andrzej-stencel, michalpristas, rogercoll]
110 changes: 56 additions & 54 deletions metric-metadata/gitproviderreceiver.yaml
Original file line number Diff line number Diff line change
@@ -1,128 +1,130 @@
type: gitprovider

sem_conv_version: 1.9.0
sem_conv_version: 1.25.0

status:
class: receiver
stability:
development: [metrics]
distributions: []
codeowners:
active: [adrielp, andrzej-stencel]
active: [adrielp, andrzej-stencel, crobert-1]

# this might need to be unique per sub receiver implementation
resource_attributes:
organization.name:
enabled: true
description: Git Organization or Project Name
description: VCS Organization
type: string
git.vendor.name:
vcs.vendor.name:
enabled: true
# github, gitlab, bitbucket, gittea
description: The name of the Git vendor/provider (ie. GitHub / GitLab)
description: The name of the VCS vendor/provider (ie. GitHub)
type: string

## Attributes that will be uncommented when the rest of the metrics are added
attributes:
repository.name:
description: The name of a Git repository
description: The name of a VCS repository
type: string
branch.name:
description: The name of a Git branch
ref.name:
description: The name of a VCS branch
type: string
pull_request.state:
description: The state of a pull request
ref.type:
description: The type of ref (branch, tag).
type: string
enum:
- branch
- tag
change.state:
description: The state of a change (pull request)
type: string
enum:
- open
- merged

metrics:
git.repository.count:
vcs.repository.count:
enabled: true
description: The number of repositories in an organization.
unit: '{repository}'
unit: "{repository}"
gauge:
value_type: int
attributes: []
git.repository.branch.count:
vcs.repository.ref.count:
enabled: true
description: The number of branches in a repository.
unit: '{branch}'
description: The number of refs of type branch in a repository.
unit: "{ref}"
gauge:
value_type: int
attributes: [repository.name]
git.repository.branch.time:
attributes: [repository.name, ref.type]
vcs.repository.ref.time:
enabled: true
description: Time a branch created from the default branch (trunk) has existed.
description: Time a ref (branch) created from the default branch (trunk) has existed. The `ref.type` attribute will always be `branch`.
unit: s
gauge:
value_type: int
attributes: [repository.name, branch.name]
git.repository.branch.commit.aheadby.count:
attributes: [repository.name, ref.name, ref.type]
vcs.repository.ref.revisions_ahead:
enabled: true
description: The number of commits a branch is ahead of the default branch (trunk).
unit: '{commit}'
description: The number of revisions (commits) a ref (branch) is ahead of the default branch (trunk).
unit: "{revision}"
gauge:
value_type: int
attributes: [repository.name, branch.name]
git.repository.branch.commit.behindby.count:
attributes: [repository.name, ref.name, ref.type]
vcs.repository.ref.revisions_behind:
enabled: true
description: The number of commits a branch is behind the default branch (trunk).
unit: '{commit}'
description: The number of revisions (commits) a ref (branch) is behind the default branch (trunk).
unit: "{revision}"
gauge:
value_type: int
attributes: [repository.name, branch.name]
git.repository.branch.line.addition.count:
attributes: [repository.name, ref.name, ref.type]
vcs.repository.ref.lines_added:
enabled: true
description: The number of lines added in a branch relative to the default branch (trunk).
unit: '{line}'
description: The number of lines added in a ref (branch) relative to the default branch (trunk).
unit: "{line}"
gauge:
value_type: int
attributes: [repository.name, branch.name]
git.repository.branch.line.deletion.count:
attributes: [repository.name, ref.name, ref.type]
vcs.repository.ref.lines_deleted:
enabled: true
description: The number of lines deleted in a branch relative to the default branch (trunk).
unit: '{line}'
description: The number of lines deleted in a ref (branch) relative to the default branch (trunk).
unit: "{line}"
gauge:
value_type: int
attributes: [repository.name, branch.name]
git.repository.contributor.count:
attributes: [repository.name, ref.name, ref.type]
vcs.repository.contributor.count:
enabled: false
description: The number of unique contributors to a repository.
unit: '{contributor}'
unit: "{contributor}"
gauge:
value_type: int
attributes: [repository.name]
git.repository.pull_request.time_open:
vcs.repository.change.time_open:
enabled: true
description: The amount of time a pull request has been open.
description: The amount of time a change (pull request) has been open.
unit: s
gauge:
value_type: int
attributes: [repository.name, branch.name]
git.repository.pull_request.time_to_merge:
attributes: [repository.name, ref.name]
vcs.repository.change.time_to_merge:
enabled: true
description: The amount of time it took a pull request to go from open to merged.
description: The amount of time it took a change (pull request) to go from open to merged.
unit: s
gauge:
value_type: int
attributes: [repository.name, branch.name]
git.repository.pull_request.time_to_approval:
attributes: [repository.name, ref.name]
vcs.repository.change.time_to_approval:
enabled: true
description: The amount of time it took a pull request to go from open to approved.
description: The amount of time it took a change (pull request) to go from open to approved.
unit: s
gauge:
value_type: int
attributes: [repository.name, branch.name]
git.repository.pull_request.count:
description: The number of pull requests in a repository, categorized by their state (either open or merged).
attributes: [repository.name, ref.name]
vcs.repository.change.count:
description: The number of changes (pull requests) in a repository, categorized by their state (either open or merged).
enabled: true
gauge:
value_type: int
unit: '{pull_request}'
attributes: [pull_request.state, repository.name]
unit: "{change}"
attributes: [change.state, repository.name]

tests:
config:

1 change: 0 additions & 1 deletion metric-metadata/googlecloudmonitoringreceiver.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
type: googlecloudmonitoring
scope_name: otelcol/googlecloudmonitoringreceiver

status:
class: receiver
Expand Down
2 changes: 1 addition & 1 deletion metric-metadata/grafanacloudconnector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
codeowners:
active: [jpkrohling, rlankfo, jcreixell]
emeritus: []
seeking_new: true
seeking_new: false

tests:
config:
Expand Down
1 change: 0 additions & 1 deletion metric-metadata/lokiexporter.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
type: loki
scope_name: otelcol/loki

status:
class: exporter
Expand Down
2 changes: 1 addition & 1 deletion metric-metadata/prometheusexporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ status:
- core
- contrib
codeowners:
active: [Aneurysm9]
active: [Aneurysm9, dashpole]

tests:
config:
Expand Down
2 changes: 1 addition & 1 deletion metric-metadata/prometheusremotewrite.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
status:
codeowners:
active: [Aneurysm9]
active: [Aneurysm9, dashpole]
2 changes: 1 addition & 1 deletion metric-metadata/prometheusremotewriteexporter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ status:
beta: [metrics]
distributions: [core, contrib]
codeowners:
active: [Aneurysm9, rapphil]
active: [Aneurysm9, rapphil, dashpole]

tests:
expect_consumer_error: true
Expand Down
3 changes: 3 additions & 0 deletions metric-metadata/rabbitmq.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
status:
codeowners:
active: [swar8080, atoulme]

0 comments on commit 67258c8

Please sign in to comment.