move tracer to skyvern init (#660)

This commit is contained in:
Shuchang Zheng
2024-07-30 16:13:51 -07:00
committed by GitHub
parent 66450caedc
commit b2d692f005
2 changed files with 10 additions and 10 deletions

View File

@@ -1,3 +1,13 @@
from ddtrace import tracer
from ddtrace.filters import FilterRequestsOnUrl
from skyvern.forge.sdk.forge_log import setup_logger
tracer.configure(
settings={
"FILTERS": [
FilterRequestsOnUrl(r"http://.*/heartbeat$"),
],
},
)
setup_logger()