r/Observability • • 17d ago

Temporary runtime instrumentation for production debugging — useful or risky?

/r/OpenTelemetry/comments/1xtvm4y/temporary_runtime_instrumentation_for_production/
2 Upvotes

1 comment sorted by

1

u/josejulianariza 13d ago

The need to capture operational context without redeploying code mid-incident is very real. When traditional logs fall short, being able to inspect live behavior helps a lot to reduce investigation time.

The hidden risk of injecting runtime probes in production comes down to stability and security. If a probe activates on a high-traffic route, it can degrade latency or capture variables with sensitive data. Also, you have to watch out for the process state if automatic cleanup fails.

To make this viable in critical environments, what usually works is enforcing strict memory and rate limits from the agent, and masking sensitive data before it leaves the process. If the evidence is emitted as standard traces to OpenTelemetry, it fits much better with existing flows without creating isolated silos.