grafana / pyroscope

Continuous Profiling Platform. Debug performance issues down to a single line of code
https://grafana.com/oss/pyroscope/
GNU Affero General Public License v3.0
10.07k stars 608 forks source link

inuse_space not working in dotnet? #3449

Open livegrenier opened 3 months ago

livegrenier commented 3 months ago

Hi,

When checking the grafana-agent _inusespace that's in go_lang, I see a match with the memory usage in my Prometheus metrics:

2024-07-30-10-02-34

However when trying to use inuse_space in dotnet, it doesnt seem to be showing us the same results as our metrics, its seems more like a rate

2024-07-30-10-07-12

Is this just not possible in dotnet, is it a bug? or am I doing something wrong?

Thanks.

simonswine commented 3 months ago

Our dotnet sdk actually doesn't support inuse memory profiles (AFAIK). I do think we have some other thing interfering here. Do you mind sharing the Pyroscope version you are using?

livegrenier commented 3 months ago

Hey, it's new deployment, everything is on the latest version! thanks