mirror of
https://github.com/renovatebot/renovate.git
synced 2026-11-04 03:24:00 +00:00
5c1cec370e
As part of ongoing work to improve OpenTelemetry instrumentation of Renovate in #38609, we can introduce an instrumented call for each external command execution. This makes sure we cover the key functions used for command execution - `rawExec` - across the codebase, which is used under-the-hood by `exec`. Because commands could include sensitive arguments (such as repo or global secrets) we need to make sure we sanitize the span name. Note that we don't add instrumentation to `tools/utils/exec.ts` as it's only used for i.e. building the docs site, and isn't used as part of the core Renovate CLI.