converter

package
v0.52.2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: Apache-2.0 Imports: 15 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"
	// SFxEventType key for splunk event type
	SFxEventType = "com.splunk.signalfx.event_type"
)

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) (plog.Logs, error)

func (Translator) ToMetrics added in v0.31.0

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

func (Translator) ToTraces added in v0.31.0

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

Jump to

Keyboard shortcuts

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