Discover Packages
go.opentelemetry.io/collector
exporter
opencensusexporter
package
Version:
v0.13.0
Opens a new window with list of versions in this module.
Published: Oct 19, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 15
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
OpenCensus Exporter
Exports traces and/or metrics via gRPC using
OpenCensus format.
The following settings are required:
The following settings can be optionally configured:
insecure
(default = false): whether to enable client transport security for
the exporter's gRPC connection. See
grpc.WithInsecure() .
ca_file
path to the CA cert. For a client this verifies the server certificate. Should
only be used if insecure
is set to false.
cert_file
path to the TLS cert to use for TLS required connections. Should
only be used if insecure
is set to false.
key_file
path to the TLS key to use for TLS required connections. Should
only be used if insecure
is set to false.
compression
(default = gzip): compression key for supported compression
types within collector. Currently the only supported mode is gzip
.
headers
the headers associated with gRPC requests.
keepalive
keepalive parameters for client gRPC. See
grpc.WithKeepaliveParams() .
num_workers
(default = 2): number of workers that send the gRPC requests.
Optional.
balancer_name
(default = pick_first): Sets the balancer in grpclb_policy to discover the servers.
See grpc loadbalancing example .
wait_for_ready
: Option not supported.
Example:
exporters:
opencensus:
endpoint: otelcol2:55678
The full list of settings exposed for this exporter are documented here
with detailed sample configurations here .
Expand ▾
Collapse ▴
Documentation
¶
NewFactory creates a factory for OTLP exporter.
Config defines configuration for OpenCensus exporter.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.