@embrace-io/web-sdk
Version:
17 lines • 988 B
text/typescript
import { NavigationInstrumentationArgs } from "../types.cjs";
import "../index.cjs";
import { Instrumentation } from "@opentelemetry/instrumentation";
//#region src/instrumentations/navigation/NavigationInstrumentation/react/createReactRouterNavigationInstrumentation.d.ts
/**
* @deprecated Will be removed in a future version. No-op: soft navigations
* are captured out of the box, so NavigationInstrumentation no longer needs
* to be constructed manually. For templated route names, use
* `withEmbraceRouting`, `withEmbraceRoutingLegacy`, or
* `listenToRouterChanges` instead. Returns an inert instrumentation so
* existing `instrumentations: [createReactRouterNavigationInstrumentation()]`
* setups keep working.
*/
declare const createReactRouterNavigationInstrumentation: (_config?: NavigationInstrumentationArgs) => Instrumentation;
//#endregion
export { createReactRouterNavigationInstrumentation };
//# sourceMappingURL=createReactRouterNavigationInstrumentation.d.cts.map