Amplify Toolbox
    Preparing search index...
    • Flatten object to dot notation and set span attributes for telemetry

      Parameters

      • span: Span
      • obj:
            | ErrorDetails
            | DeepPartial<
                {
                    environment: {
                        ci: boolean;
                        memory: { free: number; total: number };
                        npmUserAgent: string;
                        os: { platform: string; release: string };
                        shell: string;
                    };
                    error?: ErrorDetails;
                    event: {
                        command: { parameters: string[]; path: string[] };
                        state: "FAILED" | "SUCCEEDED" | "ABORTED";
                    };
                    identifiers: {
                        accountId?: string;
                        awsRegion?: string;
                        eventId: string;
                        localProjectId: string;
                        payloadVersion: string;
                        sessionUuid: string;
                        timestamp: string;
                    };
                    latency: {
                        deployment?: number;
                        hotSwap?: number;
                        init?: number;
                        synthesis?: number;
                        total: number;
                    };
                    project: { dependencies?: { name: string; version: string }[] };
                },
            >
      • prefix: string = ''

      Returns void