|
35 | 35 | 'Time spent processing API server requests',
|
36 | 36 | ['path', 'method', 'status'],
|
37 | 37 | buckets=(0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1.0, 2.5, 5.0, 10.0, 20.0, 30.0,
|
38 |
| - float('inf')), |
| 38 | + 60.0, 120.0, float('inf')), |
39 | 39 | )
|
40 | 40 |
|
41 | 41 | # Time spent processing requests in executor.
|
|
53 | 53 | 'Time spent processing code',
|
54 | 54 | ['name', 'group'],
|
55 | 55 | buckets=(0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1.0, 2.5, 5.0, 10.0, 20.0, 30.0,
|
56 |
| - float('inf')), |
| 56 | + 60.0, 120.0, float('inf')), |
57 | 57 | )
|
58 | 58 |
|
59 | 59 | SKY_APISERVER_EVENT_LOOP_LAG_SECONDS = prom.Histogram(
|
60 | 60 | 'sky_apiserver_event_loop_lag_seconds',
|
61 | 61 | 'Scheduling delay of the server event loop',
|
62 | 62 | ['pid'],
|
63 |
| - buckets=(0.001, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2, 5, |
64 |
| - float('inf')), |
| 63 | + buckets=(0.001, 0.005, 0.01, 0.025, 0.05, 0.1, 0.25, 0.5, 1, 2, 5, 20.0, |
| 64 | + 60.0, float('inf')), |
65 | 65 | )
|
66 | 66 |
|
67 | 67 | metrics_app = fastapi.FastAPI()
|
|
0 commit comments