View Source Avalanche.Telemetry (Avalanche v0.13.0)
Telemetry integration.
Unless specified, all time's are in :native units.
Avalanche executes the following events:
Query Start
[:avalanche, :query, :start] - Executed at the start of each query sent to Snowflake.
Measurements
:system_time- The time the query started
Metadata:
:query- The query sent to the database as a string:params- The query parameters
Query Stop
[:avalanche, :query, :stop] - Executed at the end of each query sent to Snowflake.
Measurements
:duration- The time spent executing the query
Metadata:
:query- The query sent to the database as a string:params- The query parameters:result- The query result (selected, updated):num_rows- The number of rows effected by the query:error- Present if any error occurred while processing the query. (optional)
Query Exception
[:avalanche, :query, :exception] - Executed if executing a query throws an exception.
Measurements
:duration- The time spent executing the query
Metadata
:kind- The type of exception.:error- Error description or error data.:stacktrace- The stacktrace
Summary
Functions
Used for reporting generic events
Emits a start telemetry event
Emits a stop event