snowflakedb / snowflake-connector-net

Snowflake Connector for .NET
Apache License 2.0
180 stars 138 forks source link

SNOW-1650245: OpenTelemetry support #1017

Open bill-poole opened 2 months ago

bill-poole commented 2 months ago

What is the current behavior?

The Snowflake Connector for .NET does not currently have any specific support for OpenTelemetry metrics or traces like other .NET data access libraries such as Npgsql.

What is the desired behavior?

Support for OpenTelemetry traces and metrics in accordance with the Semantic Conventions for SQL Databases and Semantic Conventions for Database Metrics.

Furthermore, with the release of Snowflake Trail, it would be great to have context propagation via the Snowflake Connector for .NET so that distributed trace graphs can extend from our own services through to Snowflake.

How would this improve snowflake-connector-net?

It would significantly improve observability of applications using the Snowflake Connector for .NET, and bring the connector up to parity with other database access libraries in the .NET ecosystem.

sfc-gh-dszmolka commented 2 months ago

thank you for submitting this enhancement request - team will consider for future plans.

(As with any other enhancement requests, and this goes out to all current and future readers: if it's particularly important for your use-case, please do reach out to your Snowflake account team to let them know you need the feature. It greatly helps the team to prioritize planning and implementation work. Thank you in advance!)