23
23
crd_type: "enterprise"
24
24
labelsFromPath:
25
25
name: [ metadata, name ]
26
- namespace: [ metadata, namespace ]
26
+ namespace: [ metadata, namespace ]
27
27
metrics:
28
28
- name: enterprise_created
29
29
help: Unix creation timestamp.
83
83
crd_type: "organization"
84
84
labelsFromPath:
85
85
name: [ metadata, name ]
86
- namespace: [ metadata, namespace ]
86
+ namespace: [ metadata, namespace ]
87
87
metrics:
88
88
- name: org_created
89
89
help: Unix creation timestamp.
@@ -143,7 +143,7 @@ data:
143
143
crd_type: "repository"
144
144
labelsFromPath:
145
145
name: [ metadata, name ]
146
- namespace: [ metadata, namespace ]
146
+ namespace: [ metadata, namespace ]
147
147
metrics:
148
148
- name: repo_created
149
149
help: Unix creation timestamp.
@@ -204,7 +204,7 @@ data:
204
204
crd_type: "pool"
205
205
labelsFromPath:
206
206
name: [ metadata, name ]
207
- namespace: [ metadata, namespace ]
207
+ namespace: [ metadata, namespace ]
208
208
metrics:
209
209
- name: pool_created
210
210
help: Unix creation timestamp.
@@ -221,21 +221,54 @@ data:
221
221
type: Info
222
222
info:
223
223
labelsFromPath:
224
- enabled: [spec, enabled]
225
224
githubRunnerGroup: [spec, githubRunnerGroup]
226
225
scopeKind: [spec, githubScopeRef, kind]
227
226
scopeName: [spec, githubScopeRef, name]
228
227
imageName: [spec, imageName]
229
- maxRunners: [spec, maxRunners]
230
- minIdleRunners: [spec, minIdleRunners]
231
228
osArch: [spec, osArch]
232
229
osType: [spec, osType]
233
230
providerName: [spec, providerName]
234
231
runnerBootstrapTimeout: [spec, runnerBootstrapTimeout]
235
232
runnerPrefix: [spec, runnerPrefix]
236
233
tags: [spec, tags]
237
234
id: [status, id]
238
- longRunningIdleRunners: [status, longRunningIdleRunners]
235
+
236
+ - name: pool_enabled
237
+ help: Whether the pool is enabled.
238
+ each:
239
+ type: Gauge
240
+ gauge:
241
+ nilIsZero: true
242
+ path:
243
+ - spec
244
+ - enabled
245
+
246
+ - name: pool_min_idle_runners
247
+ help: Minimum number of idle runners.
248
+ each:
249
+ type: Gauge
250
+ gauge:
251
+ path:
252
+ - spec
253
+ - minIdleRunners
254
+
255
+ - name: pool_max_runners
256
+ help: Maximum number of runners.
257
+ each:
258
+ type: Gauge
259
+ gauge:
260
+ path:
261
+ - spec
262
+ - maxRunners
263
+
264
+ - name: status_long_running_idle_runners
265
+ help: Number of long running idle runners.
266
+ each:
267
+ type: Gauge
268
+ gauge:
269
+ path:
270
+ - status
271
+ - longRunningIdleRunners
239
272
240
273
- name: pool_annotation_paused_info
241
274
help: Whether the pool reconciliation is paused.
@@ -275,7 +308,7 @@ data:
275
308
crd_type: "image"
276
309
labelsFromPath:
277
310
name: [ metadata, name ]
278
- namespace: [ metadata, namespace ]
311
+ namespace: [ metadata, namespace ]
279
312
metrics:
280
313
- name: image_created
281
314
help: Unix creation timestamp.
0 commit comments