Skip to content

Commit

Permalink
[cicd] add (PR/MR) to all vcs metric briefs relating to changes
Browse files Browse the repository at this point in the history
  • Loading branch information
christophe-kamphaus-jemmic committed Oct 3, 2024
1 parent cfcdaf1 commit e174ef3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/cicd/cicd-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ but more may be added in the future.

| Name | Instrument Type | Unit (UCUM) | Description | Stability |
| -------- | --------------- | ----------- | -------------- | --------- |
| `vcs.repository.change.count` | UpDownCounter | `{change}` | The number of changes (pull requests) in a repository, categorized by their state (either open or merged) | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `vcs.repository.change.count` | UpDownCounter | `{change}` | The number of changes (pull requests/merge requests) in a repository, categorized by their state (either open or merged) | ![Experimental](https://img.shields.io/badge/-experimental-blue) |

| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability |
|---|---|---|---|---|---|
Expand Down Expand Up @@ -110,7 +110,7 @@ but more may be added in the future.

| Name | Instrument Type | Unit (UCUM) | Description | Stability |
| -------- | --------------- | ----------- | -------------- | --------- |
| `vcs.repository.change.time_to_approval` | Histogram | `s` | The amount of time it took a change (pull request) to go from open to approved | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `vcs.repository.change.time_to_approval` | Histogram | `s` | The amount of time it took a change (pull request/merge request) to go from open to approved | ![Experimental](https://img.shields.io/badge/-experimental-blue) |

| Attribute | Type | Description | Examples | [Requirement Level](https://opentelemetry.io/docs/specs/semconv/general/attribute-requirement-level/) | Stability |
|---|---|---|---|---|---|
Expand Down
4 changes: 2 additions & 2 deletions model/vcs/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ groups:
- id: metric.vcs.repository.change.count
type: metric
metric_name: vcs.repository.change.count
brief: 'The number of changes (pull requests) in a repository, categorized by their state (either open or merged)'
brief: 'The number of changes (pull requests/merge requests) in a repository, categorized by their state (either open or merged)'
instrument: updowncounter
unit: "{change}"
stability: experimental
Expand All @@ -28,7 +28,7 @@ groups:
- id: metric.vcs.repository.change.time_to_approval
type: metric
metric_name: vcs.repository.change.time_to_approval
brief: 'The amount of time it took a change (pull request) to go from open to approved'
brief: 'The amount of time it took a change (pull request/merge request) to go from open to approved'
instrument: histogram
unit: "s"
stability: experimental
Expand Down

0 comments on commit e174ef3

Please sign in to comment.