datadog-ux-utils Documentation - v1.0.0
    Preparing search index...

    Function getRum

    • Escape hatch for advanced consumers. Prefer the helpers above in library code.

      Returns {
          init: (config: RumInitConfiguration) => void;
          addAction: (name: string, context?: RumActionContext) => void;
          addError: (e: any, context?: any) => void;
          addTiming: (name: string, time?: number) => void;
          startSessionReplayRecording: () => void;
          setUser?: (user: Record<string, any>) => void;
          addFeatureFlagEvaluation?: (key: string, value: any) => void;
          addGlobalContext: (key: string, value: any) => void;
          setGlobalContext?: (ctx: Record<string, any>) => void;
          getGlobalContext?: () => Record<string, any>;
          removeGlobalContext?: (key: string) => void;
      }