provide-telemetry
2026-04-01
Enterprise readiness, lazy loading, TypeScript metric wiring, perf/stress suites, mutation kill sweep
88 files · 5,913+ · 551-
Lazy module loading for FaaS cold start reduction
1 file changed
__init__.pyHeavy modules lazy-loaded on first use; cold-start import count drops from 34 to 16
- Heavy optional modules (OTel exporters, memray, resilience) deferred to first-use lazy loading. Cold-start module count drops from 34 to 16, significantly reducing FaaS (Lambda/Cloud Run) initialization time.
streamline
behavioral
1 file
__init__.py
TypeScript config wired into runtime behavior
4 files changed
schema.tsFull TelemetryConfig env vars: metricsEnabled, logIncludeCaller, logModuleLevels, PII label alignmentsampling.tsConfig-driven sampling policies wired at runtimepii.tsCustom PII rules wired into write hook via config; hardening profile refactoredotel.tsOTLP log export added; metricsEnabled toggle and runtime metric exemplar attachment
- Remaining TypeScript TelemetryConfig fields wired into runtime: metricsEnabled toggle enables/disables metric collection, logIncludeCaller and logModuleLevels added to schema, custom PII rules wired into the write hook, metric exemplars attached from active OTel trace context. OTLP log export added for Python parity.
instantiate
behavioral
3 files
schema.tspii.tsotel.ts
TypeScript metric wrappers and SLO tracking
3 files changed
slo.tsSLO tracking with .value/.count/.total accessors on instrumentstracing.tsTracing wrappers and propagation helpersresilience.tsResilience primitives (circuit breaker, retry) TypeScript parity
- TypeScript metric wrappers added with .value/.count/.total accessors on instrument objects for ergonomic metric reading in tests. SLO tracking module added. Resilience primitives (circuit breaker, retry) brought to Python parity. Propagation helpers added.
instantiate
behavioral
2 files
slo.tsresilience.ts
Performance and stress test suites (Python + TypeScript)
3 files changed
slo.test.tsSLO and performance testsresilience.test.tsResilience stress teststracing.test.tsTracing performance tests
- Performance and stress test suites added for both Python and TypeScript. TypeScript tests cover SLO accuracy under load, resilience under saturation, and tracing throughput. Python stress tests verify emission throughput and circuit breaker behavior under load.
qualify
internal
2 files
slo.test.tsresilience.test.ts
Kill all surviving Python and TypeScript mutants
2 files changed
stryker.config.mjsStryker config tuned; all TypeScript mutants killedcore.pyPython mutation survivors killed; pragma no mutate narrowed to module-level init only
Enterprise readiness: CI hardening, Docker health checks, docs
6 files changed
action.ymlReusable setup-openobserve composite action for CIci-python.ymlSPDX check fixed for bash on Windows; heading lint addeddocker-compose.ymlDocker health checks added to all servicesCONTRIBUTING.mdContributing guide addedSECURITY.mdSecurity policy addedPRODUCTION_PROFILES.mdProduction profiles documentation
- Enterprise readiness pass: reusable setup-openobserve composite action eliminates duplicated CI setup. Docker health checks added to all services. SPDX check shell set to bash for Windows compatibility. Contributing guide, security policy, and production profiles docs added.
baseline
internal
2 files
action.ymldocker-compose.yml