Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFactory ¶
func NewFactory() component.ReceiverFactory
NewFactory creates a new Yamas receiver factory. r teh component.NewReceiverFactory func implements factory interface for receivers
Types ¶
type Config ¶
type Config struct { config.ReceiverSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct confighttp.HTTPServerSettings `mapstructure:",squash"` // squash ensures fields are correctly decoded in embedded struct }
Config defines configuration for the SignalFx receiver.
type DataPoint ¶
type DataPoint struct { Application string `protobuf:"bytes,1,opt,name=source" json:"application"` Timestamp int64 `protobuf:"varint,3,opt,name=timestamp" json:"timestamp"` Metric string Value float64 Dimensions map[string]string `protobuf:"bytes,6,rep,name=dimensions" json:"dimensions,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DataPoint) GetApplication ¶
func (*DataPoint) GetTimestamp ¶
type DataPointUploadMessage ¶
type DataPointUploadMessage struct { Datapoints []*DataPoint `protobuf:"bytes,1,rep,name=datapoints" json:"datapoints,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DataPointUploadMessage) GetDatapoints ¶
func (m *DataPointUploadMessage) GetDatapoints() []*DataPoint
type DataPoints ¶
type DataPoints struct { ListOfDataPoints []*DataPoint `protobuf:"bytes,1,rep,name=datapoints" json:"datapoints,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DataPoints) UnmarshalJSON ¶
func (n *DataPoints) UnmarshalJSON(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.