Span records emitted by Dynatrace Snowflake Observability Agent plugins from Snowflake ACCOUNT_USAGE views.
Fetch the 50 most recent Dynatrace Snowflake Observability Agent event_log spans (traced records from the Snowflake event table).
fetch spans| filter db.system == "snowflake"| filter dsoa.run.plugin == "event_log"| sort timestamp desc| limit 50
Inspect event_log spans correlated to a Snowflake query, including warehouse and role context.
fetch spans| filter db.system == "snowflake"| filter dsoa.run.plugin == "event_log"| filter isNotNull(snowflake.query.id)| fields timestamp, snowflake.query.id, snowflake.warehouse.name, snowflake.role.name| sort timestamp desc| limit 50
Count event_log spans grouped by warehouse.
fetch spans| filter db.system == "snowflake"| filter dsoa.run.plugin == "event_log"| filter isNotNull(snowflake.warehouse.name)| summarize { spans = count() }, by: { snowflake.warehouse.name }| sort spans desc
Span records emitted by the Dynatrace Snowflake Observability Agent event_log plugin.
Fetch the 50 most recent Dynatrace Snowflake Observability Agent event_log spans (traced records from the Snowflake event table).
fetch spans| filter db.system == "snowflake"| filter dsoa.run.plugin == "event_log"| sort timestamp desc| limit 50
Inspect event_log spans correlated to a Snowflake query, including warehouse and role context.
fetch spans| filter db.system == "snowflake"| filter dsoa.run.plugin == "event_log"| filter isNotNull(snowflake.query.id)| fields timestamp, snowflake.query.id, snowflake.warehouse.name, snowflake.role.name| sort timestamp desc| limit 50
Count event_log spans grouped by warehouse.
fetch spans| filter db.system == "snowflake"| filter dsoa.run.plugin == "event_log"| filter isNotNull(snowflake.warehouse.name)| summarize { spans = count() }, by: { snowflake.warehouse.name }| sort spans desc
Fields present on all Dynatrace Snowflake Observability Agent telemetry records. Synced with config.py RESOURCE_ATTRIBUTES.
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | experimental |
|
| string | resource deprecatedUse deployment.environment.name instead. |
|
| string | resource stable |
|
| string | resource stable |
|
| string | resource stable |
|
| string | resource stable |
|
| string | resource stable |
|
| string | resource experimental |
|
| string | resource stable |
|
| string | resource experimental |
|
| string | resource experimental |
|
Always 'snowflake' for all Dynatrace Snowflake Observability Agent telemetry.
User-configured deployment environment label, for example, 'PROD', 'STG', or 'DEV'. Set via 'core.snowflake.deployment_environment'.
User-configured deployment environment label (OTel-stable canonical key), for example, 'PROD', 'STG', or 'DEV'. Set via 'core.snowflake.deployment_environment'. Prefer this key over the deprecated deployment.environment alias.
Optional user-defined tag for grouping Snowflake accounts in multitenancy mode, set via 'core.tag'.
Identifies the specific sub-context within the plugin (for example, 'query_history', 'users_all_roles').
Unique identifier for a single Dynatrace Snowflake Observability Agent execution run. Changes on every invocation.
The Dynatrace Snowflake Observability Agent plugin that produced this telemetry (for example, 'query_history', 'warehouse_usage').
The Snowflake account hostname (for example, 'xy12345.snowflakecomputing.com'), from 'core.snowflake.host_name'.
Always the Snowflake account identifier without '.snowflakecomputing.com' suffix (for example, 'myorg-myaccount').
Always 'dynatrace.snowagent' — identifies Dynatrace Snowflake Observability Agent as the telemetry exporter.
The installed Dynatrace Snowflake Observability Agent version in <major>.<minor>.<patch>.<build> format.
db.system has the following list of well-known values. If one of them applies, then the respective value MUST be used, otherwise a custom value MAY be used.
| Value | Description | Display name |
|---|---|---|
| Adabas (Adaptable Database System) | Adabas |
| Amazon DocumentDB | DocumentDB |
| Amazon Aurora MySQL | Aurora MySQL |
| Amazon Aurora PostgreSQL | Aurora PostgreSQL |
| InterSystems Caché | InterSystems Caché |
| Apache Cassandra | Cassandra |
| ClickHouse | ClickHouse |
| Cloudscape | Cloudscape |
| CockroachDB | CockroachDB |
| ColdFusion IMQ | ColdFusion IMQ |
| Microsoft Azure Cosmos DB | Cosmos DB |
| Couchbase | Couchbase |
| CouchDB | CouchDB |
| Databricks Data Platform | Databricks Data Platform |
| IBM Db2 | IBM Db2 |
| Apache Derby | Derby |
| IBM DL/I | IBM DL/I |
| Amazon DynamoDB | DynamoDB |
| EnterpriseDB | EnterpriseDB |
| Elasticsearch | Elasticsearch |
| FileMaker | FileMaker |
| Firebird | Firebird |
| FirstSQL | FirstSQL |
| Apache Geode | Geode |
| H2 | H2 |
| SAP HANA | SAP HANA |
| Apache HBase | HBase |
| Apache Hive | Hive |
| HyperSQL DataBase | HSQLDB |
| Informix | Informix |
| Ingres | Ingres |
| InstantDB | InstantDB |
| InterBase | InterBase |
| Amazon Keyspaces for Apache Cassandra | Keyspaces |
| MariaDB | MariaDB |
| SAP MaxDB | SAP MaxDB |
| Memcached | Memcached |
| MongoDB | MongoDB |
| Microsoft SQL Server | SQL Server |
| Microsoft SQL Server Compact | SQL Server Compact |
| MySQL | MySQL |
| Neo4j | Neo4j |
| Amazon Neptune | Neptune |
| Netezza | Netezza |
| OpenSearch | OpenSearch |
| Oracle Database | Oracle |
| Some other SQL database. Fallback only. See notes. | Other SQL |
| Pervasive PSQL | Pervasive PSQL |
| Apache Phoenix | Apache Phoenix |
| PointBase | PointBase |
| PostgreSQL | PostgreSQL |
| Progress Database | Progress |
| Redis | Redis |
| Amazon Redshift | Redshift |
| Snowflake Data Platform | Snowflake Data Platform |
| Cloud Spanner | Cloud Spanner |
| SQLite | SQLite |
| Sybase | Sybase |
| Teradata | Teradata |
| Valkey | Valkey |
| Vertica | Vertica |
Span records emitted by the Dynatrace Snowflake Observability Agent query_history plugin.
Fetch the 50 most recent Dynatrace Snowflake Observability Agent query_history spans (individual Snowflake query executions).
fetch spans| filter db.system == "snowflake"| filter dsoa.run.plugin == "query_history"| sort timestamp desc| limit 50
Correlate Dynatrace Snowflake Observability Agent query_history spans by trace.id/span.id to inspect the root span and timing for a Snowflake query execution.
fetch spans| filter db.system == "snowflake"| filter dsoa.run.plugin == "query_history"| filter isNotNull(trace.id) and isNotNull(span.id)| fields trace.id, span.id, request.is_root_span, snowflake.query.id, start_time, end_time| sort start_time desc| limit 50
Inspect Snowflake query-plan step/operator span events (snowflake.query.step.*) recorded on query_history spans.
fetch spans| filter db.system == "snowflake"| filter dsoa.run.plugin == "query_history"| expand span.events| filter contains(span.events.name, "snowflake.query.step")| fields snowflake.query.step.id, snowflake.query.step.operator.type, snowflake.query.step.operator.stats, span.events.timestamp| sort span.events.timestamp desc| limit 100
Fields present on all Dynatrace Snowflake Observability Agent telemetry records. Synced with config.py RESOURCE_ATTRIBUTES.
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string | experimental |
|
| string | resource deprecatedUse deployment.environment.name instead. |
|
| string | resource stable |
|
| string | resource stable |
|
| string | resource stable |
|
| string | resource stable |
|
| string | resource stable |
|
| string | resource experimental |
|
| string | resource stable |
|
| string | resource experimental |
|
| string | resource experimental |
|
Always 'snowflake' for all Dynatrace Snowflake Observability Agent telemetry.
User-configured deployment environment label, for example, 'PROD', 'STG', or 'DEV'. Set via 'core.snowflake.deployment_environment'.
User-configured deployment environment label (OTel-stable canonical key), for example, 'PROD', 'STG', or 'DEV'. Set via 'core.snowflake.deployment_environment'. Prefer this key over the deprecated deployment.environment alias.
Optional user-defined tag for grouping Snowflake accounts in multitenancy mode, set via 'core.tag'.
Identifies the specific sub-context within the plugin (for example, 'query_history', 'users_all_roles').
Unique identifier for a single Dynatrace Snowflake Observability Agent execution run. Changes on every invocation.
The Dynatrace Snowflake Observability Agent plugin that produced this telemetry (for example, 'query_history', 'warehouse_usage').
The Snowflake account hostname (for example, 'xy12345.snowflakecomputing.com'), from 'core.snowflake.host_name'.
Always the Snowflake account identifier without '.snowflakecomputing.com' suffix (for example, 'myorg-myaccount').
Always 'dynatrace.snowagent' — identifies Dynatrace Snowflake Observability Agent as the telemetry exporter.
The installed Dynatrace Snowflake Observability Agent version in <major>.<minor>.<patch>.<build> format.
db.system has the following list of well-known values. If one of them applies, then the respective value MUST be used, otherwise a custom value MAY be used.
| Value | Description | Display name |
|---|---|---|
| Adabas (Adaptable Database System) | Adabas |
| Amazon DocumentDB | DocumentDB |
| Amazon Aurora MySQL | Aurora MySQL |
| Amazon Aurora PostgreSQL | Aurora PostgreSQL |
| InterSystems Caché | InterSystems Caché |
| Apache Cassandra | Cassandra |
| ClickHouse | ClickHouse |
| Cloudscape | Cloudscape |
| CockroachDB | CockroachDB |
| ColdFusion IMQ | ColdFusion IMQ |
| Microsoft Azure Cosmos DB | Cosmos DB |
| Couchbase | Couchbase |
| CouchDB | CouchDB |
| Databricks Data Platform | Databricks Data Platform |
| IBM Db2 | IBM Db2 |
| Apache Derby | Derby |
| IBM DL/I | IBM DL/I |
| Amazon DynamoDB | DynamoDB |
| EnterpriseDB | EnterpriseDB |
| Elasticsearch | Elasticsearch |
| FileMaker | FileMaker |
| Firebird | Firebird |
| FirstSQL | FirstSQL |
| Apache Geode | Geode |
| H2 | H2 |
| SAP HANA | SAP HANA |
| Apache HBase | HBase |
| Apache Hive | Hive |
| HyperSQL DataBase | HSQLDB |
| Informix | Informix |
| Ingres | Ingres |
| InstantDB | InstantDB |
| InterBase | InterBase |
| Amazon Keyspaces for Apache Cassandra | Keyspaces |
| MariaDB | MariaDB |
| SAP MaxDB | SAP MaxDB |
| Memcached | Memcached |
| MongoDB | MongoDB |
| Microsoft SQL Server | SQL Server |
| Microsoft SQL Server Compact | SQL Server Compact |
| MySQL | MySQL |
| Neo4j | Neo4j |
| Amazon Neptune | Neptune |
| Netezza | Netezza |
| OpenSearch | OpenSearch |
| Oracle Database | Oracle |
| Some other SQL database. Fallback only. See notes. | Other SQL |
| Pervasive PSQL | Pervasive PSQL |
| Apache Phoenix | Apache Phoenix |
| PointBase | PointBase |
| PostgreSQL | PostgreSQL |
| Progress Database | Progress |
| Redis | Redis |
| Amazon Redshift | Redshift |
| Snowflake Data Platform | Snowflake Data Platform |
| Cloud Spanner | Cloud Spanner |
| SQLite | SQLite |
| Sybase | Sybase |
| Teradata | Teradata |
| Valkey | Valkey |
| Vertica | Vertica |
Attribute fields for query history spans.
| Attribute | Type | Description | Examples |
|---|---|---|---|
| string[] | stable |
|
| string[] | stable |
|
| long | stable |
|
| long | stable |
|
| string | experimental |
|
| boolean | experimental |
|
| long | experimental |
|
| long | experimental |
|
| long | experimental |
|
| long | stable |
|
| string | stable |
|
| string | stable |
|
| string | stable |
|
| string | stable |
|
| long | stable |
|
| string | stable |
|
| string | stable |
|
| string | stable |
|
| string | stable |
|
| boolean | stable |
|
| string | stable |
|
| long | experimental |
|
| string | experimental |
|
| long | experimental |
|
| string[] | experimental |
|
| string | experimental |
|
| string | experimental |
|
| string | experimental |
|
| long | stable |
|
| boolean | experimental |
|
| string | experimental |
|
| string | stable |
|
| long | experimental |
|
| string | experimental |
|
| long | stable |
|
| long | experimental |
|
| string | stable |
|
| string | stable |
|
Fully proprietary; no OTel analog.
Note: this is the SD-catalog attribute name; the actual config path read at runtime is
plugins.query_history.obfuscation_mode (no dsoa. prefix) — see 050_f_get_query_history.sql.
Note: this is the SD-catalog attribute name; the actual config path is
plugins.query_history.track_ddl_changes (no dsoa. prefix). Not currently wired up
to any reader in code — setting this has no runtime effect yet.
ACCOUNT_USAGE.DATABASES supplies related fields (name, owner, owner_role_type, type, is_transient, lifecycle, retention_time, comment) but these should be populated by a future inventory plugin, not query_history (≈180-min latency + cost). In query_history, snowflake.database.id stays a foreign key only.
Serialized JSON object stored as string in Grail. Contains estimated query execution times per scale factor. Parse with parseJson() in DQL.
Serialized JSON object stored as string in Grail. Contains query operator specific attributes (for example, join conditions). Parse with parseJson() in DQL.
Array of parent operator IDs stored as string[] in Grail. Values are numeric strings.
Serialized JSON object stored as string in Grail. Contains query operator execution statistics (for example, input_rows, output_rows). Parse with parseJson() in DQL.
Serialized JSON object stored as string in Grail. Contains query operator time breakdown (for example, overall_percentage). Parse with parseJson() in DQL.