enable prometheus middleware in the mruby example
@@ -17,6 +17,11 @@ hosts:
/:
file.dir: examples/doc_root
mruby.handler-file: examples/h2o_mruby/hello.rb
+ /status:
+ - mruby.handler: |
+ require 'prometheus.rb'
+ H2O::Prometheus.new(H2O.next)
+ - status: ON
access-log: /dev/stdout
"alternate.127.0.0.1.xip.io:8081":
listen:
