import os
import tornado.web
from loadsbroker.webapp.api import RootHandler, RunHandler
from loadsbroker.webapp.views import GrafanaHandler


_GRAFANA = os.path.join(os.path.dirname(__file__), 'grafana')


application = tornado.web.Application([
    (r"/api", RootHandler),
    (r"/api/run/(.*)", RunHandler),
    (r"/dashboards/run/(.*)", GrafanaHandler, {"path": _GRAFANA})
])

@@ -366,14 +366,48 @@
 _GRAFANA
+, %22default_filename%22: %22index.html%22
 %7D)%0A%5D)%0A

Set the `default_filename` for `GrafanaHandler`.