Skip to content

Files

Latest commit

 

History

History

opencensusexporter

OpenCensus gRPC Exporter

Status
Stability deprecated: traces, metrics
Deprecation of metrics Date: 2025-02-14
Migration Note: Use OTLP exporter (#36791)
Deprecation of traces Date: 2025-02-14
Migration Note: use OTLP exporter (#36791)
Distributions core, contrib
Issues Open issues Closed issues
Code Owners @open-telemetry/collector-approvers

⚠️ This component is deprecated, slated for removal in August 2025. Please use the OTLP receiver instead.

Exports traces and/or metrics via gRPC using OpenCensus format.

Getting Started

The following settings are required:

  • endpoint (no default): host:port to which the exporter is going to send Jaeger trace data, using the gRPC protocol. The valid syntax is described in grpc's naming.md.

By default, TLS is enabled and must be configured under tls::

  • insecure (default = false): whether to enable client transport security for the exporter's connection.

As a result, the following parameters are also required under tls::

  • cert_file (no default): path to the TLS cert to use for TLS required connections. Should only be used if insecure is set to false.
  • key_file (no default): path to the TLS key to use for TLS required connections. Should only be used if insecure is set to false.

Example:

exporters:
  opencensus:
    endpoint: opencensus2:55678
    tls:
      cert_file: file.cert
      key_file: file.key
  opencensus/2:
    endpoint: opencensus2:55678
    tls:
      insecure: true

Advanced Configuration

Several helper files are leveraged to provide additional capabilities automatically: