@@ -12,7 +12,7 @@ metrics:
12
12
enabled : false
13
13
` ` `
14
14
15
- ### vcs.repository. change.count
15
+ ### vcs.change.count
16
16
17
17
The number of changes (pull requests) in a repository, categorized by their state (either open or merged).
18
18
@@ -24,12 +24,13 @@ The number of changes (pull requests) in a repository, categorized by their stat
24
24
25
25
| Name | Description | Values |
26
26
| ---- | ----------- | ------ |
27
- | change.state | The state of a change (pull request) | Str: ` ` open` ` , ` ` merged` ` |
28
- | repository.name | The name of a VCS repository | Any Str |
27
+ | vcs.repository.url.full | The canonical URL of the repository providing the complete HTTPS address. | Any Str |
28
+ | vcs.change.state | The state of a change (pull request) | Str: ` ` open` ` , ` ` merged` ` |
29
+ | vcs.repository.name | The name of the VCS repository. | Any Str |
29
30
30
- ### vcs.repository. change.time_open
31
+ ### vcs.change.duration
31
32
32
- The amount of time a change (pull request) has been open.
33
+ The time duration a change (pull request/merge request/changelist ) has been in an open state .
33
34
34
35
| Unit | Metric Type | Value Type |
35
36
| ---- | ----------- | ---------- |
@@ -39,10 +40,12 @@ The amount of time a change (pull request) has been open.
39
40
40
41
| Name | Description | Values |
41
42
| ---- | ----------- | ------ |
42
- | repository.name | The name of a VCS repository | Any Str |
43
- | ref.name | The name of a VCS branch | Any Str |
43
+ | vcs.repository.url.full | The canonical URL of the repository providing the complete HTTPS address. | Any Str |
44
+ | vcs.repository.name | The name of the VCS repository. | Any Str |
45
+ | vcs.ref.head.name | The name of the VCS head reference (branch). | Any Str |
46
+ | vcs.change.state | The state of a change (pull request) | Str: ` ` open` ` , ` ` merged` ` |
44
47
45
- ### vcs.repository. change.time_to_approval
48
+ ### vcs.change.time_to_approval
46
49
47
50
The amount of time it took a change (pull request) to go from open to approved.
48
51
@@ -54,10 +57,11 @@ The amount of time it took a change (pull request) to go from open to approved.
54
57
55
58
| Name | Description | Values |
56
59
| ---- | ----------- | ------ |
57
- | repository.name | The name of a VCS repository | Any Str |
58
- | ref.name | The name of a VCS branch | Any Str |
60
+ | vcs.repository.url.full | The canonical URL of the repository providing the complete HTTPS address. | Any Str |
61
+ | vcs.repository.name | The name of the VCS repository. | Any Str |
62
+ | vcs.ref.head.name | The name of the VCS head reference (branch). | Any Str |
59
63
60
- ### vcs.repository. change.time_to_merge
64
+ ### vcs.change.time_to_merge
61
65
62
66
The amount of time it took a change (pull request) to go from open to merged.
63
67
@@ -69,18 +73,11 @@ The amount of time it took a change (pull request) to go from open to merged.
69
73
70
74
| Name | Description | Values |
71
75
| ---- | ----------- | ------ |
72
- | repository.name | The name of a VCS repository | Any Str |
73
- | ref.name | The name of a VCS branch | Any Str |
76
+ | vcs.repository.url.full | The canonical URL of the repository providing the complete HTTPS address. | Any Str |
77
+ | vcs.repository.name | The name of the VCS repository. | Any Str |
78
+ | vcs.ref.head.name | The name of the VCS head reference (branch). | Any Str |
74
79
75
- ### vcs.repository.count
76
-
77
- The number of repositories in an organization.
78
-
79
- | Unit | Metric Type | Value Type |
80
- | ---- | ----------- | ---------- |
81
- | {repository} | Gauge | Int |
82
-
83
- ### vcs.repository.ref.count
80
+ ### vcs.ref.count
84
81
85
82
The number of refs of type branch in a repository.
86
83
@@ -92,28 +89,13 @@ The number of refs of type branch in a repository.
92
89
93
90
| Name | Description | Values |
94
91
| ---- | ----------- | ------ |
95
- | repository.name | The name of a VCS repository | Any Str |
96
- | ref.type | The type of ref (branch, tag). | Str: ` ` branch` ` , ` ` tag` ` |
97
-
98
- ### vcs.repository.ref.lines_added
99
-
100
- The number of lines added in a ref (branch) relative to the default branch (trunk).
101
-
102
- | Unit | Metric Type | Value Type |
103
- | ---- | ----------- | ---------- |
104
- | {line} | Gauge | Int |
105
-
106
- #### Attributes
107
-
108
- | Name | Description | Values |
109
- | ---- | ----------- | ------ |
110
- | repository.name | The name of a VCS repository | Any Str |
111
- | ref.name | The name of a VCS branch | Any Str |
112
- | ref.type | The type of ref (branch, tag). | Str: ` ` branch` ` , ` ` tag` ` |
92
+ | vcs.repository.url.full | The canonical URL of the repository providing the complete HTTPS address. | Any Str |
93
+ | vcs.repository.name | The name of the VCS repository. | Any Str |
94
+ | vcs.ref.head.type | The type of the head reference (branch, tag). | Str: ` ` branch` ` , ` ` tag` ` |
113
95
114
- ### vcs.repository. ref.lines_deleted
96
+ ### vcs.ref.lines_delta
115
97
116
- The number of lines deleted in a ref (branch) relative to the default branch (trunk).
98
+ The number of lines added/removed in a ref (branch) relative to the default branch (trunk).
117
99
118
100
| Unit | Metric Type | Value Type |
119
101
| ---- | ----------- | ---------- |
@@ -123,13 +105,15 @@ The number of lines deleted in a ref (branch) relative to the default branch (tr
123
105
124
106
| Name | Description | Values |
125
107
| ---- | ----------- | ------ |
126
- | repository.name | The name of a VCS repository | Any Str |
127
- | ref.name | The name of a VCS branch | Any Str |
128
- | ref.type | The type of ref (branch, tag). | Str: ` ` branch` ` , ` ` tag` ` |
108
+ | vcs.repository.url.full | The canonical URL of the repository providing the complete HTTPS address. | Any Str |
109
+ | vcs.repository.name | The name of the VCS repository. | Any Str |
110
+ | vcs.ref.head.name | The name of the VCS head reference (branch). | Any Str |
111
+ | vcs.ref.head.type | The type of the head reference (branch, tag). | Str: ` ` branch` ` , ` ` tag` ` |
112
+ | vcs.line_change.type | The type of line change being measured on a ref (branch). | Str: ` ` added` ` , ` ` removed` ` |
129
113
130
- ### vcs.repository. ref.revisions_ahead
114
+ ### vcs.ref.revisions_delta
131
115
132
- The number of revisions (commits) a ref (branch) is ahead of the default branch ( trunk).
116
+ The number of revisions (commits) a ref (branch) is ahead/behind the branch from trunk (default ).
133
117
134
118
| Unit | Metric Type | Value Type |
135
119
| ---- | ----------- | ---------- |
@@ -139,41 +123,36 @@ The number of revisions (commits) a ref (branch) is ahead of the default branch
139
123
140
124
| Name | Description | Values |
141
125
| ---- | ----------- | ------ |
142
- | repository.name | The name of a VCS repository | Any Str |
143
- | ref.name | The name of a VCS branch | Any Str |
144
- | ref.type | The type of ref (branch, tag). | Str: ` ` branch` ` , ` ` tag` ` |
126
+ | vcs.repository.url.full | The canonical URL of the repository providing the complete HTTPS address. | Any Str |
127
+ | vcs.repository.name | The name of the VCS repository. | Any Str |
128
+ | vcs.ref.head.name | The name of the VCS head reference (branch). | Any Str |
129
+ | vcs.ref.head.type | The type of the head reference (branch, tag). | Str: ` ` branch` ` , ` ` tag` ` |
130
+ | vcs.revision_delta.direction | The type of revision comparison. | Str: ` ` ahead` ` , ` ` behind` ` |
145
131
146
- ### vcs.repository. ref.revisions_behind
132
+ ### vcs.ref.time
147
133
148
- The number of revisions (commits) a ref (branch) is behind the default branch (trunk).
134
+ Time a ref (branch) created from the default branch (trunk) has existed. The ` vcs.ref.head.type` attribute will always be `branch` .
149
135
150
136
| Unit | Metric Type | Value Type |
151
137
| ---- | ----------- | ---------- |
152
- | {revision} | Gauge | Int |
138
+ | s | Gauge | Int |
153
139
154
140
# ### Attributes
155
141
156
142
| Name | Description | Values |
157
143
| ---- | ----------- | ------ |
158
- | repository.name | The name of a VCS repository | Any Str |
159
- | ref.name | The name of a VCS branch | Any Str |
160
- | ref.type | The type of ref (branch, tag). | Str: ` ` branch` ` , ` ` tag` ` |
144
+ | vcs.repository.url.full | The canonical URL of the repository providing the complete HTTPS address. | Any Str |
145
+ | vcs.repository.name | The name of the VCS repository. | Any Str |
146
+ | vcs.ref.head.name | The name of the VCS head reference (branch). | Any Str |
147
+ | vcs.ref.head.type | The type of the head reference (branch, tag). | Str : ` ` branch``, ``tag`` |
161
148
162
- ### vcs.repository.ref.time
149
+ # ## vcs.repository.count
163
150
164
- Time a ref (branch) created from the default branch (trunk) has existed. The ` ref.type` attribute will always be `branch` .
151
+ The number of repositories in an organization .
165
152
166
153
| Unit | Metric Type | Value Type |
167
154
| ---- | ----------- | ---------- |
168
- | s | Gauge | Int |
169
-
170
- # ### Attributes
171
-
172
- | Name | Description | Values |
173
- | ---- | ----------- | ------ |
174
- | repository.name | The name of a VCS repository | Any Str |
175
- | ref.name | The name of a VCS branch | Any Str |
176
- | ref.type | The type of ref (branch, tag). | Str : ` ` branch``, ``tag`` |
155
+ | {repository} | Gauge | Int |
177
156
178
157
# # Optional Metrics
179
158
@@ -185,7 +164,7 @@ metrics:
185
164
enabled: true
186
165
` ` `
187
166
188
- # ## vcs.repository. contributor.count
167
+ # ## vcs.contributor.count
189
168
190
169
The number of unique contributors to a repository.
191
170
@@ -197,7 +176,8 @@ The number of unique contributors to a repository.
197
176
198
177
| Name | Description | Values |
199
178
| ---- | ----------- | ------ |
200
- | repository.name | The name of a VCS repository | Any Str |
179
+ | vcs.repository.url.full | The canonical URL of the repository providing the complete HTTPS address. | Any Str |
180
+ | vcs.repository.name | The name of the VCS repository. | Any Str |
201
181
202
182
# # Resource Attributes
203
183
0 commit comments