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 ¶
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
Click to show internal directories.
Click to hide internal directories.