Compare commits

...

2 Commits

Author SHA1 Message Date
Emily Rockman
a7ddb02202 fix missing comma 2023-08-10 14:13:24 -05:00
Emily Rockman
1bd0b56701 sample tracing 2023-08-10 12:00:21 -05:00
4 changed files with 6 additions and 1 deletions

View File

@@ -2,6 +2,7 @@ from copy import deepcopy
from dataclasses import dataclass
from dataclasses import field
import datetime
from dbt.tracing import tracer
import os
import traceback
from typing import (
@@ -620,6 +621,7 @@ class ManifestLoader:
# Parse the files in the 'parser_files' dictionary, for parsers listed in
# 'parser_types'
@tracer.wrap(service="dbt-core")
def parse_project(
self,
project: Project,

3
core/dbt/tracing.py Normal file
View File

@@ -0,0 +1,3 @@
from ddtrace import tracer
tracer.configure(enabled=False)

View File

@@ -83,6 +83,7 @@ setup(
"pytz>=2015.7",
"pyyaml>=6.0",
"typing-extensions>=3.7.4",
"ddtrace>=1.17.3",
# ----
# Match snowflake-connector-python, to ensure compatibility in dbt-snowflake
"cffi>=1.9,<2.0.0",

View File

@@ -1,6 +1,5 @@
black==23.3.0
bumpversion
ddtrace
docutils
flake8
flaky