# OpenCensus gRPC Exporter | Status | | | ------------- |-----------| | Stability | [beta]: traces, metrics | | Distributions | [core], [contrib], [observiq] | | Issues | [![Open issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aopen%20label%3Aexporter%2Fopencensus%20&label=open&color=orange&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aopen+is%3Aissue+label%3Aexporter%2Fopencensus) [![Closed issues](https://img.shields.io/github/issues-search/open-telemetry/opentelemetry-collector-contrib?query=is%3Aissue%20is%3Aclosed%20label%3Aexporter%2Fopencensus%20&label=closed&color=blue&logo=opentelemetry)](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues?q=is%3Aclosed+is%3Aissue+label%3Aexporter%2Fopencensus) | | [Code Owners](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/CONTRIBUTING.md#becoming-a-code-owner) | [@open-telemetry/collector-approvers](https://github.com/orgs/open-telemetry/teams/collector-approvers) | [beta]: https://github.com/open-telemetry/opentelemetry-collector#beta [core]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol [contrib]: https://github.com/open-telemetry/opentelemetry-collector-releases/tree/main/distributions/otelcol-contrib [observiq]: https://github.com/observIQ/observiq-otel-collector Exports traces and/or metrics via gRPC using [OpenCensus](https://opencensus.io/) 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 [here](https://github.com/grpc/grpc/blob/master/doc/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: ```yaml 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: - [gRPC settings](https://github.com/open-telemetry/opentelemetry-collector/blob/main/config/configgrpc/README.md) - [TLS and mTLS settings](https://github.com/open-telemetry/opentelemetry-collector/blob/main/config/configtls/README.md) - [Queuing, retry and timeout settings](https://github.com/open-telemetry/opentelemetry-collector/blob/main/exporter/exporterhelper/README.md)