github.com/grafana/pyroscope@v1.18.0/examples/language-sdk-instrumentation/python/rideshare/fastapi/README.md (about)

     1  ## FastAPI Example
     2  
     3  To run the example run the following commands:
     4  ```
     5  # Pull latest pyroscope and grafana images:
     6  docker pull grafana/pyroscope:latest
     7  docker pull grafana/grafana:latest
     8  
     9  # Run the example project:
    10  docker compose up --build
    11  
    12  # Reset the database (if needed):
    13  docker compose down
    14  ```
    15  
    16  Navigate to [Grafana](http://localhost:3000/a/grafana-pyroscope-app/profiles-explorer?explorationType=flame-graph&var-serviceName=ride-sharing-app&var-profileMetricId=process_cpu:cpu:nanoseconds:cpu:nanoseconds) to Explore Profiles.