Documentation
¶
Overview ¶
Package opencensus provides an otelcol.receiver.opencensus component.
Index ¶
- Variables
- type Arguments
- func (args Arguments) Convert() (otelconfig.Receiver, error)
- func (args Arguments) Exporters() map[otelconfig.DataType]map[otelconfig.ComponentID]otelcomponent.Exporter
- func (args Arguments) Extensions() map[otelconfig.ComponentID]otelcomponent.Extension
- func (args Arguments) NextConsumers() *otelcol.ConsumerArguments
- func (args *Arguments) UnmarshalRiver(f func(interface{}) error) error
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultArguments = Arguments{ GRPC: otelcol.GRPCServerArguments{ Endpoint: "0.0.0.0:4317", Transport: "tcp", ReadBufferSize: 512 * units.Kibibyte, }, }
Default server settings.
Functions ¶
This section is empty.
Types ¶
type Arguments ¶
type Arguments struct { CorsAllowedOrigins []string `river:"cors_allowed_origins,attr,optional"` GRPC otelcol.GRPCServerArguments `river:",squash"` // Output configures where to send received data. Required. Output *otelcol.ConsumerArguments `river:"output,block"` }
Arguments configures the otelcol.receiver.opencensus component.
func (Arguments) Convert ¶
func (args Arguments) Convert() (otelconfig.Receiver, error)
Convert implements receiver.Arguments.
func (Arguments) Exporters ¶
func (args Arguments) Exporters() map[otelconfig.DataType]map[otelconfig.ComponentID]otelcomponent.Exporter
Exporters implements receiver.Arguments.
func (Arguments) Extensions ¶
func (args Arguments) Extensions() map[otelconfig.ComponentID]otelcomponent.Extension
Extensions implements receiver.Arguments.
func (Arguments) NextConsumers ¶
func (args Arguments) NextConsumers() *otelcol.ConsumerArguments
NextConsumers implements receiver.Arguments.
func (*Arguments) UnmarshalRiver ¶ added in v0.32.0
UnmarshalRiver implements river.Unmarshaler and supplies defaults.
Click to show internal directories.
Click to hide internal directories.