exporter

package
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 27, 2020 License: Apache-2.0 Imports: 0 Imported by: 307

README

General Information

An exporter is how data gets sent to different systems/back-ends. Generally, an exporter translates the internal format into another defined format.

Supported trace exporters (sorted alphabetically):

Supported metric exporters (sorted alphabetically):

Supported local exporters (sorted alphabetically):

The contributors repository has more exporters that can be added to custom builds of the Collector.

Proxy Support

Beyond standard YAML configuration as outlined in the sections that follow, exporters that leverage the net/http package (all do today) also respect the following proxy environment variables:

  • HTTP_PROXY
  • HTTPS_PROXY
  • NO_PROXY

If set at Collector start time then exporters, regardless of protocol, will or will not proxy traffic as defined by these environment variables.

Data Ownership

When multiple exporters are configured to send the same data (e.g. by configuring multiple exporters for the same pipeline) the exporters will have a shared access to the data. Exporters get access to this shared data when ConsumeTraceData/ConsumeMetricsData function is called. Exporters MUST NOT modify the TraceData/MetricsData argument of these functions. If the exporter needs to modify the data while performing the exporting the exporter can clone the data and perform the modification on the clone or use a copy-on-write approach for individual sub-parts of TraceData/MetricsData argument. Any approach that does not mutate the original TraceData/MetricsData argument (including referenced data, such as Node, Resource, Spans, etc) is allowed.

Documentation

Overview

Package exporter contains implementations of Exporter components.

To implement a custom exporter you will need to implement component.ExporterFactory interface and component.Exporter interface.

To make the custom exporter part of the Collector build the factory must be added to defaultcomponents.Components() function.

Directories

Path Synopsis
Package jaegerexporter implements an exporter that sends trace data to a Jaeger collector gRPC endpoint.
Package jaegerexporter implements an exporter that sends trace data to a Jaeger collector gRPC endpoint.
nopexporter module
Note: implementation for this class is in a separate PR
Note: implementation for this class is in a separate PR
xexporter module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL