Update Rust crate pyroscope to v2 (#429)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [pyroscope](https://pyroscope.io/docs/rust) ([source](https://redirect.github.com/pyroscope-io/pyroscope-rs)) | dependencies | major | `0.5.8` → `2.0.0` | --- ### Release Notes <details> <summary>pyroscope-io/pyroscope-rs (pyroscope)</summary> ### [`v2.0.0`](https://redirect.github.com/pyroscope-io/pyroscope-rs/blob/HEAD/CHANGELOG.md#v200) #### Breaking Changes - `Backend::report()` now returns `ReportBatch` instead of `Vec<Report>` ([#​437](https://redirect.github.com/grafana/pyroscope-rs/pull/437), [#​447](https://redirect.github.com/grafana/pyroscope-rs/pull/447)) - New `ReportData` enum replaces the plain `Vec<Report>` in `ReportBatch`, supporting both structured reports (`ReportData::Reports`) and pre-encoded pprof bytes (`ReportData::RawPprof`) ([#​447](https://redirect.github.com/grafana/pyroscope-rs/pull/447)) - Minimum supported Rust version bumped from 1.64 to 1.66 #### New Features - **Jemalloc memory profiling backend** — new `backend-jemalloc` feature flag enables heap profiling via `jemalloc_pprof`. Use `pyroscope::backend::jemalloc::jemalloc_backend()` to get started ([#​378](https://redirect.github.com/grafana/pyroscope-rs/pull/378)) - **`ReportBatch` type** — backends now return a `ReportBatch` with a `profile_type` field (e.g. `"process_cpu"`, `"memory"`), enabling multi-profile support ([#​437](https://redirect.github.com/grafana/pyroscope-rs/pull/437)) #### Dependencies - Updated `pprof` (pprof-pyroscope-fork) to v0.1500.3 ([#​407](https://redirect.github.com/grafana/pyroscope-rs/pull/407)) - Updated `object` crate to 0.38 ([#​430](https://redirect.github.com/grafana/pyroscope-rs/pull/430)) - Disabled py-spy default features to exclude CLI dependencies ([#​418](https://redirect.github.com/grafana/pyroscope-rs/pull/418)) - Added `jemalloc_pprof` 0.8 and `tokio` 1 as workspace dependencies ### [`v1.0.0`](https://redirect.github.com/pyroscope-io/pyroscope-rs/blob/HEAD/CHANGELOG.md#v100) #### Breaking Changes - Removed `auth_token` from Python and Ruby FFI bindings and related code - Removed `detect_subprocesses` from Python and Ruby configs - Config constructor now requires app/spy identity and sample rate inputs - Removed support for collapsed format - Removed global tags from ruleset #### New Features - Integrated pprof-rs backend into main crate behind optional `backend-pprof-rs` feature - Switched to push API (from `/ingest` to `/push`) - Generated push API protos - Added `ThreadId` type - Added `rustls-no-provider` TLS feature #### Bug Fixes / Improvements - Unified signal logic - Report cleanup functions - Optimized ruleset - Removed obscure thread id hash check - Ruby: inline thread\_id crate; remove detect\_subprocess - Dependency updates (reqwest 0.13, prost 0.14, thiserror 2.0, serde\_json 1.0.115, uuid 1.20, libflate 2.1) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/boardgamers/clash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My42Ni40IiwidXBkYXRlZEluVmVyIjoiNDMuNjYuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This commit is contained in:
parent
fdac1520c8
commit
9a83c58636
3 changed files with 667 additions and 47 deletions
710
Cargo.lock
generated
710
Cargo.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -18,7 +18,7 @@ wasm-bindgen = "0.2.100"
|
|||
wasm-bindgen-futures = "0.4.50"
|
||||
console_error_panic_hook = "0.1.7"
|
||||
web-sys = { version = "0.3.77", features = ["Window"] }
|
||||
pyroscope = { version = "0.5.8", optional = true }
|
||||
pyroscope = { version = "2.0.0", optional = true }
|
||||
pyroscope_pprofrs = { version = "0.2.10", optional = true }
|
||||
serde = { version = "1.0.219", features = ["derive"] }
|
||||
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ pathfinding = "4.14.0"
|
|||
num_cpus = "1.16.0"
|
||||
enumset = { version = "1.1.6" }
|
||||
rustc-hash = "2.1.1"
|
||||
pyroscope = { version = "0.5.8", optional = true }
|
||||
pyroscope = { version = "2.0.0", optional = true }
|
||||
pyroscope_pprofrs = { version = "0.2.10", optional = true }
|
||||
chrono = "0.4.41"
|
||||
string-builder = "0.2.0"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue