mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
supressing warning
This commit is contained in:
@@ -53,7 +53,8 @@ class Telemetry:
|
|||||||
self.resource = Resource(
|
self.resource = Resource(
|
||||||
attributes={SERVICE_NAME: "crewAI-telemetry"},
|
attributes={SERVICE_NAME: "crewAI-telemetry"},
|
||||||
)
|
)
|
||||||
self.provider = TracerProvider(resource=self.resource)
|
with suppress_warnings():
|
||||||
|
self.provider = TracerProvider(resource=self.resource)
|
||||||
|
|
||||||
processor = BatchSpanProcessor(
|
processor = BatchSpanProcessor(
|
||||||
OTLPSpanExporter(
|
OTLPSpanExporter(
|
||||||
|
|||||||
Reference in New Issue
Block a user