OTEL-072: OpenCensus receiver/exporter (deprecated, migrate to OTLP)
Severity: warn (advisory)
Rule Details
OpenCensus was the predecessor to OpenTelemetry; its wire protocol is in long-term deprecation. The opencensus receiver and exporter are still shipped for migration purposes but should not be used for new pipelines. Switch clients and backends to OTLP, which is the supported protocol for every current Collector component.
This rule fires when a receiver or exporter whose base name is opencensus is declared.
Options
This rule has no options.
Examples
Avoid
receivers:
opencensus:
endpoint: localhost:55678
exporters:
opencensus:
endpoint: legacy-backend:55678
Prefer
receivers:
otlp:
protocols:
grpc:
endpoint: localhost:4317
exporters:
otlp/backend:
endpoint: backend:4317
When Not To Use It
Mid-migration Collectors that still need to bridge legacy OpenCensus clients to an OTLP backend. Once the clients are upgraded, remove the receiver/exporter.
Related Rules
- OTEL-071 —
loggingexporter deprecated - OTEL-073 —
memory_limiterballast_size_mibdeprecated - OTEL-074 —
service.telemetry.metrics.addressdeprecated
Version
Available since augur v0.1.0.
Further Reading
Resources
- Rule source:
policy/main/lifecycle.rego