]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/prometheus/templates/default/apache.erb
Increase alert threshold for interface transmit/receive alerts
[chef.git] / cookbooks / prometheus / templates / default / apache.erb
index edc1647af906fcbe20de0ea7e498bb82cf6338ae..1dead4474328dd5ffcdf57e03c8af18ae9327aa4 100644 (file)
        ProxyPass /prometheus http://localhost:9090/prometheus
        Redirect 403 /alertmanager/api
        ProxyPass /alertmanager http://localhost:9093/alertmanager
+       ProxyPass /karma http://localhost:8081/karma
+       ProxyPass /api/live/ws ws://localhost:3000/api/live/ws
        ProxyPass / http://localhost:3000/
        ProxyPreserveHost on
 
        <Location /alertmanager>
 <% @admin_hosts.each do |host| -%>
                Require ip <%= host %>
+<% end -%>
+       </Location>
+
+       <Location /karma>
+<% @admin_hosts.each do |host| -%>
+               Require ip <%= host %>
 <% end -%>
        </Location>
 </VirtualHost>