Skip to content

Commit

Permalink
docs: Add notice about heap profiling (#3494)
Browse files Browse the repository at this point in the history
This was something I noticed we are missing.
  • Loading branch information
simonswine committed Aug 19, 2024
1 parent ed5162d commit c40ee84
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
2 changes: 2 additions & 0 deletions docs/sources/configure-client/language-sdks/dotnet.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ The .NET Profiler supports the following profiling types:
* Allocations
* Lock contention
* Exceptions
* Live heap (requires .NET 7+)

### Compatibility

Expand Down Expand Up @@ -171,6 +172,7 @@ Here is a simple [example](https://github.com/grafana/pyroscope/blob/main/exampl
| PYROSCOPE_PROFILING_EXCEPTION_ENABLED | Boolean | If set to true, enables the Exceptions profiling. Defaults to false. |
| PYROSCOPE_PROFILING_ALLOCATION_ENABLED | Boolean | If set to true, enables the Allocations profiling. Defaults to false. |
| PYROSCOPE_PROFILING_LOCK_ENABLED | Boolean | If set to true, enables the Lock Contention profiling. Defaults to false. |
| PYROSCOPE_PROFILING_HEAP_ENABLED | Boolean | If set to true, enables the Live heap profiling. Requires .NET 7+. Defaults to false. |
| PYROSCOPE_BASIC_AUTH_USER | String | For HTTP Basic Authentication, use this to send profiles to authenticated server, for example Grafana Cloud |
| PYROSCOPE_BASIC_AUTH_PASSWORD | String | For HTTP Basic Authentication, use this to send profiles to authenticated server, for example Grafana Cloud |
| PYROSCOPE_TENANT_ID | String | Only needed if using multi-tenancy in Pyroscope. |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,23 @@ For information on auto-instrumentation and supported language SDKs, refer to [C
Various languages support different profiling types.
Pyroscope supports the following profiling types:

| Profile Type | Go | Java | .NET | Ruby | Python | Rust | Node.js | eBPF (Go) | eBPF (Python) |
|--------------------|-------|-------|-------|-------|--------|-------|---------|-----------|--------------|
| CPU | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| Alloc Objects | Yes | Yes | Yes | | | | | | |
| Alloc Space | Yes | Yes | Yes | | | | | | |
| Inuse Objects | Yes | | | | | | | | |
| Inuse Space | Yes | | | | | | | | |
| Goroutines | Yes | | | | | | | | |
| Mutex Count | Yes | | Yes | | | | | | |
| Mutex Duration | Yes | | Yes | | | | | | |
| Block Count | Yes | | | | | | | | |
| Block Duration | Yes | | | | | | | | |
| Lock Count | | Yes | Yes | | | | | | |
| Lock Duration | | Yes | Yes | | | | | | |
| Exceptions | | | Yes | | | | | | |
| Wall | | | Yes | | | | | | |
| Heap | | | | | | | Yes | | |
| Profile Type | Go | Java | .NET | Ruby | Python | Rust | Node.js | eBPF (Go) | eBPF (Python)|
|--------------------|-------|-------|------------|-------|--------|-------|---------|-----------|--------------|
| CPU | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes | Yes |
| Alloc Objects | Yes | Yes | Yes | | | | | | |
| Alloc Space | Yes | Yes | Yes | | | | | | |
| Inuse Objects | Yes | | Yes (7.0+) | | | | | | |
| Inuse Space | Yes | | Yes (7.0+) | | | | | | |
| Goroutines | Yes | | | | | | | | |
| Mutex Count | Yes | | Yes | | | | | | |
| Mutex Duration | Yes | | Yes | | | | | | |
| Block Count | Yes | | | | | | | | |
| Block Duration | Yes | | | | | | | | |
| Lock Count | | Yes | Yes | | | | | | |
| Lock Duration | | Yes | Yes | | | | | | |
| Exceptions | | | Yes | | | | | | |
| Wall | | | Yes | | | | | | |
| Heap | | | | | | | Yes | | |

## CPU profiling

Expand Down

0 comments on commit c40ee84

Please sign in to comment.