emfprocessor

package
v1.247360.0 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SectionKeyLogGroupName = "log_group_name"

	K8SLogGroupNameFormat = "/aws/containerinsights/%s/prometheus"
	ECSLogGroupNameFormat = "/aws/ecs/containerinsights/%s/prometheus"
)
View Source
const SectionKey = "prometheus"
View Source
const (
	SectionKeyClusterName = "cluster_name"
)
View Source
const (
	SectionKeyConfigPath = "prometheus_config_path"
)

Variables

View Source
var ChildRule = map[string]Rule{}
View Source
var MergeRuleMap = map[string]mergeJsonRule.MergeRule{}

Functions

func GetCurPath

func GetCurPath() string

func RegisterRule

func RegisterRule(fieldname string, r Rule)

Types

type ClusterName

type ClusterName struct {
}

func (*ClusterName) ApplyRule

func (c *ClusterName) ApplyRule(input interface{}) (string, interface{})

type ConfigPath

type ConfigPath struct {
}

func (*ConfigPath) ApplyRule

func (obj *ConfigPath) ApplyRule(input interface{}) (string, interface{})

type LogGroupName

type LogGroupName struct {
}

func (*LogGroupName) ApplyRule

func (d *LogGroupName) ApplyRule(input interface{}) (string, interface{})

type Prometheus

type Prometheus struct {
}

func (*Prometheus) ApplyRule

func (p *Prometheus) ApplyRule(input interface{}) (returnKey string, returnVal interface{})

func (*Prometheus) Merge

func (p *Prometheus) Merge(source map[string]interface{}, result map[string]interface{})

type Rule

type Rule translator.Rule

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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