Skip to content
Snippets Groups Projects
Forked from Arch Linux / aurweb
249 commits behind, 1 commit ahead of the upstream repository.
Kevin Morris's avatar
Kevin Morris authored
This commit provides custom metrics, so we can group requests
into their route paths and not by the arguments given, e.g.
/pkgbase/some-package -> /pkgbase/{name}. We also count RPC
requests as `http_api_requests_total`, split by the RPC
query "type" argument.

- `http_api_requests_total`
    - Labels: ["type", "status"]
- `http_requests_total`
    - Number of HTTP requests in total.
    - Labels: ["method", "path", "status"]

Signed-off-by: Kevin Morris's avatarKevin Morris <kevr@0cost.org>
f21765bf
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Name Last commit Last update
..
starlette_exporter