1
1
mirror of https://gitlab.archlinux.org/archlinux/infrastructure.git synced 2025-01-07 04:24:10 +01:00
infrastructure/roles/loki/files
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
..
loki-override.conf roles/loki: Install custom OOM configuration 2021-09-27 18:30:49 +02:00
loki.yaml loki/prometheus: Add plumbing for using loki recording rules[1] 2024-12-22 15:07:54 +01:00
rules.yaml loki/nginx: Add recording rule for tracking upstream cache status[1] 2024-12-22 15:30:40 +01:00