mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 17:12:43 +00:00
refactor: move proxy to monorepo
This commit is contained in:
14
backend/proxy/fixtures/metrics.template
Normal file
14
backend/proxy/fixtures/metrics.template
Normal file
@@ -0,0 +1,14 @@
|
||||
map $status $omitOKs {
|
||||
default 1;
|
||||
~^[2][0][0] 0;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
error_log stderr;
|
||||
access_log /dev/stdout {{{ logFormat }}} if=$omitOKs;
|
||||
location /metrics {
|
||||
vhost_traffic_status_display;
|
||||
vhost_traffic_status_display_format prometheus;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user