Documentation ¶
Index ¶
Constants ¶
View Source
const (
PluginName = "processor_log_to_sls_metric"
)
Variables ¶
This section is empty.
Functions ¶
func GetLogTimeNano ¶
Types ¶
type ProcessorLogToSlsMetric ¶
type ProcessorLogToSlsMetric struct { MetricTimeKey string MetricLabelKeys []string MetricValues map[string]string CustomMetricLabels map[string]string IgnoreError bool // contains filtered or unexported fields }
func (*ProcessorLogToSlsMetric) Description ¶
func (p *ProcessorLogToSlsMetric) Description() string
func (*ProcessorLogToSlsMetric) Init ¶
func (p *ProcessorLogToSlsMetric) Init(context pipeline.Context) (err error)
func (*ProcessorLogToSlsMetric) ProcessLogs ¶
func (p *ProcessorLogToSlsMetric) ProcessLogs(logArray []*protocol.Log) []*protocol.Log
Click to show internal directories.
Click to hide internal directories.