Documentation ¶
Index ¶
- func GetMetricType(mtype telegraf.ValueType) (metricType datapoint.MetricType)
- type SignalFx
- func (s *SignalFx) Close() error
- func (s *SignalFx) Connect() error
- func (s *SignalFx) ConvertToSignalFx(metrics []telegraf.Metric) ([]*datapoint.Datapoint, []*event.Event)
- func (s *SignalFx) Description() string
- func (s *SignalFx) SampleConfig() string
- func (s *SignalFx) Write(metrics []telegraf.Metric) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMetricType ¶
func GetMetricType(mtype telegraf.ValueType) (metricType datapoint.MetricType)
GetMetricType returns the equivalent telegraf ValueType for a signalfx metric type
Types ¶
type SignalFx ¶
type SignalFx struct { AccessToken string `toml:"access_token"` SignalFxRealm string `toml:"signalfx_realm"` IngestURL string `toml:"ingest_url"` IncludedEventNames []string `toml:"included_event_names"` Log telegraf.Logger `toml:"-"` // contains filtered or unexported fields }
SignalFx plugin context
func NewSignalFx ¶
func NewSignalFx() *SignalFx
NewSignalFx - returns a new context for the SignalFx output plugin
func (*SignalFx) ConvertToSignalFx ¶
func (*SignalFx) Description ¶
Description returns a description for the plugin
func (*SignalFx) SampleConfig ¶
SampleConfig returns the sample configuration for the plugin
Click to show internal directories.
Click to hide internal directories.