Hook matrix-homeserver-proxy to matrix-prometheus-nginxlog-exporter

This commit is contained in:
Slavi Pantaleev
2024-01-13 16:51:09 +02:00
parent 262caf0d59
commit e2157517af
3 changed files with 12 additions and 5 deletions

View File

@ -47,7 +47,7 @@ http {
'$status "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log syslog:server={{ matrix_homeserver_proxy_access_log_syslog_integration_server_port }},tag=matrix_nginx_proxy_companion prometheus_fmt;
access_log syslog:server={{ matrix_homeserver_proxy_access_log_syslog_integration_server_port }},tag={{ matrix_homeserver_proxy_access_log_syslog_integration_tag }} prometheus_fmt;
{% endif %}
{% if not matrix_homeserver_proxy_access_log_enabled and not matrix_homeserver_proxy_access_log_syslog_integration_enabled %}