You can use an array of
webhookSettings to handle integrations from the proxy.
Below is an example that lets you send traffic data to honeycomb in order to analyze what pages are being hit correctly.
Below example is for the Honeycomb Events API. Add as many webhooks as you like. You can also use this on your own servers to collect logs etc.
We'll send the following values via a JSON POST request to your webhooks
|Status that WebRender responded with||int|
|Whether the request is static||bool|
|The hostname the request came in on||string|
|The URL of the request||string|
|The user agent of the incoming request||string|
|2-letter ISO code of the request country||string|
|The Webrender-Identified platform of the request||string|
|How long the request took the process (server side)||bool|
|Whether it was a hit or a miss||bool|
If a path is getting spammed by certain user agents, you can disable them on certain paths.