Rulvar API reference / @rulvar/cli / ToOtelOptions
Interface: ToOtelOptions
Defined in: packages/cli/src/otel.ts:56
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
contextApi? | OtelContextApi | OTel context API for parentage; when absent, spans are flat but attributed. | packages/cli/src/otel.ts:58 |
patterns? | readonly (string | RegExp)[] | Host redaction patterns applied to every exported string attribute ON TOP of the default credential set (RV-217). Feed the same list as createEngine redaction.patterns for event/trace parity; an invalid pattern is a typed ConfigError before anything exports. | packages/cli/src/otel.ts:67 |
setSpan? | (context, span) => unknown | trace.setSpan(context, span) equivalent; required with contextApi. | packages/cli/src/otel.ts:60 |