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