Skip to content
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

[Feature] DBT Instrumentation with opentelemetry tracing #11367

Open
3 tasks done
sfc-gh-vguttha opened this issue Mar 6, 2025 · 0 comments
Open
3 tasks done

[Feature] DBT Instrumentation with opentelemetry tracing #11367

sfc-gh-vguttha opened this issue Mar 6, 2025 · 0 comments
Labels
enhancement New feature or request triage

Comments

@sfc-gh-vguttha
Copy link

sfc-gh-vguttha commented Mar 6, 2025

Is this your first time submitting a feature request?

  • I have read the expectations for open source contributors
  • I have searched the existing issues, and I could not find an existing issue for this feature
  • I am requesting a straightforward extension of existing dbt functionality, rather than a Big Idea better suited to a discussion

Describe the feature

We are collaborating to add opentelemetry auto instrumentation to DBT execution which involves in code changes to dbt-core, dbt-common, dbt-adapters.

As part of this feature we want to achieve the following:

  1. Add span to trace the dbt model execution.
  2. Add span for pre_hooks and post_hooks executed within a model and the parent of these spans gonna be model span.
  3. Add a span for on-run-start and on-run-end executions.
  4. Add a span called metadata setup which traces the metadata queries DBT submits to find database/schema and create schema if required.

To support this we add new dependency on opentelemetry-api.

Describe alternatives you've considered

No response

Who will this benefit?

Snowflake customers can have auto-instrumented Telemetry for their dbt workloads but we believe this would be useful for other users of DBT to understand and debug the pipeline by configuring opentelemetry and collecting the exported instrumentation.

Are you interested in contributing this feature?

Yes

Anything else?

No response

@sfc-gh-vguttha sfc-gh-vguttha added enhancement New feature or request triage labels Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request triage
Projects
None yet
Development

No branches or pull requests

1 participant