Registry / observability / pyroscope

pyroscope

JSON →
library2.0.6rscratesunverified

Pyroscope Profiler Agent for continuous profiling of Rust, Python and Ruby applications.

# Cargo.toml [dependencies] pyroscope = "2.0.6"
INSTALL
IMPORT
SIG · PYROSCOPE
P
pyroscope
observabilityrustv2.0.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

PyroscopeAgent
use pyroscope::PyroscopeAgent;

Initialize and start the Pyroscope profiling agent.

use pyroscope::PyroscopeAgent; fn main() { let agent = PyroscopeAgent::builder("http://localhost:4040", "myapp") .build() .unwrap(); agent.start().unwrap(); // application code agent.stop().unwrap(); }
Debug
Known issues
gotchaRequires a running Pyroscope server to send profiling data.
fix
Ensure a Pyroscope server is accessible at the configured endpoint before starting the agent.
affects: >=2.0.0
Upgrade
Version history
2.0.6latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
20 hits · last 30 days
node
16
OpenAI (training)
2
Amazon
1
Resources
pyroscope — cargo add pyroscope · libregistry