Custom Backend Tool
Add link to custom backend tool within LogRocket
With our custom backend integration, you can jump directly from an issue in a network request on the frontend into your backend traces to help you uncover the root of an issue faster.
Visit the "Settings" page in LogRocket and click "Integrations". Scroll down to find the "Custom" card (within "Backend Link Integrations") and follow the instructions to enable this integration.
Once enabled, you will see a link to your custom tool from within network requests in LogRocket.
Custom parameters
To help you find relevant logs within your tool more quickly, you can also choose to add custom parameters to your search query based on the network request. The parameters you can select from are as follows:
| Parameter | Description |
|---|---|
request.url | The full request URL |
request.method | The HTTP method of the request |
request.referrer | The request's referrer |
request.header.* | The full value of a request header (if present). For example, to retrieve the value of the accept header, specify request.header.accept. |
request.body.* | The full value of the specified body property in the request (only retrieves a value if the body is JSON and the property is present). E.g., to retrieve the value of a user property in the body, specify request.body.user (nested properties can be accessed as well) |
response.status | The HTTP status of the response |
response.header.* | The full value of a response header (if present). Behavior is identical to request headers above. |
response.body.* | The full value of the specified body property in the response (only retrieves a value if the body is JSON and the property is present). Behavior is identical to request body above. |
resource.mime_type | The MIME type of the resource |
resource.initiator_type | The entity or element that triggered this request |
You can enter these within the Settings page for the integration. If a particular variable is not available for a specific request, it will be ignored when constructing the query.
Updated 17 days ago
