# API
- HCL
- Yaml
api {
address = "127.0.0.1:2000"
serviceAddress = "127.0.0.1:2001"
}
# address
By default: empty (disabled)
If defined, API handler will be run on this address
See API section
# serviceAddress
By default: empty (disabled)
If serviceAddress
is defined, balerter will be listening this address.
/metrics
route for prometheus metrics (see more about metrics)/
and/liveness
you can use for liveness checks. It always returnsok
with200
status code
Also pprof
routes will be run on this address:
- /debug/pprof/profile
- /debug/pprof/trace
- /debug/pprof/heap
- /debug/pprof/goroutine
- /debug/pprof/allocs
← Storages Root items →