-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python Snowflake Driver Team says You're Importing OpenTelemetry wrong #11407
Comments
@lattwood I don't think Snowflake is wrong. Based on my experience with OpenTelemetry in different environments, OpenTelemetry was designed with flexibility in mind, supporting scenarios where telemetry is directly embedded within libraries, rather than requiring separate instrumentation libraries. |
of course you don't, you work for Snowflake, and you're posting from your personal github account rather than @sfc-gh-bdrutu. |
I think the point wasn't to appear as not a Snowflake employee. I think Bogdan used his personal account because he was making a post outside of normal work hours. |
@keller00 then why refer to "Snowflake" rather than "I/we"? It's disingenuous at best and intentionally misleading at worst. |
@lattwood I am doing this because @bogdandrutu may know something about OpenTelemetry, in case you did not trust what @sfc-gh-bdrutu said. Also https://github.com/bogdandrutu says that I do work for Snowflake, so you don't need to make guesses and correlations. |
The ddtrace library does not do anything unorthodox. We simply implement the opentelemetry context api and use the default implementation for all other components. ddtrace installs the opentelemetry-api but only configures support if DD_TRACE_OTEL_ENABLED=true is set (which honestly doesn't matter for this bug). I think this issue should be resolved in the |
Your "unorthodox" part is that you remove (somehow, not an expert in Python) the Indeed the fix in |
The ValueError will be raised if OTEL_PROPAGATORS environment variable is set and contains a value that is not |
@mabdinur so now we're seeing another fun error.
I think Line 52 in 4f7052e
|
Python Snowflake Driver Team says you're including
opentelemetry-api
wrong.I think they're the ones that are wrong, by building opentelemetry into their connector, instead of getting their instrumentation landed here: https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation
and in an ideal world, in this repo as well.
Would ya'll mind sorting this out?
snowflakedb/snowflake-connector-python#2084
Thanks!
The text was updated successfully, but these errors were encountered: