Documentation ¶
Overview ¶
Package otlpreceiver receives data in OTLP format.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory creates a new OTLP receiver factory.
Types ¶
type Config ¶
type Config struct { // Protocols is the configuration for the supported protocols, currently gRPC and HTTP (Proto and JSON). Protocols `mapstructure:"protocols"` }
Config defines configuration for OTLP receiver.
type HTTPConfig ¶ added in v0.84.0
type HTTPConfig struct { *confighttp.ServerConfig `mapstructure:",squash"` // The URL path to receive traces on. If omitted "/v1/traces" will be used. TracesURLPath string `mapstructure:"traces_url_path,omitempty"` // The URL path to receive metrics on. If omitted "/v1/metrics" will be used. MetricsURLPath string `mapstructure:"metrics_url_path,omitempty"` // The URL path to receive logs on. If omitted "/v1/logs" will be used. LogsURLPath string `mapstructure:"logs_url_path,omitempty"` }
type Protocols ¶
type Protocols struct { GRPC *configgrpc.ServerConfig `mapstructure:"grpc"` HTTP *HTTPConfig `mapstructure:"http"` }
Protocols is the configuration for the supported protocols.
Click to show internal directories.
Click to hide internal directories.