Enabling telemetry collection¶
You must enable telemetry collection before you can use telemetry data — including log messages, trace event data, and metrics data — to debug, optimize, and troubleshoot your Snowflake applications.
Use this topic to confirm that you’re set up to capture data.
To enable telemetry collection:
Ensure that you have an active event table.
By default, Snowflake includes a predefined event table that is active for your account until you deactivate it or specify an event table you create.
Set logging, tracing, and metrics levels.
You must set levels for the data you want to capture. For example, you must set the tracing level to a level other than
OFF
for tracing data to be collected.Add code to your applications, if needed.
For some telemetry data, data is emitted without your needing to add your own code. For example, Snowflake can record metrics data without your needing to add code. For other cases, such as logging and tracing, you can add code to emit your own data to be captured in an event table.
For information on languages supported to emit your own data, see the following: