Documentation ¶
Overview ¶
Package opencensusreceiver receives OpenCensus traces and metrics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
NewFactory creates a new OpenCensus receiver factory.
Types ¶
type Config ¶
type Config struct { // Configures the receiver server protocol. configgrpc.ServerConfig `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct // CorsOrigins are the allowed CORS origins for HTTP/JSON requests to grpc-gateway adapter // for the OpenCensus receiver. See github.com/rs/cors // An empty list means that CORS is not enabled at all. A wildcard (*) can be // used to match any origin or one or more characters of an origin. CorsOrigins []string `mapstructure:"cors_allowed_origins"` }
Config defines configuration for OpenCensus receiver.
Directories ¶
Path | Synopsis |
---|---|
internal
|
|
ocmetrics
Package ocmetrics is the logic for receiving OpenCensus metrics proto from already instrumented applications and then passing them onto a metricsink instance.
|
Package ocmetrics is the logic for receiving OpenCensus metrics proto from already instrumented applications and then passing them onto a metricsink instance. |
octrace
Package octrace is the logic for receiving OpenCensus trace protobuf defined spans from already instrumented applications and then passing them onto a TracesReceiverSink instance.
|
Package octrace is the logic for receiving OpenCensus trace protobuf defined spans from already instrumented applications and then passing them onto a TracesReceiverSink instance. |
Click to show internal directories.
Click to hide internal directories.