Skip to content

OpenTelemetry error failed to create resource: conflicting Schema URL #2416

@elgreco247

Description

@elgreco247

Describe the bug

Starting docker-agent with OpenTelemetry tracing enabled is failing with the following warning:
msg="Failed to initialize OpenTelemetry SDK" error="failed to create resource: conflicting Schema URL: https://opentelemetry.io/schemas/1.40.0 and https://opentelemetry.io/schemas/1.37.0"

Version affected

docker-agent version v1.44.0

How To Reproduce

  1. Execute docker-agent models --otel --debug
  2. Look at the file ~/.cagent/cagent.debug.log
  3. There is a WARN log entry with the message mentioned above

Expectation

  • No warning
  • OpenTelemetry tracing works

Screenshots

n/a

OS and Terminal type

macOS Tahoe 26.4 / iTerm2

Additional context

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions