Skip to content

Commit

Permalink
add third option
Browse files Browse the repository at this point in the history
  • Loading branch information
Rperry2174 committed Jul 6, 2023
1 parent 32d2a9e commit fed002b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/adhoc/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Adhoc mode examples

Pyroscope provides two options for using the "adhoc" mode, depending on whether you have the Pyroscope SDK installed or not. Choose the appropriate method based on your setup.
Pyroscope provides three options for using the "adhoc" mode, depending on whether you have the Pyroscope SDK installed or not. Choose the appropriate method based on your setup.

### Option 1: Push mode (with SDK installed)
If your application already uses an agent or has integration with the Pyroscope HTTP API, you can use push mode
Expand Down Expand Up @@ -47,7 +47,7 @@ Using docker:
docker run --rm -ti --privileged --pid=host pyroscope/pyroscope-rs-cli:0.2.7-457bb15 connect --pid=369936 --spy-name=pyspy --server-address="http://localhost:4100"
```

### Pull mode
### Option 2: Pull Mode

If the application to profile supports pull-mode, that is, it's already running a HTTP server
and serving profiling data in a supported format, like `pprof`,
Expand Down

0 comments on commit fed002b

Please sign in to comment.