@@ -331,22 +331,15 @@ PriorityLevelConfigurations.
331
331
332
332
### Metrics
333
333
334
- {{< note >}}
335
- In versions of Kubernetes before v1.20, the labels ` flow_schema ` and
336
- ` priority_level ` were inconsistently named ` flowSchema ` and ` priorityLevel ` ,
337
- respectively. If you're running Kubernetes versions v1.19 and earlier, you
338
- should refer to the documentation for your version.
339
- {{< /note >}}
340
-
341
334
When you enable the API Priority and Fairness feature, the kube-apiserver
342
335
exports additional metrics. Monitoring these can help you determine whether your
343
336
configuration is inappropriately throttling important traffic, or find
344
337
poorly-behaved workloads that may be harming system health.
345
338
346
339
* ` apiserver_flowcontrol_rejected_requests_total ` is a counter vector
347
340
(cumulative since server start) of requests that were rejected,
348
- broken down by the labels ` flow_schema ` (indicating the one that
349
- matched the request), ` priority_level ` (indicating the one to which
341
+ broken down by the labels ` flowSchema ` (indicating the one that
342
+ matched the request), ` priorityLevel ` (indicating the one to which
350
343
the request was assigned), and ` reason ` . The ` reason ` label will be
351
344
have one of the following values:
352
345
* ` queue-full ` , indicating that too many requests were already
@@ -359,8 +352,8 @@ poorly-behaved workloads that may be harming system health.
359
352
360
353
* ` apiserver_flowcontrol_dispatched_requests_total ` is a counter
361
354
vector (cumulative since server start) of requests that began
362
- executing, broken down by the labels ` flow_schema ` (indicating the
363
- one that matched the request) and ` priority_level ` (indicating the
355
+ executing, broken down by the labels ` flowSchema ` (indicating the
356
+ one that matched the request) and ` priorityLevel ` (indicating the
364
357
one to which the request was assigned).
365
358
366
359
* ` apiserver_current_inqueue_requests ` is a gauge vector of recent
@@ -391,25 +384,25 @@ poorly-behaved workloads that may be harming system health.
391
384
392
385
* ` apiserver_flowcontrol_current_inqueue_requests ` is a gauge vector
393
386
holding the instantaneous number of queued (not executing) requests,
394
- broken down by the labels ` priority_level ` and ` flow_schema ` .
387
+ broken down by the labels ` priorityLevel ` and ` flowSchema ` .
395
388
396
389
* ` apiserver_flowcontrol_current_executing_requests ` is a gauge vector
397
390
holding the instantaneous number of executing (not waiting in a
398
- queue) requests, broken down by the labels ` priority_level ` and
399
- ` flow_schema ` .
391
+ queue) requests, broken down by the labels ` priorityLevel ` and
392
+ ` flowSchema ` .
400
393
401
394
* ` apiserver_flowcontrol_priority_level_request_count_samples ` is a
402
395
histogram vector of observations of the then-current number of
403
396
requests broken down by the labels ` phase ` (which takes on the
404
- values ` waiting ` and ` executing ` ) and ` priority_level ` . Each
397
+ values ` waiting ` and ` executing ` ) and ` priorityLevel ` . Each
405
398
histogram gets observations taken periodically, up through the last
406
399
activity of the relevant sort. The observations are made at a high
407
400
rate.
408
401
409
402
* ` apiserver_flowcontrol_priority_level_request_count_watermarks ` is a
410
403
histogram vector of high or low water marks of the number of
411
404
requests broken down by the labels ` phase ` (which takes on the
412
- values ` waiting ` and ` executing ` ) and ` priority_level ` ; the label
405
+ values ` waiting ` and ` executing ` ) and ` priorityLevel ` ; the label
413
406
` mark ` takes on values ` high ` and ` low ` . The water marks are
414
407
accumulated over windows bounded by the times when an observation
415
408
was added to
@@ -418,7 +411,7 @@ poorly-behaved workloads that may be harming system health.
418
411
419
412
* ` apiserver_flowcontrol_request_queue_length_after_enqueue ` is a
420
413
histogram vector of queue lengths for the queues, broken down by
421
- the labels ` priority_level ` and ` flow_schema ` , as sampled by the
414
+ the labels ` priorityLevel ` and ` flowSchema ` , as sampled by the
422
415
enqueued requests. Each request that gets queued contributes one
423
416
sample to its histogram, reporting the length of the queue just
424
417
after the request was added. Note that this produces different
@@ -435,12 +428,12 @@ poorly-behaved workloads that may be harming system health.
435
428
* ` apiserver_flowcontrol_request_concurrency_limit ` is a gauge vector
436
429
hoding the computed concurrency limit (based on the API server's
437
430
total concurrency limit and PriorityLevelConfigurations' concurrency
438
- shares), broken down by the label ` priority_level ` .
431
+ shares), broken down by the label ` priorityLevel ` .
439
432
440
433
* ` apiserver_flowcontrol_request_wait_duration_seconds ` is a histogram
441
434
vector of how long requests spent queued, broken down by the labels
442
- ` flow_schema ` (indicating which one matched the request),
443
- ` priority_level ` (indicating the one to which the request was
435
+ ` flowSchema ` (indicating which one matched the request),
436
+ ` priorityLevel ` (indicating the one to which the request was
444
437
assigned), and ` execute ` (indicating whether the request started
445
438
executing).
446
439
{{< note >}}
@@ -452,8 +445,8 @@ poorly-behaved workloads that may be harming system health.
452
445
453
446
* ` apiserver_flowcontrol_request_execution_seconds ` is a histogram
454
447
vector of how long requests took to actually execute, broken down by
455
- the labels ` flow_schema ` (indicating which one matched the request)
456
- and ` priority_level ` (indicating the one to which the request was
448
+ the labels ` flowSchema ` (indicating which one matched the request)
449
+ and ` priorityLevel ` (indicating the one to which the request was
457
450
assigned).
458
451
459
452
### Debug endpoints
0 commit comments