Documentation
¶
Index ¶
Constants ¶
View Source
const EVENT_EXAMPLE = `` /* 1429-byte string literal not displayed */
Variables ¶
View Source
var Operations = Operation{}
View Source
var Plugins = []Plugin{
{
Id: 1,
Category: "timeseries",
Type: "prometheus",
TypeName: "Prometheus Like",
},
{
Id: 2,
Category: "logging",
Type: "elasticsearch",
TypeName: "Elasticsearch",
},
{
Id: 3,
Category: "logging",
Type: "jaeger",
TypeName: "Jaeger",
},
}
Functions ¶
func GetMetricDesc ¶
GetMetricDesc , if metric is not registered, empty string will be returned
func LoadMetricsYaml ¶
func LoadOpsYaml ¶
Types ¶
type AnonymousAccess ¶
type Center ¶
type MetricDescType ¶
type MetricDescType struct { CommonDesc map[string]string `yaml:",inline" json:"common"` Zh map[string]string `yaml:"zh" json:"zh"` En map[string]string `yaml:"en" json:"en"` }
metricDesc , As load map happens before read map, there is no necessary to use concurrent map for metric desc store
var MetricDesc MetricDescType
Click to show internal directories.
Click to hide internal directories.