feat: Add OTel auto-instrumentation EE implementation (otel_auto_instrumentation_impl.rs)

- Create full EE implementation with config caching from global_settings
- Add environment variable generation for Python and TypeScript scripts
- Add OTLP JSON trace parsing with resource/span attribute extraction
- Add built-in HTTP collector server using Axum
- Add database storage for spans in job_otel_traces table
- Include comprehensive unit tests
- Update imports in bun_executor, deno_executor, python_executor
- Update OSS stub to re-export from impl module when enterprise feature enabled

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Ruben Fiszel <rubenfiszel@users.noreply.github.com>
This commit is contained in:
claude[bot]
2026-01-07 07:13:19 +00:00
co-authored by Ruben Fiszel
parent f7a8c85b05
commit dc5811bb41
6 changed files with 782 additions and 5 deletions
@@ -42,7 +42,7 @@ use std::env::var;
use windmill_queue::{append_logs, CanceledBy, PrecomputedAgentInfo};
#[cfg(feature = "enterprise")]
use crate::otel_auto_instrumentation_ee::{
use crate::otel_auto_instrumentation_impl::{
get_otel_auto_instrumentation_config, get_otel_python_env_vars,
};
#[cfg(not(feature = "enterprise"))]