Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetDebugCache ¶
func GetDebugCache(t controller.PrometheusCacheType) []byte
func NewMetricLabelNameKey ¶
func NewMetricLabelNameKey(metricID, labelNameID int) metricLabelNameKey
Types ¶
type Cache ¶
type Cache struct {
MetricName *metricName
LabelName *labelName
LabelValue *labelValue
MetricAndAPPLabelLayout *metricAndAPPLabelLayout
Target *target
Label *label
MetricLabelName *metricLabelName
MetricTarget *metricTarget
// contains filtered or unexported fields
}
func GetSingleton ¶
func GetSingleton() *Cache
type LabelKey ¶
func NewLabelKey ¶
type LayoutKey ¶
type LayoutKey struct {
MetricName string `json:"metric_name"`
LabelName string `json:"label_name"`
}
func NewLayoutKey ¶
type MetricTargetKey ¶
func NewMetricTargetKey ¶
func NewMetricTargetKey(metricName string, targetID int) MetricTargetKey
Click to show internal directories.
Click to hide internal directories.