-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# What ❔ Adds support of [the info metric type](https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md#info) and adjacent helpers (e.g., units for labels and `DurationAsSecs` wrapper). ## Why ❔ Info metrics is the idiomatic way to expose information not changed during the program runtime (version / git commit, component configs etc.).
- Loading branch information
Showing
19 changed files
with
658 additions
and
271 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,14 +20,14 @@ jobs: | |
build-msrv: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Rust | ||
uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: ${{ env.msrv }} | ||
- name: Install sccache | ||
uses: mozilla-actions/[email protected].3 | ||
uses: mozilla-actions/[email protected].4 | ||
|
||
- name: Build libraries | ||
run: cargo build --workspace --exclude vise-e2e-tests --lib --all-features | ||
|
@@ -37,15 +37,15 @@ jobs: | |
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Rust | ||
uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: stable | ||
components: rustfmt, clippy, rust-src | ||
- name: Install sccache | ||
uses: mozilla-actions/[email protected].3 | ||
uses: mozilla-actions/[email protected].4 | ||
|
||
- name: Format | ||
run: cargo fmt --all -- --check | ||
|
@@ -69,14 +69,14 @@ jobs: | |
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Rust | ||
uses: dtolnay/rust-toolchain@master | ||
with: | ||
toolchain: ${{ env.nightly }} | ||
- name: Install sccache | ||
uses: mozilla-actions/[email protected].3 | ||
uses: mozilla-actions/[email protected].4 | ||
|
||
- name: Build docs | ||
run: | | ||
|
Oops, something went wrong.