mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-11 12:06:57 +00:00
Create configurable metrics (#3975)
This commit is contained in:
@@ -119,6 +119,50 @@ spec:
|
||||
description: Required
|
||||
minimum: 0
|
||||
type: integer
|
||||
metrics:
|
||||
description: MetricsConfig holds configuration parameters for each metric type
|
||||
properties:
|
||||
counters:
|
||||
additionalProperties:
|
||||
description: CounterMetric holds configuration of a single metric of type Counter
|
||||
properties:
|
||||
labels:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
required:
|
||||
- labels
|
||||
type: object
|
||||
type: object
|
||||
gauges:
|
||||
additionalProperties:
|
||||
description: GaugeMetric holds configuration of a single metric of type Gauge
|
||||
properties:
|
||||
labels:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
required:
|
||||
- labels
|
||||
type: object
|
||||
type: object
|
||||
histograms:
|
||||
additionalProperties:
|
||||
description: HistogramMetric holds configuration of a single metric of type Histogram
|
||||
properties:
|
||||
buckets:
|
||||
items:
|
||||
type: number
|
||||
type: array
|
||||
labels:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
required:
|
||||
- labels
|
||||
type: object
|
||||
type: object
|
||||
type: object
|
||||
minRunners:
|
||||
description: Required
|
||||
minimum: 0
|
||||
|
||||
@@ -99,6 +99,50 @@ spec:
|
||||
x-kubernetes-map-type: atomic
|
||||
type: object
|
||||
type: object
|
||||
listenerMetrics:
|
||||
description: MetricsConfig holds configuration parameters for each metric type
|
||||
properties:
|
||||
counters:
|
||||
additionalProperties:
|
||||
description: CounterMetric holds configuration of a single metric of type Counter
|
||||
properties:
|
||||
labels:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
required:
|
||||
- labels
|
||||
type: object
|
||||
type: object
|
||||
gauges:
|
||||
additionalProperties:
|
||||
description: GaugeMetric holds configuration of a single metric of type Gauge
|
||||
properties:
|
||||
labels:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
required:
|
||||
- labels
|
||||
type: object
|
||||
type: object
|
||||
histograms:
|
||||
additionalProperties:
|
||||
description: HistogramMetric holds configuration of a single metric of type Histogram
|
||||
properties:
|
||||
buckets:
|
||||
items:
|
||||
type: number
|
||||
type: array
|
||||
labels:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
required:
|
||||
- labels
|
||||
type: object
|
||||
type: object
|
||||
type: object
|
||||
listenerTemplate:
|
||||
description: PodTemplateSpec describes the data a pod should have when created from a template
|
||||
properties:
|
||||
|
||||
Reference in New Issue
Block a user