otelcollector

package
v0.0.0-...-62f8f24 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2020 License: Apache-2.0 Imports: 18 Imported by: 0

README

Oragent Exporter for OpenTelemetry Collector

This exporter supports sending OpenTelemetry data to Oragent

Supported pipeline types: traces, metrics

Configuration options
  • api_key (required): API key uses for authentication.

api_key can be set both from configuration file or from environment variable ORAGENT_API_KEY. If both are specified, the value from configuration file will be used.

Other configs can be provided as the same manner with OpenCensus Exporter

Example
exporters:
  oragent:
    api_key: "<YOUR_API_KEY>"

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFactory

func NewFactory() component.ExporterFactory

NewFactory creates a factory for OTLP exporter.

Types

type Config

type Config struct {
	opencensusexporter.Config `mapstructure:",squash"`

	// The API key use for authentication.
	APIKey string `mapstructure:"api_key"`
}

Config defines configuration for Oragent exporter.

Jump to

Keyboard shortcuts

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