mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-13 03:42:35 -06:00
668708d5e7
1. I think an extra section on OT is warranted, even if it's brief. 2. The config now expects "type" to be set to "grpc" to enable the current feature set. More options may follow in the future. This is meant to future-proof the config. Future values might include "http", where the address, TLS and sampling related settings would be reused; and "global", where the setup would use whatever global trace provider was configured with otel. The latter use case would be for embedding OPA via the SDK. 3. Decision ID attributes are only added to spans if decision logging is enabled. Fixes #4128. Signed-off-by: Stephan Renatus <stephan.renatus@gmail.com>