mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 12:07:34 +08:00
retrace: Add /metrics endpoint
Update httpd config to reflect the upstream addition of the /metrics endpoint for Prometheus stats.
This commit is contained in:
@@ -7,6 +7,7 @@ WSGIScriptAliasMatch ^/manager(/.*)?$ /usr/share/retrace-server/manager.wsgi
|
||||
WSGIScriptAliasMatch ^/ftp(/.*)?$ /usr/share/retrace-server/ftp.wsgi
|
||||
WSGIScriptAliasMatch ^/settings$ /usr/share/retrace-server/settings.wsgi
|
||||
WSGIScriptAliasMatch ^/create$ /usr/share/retrace-server/create.wsgi
|
||||
WSGIScriptAliasMatch ^/metrics$ /usr/share/retrace-server/metrics.wsgi
|
||||
WSGIScriptAliasMatch ^/stats$ /usr/share/retrace-server/stats.wsgi
|
||||
WSGIScriptAliasMatch ^/checkpackage$ /usr/share/retrace-server/checkpackage.wsgi
|
||||
WSGIScriptAliasMatch ^/[0-9]+/?$ /usr/share/retrace-server/status.wsgi
|
||||
@@ -31,7 +32,7 @@ WSGIScriptAliasMatch ^/$ /usr/share/retrace-server/index.wsgi
|
||||
</IfModule>
|
||||
</Directory>
|
||||
|
||||
<LocationMatch "^/(manager(/.*)?|ftp|settings|create|stats|checkpackage|[0-9]+(/(log|backtrace|delete|exploitable))?)?$">
|
||||
<LocationMatch "^/(manager(/.*)?|ftp|settings|create|metrics|stats|checkpackage|[0-9]+(/(log|backtrace|delete|exploitable))?)?$">
|
||||
WSGIProcessGroup retrace
|
||||
WSGIApplicationGroup %{GLOBAL}
|
||||
Options -Indexes -FollowSymLinks
|
||||
|
||||
Reference in New Issue
Block a user