Add Prometheus endpoint (#3456)
authorAndrew Fields <andy@andybug.com>
Wed, 5 Jul 2023 11:25:19 +0000 (06:25 -0500)
committerGitHub <noreply@github.com>
Wed, 5 Jul 2023 11:25:19 +0000 (13:25 +0200)
commit1e99e8b9dc48b23fca3b1801c66f30cf17766825
treeadb64a52c990355776ae9880dd79cd409ddc06c6
parent657c2e37c0aa3ff634a10c92abd51f0da0f7dcbf
Add Prometheus endpoint (#3456)

Add a server for serving Prometheus metrics. Include a configuration
block in the config file. Provide HTTP metrics on the API, along with
process-level metrics and DB pool metrics.
Cargo.lock
Cargo.toml
config/defaults.hjson
crates/utils/src/settings/structs.rs
docker/Dockerfile
docker/docker-compose.yml
src/lib.rs
src/prometheus_metrics.rs [new file with mode: 0644]