Installation
npm install --save @types/ineum
Summary
This package contains type definitions for ineum (https://docs.instana.io/products/website_monitoring/api/).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ineum.
declare function ineum(command: "key" | "page" | "reportingUrl" | "traceId", value: string): void;
declare function ineum(command: "user", userId?: string, userName?: string, userEmail?: string): void;
declare function ineum(command: "meta", key: string, value: string | number | boolean): void;
declare function ineum(command: "ignorePings" | "wrapEventHandlers" | "wrapTimers", value: boolean): void;
declare function ineum(
command: "trackSessions",
sessionInactivityTimeout?: number,
sessionTerminationTimeout?: number,
): void;
declare function ineum(command: "terminateSession"): void;
declare function ineum(command: "getPageLoadId"): string | undefined;
declare function ineum(
command:
| "beaconBatchingTime"
| "maxMaitForPageLoadMetricsMillis"
| "maxWaitForResourceTimingsMillis"
| "xhrTransmissionTimeout",
durationMillis: number,
): void;
declare function ineum(
command: "reportError",
error: Error | string,
opts?: {
componentStack?: string | undefined;
meta?: {
[key: string]: string | number | boolean;
} | undefined;
},
): void;
declare function ineum(
command: "reportEvent",
eventName: string,
opts?: {
duration?: number | undefined;
timestamp?: number | undefined;
backendTraceId?: string | undefined;
error?: Error | undefined;
componentStack?: string | undefined;
meta?: {
[key: string]: string | number | boolean;
} | undefined;
customMetric?: number | undefined;
},
): void;
declare function ineum(
command:
| "allowedOrigins"
| "captureHeaders"
| "ignoreErrorMessages"
| "ignoreUrls"
| "ignoreUserTimings"
| "secrets"
| "urlsToCheckForGraphQlInsights",
values: RegExp[],
): void;
declare function ineum(command: "apiKey", value: string): void;
declare function ineum(command: "whitelistedOrigins", values: RegExp[]): void;
Additional Details
- Last updated: Thu, 28 Nov 2024 19:02:24 GMT
- Dependencies: none
Credits
These definitions were written by Enzo Volkmann, Benjamin Blackmore, and David Taylor.