import type { Instrumentation } from '@opentelemetry/instrumentation'; /** * Sets the filter that drops HTTP and undici spans for a path. * * Called by the SDK plugin once the runtime config is available, because the * instrumentations in {@link nodeInstrumentations} are created before it. * * @param filter Returns `true` for paths that should not produce spans */ export declare function setPathFilter(filter: (path: string) => boolean): void; /** * The auto-instrumentations for the Node.js server. * * An instrumentation installs its module hooks when it is constructed and can * only patch modules loaded after that. The Nitro server bundle loads its * dependencies (for example `redis` through a storage plugin) before any Nitro * plugin runs, so the server entry loads this module before the application. * The SDK plugin passes these same instances to `NodeSDK`, which attaches the * tracer and meter providers. */ export declare const nodeInstrumentations: Instrumentation[];