OpenCensus
Introduction
The OpenCensus exporter allows you to export traces and metrics from the OpenCensus Service to a service of your choice.
Use cases
- Your backend could be OpenCensus Protocol compliant.
- You might want to daisy chain various Collectors and then export once (for example to preserve bandwidth or connections or create a mesh network to batch data and piggyback due to connection limits with the outside world/APM backend).
Configuration
In Service’s YAML configuration file, under section “exporters” and sub-section “opencensus”, configure these fields:
Format
exporters:
opencensus:
endpoint: "<host:port>"
compression: "<compression e.g. gzip>"
Example
exporters:
opencensus:
endpoint: "localhost:44788"
Notes
- Please ensure that
endpoint
DOES NOT point to the same address as that of the OpenCensus receiver.address to avoid a SELF-DOS LOOP
References
Resources | URL |
---|---|
OpenCensus Protocol | OpenCensus Protocol |