1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-18 08:06:16 +01:00
infrastructure/roles/loki
Kristian Klausen a0ef2cb7cc
loki/nginx: Add recording rule for tracking upstream cache status[1]
This enables us to calculate the cache hit ratio, which may help
determine whether more caching would be beneficial.

Please note that this only counts requests for which caching is enabled
(e.g. {fastcgi,proxy}_cache is configured), e.g. for static served files
cache_status will be "".

[1] http://nginx.org/en/docs/http/ngx_http_upstream_module.html#var_upstream_cache_status
2024-12-22 15:30:40 +01:00
..
files loki/nginx: Add recording rule for tracking upstream cache status[1] 2024-12-22 15:30:40 +01:00
handlers Capitalize the first letter of all task names 2022-08-23 06:57:13 +03:00
tasks loki/prometheus: Add plumbing for using loki recording rules[1] 2024-12-22 15:07:54 +01:00
templates loki/promtail: Use a bearer token instead of basic auth 2021-07-08 02:58:58 +02:00