OTEL-071: logging exporter deprecated (renamed to debug in v0.111.0)
Severity: warn (advisory)
Rule Details
The exporter previously named logging was renamed to debug in OpenTelemetry Collector v0.111.0. Both names currently work but logging is slated for removal. Renaming is a mechanical find-and-replace and buys you one fewer deprecation warning in the Collector logs.
This rule fires when an exporter whose base name is logging is declared.
Options
This rule has no options.
Examples
Avoid
exporters:
logging: {}
Prefer
exporters:
debug: {}
When Not To Use It
Collectors pinned to a version older than v0.111.0 where the debug name does not yet exist. Upgrade and rename.
Related Rules
Version
Available since augur v0.1.0.
Further Reading
Resources
- Rule source:
policy/main/lifecycle.rego