mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-22 09:32:41 +00:00
feat: add support for log aggregators
This commit is contained in:
@@ -5,9 +5,10 @@ map $status $omitOKs {
|
||||
|
||||
server {
|
||||
listen 8080;
|
||||
access_log /dev/stdout combined if=$omitOKs;
|
||||
error_log stderr;
|
||||
access_log /dev/stdout {{{ logFormat }}} if=$omitOKs;
|
||||
location /metrics {
|
||||
vhost_traffic_status_display;
|
||||
vhost_traffic_status_display_format prometheus;
|
||||
vhost_traffic_status_display;
|
||||
vhost_traffic_status_display_format prometheus;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user