Skip to content

[BOUNTY/FEAT-TELEMETRY][Added Telemetry to agent.py and all swarms structs] - #1200

Closed
IlumCI wants to merge 6 commits into
kyegomez:masterfrom
IlumCI:bounty
Closed

[BOUNTY/FEAT-TELEMETRY][Added Telemetry to agent.py and all swarms structs]#1200
IlumCI wants to merge 6 commits into
kyegomez:masterfrom
IlumCI:bounty

Add OpenTelemetry dependencies with version constraints

a3087da
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / Pyre failed Nov 13, 2025 in 4s

19 new alerts including 19 errors

New alerts in code changed by this pull request

  • 19 errors

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 84 in swarms/structs/agent.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import swarms.telemetry.opentelemetry_integration.

Check failure on line 34 in swarms/structs/swarm_router.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import swarms.telemetry.opentelemetry_integration.

Check failure on line 701 in swarms/structs/swarm_router.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined attribute Error

Undefined attribute [16]: SwarmRouter has no attribute swarm.

Check failure on line 701 in swarms/structs/swarm_router.py

See this annotation in the file changed.

Code scanning / Pyre

Incompatible parameter type Error

Incompatible parameter type [6]: In call SwarmRouter._create_swarm, for 1st positional argument, expected str but got Optional[str].

Check failure on line 18 in swarms/telemetry/__init__.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import swarms.telemetry.opentelemetry_integration.

Check failure on line 24 in swarms/telemetry/opentelemetry_intergation.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import loguru.

Check failure on line 32 in swarms/telemetry/opentelemetry_intergation.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import opentelemetry.

Check failure on line 33 in swarms/telemetry/opentelemetry_intergation.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import opentelemetry.sdk.trace.

Check failure on line 34 in swarms/telemetry/opentelemetry_intergation.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import opentelemetry.sdk.trace.export.

Check failure on line 35 in swarms/telemetry/opentelemetry_intergation.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import opentelemetry.sdk.metrics.

Check failure on line 36 in swarms/telemetry/opentelemetry_intergation.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import opentelemetry.sdk.metrics.export.

Check failure on line 37 in swarms/telemetry/opentelemetry_intergation.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import opentelemetry.sdk._logs.

Check failure on line 38 in swarms/telemetry/opentelemetry_intergation.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import opentelemetry.sdk._logs.export.

Check failure on line 41 in swarms/telemetry/opentelemetry_intergation.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import opentelemetry.exporter.otlp.proto.grpc.trace_exporter.

Check failure on line 44 in swarms/telemetry/opentelemetry_intergation.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import opentelemetry.exporter.otlp.proto.grpc.metric_exporter.

Check failure on line 47 in swarms/telemetry/opentelemetry_intergation.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import opentelemetry.exporter.otlp.proto.grpc._log_exporter.

Check failure on line 48 in swarms/telemetry/opentelemetry_intergation.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import opentelemetry.sdk.resources.

Check failure on line 51 in swarms/telemetry/opentelemetry_intergation.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import opentelemetry.trace.propagation.tracecontext.

Check failure on line 357 in swarms/telemetry/opentelemetry_intergation.py

See this annotation in the file changed.

Code scanning / Pyre

Undefined import Error

Undefined import [21]: Could not find a module corresponding to import opentelemetry._logs.