An open-source explorer developed for the Bitcoin community, focusing on the emerging transaction fee market to help our transition into a multi-layer ecosystem.
This PR adds support of exposing performance metrics. Specifically, it adds:
New config variable "PROMETHEUS_PORT" with default value 7999. This port will be used to expose metrics in prometheus format to HTTP clients/collectors;
dependency on prometheus-client, wait-middleware-prometeus, prometheus-proc and prometeus-metrics-ghc;
exposes aggregated durations and counts of API calls, cache insertion/lookup, DB BlockHeader lookup/insertion;
exposes runtime system metrics (mostly garbage-collector related);
This PR adds support of exposing performance metrics. Specifically, it adds: