add: Publish GHC runtime metrics to Prometheus metrics endpoint
This commit is contained in:
committed by
Wolfgang Walther
parent
c09394517d
commit
85d91e5c0a
@@ -84,6 +84,7 @@ def run(
|
||||
configpath=None,
|
||||
stdin=None,
|
||||
env=None,
|
||||
args=None,
|
||||
port=None,
|
||||
admin_port=None,
|
||||
host=None,
|
||||
@@ -122,6 +123,9 @@ def run(
|
||||
command = [POSTGREST_BIN]
|
||||
env["HPCTIXFILE"] = hpctixfile()
|
||||
|
||||
if args:
|
||||
command.extend(args)
|
||||
|
||||
if configpath:
|
||||
command.append(configpath)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user