Commit 3b6a66f
committed
chore: add "http.server.requests" metric
This commit adds a new metric to test UTF-8 metrics with Prometheus.
Example
```
$ curl -H "Accept: text/plain;version=1.0.0;escaping=allow-utf-8" localhost:8080/metrics
(following the OpenTelemetry semantic conventions)
{"http.server.requests","http.request.method"="get"} 171
{"http.server.requests","http.request.method"="post"} 167
...
```1 parent df36b8f commit 3b6a66f
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
36 | 42 | | |
37 | 43 | | |
38 | 44 | | |
| |||
47 | 53 | | |
48 | 54 | | |
49 | 55 | | |
| 56 | + | |
50 | 57 | | |
51 | 58 | | |
52 | 59 | | |
53 | 60 | | |
| 61 | + | |
54 | 62 | | |
55 | 63 | | |
56 | 64 | | |
57 | 65 | | |
| 66 | + | |
58 | 67 | | |
59 | 68 | | |
60 | 69 | | |
| |||
0 commit comments