Documentation
¶
Index ¶
Constants ¶
View Source
const ( AttributeRefType = "refType" AttributeParentService = "parent.service" AttributeParentInstance = "parent.service.instance" AttributeParentEndpoint = "parent.endpoint" AttributeNetworkAddressUsedAtPeer = "network.AddressUsedAtPeer" )
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() component.ReceiverFactory
NewFactory creates a new Skywalking receiver factory.
func ResponseWithJSON ¶
func ResponseWithJSON(rsp http.ResponseWriter, response *Response, code int)
func SkywalkingToTraces ¶ added in v0.48.0
func SkywalkingToTraces(segment *agentV3.SegmentObject) pdata.Traces
Types ¶
type Config ¶
type Config struct { config.ReceiverSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct Protocols `mapstructure:"protocols"` }
Config defines configuration for skywalking receiver.
type Protocols ¶
type Protocols struct { GRPC *configgrpc.GRPCServerSettings `mapstructure:"grpc"` HTTP *confighttp.HTTPServerSettings `mapstructure:"http"` }
Protocols is the configuration for the supported protocols.
Click to show internal directories.
Click to hide internal directories.