mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 10:06:24 +05:00
Implement HTTP endpoint for prometheus
configurable via 'prometheus_url' option in the HTTP section
This commit is contained in:
committed by
Dan Christian Bogos
parent
cc25eae687
commit
78e020e2be
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user