Skip to content

Commit dc5811b

Browse files
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>
1 parent f7a8c85 commit dc5811b

File tree

6 files changed

+782
-5
lines changed

6 files changed

+782
-5
lines changed

backend/windmill-worker/src/bun_executor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ use windmill_common::s3_helpers::attempt_fetch_bytes;
5252
use windmill_parser::Typ;
5353

5454
#[cfg(feature = "enterprise")]
55-
use crate::otel_auto_instrumentation_ee::{
55+
use crate::otel_auto_instrumentation_impl::{
5656
get_otel_auto_instrumentation_config, get_otel_typescript_env_vars,
5757
};
5858
#[cfg(not(feature = "enterprise"))]

backend/windmill-worker/src/deno_executor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use windmill_common::{
2424
use windmill_parser::Typ;
2525

2626
#[cfg(feature = "enterprise")]
27-
use crate::otel_auto_instrumentation_ee::{
27+
use crate::otel_auto_instrumentation_impl::{
2828
get_otel_auto_instrumentation_config, get_otel_typescript_env_vars,
2929
};
3030
#[cfg(not(feature = "enterprise"))]

backend/windmill-worker/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ mod oracledb_executor;
5353
pub mod otel_ee;
5454
mod otel_oss;
5555
#[cfg(feature = "enterprise")]
56-
pub mod otel_auto_instrumentation_ee;
56+
pub mod otel_auto_instrumentation_impl;
5757
pub mod otel_auto_instrumentation_oss;
5858
mod pg_executor;
5959
#[cfg(feature = "php")]

0 commit comments

Comments
 (0)