Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: merge v3.6.0 #7

Closed
wants to merge 41 commits into from
Closed

chore: merge v3.6.0 #7

wants to merge 41 commits into from

Conversation

krispraws
Copy link

@krispraws krispraws commented Oct 30, 2023

Description

  • Pull in v3.6.0 from upstream to get the syscall latency breakdown feature.
  • Relax clippy rules unwrap_used and expect_used to get over build errors.
  • We need to update the config file to add new required sections from updated config. Otherwise rezolus fails to start up.
Oct 30 22:46:50 ip-10-0-5-76 systemd: Started Rezolus is a systems performance telemetry agent.
Oct 30 22:46:50 ip-10-0-5-76 rezolus: failed to parse config file: TOML parse error at line 1, column 1
Oct 30 22:46:50 ip-10-0-5-76 rezolus: |
Oct 30 22:46:50 ip-10-0-5-76 rezolus: 1 | [general]
Oct 30 22:46:50 ip-10-0-5-76 systemd: rezolus.service: main process exited, code=exited, status=1/FAILURE
Oct 30 22:46:50 ip-10-0-5-76 rezolus: | ^
Oct 30 22:46:50 ip-10-0-5-76 rezolus: missing field `prometheus`
Oct 30 22:46:50 ip-10-0-5-76 systemd: Unit rezolus.service entered failed state.
Oct 30 22:46:50 ip-10-0-5-76 systemd: rezolus.service failed.

Changes pulled in from upstream

Changes from our fork

brayniac and others added 30 commits August 15, 2023 10:49
Begin next development iteration
Updates dependencies to pull-in bugfixes and improvements.
* Make build.rs support cross-compilation

Previously it was using the target_arch _for the build script_ which
does not work when the build script target architecture differs from the
application target architecture. This commit changes the build script to
use the CARGO_CFG_TARGET_ARCH environment variable.

* Modify debian rules to support cross compiling for arm64

* Modify package workflow to cross compile for arm64

* Don't use sudo
Update changelog and prepare for release v3.3.3
Begin next development iteration
Cleanup some commented out lines
…opsystems#65)

* Remove Ubuntu Kinetic from the build matrix

It has reached EOL and the apt repositories for it no longer exist.

* Add job to upload debs as release artifacts
…tems#66)

Use the new percentiles() function on the heatmap type to calculate
multiple percentiles in one function call. This reduces the CPU
overhead for calculating the percentiles.
* Add a custom error type for the systeminfo crate
* Clean up systeminfo crate and add a proper error type
Update changelog and bump version number for release.
Update version number and begin next development iteration.
Updates metriken library to replace heatmaps with histograms which have better runtime performance characteristics and lower memory footprint.
Update changelog and prepare for release
Begin next development iteration
Add a dependabot config for Rezolus.
Adds configuration options that allow for enabling or disabling
of samplers.
Change dependabot config to set the versioning strategy to lockfile
only. This should avoid breaking updates from 0.x -> 0.y for our
dependencies.
Now that we are not providing timestamps to metriken, we can move
to using `std::time` throughout Rezolus.
Bumps [regex-automata](https://github.com/rust-lang/regex) from 0.3.6 to 0.3.9.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](rust-lang/regex@regex-automata-0.3.6...regex-automata-0.3.9)

---
updated-dependencies:
- dependency-name: regex-automata
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [regex-syntax](https://github.com/rust-lang/regex) from 0.7.4 to 0.7.5.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](rust-lang/regex@regex-syntax-0.7.4...regex-syntax-0.7.5)

---
updated-dependencies:
- dependency-name: regex-syntax
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [tracing-core](https://github.com/tokio-rs/tracing) from 0.1.31 to 0.1.32.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](tokio-rs/tracing@tracing-core-0.1.31...tracing-core-0.1.32)

---
updated-dependencies:
- dependency-name: tracing-core
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…stems#85)

Bumps the cargo-dependencies group with 38 updates:

| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap) | `4.3.24` | `4.4.6` |
| [libc](https://github.com/rust-lang/libc) | `0.2.147` | `0.2.149` |
| [linkme](https://github.com/dtolnay/linkme) | `0.3.15` | `0.3.17` |
| [memmap2](https://github.com/RazrFalcon/memmap2-rs) | `0.5.10` | `0.7.1` |
| [serde](https://github.com/serde-rs/serde) | `1.0.188` | `1.0.189` |
| [tokio](https://github.com/tokio-rs/tokio) | `1.32.0` | `1.33.0` |
| [toml](https://github.com/toml-rs/toml) | `0.7.6` | `0.7.8` |
| [perf-event2](https://github.com/Phantomical/perf-event) | `0.7.0` | `0.7.1` |
| [aho-corasick](https://github.com/BurntSushi/aho-corasick) | `1.0.4` | `1.1.2` |
| [anstyle](https://github.com/rust-cli/anstyle) | `1.0.2` | `1.0.4` |
| [anstyle-parse](https://github.com/rust-cli/anstyle) | `0.2.1` | `0.2.2` |
| [byteorder](https://github.com/BurntSushi/byteorder) | `1.4.3` | `1.5.0` |
| [bytes](https://github.com/tokio-rs/bytes) | `1.4.0` | `1.5.0` |
| [c-enum](https://github.com/Phantomical/c-enum) | `0.1.1` | `0.1.2` |
| [cargo-platform](https://github.com/rust-lang/cargo) | `0.1.3` | `0.1.4` |
| [clap_lex](https://github.com/clap-rs/clap) | `0.5.0` | `0.5.1` |
| [deranged](https://github.com/jhpratt/deranged) | `0.3.8` | `0.3.9` |
| [fastrand](https://github.com/smol-rs/fastrand) | `2.0.0` | `2.0.1` |
| [hermit-abi](https://github.com/hermitcore/hermit-rs) | `0.3.2` | `0.3.3` |
| [linux-raw-sys](https://github.com/sunfishcode/linux-raw-sys) | `0.4.5` | `0.4.10` |
| [nix](https://github.com/nix-rust/nix) | `0.26.2` | `0.26.4` |
| [object](https://github.com/gimli-rs/object) | `0.32.0` | `0.32.1` |
| [pin-project-lite](https://github.com/taiki-e/pin-project-lite) | `0.2.12` | `0.2.13` |
| [proc-macro2](https://github.com/dtolnay/proc-macro2) | `1.0.66` | `1.0.69` |
| [regex](https://github.com/rust-lang/regex) | `1.9.3` | `1.10.2` |
| [rustix](https://github.com/bytecodealliance/rustix) | `0.38.8` | `0.38.19` |
| [semver](https://github.com/dtolnay/semver) | `1.0.18` | `1.0.20` |
| [sha1](https://github.com/RustCrypto/hashes) | `0.10.5` | `0.10.6` |
| [smallvec](https://github.com/servo/rust-smallvec) | `1.11.0` | `1.11.1` |
| [thiserror](https://github.com/dtolnay/thiserror) | `1.0.47` | `1.0.49` |
| [time](https://github.com/time-rs/time) | `0.3.27` | `0.3.30` |
| [tokio-util](https://github.com/tokio-rs/tokio) | `0.7.8` | `0.7.9` |
| [tracing](https://github.com/tokio-rs/tracing) | `0.1.37` | `0.1.39` |
| [typenum](https://github.com/paholg/typenum) | `1.16.0` | `1.17.0` |
| [unicode-ident](https://github.com/dtolnay/unicode-ident) | `1.0.11` | `1.0.12` |
| [url](https://github.com/servo/rust-url) | `2.4.0` | `2.4.1` |
| [winapi-util](https://github.com/BurntSushi/winapi-util) | `0.1.5` | `0.1.6` |
| [winnow](https://github.com/winnow-rs/winnow) | `0.5.14` | `0.5.17` |


Updates `clap` from 4.3.24 to 4.4.6
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@v4.3.24...v4.4.6)

Updates `libc` from 0.2.147 to 0.2.149
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](rust-lang/libc@0.2.147...0.2.149)

Updates `linkme` from 0.3.15 to 0.3.17
- [Release notes](https://github.com/dtolnay/linkme/releases)
- [Commits](dtolnay/linkme@0.3.15...0.3.17)

Updates `memmap2` from 0.5.10 to 0.7.1
- [Changelog](https://github.com/RazrFalcon/memmap2-rs/blob/master/CHANGELOG.md)
- [Commits](RazrFalcon/memmap2-rs@v0.5.10...v0.7.1)

Updates `serde` from 1.0.188 to 1.0.189
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.188...v1.0.189)

Updates `tokio` from 1.32.0 to 1.33.0
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-1.32.0...tokio-1.33.0)

Updates `toml` from 0.7.6 to 0.7.8
- [Commits](toml-rs/toml@toml-v0.7.6...toml-v0.7.8)

Updates `perf-event2` from 0.7.0 to 0.7.1
- [Release notes](https://github.com/Phantomical/perf-event/releases)
- [Commits](Phantomical/perf-event@v0.7.0...v0.7.1)

Updates `aho-corasick` from 1.0.4 to 1.1.2
- [Commits](BurntSushi/aho-corasick@1.0.4...1.1.2)

Updates `anstyle` from 1.0.2 to 1.0.4
- [Commits](rust-cli/anstyle@anstyle-wincon-v1.0.2...v1.0.4)

Updates `anstyle-parse` from 0.2.1 to 0.2.2
- [Commits](rust-cli/anstyle@anstyle-parse-v0.2.1...anstyle-parse-v0.2.2)

Updates `byteorder` from 1.4.3 to 1.5.0
- [Changelog](https://github.com/BurntSushi/byteorder/blob/master/CHANGELOG.md)
- [Commits](BurntSushi/byteorder@1.4.3...1.5.0)

Updates `bytes` from 1.4.0 to 1.5.0
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](tokio-rs/bytes@v1.4.0...v1.5.0)

Updates `c-enum` from 0.1.1 to 0.1.2
- [Release notes](https://github.com/Phantomical/c-enum/releases)
- [Changelog](https://github.com/Phantomical/c-enum/blob/main/CHANGELOG.md)
- [Commits](Phantomical/c-enum@v0.1.1...v0.1.2)

Updates `cargo-platform` from 0.1.3 to 0.1.4
- [Changelog](https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/cargo/commits)

Updates `clap_lex` from 0.5.0 to 0.5.1
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](clap-rs/clap@clap_lex-v0.5.0...clap_lex-v0.5.1)

Updates `deranged` from 0.3.8 to 0.3.9
- [Commits](https://github.com/jhpratt/deranged/commits)

Updates `fastrand` from 2.0.0 to 2.0.1
- [Release notes](https://github.com/smol-rs/fastrand/releases)
- [Changelog](https://github.com/smol-rs/fastrand/blob/master/CHANGELOG.md)
- [Commits](smol-rs/fastrand@v2.0.0...v2.0.1)

Updates `hermit-abi` from 0.3.2 to 0.3.3
- [Release notes](https://github.com/hermitcore/hermit-rs/releases)
- [Commits](hermit-os/hermit-rs@hermit-abi-0.3.2...hermit-abi-0.3.3)

Updates `linux-raw-sys` from 0.4.5 to 0.4.10
- [Commits](sunfishcode/linux-raw-sys@v0.4.5...v0.4.10)

Updates `nix` from 0.26.2 to 0.26.4
- [Changelog](https://github.com/nix-rust/nix/blob/v0.26.4/CHANGELOG.md)
- [Commits](nix-rust/nix@v0.26.2...v0.26.4)

Updates `object` from 0.32.0 to 0.32.1
- [Changelog](https://github.com/gimli-rs/object/blob/master/CHANGELOG.md)
- [Commits](gimli-rs/object@0.32.0...0.32.1)

Updates `pin-project-lite` from 0.2.12 to 0.2.13
- [Release notes](https://github.com/taiki-e/pin-project-lite/releases)
- [Changelog](https://github.com/taiki-e/pin-project-lite/blob/main/CHANGELOG.md)
- [Commits](taiki-e/pin-project-lite@v0.2.12...v0.2.13)

Updates `proc-macro2` from 1.0.66 to 1.0.69
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](dtolnay/proc-macro2@1.0.66...1.0.69)

Updates `regex` from 1.9.3 to 1.10.2
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](rust-lang/regex@1.9.3...1.10.2)

Updates `rustix` from 0.38.8 to 0.38.19
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](bytecodealliance/rustix@v0.38.8...v0.38.19)

Updates `semver` from 1.0.18 to 1.0.20
- [Release notes](https://github.com/dtolnay/semver/releases)
- [Commits](dtolnay/semver@1.0.18...1.0.20)

Updates `sha1` from 0.10.5 to 0.10.6
- [Commits](RustCrypto/hashes@sha1-v0.10.5...sha1-v0.10.6)

Updates `smallvec` from 1.11.0 to 1.11.1
- [Release notes](https://github.com/servo/rust-smallvec/releases)
- [Commits](servo/rust-smallvec@v1.11.0...v1.11.1)

Updates `thiserror` from 1.0.47 to 1.0.49
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](dtolnay/thiserror@1.0.47...1.0.49)

Updates `time` from 0.3.27 to 0.3.30
- [Release notes](https://github.com/time-rs/time/releases)
- [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md)
- [Commits](time-rs/time@v0.3.27...v0.3.30)

Updates `tokio-util` from 0.7.8 to 0.7.9
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-util-0.7.8...tokio-util-0.7.9)

Updates `tracing` from 0.1.37 to 0.1.39
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](tokio-rs/tracing@tracing-0.1.37...tracing-0.1.39)

Updates `typenum` from 1.16.0 to 1.17.0
- [Release notes](https://github.com/paholg/typenum/releases)
- [Changelog](https://github.com/paholg/typenum/blob/main/CHANGELOG.md)
- [Commits](paholg/typenum@v1.16.0...v1.17.0)

Updates `unicode-ident` from 1.0.11 to 1.0.12
- [Release notes](https://github.com/dtolnay/unicode-ident/releases)
- [Commits](dtolnay/unicode-ident@1.0.11...1.0.12)

Updates `url` from 2.4.0 to 2.4.1
- [Release notes](https://github.com/servo/rust-url/releases)
- [Commits](servo/rust-url@v2.4.0...v2.4.1)

Updates `winapi-util` from 0.1.5 to 0.1.6
- [Commits](BurntSushi/winapi-util@winapi-util-0.1.5...0.1.6)

Updates `winnow` from 0.5.14 to 0.5.17
- [Changelog](https://github.com/winnow-rs/winnow/blob/main/CHANGELOG.md)
- [Commits](winnow-rs/winnow@v0.5.14...v0.5.17)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: libc
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: linkme
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: memmap2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: toml
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: perf-event2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: aho-corasick
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: anstyle
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: anstyle-parse
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: byteorder
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: bytes
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: c-enum
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: cargo-platform
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: clap_lex
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: deranged
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: fastrand
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: hermit-abi
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: linux-raw-sys
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: nix
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: object
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: pin-project-lite
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: proc-macro2
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: regex
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: rustix
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: semver
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: sha1
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: smallvec
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: thiserror
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: time
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: tokio-util
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: tracing
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: typenum
  dependency-type: indirect
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: unicode-ident
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: url
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: winapi-util
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: winnow
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…stems#88)

Bumps the cargo-dependencies group with 13 updates:

| Package | From | To |
| --- | --- | --- |
| [metriken](https://github.com/pelikan-io/rustcommon) | `0.3.0` | `0.3.1` |
| [memmap2](https://github.com/RazrFalcon/memmap2-rs) | `0.5.10` | `0.9.0` |
| [perf-event2](https://github.com/Phantomical/perf-event) | `0.7.1` | `0.7.2` |
| [ahash](https://github.com/tkaitchuck/ahash) | `0.8.3` | `0.8.4` |
| [cpufeatures](https://github.com/RustCrypto/utils) | `0.2.9` | `0.2.10` |
| [lock_api](https://github.com/Amanieu/parking_lot) | `0.4.10` | `0.4.11` |
| [mio](https://github.com/tokio-rs/mio) | `0.8.8` | `0.8.9` |
| [parking_lot_core](https://github.com/Amanieu/parking_lot) | `0.9.8` | `0.9.9` |
| [perf-event-data](https://github.com/Phantomical/perf-event-data) | `0.1.2` | `0.1.3` |
| [rustix](https://github.com/bytecodealliance/rustix) | `0.38.19` | `0.38.20` |
| [socket2](https://github.com/rust-lang/socket2) | `0.4.9` | `0.4.10` |
| [thiserror](https://github.com/dtolnay/thiserror) | `1.0.49` | `1.0.50` |
| [tracing](https://github.com/tokio-rs/tracing) | `0.1.39` | `0.1.40` |


Updates `metriken` from 0.3.0 to 0.3.1
- [Commits](https://github.com/pelikan-io/rustcommon/commits)

Updates `memmap2` from 0.5.10 to 0.9.0
- [Changelog](https://github.com/RazrFalcon/memmap2-rs/blob/master/CHANGELOG.md)
- [Commits](RazrFalcon/memmap2-rs@v0.5.10...v0.9.0)

Updates `perf-event2` from 0.7.1 to 0.7.2
- [Release notes](https://github.com/Phantomical/perf-event/releases)
- [Commits](Phantomical/perf-event@v0.7.1...v0.7.2)

Updates `ahash` from 0.8.3 to 0.8.4
- [Release notes](https://github.com/tkaitchuck/ahash/releases)
- [Commits](https://github.com/tkaitchuck/ahash/commits)

Updates `cpufeatures` from 0.2.9 to 0.2.10
- [Commits](RustCrypto/utils@cpufeatures-v0.2.9...cpufeatures-v0.2.10)

Updates `lock_api` from 0.4.10 to 0.4.11
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md)
- [Commits](Amanieu/parking_lot@lock_api-0.4.10...lock_api-0.4.11)

Updates `mio` from 0.8.8 to 0.8.9
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](tokio-rs/mio@v0.8.8...v0.8.9)

Updates `parking_lot_core` from 0.9.8 to 0.9.9
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md)
- [Commits](Amanieu/parking_lot@core-0.9.8...core-0.9.9)

Updates `perf-event-data` from 0.1.2 to 0.1.3
- [Release notes](https://github.com/Phantomical/perf-event-data/releases)
- [Changelog](https://github.com/Phantomical/perf-event-data/blob/master/CHANGELOG.md)
- [Commits](Phantomical/perf-event-data@v0.1.2...v0.1.3)

Updates `rustix` from 0.38.19 to 0.38.20
- [Release notes](https://github.com/bytecodealliance/rustix/releases)
- [Commits](bytecodealliance/rustix@v0.38.19...v0.38.20)

Updates `socket2` from 0.4.9 to 0.4.10
- [Release notes](https://github.com/rust-lang/socket2/releases)
- [Changelog](https://github.com/rust-lang/socket2/blob/master/CHANGELOG.md)
- [Commits](rust-lang/socket2@v0.4.9...v0.4.10)

Updates `thiserror` from 1.0.49 to 1.0.50
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](dtolnay/thiserror@1.0.49...1.0.50)

Updates `tracing` from 0.1.39 to 0.1.40
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](tokio-rs/tracing@tracing-0.1.39...tracing-0.1.40)

---
updated-dependencies:
- dependency-name: metriken
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: memmap2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: cargo-dependencies
- dependency-name: perf-event2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: ahash
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: cpufeatures
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: lock_api
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: mio
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: parking_lot_core
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: perf-event-data
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: rustix
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: socket2
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: thiserror
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
- dependency-name: tracing
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: cargo-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
brayniac and others added 9 commits October 24, 2023 14:11
…stems#89)

Adjusts the TCP connection state sampler to use a 1s interval
instead of the global default. This reduces the CPU utilization of
Rezolus when running with the example config.

On an idle AMD 3970X 32-Core/64-Thread Processor running Debian 12.2 kernel 6.1.0-10-amd64 this drops CPU utilization for Rezolus over a 30s window from 0.466 cores to 0.114 cores.

Much smaller reductions were observed on other test systems.
Adds sampling of the resource utilization of Rezolus itself.
The length check of the mmap'd histogram buckets used the exact
number of buckets in the histogram. This number needs to be rounded
up to match the next full page size.

Instead of using the `HISTOGRAM_BUCKETS` const, we use the
`HISTOGRAM_PAGES` and `PAGE_SIZE` to validate the length of the
mmap'd buckets.

This results in the fast path being used.
…ems#91)

* feat(sampler): change CPU features from a string to an array

Currently, systeminfo stores the CPU features as a giant string.
Semantically, though they are an array of strings and it would be more
useful to have the data representation reflect that.

* Use a HashSet instead of a Vec
Adds optional exposition of the full distribution of each histogram to the prometheus endpoint (/metrics) with configurable downsampling of the histogram.

This enables aggregation and display of the raw histogram bucket data.

This feature defaults to disabled due to the large number of additional timeseries.
Add latency distributions for each syscall family so we can better
understand the latencies for common syscalls for a given workload.
Updates the changelog and increments version number for release.
Copy link

@mjindalmotiv8 mjindalmotiv8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let’s make sure to block in cacheservice so that we can evaluate with daily load test - I do not remember if this is auto picked up

@krispraws
Copy link
Author

Let’s make sure to block in cacheservice so that we can evaluate with daily load test - I do not remember if this is auto picked up

I am testing this in my dev cell first - will add a block in cacheservice when i merge this.

Copy link
Collaborator

@honeyAcorn honeyAcorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wanna give a friendly reminder about the next steps here:

https://www.notion.so/momentohq/Rezolus-c35a8356c4bf4fc8940a6899bd09ea75?pvs=4#87e73520687b42c9a3e3c4f1c9387937

Please feel free to update this notion doc too.

Otherwise can you just make sure it runs on your dev-cell and lightstep still working? Thanks!

@krispraws
Copy link
Author

Just wanna give a friendly reminder about the next steps here:

https://www.notion.so/momentohq/Rezolus-c35a8356c4bf4fc8940a6899bd09ea75?pvs=4#87e73520687b42c9a3e3c4f1c9387937

Please feel free to update this notion doc too.

Otherwise can you just make sure it runs on your dev-cell and lightstep still working? Thanks!

I tested in my dev cell and I had to update the config to get it run like I mentioned in the PR description. I am going to hold off on merging this PR till we figure out how to version rezolus.

@kvcache kvcache removed their request for review November 27, 2023 17:13
@krispraws krispraws closed this Mar 28, 2024
@krispraws krispraws deleted the merge_v3_6_0 branch November 6, 2024 01:37
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.

6 participants