Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add telemetry and Prometheus endpoint (informalsystems#985)
* Initial telemetry support implementation (informalsystems#868) * Refactored code for state and service. Replaced hyper with rouille (informalsystems#868) * Initial logic to include the telemetry in the Supervisor (informalsystems#868) * Refactored logic into server and service. Server working (informalsystems#868) * Added new methods for state and server (informalsystems#868) * Telemetry service logic working, recording a metric (informalsystems#868) * Added more metrics (informalsystems#868) * Added logic to disable/enable telemetry service and server (informalsystems#868) * Added more metrics to service. Hookup the packet timeout metric (informalsystems#868) * Move telemetry service into `ibc-telemetry` crate * Move `metric!` macro into its own module * Move telemetry config under `[telemetry]` section * Disable telemetry by default, fix port to 3001 * Try to fix libm.so error * Wrap telemetry state in Arc and simplify server a little * Simplify server a bit more * Fix glibc version mismatch between CI and Docker image * Push telemetry handle down into workers * Implement `workers`, `ibc_client_misbehaviours` and `receive_packets` metrics * Add `ibc_client_update` metric * Remove need for telemetry service by passing around the telemetry state * Add ack and timeout metrics * Fix compilation when telemetry feature is not included * FMT * Rename metric! macro to telemetry! * Add `clippy --no-default-features` to CI Co-authored-by: Andy Nogueira <me@andynogueira.dev> Co-authored-by: Romain Ruetschi <romain@informal.systems> Co-authored-by: Anca Zamfir <zamfiranca@gmail.com> Co-authored-by: Adi Seredinschi <adi@informal.systems>
- Loading branch information