You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
a metrics layer for automatically timing/capturing spans with counts/histograms. This is great and well integrated with tracing's instrumentation capabilities.
# Description
This PR adds the following features:
- [x] Add system metrics
- [x] Add process metrics
- [x] Add network metrics
- [x] Add load average metric
- [x] Add database size metric
- [x] Add OS and kernel log entry
- [x] Add Prometheus exporter with endpoint for scraping
- [x] Move integration test utils into a separate module
- [x] Break Homestar process kills into *nix and windows functions
- [x] Switch from `serial` to `file_serial` in integration tests
- [x] Add `taplo` to pre-commit config and nix flake
## Link to issue
Implements #184
## Type of change
- [x] New feature (non-breaking change that adds functionality)
- [x] Refactor
## Test plan (required)
We have an integration test in `homestar-runtime/tests/metrics.rs`.
---------
Co-authored-by: Zeeshan Lakhani <zeeshan.lakhani@gmail.com>
Summary
Need to capture metrics, via metrics-rs across the Homestar runtime, including libp2p metrics, workflows, etc.
This work will be iterative, but captures the larger issue/work at hand.
Description
Though geared to
axum
, our (fission) rust-template contains a lot of the necessary pieces already:Components
ETA: 2023-12-20
The text was updated successfully, but these errors were encountered: