frostfs-node/pkg/util/http
Leonard Lyubich 8d17dab86e [#493] Refactor serving of prometheus and pprof services
Rename `util/profiler` package to `httputil` and refactor it:

  * simplify utility HTTP server;

  * make more generic server's parameters in order to remove `viper.Viper`
    dependency;

  * use single constructor for creating the pprof and prometheus servers;

  * replace `enabled` config value with empty-check of the network address.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-05-12 10:46:17 +03:00
..
calls.go [#493] Refactor serving of prometheus and pprof services 2021-05-12 10:46:17 +03:00
opts.go [#493] Refactor serving of prometheus and pprof services 2021-05-12 10:46:17 +03:00
pprof.go [#493] Refactor serving of prometheus and pprof services 2021-05-12 10:46:17 +03:00
server.go [#493] Refactor serving of prometheus and pprof services 2021-05-12 10:46:17 +03:00