Back to Pyroscope

Pull latest pyroscope and grafana images:

examples/language-sdk-instrumentation/python/simple/README.md

2.3.01.1 KB
Original Source

Basic Example

To run the example run the following commands:

# Pull latest pyroscope and grafana images:
docker pull grafana/pyroscope:latest
docker pull grafana/grafana:latest

# Run the example project:
docker compose up --build

# Reset the database (if needed):
docker compose down

Navigate to Grafana to explore the generated profiles:

The application continuously allocates 64 KiB chunks and retains a bounded rotating window. This produces useful allocation and in-use profiles without allowing the example's memory use to grow indefinitely.