Skip to content

Commit

Permalink
show options
Browse files Browse the repository at this point in the history
  • Loading branch information
mindplay-dk committed Nov 5, 2018
1 parent ced66c8 commit 075b209
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ $client = new SentryClient(
new ClientIPDetector(),
]
);

// optional settings:

$client->proxy = "tcp://proxy.example.com:5100"; // for outgoing HTTP requests, if you're behind a proxy

$client->sample_rate = 50; // percentage of calls to captureException() that actually get captured
```

Some extensions support additional options, which will be described in the [Configuration](#configuration) section.
Expand Down

0 comments on commit 075b209

Please sign in to comment.