Skip to content

Allocation Tracking for Rust #247

@zicklag

Description

@zicklag

It could be really helpful if Pyroscope allowed me to track allocations as well as CPU cycles for the Rust SDK.

I think integrating it might be relatively simple by configuring a global allocator that could wrap around any other global allocator while tracking allocations and de-allocations.

I'm not familiar with the codebase or the network protocol, though, so I don't know how involved that would be to setup.

It's also worth noting that I could set this up with an opentelemetry metric instead of using Pyroscope to collect the memory allocation info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions