@@ -16,59 +16,74 @@ Traefik Proxy hosts an official Grafana dashboard for both [on-premises](https:/
16
16
17
17
## Global Metrics
18
18
19
- | Metric | Type | Description |
20
- | ---------------------------------------------| ---------| ---------------------------------------------------------|
21
- | Config reload total | Count | The total count of configuration reloads. |
22
- | Config reload last success | Gauge | The timestamp of the last configuration reload success. |
23
- | TLS certificates not after | Gauge | The expiration date of certificates. |
19
+ | Metric | Type | [ Labels] ( #labels ) | Description |
20
+ | ----------------------------| -------| --------------------------| --------------------------------------------------------------------|
21
+ | Config reload total | Count | | The total count of configuration reloads. |
22
+ | Config reload last success | Gauge | | The timestamp of the last configuration reload success. |
23
+ | Open connections | Gauge | ` entrypoint ` , ` protocol ` | The current count of open connections, by entrypoint and protocol. |
24
+ | TLS certificates not after | Gauge | | The expiration date of certificates. |
24
25
25
26
``` prom tab="Prometheus"
26
27
traefik_config_reloads_total
27
28
traefik_config_last_reload_success
29
+ traefik_open_connections
28
30
traefik_tls_certs_not_after
29
31
```
30
32
31
33
``` dd tab="Datadog"
32
34
config.reload.total
33
35
config.reload.lastSuccessTimestamp
36
+ open.connections
34
37
tls.certs.notAfterTimestamp
35
38
```
36
39
37
40
``` influxdb tab="InfluxDB2"
38
41
traefik.config.reload.total
39
42
traefik.config.reload.lastSuccessTimestamp
43
+ traefik.open.connections
40
44
traefik.tls.certs.notAfterTimestamp
41
45
```
42
46
43
47
``` statsd tab="StatsD"
44
48
# Default prefix: "traefik"
45
49
{prefix}.config.reload.total
46
50
{prefix}.config.reload.lastSuccessTimestamp
51
+ {prefix}.open.connections
47
52
{prefix}.tls.certs.notAfterTimestamp
48
53
```
49
54
50
55
``` opentelemetry tab="OpenTelemetry"
51
56
traefik_config_reloads_total
52
57
traefik_config_last_reload_success
58
+ traefik_open_connections
53
59
traefik_tls_certs_not_after
54
60
```
55
61
56
- ## EntryPoint Metrics
62
+ ### Labels
63
+
64
+ Here is a comprehensive list of labels that are provided by the global metrics:
65
+
66
+ | Label | Description | example |
67
+ | ---------------| ----------------------------------------| ----------------------|
68
+ | ` entrypoint ` | Entrypoint that handled the connection | "example_entrypoint" |
69
+ | ` protocol ` | Connection protocol | "TCP" |
70
+
71
+ ## HTTP Metrics
72
+
73
+ ### EntryPoint Metrics
57
74
58
75
| Metric | Type | [ Labels] ( #labels ) | Description |
59
76
| -----------------------| -----------| --------------------------------------------| ---------------------------------------------------------------------|
60
77
| Requests total | Count | ` code ` , ` method ` , ` protocol ` , ` entrypoint ` | The total count of HTTP requests received by an entrypoint. |
61
78
| Requests TLS total | Count | ` tls_version ` , ` tls_cipher ` , ` entrypoint ` | The total count of HTTPS requests received by an entrypoint. |
62
79
| Request duration | Histogram | ` code ` , ` method ` , ` protocol ` , ` entrypoint ` | Request processing duration histogram on an entrypoint. |
63
- | Open connections | Count | ` method ` , ` protocol ` , ` entrypoint ` | The current count of open connections on an entrypoint. |
64
80
| Requests bytes total | Count | ` code ` , ` method ` , ` protocol ` , ` entrypoint ` | The total size of HTTP requests in bytes handled by an entrypoint. |
65
81
| Responses bytes total | Count | ` code ` , ` method ` , ` protocol ` , ` entrypoint ` | The total size of HTTP responses in bytes handled by an entrypoint. |
66
82
67
83
``` prom tab="Prometheus"
68
84
traefik_entrypoint_requests_total
69
85
traefik_entrypoint_requests_tls_total
70
86
traefik_entrypoint_request_duration_seconds
71
- traefik_entrypoint_open_connections
72
87
traefik_entrypoint_requests_bytes_total
73
88
traefik_entrypoint_responses_bytes_total
74
89
```
@@ -77,7 +92,6 @@ traefik_entrypoint_responses_bytes_total
77
92
entrypoint.request.total
78
93
entrypoint.request.tls.total
79
94
entrypoint.request.duration
80
- entrypoint.connections.open
81
95
entrypoint.requests.bytes.total
82
96
entrypoint.responses.bytes.total
83
97
```
@@ -86,7 +100,6 @@ entrypoint.responses.bytes.total
86
100
traefik.entrypoint.requests.total
87
101
traefik.entrypoint.requests.tls.total
88
102
traefik.entrypoint.request.duration
89
- traefik.entrypoint.connections.open
90
103
traefik.entrypoint.requests.bytes.total
91
104
traefik.entrypoint.responses.bytes.total
92
105
```
@@ -96,7 +109,6 @@ traefik.entrypoint.responses.bytes.total
96
109
{prefix}.entrypoint.request.total
97
110
{prefix}.entrypoint.request.tls.total
98
111
{prefix}.entrypoint.request.duration
99
- {prefix}.entrypoint.connections.open
100
112
{prefix}.entrypoint.requests.bytes.total
101
113
{prefix}.entrypoint.responses.bytes.total
102
114
```
@@ -110,22 +122,20 @@ traefik_entrypoint_requests_bytes_total
110
122
traefik_entrypoint_responses_bytes_total
111
123
```
112
124
113
- ## Router Metrics
125
+ ### Router Metrics
114
126
115
127
| Metric | Type | [ Labels] ( #labels ) | Description |
116
128
| -----------------------| -----------| ---------------------------------------------------| ----------------------------------------------------------------|
117
129
| Requests total | Count | ` code ` , ` method ` , ` protocol ` , ` router ` , ` service ` | The total count of HTTP requests handled by a router. |
118
130
| Requests TLS total | Count | ` tls_version ` , ` tls_cipher ` , ` router ` , ` service ` | The total count of HTTPS requests handled by a router. |
119
131
| Request duration | Histogram | ` code ` , ` method ` , ` protocol ` , ` router ` , ` service ` | Request processing duration histogram on a router. |
120
- | Open connections | Count | ` method ` , ` protocol ` , ` router ` , ` service ` | The current count of open connections on a router. |
121
132
| Requests bytes total | Count | ` code ` , ` method ` , ` protocol ` , ` router ` , ` service ` | The total size of HTTP requests in bytes handled by a router. |
122
133
| Responses bytes total | Count | ` code ` , ` method ` , ` protocol ` , ` router ` , ` service ` | The total size of HTTP responses in bytes handled by a router. |
123
134
124
135
``` prom tab="Prometheus"
125
136
traefik_router_requests_total
126
137
traefik_router_requests_tls_total
127
138
traefik_router_request_duration_seconds
128
- traefik_router_open_connections
129
139
traefik_router_requests_bytes_total
130
140
traefik_router_responses_bytes_total
131
141
```
@@ -134,7 +144,6 @@ traefik_router_responses_bytes_total
134
144
router.request.total
135
145
router.request.tls.total
136
146
router.request.duration
137
- router.connections.open
138
147
router.requests.bytes.total
139
148
router.responses.bytes.total
140
149
```
@@ -143,7 +152,6 @@ router.responses.bytes.total
143
152
traefik.router.requests.total
144
153
traefik.router.requests.tls.total
145
154
traefik.router.request.duration
146
- traefik.router.connections.open
147
155
traefik.router.requests.bytes.total
148
156
traefik.router.responses.bytes.total
149
157
```
@@ -153,7 +161,6 @@ traefik.router.responses.bytes.total
153
161
{prefix}.router.request.total
154
162
{prefix}.router.request.tls.total
155
163
{prefix}.router.request.duration
156
- {prefix}.router.connections.open
157
164
{prefix}.router.requests.bytes.total
158
165
{prefix}.router.responses.bytes.total
159
166
```
@@ -167,14 +174,13 @@ traefik_router_requests_bytes_total
167
174
traefik_router_responses_bytes_total
168
175
```
169
176
170
- ## Service Metrics
177
+ ### Service Metrics
171
178
172
179
| Metric | Type | Labels | Description |
173
180
| -----------------------| -----------| -----------------------------------------| -------------------------------------------------------------|
174
181
| Requests total | Count | ` code ` , ` method ` , ` protocol ` , ` service ` | The total count of HTTP requests processed on a service. |
175
182
| Requests TLS total | Count | ` tls_version ` , ` tls_cipher ` , ` service ` | The total count of HTTPS requests processed on a service. |
176
183
| Request duration | Histogram | ` code ` , ` method ` , ` protocol ` , ` service ` | Request processing duration histogram on a service. |
177
- | Open connections | Count | ` method ` , ` protocol ` , ` service ` | The current count of open connections on a service. |
178
184
| Retries total | Count | ` service ` | The count of requests retries on a service. |
179
185
| Server UP | Gauge | ` service ` , ` url ` | Current service's server status, 0 for a down or 1 for up. |
180
186
| Requests bytes total | Count | ` code ` , ` method ` , ` protocol ` , ` service ` | The total size of requests in bytes received by a service. |
@@ -184,7 +190,6 @@ traefik_router_responses_bytes_total
184
190
traefik_service_requests_total
185
191
traefik_service_requests_tls_total
186
192
traefik_service_request_duration_seconds
187
- traefik_service_open_connections
188
193
traefik_service_retries_total
189
194
traefik_service_server_up
190
195
traefik_service_requests_bytes_total
@@ -195,7 +200,6 @@ traefik_service_responses_bytes_total
195
200
service.request.total
196
201
router.service.tls.total
197
202
service.request.duration
198
- service.connections.open
199
203
service.retries.total
200
204
service.server.up
201
205
service.requests.bytes.total
@@ -206,7 +210,6 @@ service.responses.bytes.total
206
210
traefik.service.requests.total
207
211
traefik.service.requests.tls.total
208
212
traefik.service.request.duration
209
- traefik.service.connections.open
210
213
traefik.service.retries.total
211
214
traefik.service.server.up
212
215
traefik.service.requests.bytes.total
@@ -218,7 +221,6 @@ traefik.service.responses.bytes.total
218
221
{prefix}.service.request.total
219
222
{prefix}.service.request.tls.total
220
223
{prefix}.service.request.duration
221
- {prefix}.service.connections.open
222
224
{prefix}.service.retries.total
223
225
{prefix}.service.server.up
224
226
{prefix}.service.requests.bytes.total
@@ -236,7 +238,7 @@ traefik_service_requests_bytes_total
236
238
traefik_service_responses_bytes_total
237
239
```
238
240
239
- ## Labels
241
+ ### Labels
240
242
241
243
Here is a comprehensive list of labels that are provided by the metrics:
242
244
0 commit comments