OptionalapplyFunction for adding custom attributes after response is handled
OptionaldisableIf set to true, incoming requests will not be instrumented at all.
OptionaldisableIf set to true, outgoing requests will not be instrumented at all.
OptionalenabledWhether to enable the plugin.
Optional ExperimentalenableEnable automatic population of synthetic source type based on the user-agent header
OptionalheadersMap the following HTTP headers to span attributes.
OptionalignoreDo not trace incoming requests for which this function returns true.
OptionalignoreDo not trace outgoing requests for which this function returns true.
Optional Experimentalredacted[Optional] Query parameters to redact on outgoing (client) spans. Use this to specify custom query strings that contain sensitive information. These will replace/overwrite the default query strings that are to be redacted. When omitted, defaults to a built-in list of known sensitive parameter names; see the package README for the current list. Set to an empty array to disable client-side query parameter redaction entirely.
Optional Experimentalredacted[Optional] Query parameters to redact on incoming (server) spans. When omitted, defaults to a built-in list of known sensitive parameter names; see the package README for the current list. Set to an empty array to disable server-side query parameter redaction entirely.
OptionalrequestFunction for adding custom attributes before request is handled
OptionalrequireRequire parent to create span for incoming requests
OptionalrequireRequire parent to create span for outgoing requests
OptionalresponseFunction for adding custom attributes before response is handled
OptionalserverThe primary server name of the matched virtual host.
OptionalstartFunction for adding custom attributes before a span is started in incomingRequest
OptionalstartFunction for adding custom attributes before a span is started in outgoingRequest
Options available for the HTTP instrumentation (see documentation)