-
-
Notifications
You must be signed in to change notification settings - Fork 717
[FEAT][Telemetry] Add OpenTelemetry support for agent logging and tel… #1304
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
base: master
Are you sure you want to change the base?
Conversation
…emetry data collection
| ), | ||
| ) | ||
|
|
||
| # Telemetry: log agent creation/initialization to swarms telemetry platform. |
Check failure
Code scanning / Pyre
Incompatible parameter type Error
|
|
||
| # Optional OpenTelemetry support (best-effort) | ||
| try: | ||
| from opentelemetry import trace |
Check failure
Code scanning / Pyre
Undefined import Error
| # Optional OpenTelemetry support (best-effort) | ||
| try: | ||
| from opentelemetry import trace | ||
| from opentelemetry.sdk.resources import Resource |
Check failure
Code scanning / Pyre
Undefined import Error
| try: | ||
| from opentelemetry import trace | ||
| from opentelemetry.sdk.resources import Resource | ||
| from opentelemetry.sdk.trace import TracerProvider |
Check failure
Code scanning / Pyre
Undefined import Error
| from opentelemetry import trace | ||
| from opentelemetry.sdk.resources import Resource | ||
| from opentelemetry.sdk.trace import TracerProvider | ||
| from opentelemetry.sdk.trace.export import BatchSpanProcessor |
Check failure
Code scanning / Pyre
Undefined import Error
| from opentelemetry.exporter.otlp.proto.grpc.trace_exporter import ( | ||
| OTLPSpanExporter, | ||
| ) |
Check failure
Code scanning / Pyre
Undefined import Error
Resolves #1269
📚 Documentation preview 📚: https://swarms--1304.org.readthedocs.build/en/1304/