emfprocessor

package
v1.247349.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SectionKeyMetricNamespace = "metric_namespace"

	ECSDefaultCloudWatchNamespace = "ECS/ContainerInsights/Prometheus"
	K8SDefaultCloudWatchNamespace = "ContainerInsights/Prometheus"
	EC2DefaultCloudWatchNamespace = "CWAgent/Prometheus"
)
View Source
const (
	SectionKeyMetricDeclaration = "metric_declaration"
)
View Source
const (
	SectionKeyMetricDeclarationDedup = "metric_declaration_dedup"
)
View Source
const (
	SectionKeyMetricUnit = "metric_unit"
)
View Source
const (
	SubSectionKey = "emf_processor"
)

Variables

View Source
var ChildRule = map[string]Rule{}

Functions

func GetCurPath

func GetCurPath() string

func RegisterRule

func RegisterRule(fieldname string, r Rule)

Types

type EMFProcessor

type EMFProcessor struct {
}

func (*EMFProcessor) ApplyRule

func (e *EMFProcessor) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type MetricDeclaration

type MetricDeclaration struct {
}

func (*MetricDeclaration) ApplyRule

func (m *MetricDeclaration) ApplyRule(input interface{}) (string, interface{})

type MetricDeclarationDedup

type MetricDeclarationDedup struct {
}

func (*MetricDeclarationDedup) ApplyRule

func (d *MetricDeclarationDedup) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type MetricNamespace

type MetricNamespace struct {
}

func (*MetricNamespace) ApplyRule

func (d *MetricNamespace) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

type MetricUnit added in v1.247346.1

type MetricUnit struct {
}

func (*MetricUnit) ApplyRule added in v1.247346.1

func (mu *MetricUnit) ApplyRule(input interface{}) (string, interface{})

type Rule

type Rule translator.Rule

Jump to

Keyboard shortcuts

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