Patent ID: 11907212
Assignee: SNOWFLAKE INC.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 10:
11. A method comprising:
instantiating, by at least one hardware processor, a user code runtime to execute user-defined function (UDF) code, the user code runtime instantiated within a sandbox process of an execution node;
detecting, by the at least one hardware processor, an application programming interface (API) call during execution of the UDF code, the API call including one or more configurations of a trace event, and the API call being pre-mapped to a telemetry API configured to collect telemetry information associated with the trace event;
collecting, by the at least one hardware processor, based on the one or more configurations, the telemetry information associated with the trace event using the telemetry API, the telemetry API configured in a processing stack with the UDF code;
formatting, by the at least one hardware processor, the telemetry information using the telemetry API, to generate structured telemetry information compatible with a pre-defined schema of an event table; and
causing, by the at least one hardware processor, ingestion of the structured telemetry information into the event table according to the pre-defined schema.