feat(servicekit): OpenTelemetry tracer provider and RPC propagation

This commit is contained in:
sam committed 2026-10-25 23:11:03 +11:00
1 parent b30cb0b1db
commit bc41094b14
23 files changed
+288 -29

No files matched your search

@@ -58,6 +58,9 @@ func (l *Loader) applyDefaults(cfg *config.Config) {
if cfg.Health.DependencyTimeout == 0 {
cfg.Health.DependencyTimeout = config.Duration(defaultHealthDependencyTimeout)
}
if cfg.Telemetry.SampleRatio == 0 {
cfg.Telemetry.SampleRatio = 1
}
l.applyGeneralDefaults(cfg)
applyForgeDefaults(cfg)
applyDispatchDefaults(cfg)
@@ -24,6 +24,7 @@ var DeniedKeys = map[string]string{
"services.*": "Binds service listeners and remote clients at startup.",
"nats.*": "Constructs the broker connection at startup.",
"web.*": "Binds the dashboard listener and authentication at startup.",
"telemetry.*": "Constructs the trace exporter at startup.",
"health.*": "Constructs health listeners and probes at startup.",
"bindings.encryption_key": "Selects the State Store encryption key at startup.",
"bindings.previous_encryption_keys": "Selects the State Store's previous encryption key at startup.",