# 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 returns ok with 200 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
Last Updated: 9/23/2021, 1:06:18 PM