Skip to content

Commit

Permalink
Prometheus metrics (#174)
Browse files Browse the repository at this point in the history
* Update jsonrpsee

* Add prometheus metrics

* Add prometheus to config

* Revert one unwanted change

* clippy

* Update clippy in test & fix warnings

* fix ci

* Apply suggestions from code review

Co-authored-by: Xiliang Chen <xlchen1291@gmail.com>

* More explicit expect

---------

Co-authored-by: Xiliang Chen <xlchen1291@gmail.com>
  • Loading branch information
kostekIV and xlc authored May 16, 2024
1 parent 95efb2c commit 8e8247c
Show file tree
Hide file tree
Showing 21 changed files with 568 additions and 112 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
- name: Install toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: nightly-2023-09-29
toolchain: nightly-2024-02-09
components: rustfmt, clippy
- uses: actions/checkout@v3
with:
submodules: recursive
- name: Check format
run: cargo +nightly-2023-09-29 fmt --all -- --check
run: cargo +nightly-2024-02-09 fmt --all -- --check
- name: Check clippy
run: cargo +nightly-2023-09-29 clippy --all-targets --all-features -- -D warnings
run: cargo +nightly-2024-02-09 clippy --all-targets --all-features -- -D warnings
- name: Build
run: cargo build --verbose
- name: Run tests
Expand Down
Loading

0 comments on commit 8e8247c

Please sign in to comment.