Skip to content

Conversation

@Falven
Copy link

@Falven Falven commented Dec 4, 2025

Summary

  • Pin opentelemetry-api and opentelemetry-sdk to 1.24.0 in simulator requirements.
  • Keeps azure-monitor-opentelemetry 1.3.0 compatible (provides LogData import path) and prevents Gunicorn boot failures.

Rationale

  • Recent rebuilds picked up newer OpenTelemetry that removed LogData from opentelemetry.sdk._logs, causing startup crash: "cannot import name 'LogData'" during azure.monitor.opentelemetry import.

Testing

  • Rebuild simulator image with the pin and verify it starts.
  • Local sanity: pip install -r requirements.txt succeeds with pinned versions.

Risks / Rollback

  • Low: only adds version pins; no code changes. If issues arise, revert the pin to return to floating OTel versions.

@Falven Falven changed the title fix: pin opentelemetry so azure monitor bootstrap keeps working fix: pin opentelemetry to prevent LogData issue Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant