sls

package
v0.0.0-...-8524f55 Latest Latest
Warning

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

Go to latest
Published: May 27, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSLSOutput

func NewSLSOutput() (output.Output, error)

Types

type SLSOutput

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

func GetOutPut

func GetOutPut() *SLSOutput

func (*SLSOutput) Start

func (c *SLSOutput) Start()

func (*SLSOutput) Stop

func (c *SLSOutput) Stop()

func (*SLSOutput) WriteBatchAsync

func (c *SLSOutput) WriteBatchAsync(configKey, targetKey, metricName string, array []*model.DetailData) error

func (*SLSOutput) WriteBatchV4

func (c *SLSOutput) WriteBatchV4(configKey, targetKey, metricName string, array []*model.DetailData, _ *output.PeriodCompleteness) error

func (*SLSOutput) WriteMetricsV1

func (c *SLSOutput) WriteMetricsV1(metrics []*model.Metric, extension output.Extension)

func (*SLSOutput) WriteToSLS

func (c *SLSOutput) WriteToSLS(configKey, targetKey string, table *model.Table, slsConfig *collectconfig.SlsConfig) error

Jump to

Keyboard shortcuts

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