Documentation ¶
Index ¶
Constants ¶
View Source
const OtelMetricsTopic = "otlp.*.m.>"
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() component.ReceiverFactory
NewFactory creates a new OTLP receiver factory.
Types ¶
type Config ¶
type Config struct { config.ReceiverSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct // Protocols is the configuration for the supported protocols, currently gRPC and HTTP (Proto and JSON). Logger *zap.Logger // Entry from Metrics PubSub mfnats.PubSub // Entry for Accessing DataSets, AgentGroup and Sinks SinkerService *bridgeservice.SinkerOtelBridgeService }
Config defines configuration for OTLP receiver.
type OrbReceiver ¶
type OrbReceiver struct {
// contains filtered or unexported fields
}
OrbReceiver is the type that exposes Trace and Metrics reception.
func NewOrbReceiver ¶
func NewOrbReceiver(ctx context.Context, cfg *Config, settings component.ReceiverCreateSettings) *OrbReceiver
NewOrbReceiver just creates the OpenTelemetry receiver services. It is the caller's responsibility to invoke the respective Start*Reception methods as well as the various Stop*Reception methods to end it.
func (*OrbReceiver) MessageInbound ¶
func (r *OrbReceiver) MessageInbound(msg messaging.Message) error
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
sharedcomponent
Package sharedcomponent exposes util functionality for receivers and exporters that need to share state between different signal types instances such as net.Listener or os.File.
|
Package sharedcomponent exposes util functionality for receivers and exporters that need to share state between different signal types instances such as net.Listener or os.File. |
Click to show internal directories.
Click to hide internal directories.