interface SamplingContext
implements CustomSamplingContext
import { type SamplingContext } from "https://deno.land/x/sentry_deno@v0.2.2/packages/types/src/transaction.ts";
Data passed to the tracesSampler
function, which forms the basis for whatever decisions it might make.
Adds default data to data provided by the user. See Hub.startTransaction
Properties
optional
location: WorkerLocationObject representing the URL of the current page or worker script. Passed by default when using the BrowserTracing
integration.
optional
request: ExtractedNodeRequestDataObject representing the incoming request to a node server. Passed by default when using the TracingHandler.