Skip to content

Add options for network.enabled and network.error #20

@toddhgardner

Description

@toddhgardner

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions