Skip to content

Commit 6b55662

Browse files
committed
internal stats endpoint
Signed-off-by: hwassman <[email protected]>
1 parent 63559cd commit 6b55662

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

source/zimonGrafanaIntf.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -342,12 +342,7 @@ def main(argv):
342342
}
343343
)
344344
registered_apps.append("Prometheus Exporter Api listening on Prometheus requests")
345-
cherrypy.tree.mount(StatsPage(), '/cherrypy_internal_stats',
346-
{'/':
347-
{'request.dispatch': cherrypy.dispatch.MethodDispatcher()}
348-
}
349-
)
350-
345+
cherrypy.tree.mount(StatsPage(), '/cherrypy_internal_stats')
351346
logger.info("%s", MSG['sysStart'].format(sys.version, cherrypy.__version__))
352347

353348
try:

0 commit comments

Comments
 (0)