Promote cronjob_job_creation_skew metric to stable

This commit is contained in:
Maciej Szulik 2022-10-12 15:33:41 +02:00
parent ee0b179a7b
commit 4af97e599a
No known key found for this signature in database
GPG Key ID: F15E55D276FA84C4
2 changed files with 19 additions and 2 deletions

View File

@ -29,9 +29,9 @@ var (
CronJobCreationSkew = metrics.NewHistogram(
&metrics.HistogramOpts{
Subsystem: CronJobControllerSubsystem,
Name: "cronjob_job_creation_skew_duration_seconds",
Name: "job_creation_skew_duration_seconds",
Help: "Time between when a cronjob is scheduled to be run, and when the corresponding job is created",
StabilityLevel: metrics.ALPHA,
StabilityLevel: metrics.STABLE,
Buckets: metrics.ExponentialBuckets(1, 2, 10),
},
)

View File

@ -1,3 +1,20 @@
- name: job_creation_skew_duration_seconds
subsystem: cronjob_controller
help: Time between when a cronjob is scheduled to be run, and when the corresponding
job is created
type: Histogram
stabilityLevel: STABLE
buckets:
- 1
- 2
- 4
- 8
- 16
- 32
- 64
- 128
- 256
- 512
- name: evictions_total
subsystem: node_collector
help: Number of Node evictions that happened since current instance of NodeController