|
38 | 38 | // server_type aims to differentiate the readonly server and the readwrite server.
|
39 | 39 | // long_running marks whether the request is long-running or not.
|
40 | 40 | // Currently, long-running requests include exec/attach/portforward/debug.
|
41 |
| - []string{"method", "path", "host", "server_type", "long_running"}, |
| 41 | + []string{"method", "path", "server_type", "long_running"}, |
42 | 42 | )
|
43 | 43 | // HTTPRequestsDuration tracks the duration in seconds to serve http requests.
|
44 | 44 | HTTPRequestsDuration = prometheus.NewHistogramVec(
|
|
49 | 49 | // Use DefBuckets for now, will customize the buckets if necessary.
|
50 | 50 | Buckets: prometheus.DefBuckets,
|
51 | 51 | },
|
52 |
| - []string{"method", "path", "host", "server_type", "long_running"}, |
| 52 | + []string{"method", "path", "server_type", "long_running"}, |
53 | 53 | )
|
54 | 54 | // HTTPInflightRequests tracks the number of the inflight http requests.
|
55 | 55 | HTTPInflightRequests = prometheus.NewGaugeVec(
|
|
58 | 58 | Name: "http_inflight_requests",
|
59 | 59 | Help: "Number of the inflight http requests",
|
60 | 60 | },
|
61 |
| - []string{"method", "path", "host", "server_type", "long_running"}, |
| 61 | + []string{"method", "path", "server_type", "long_running"}, |
62 | 62 | )
|
63 | 63 | )
|
64 | 64 |
|
|
0 commit comments