TrackJS-Node icon indicating copy to clipboard operation
TrackJS-Node copied to clipboard

Add options for `network.enabled` and `network.error`

Open toddhgardner opened this issue 9 months ago • 0 comments

Add options to match the TrackJS Browser agent by installing with:

TrackJS.install({
   token: '',
   network: { enabled: true, error: true }
});

enabled toggles whether or not we should record network requests in telemetry automatically. error toggles whether an error should be recorded if the network request returns with a >=400 status code.

toddhgardner avatar Feb 20 '25 01:02 toddhgardner