converter

package
v0.41.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// SFxEventCategoryKey key for splunk event category,
	SFxEventCategoryKey = "com.splunk.signalfx.event_category"
	// SFxEventPropertiesKey key for splunk event properties.
	SFxEventPropertiesKey = "com.splunk.signalfx.event_properties"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Translator added in v0.31.0

type Translator struct {
	// contains filtered or unexported fields
}

func NewTranslator added in v0.31.0

func NewTranslator(logger *zap.Logger) Translator

func (Translator) ToLogs added in v0.31.0

func (c Translator) ToLogs(event *event.Event) (pdata.Logs, error)

func (Translator) ToMetrics added in v0.31.0

func (c Translator) ToMetrics(datapoints []*datapoint.Datapoint) (pdata.Metrics, error)

func (Translator) ToTraces added in v0.31.0

func (c Translator) ToTraces(spans []*trace.Span) (pdata.Traces, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL