Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@greenhat
Copy link
Member

@greenhat greenhat commented Jun 5, 2023

Close #53 #266

This PR add exporting Prometheus metrics for various oracle and pool states. It unifies metrics served via REST API /poolHealth, /oracleHealth and Prometheus metrics in metrics.rs. Also, Grafana dashboard is added in /scripts/grafana_dashboard.json.

@coveralls
Copy link

coveralls commented Jun 5, 2023

Pull Request Test Coverage Report for Build 5187182820

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 8 of 162 (4.94%) changed or added relevant lines in 9 files are covered.
  • 141 unchanged lines in 6 files lost coverage.
  • Overall coverage decreased (-1.0%) to 57.943%

Changes Missing Coverage Covered Lines Changed/Added Lines %
core/src/oracle_state.rs 0 1 0.0%
core/src/oracle_types.rs 0 8 0.0%
core/src/api.rs 0 14 0.0%
core/src/main.rs 0 14 0.0%
core/src/monitor.rs 0 28 0.0%
core/src/metrics.rs 0 89 0.0%
Files with Coverage Reduction New Missed Lines %
core/src/address_util.rs 3 90.0%
core/src/scans.rs 4 0.0%
core/src/box_kind/oracle_box.rs 6 87.04%
core/src/box_kind/pool_box.rs 6 90.91%
core/src/api.rs 32 0.0%
core/src/main.rs 90 0.0%
Totals Coverage Status
Change from base Build 5153730120: -1.0%
Covered Lines: 2090
Relevant Lines: 3607

💛 - Coveralls

@greenhat greenhat force-pushed the i53-prom-monitoring branch from bcb2605 to 0b9e187 Compare June 5, 2023 13:17
@greenhat greenhat marked this pull request as ready for review June 12, 2023 09:48
@greenhat greenhat merged commit 66ccb9a into develop Jun 12, 2023
@greenhat greenhat deleted the i53-prom-monitoring branch June 12, 2023 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Monitoring the oracle pool

3 participants