Skip to main content

Module testing

Module testing 

Source

Structs§

ProbedConfigEntry
Observe this SDK’s real config defaults and applicability, variable by variable. Lives here rather than in a probe binary so the executable contract test and the cross-language parity gate measure the same thing. One environment variable as observed from a real TelemetryConfig.

Functions§

acquire_test_state_lock
Serialize tests that mutate process-global telemetry state.
config_defaults_probe
Observe this SDK’s real config defaults and applicability, variable by variable. Lives here rather than in a probe binary so the executable contract test and the cross-language parity gate measure the same thing. Report what this SDK actually does with each named environment variable.
reset_telemetry_state
Reset all telemetry state to keep tests isolated.
reset_trace_context
Clear manual trace context to prevent cross-test leakage.