Skip to content

Commit d526a7d

Browse files
committed
missing config for endpoint
Signed-off-by: hwassman <[email protected]>
1 parent 2df075b commit d526a7d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

source/zimonGrafanaIntf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,11 @@ def main(argv):
321321
}
322322
)
323323
registered_apps.append("Prometheus Exporter Api listening on Prometheus requests")
324-
cherrypy.tree.mount(StatsPage(), '/cherrypy_internal_stats')
324+
cherrypy.tree.mount(StatsPage(), '/cherrypy_internal_stats',
325+
{'/':
326+
{'request.dispatch': cherrypy.dispatch.MethodDispatcher()}
327+
}
328+
)
325329

326330
logger.info("%s", MSG['sysStart'].format(sys.version, cherrypy.__version__))
327331

0 commit comments

Comments
 (0)