Implement HTTP endpoint for prometheus

configurable via 'prometheus_url' option in the HTTP section
This commit is contained in:
ionutboangiu
2024-07-23 18:18:06 +03:00
committed by Dan Christian Bogos
parent cc25eae687
commit 78e020e2be
13 changed files with 100 additions and 32 deletions

View File

@@ -207,6 +207,7 @@ func startRPC(server *cores.Server, internalRaterChan,
cfg.ListenCfg().HTTPListen,
cfg.HTTPCfg().HTTPJsonRPCURL,
cfg.HTTPCfg().HTTPWSURL,
cfg.HTTPCfg().PrometheusURL,
cfg.HTTPCfg().HTTPUseBasicAuth,
cfg.HTTPCfg().HTTPAuthUsers,
shdChan,