Documentation ¶
Index ¶
- func AttachSystemCommonTagsTo(to map[string]string)
- func ExtractContainerCommonTags(container *cri.Container) map[string]string
- func ExtractNodeCommonTags(node *v1.Node) map[string]string
- func ExtractNodeCommonTagsTo(node *v1.Node, to map[string]string) map[string]string
- func ExtractPodCommonTags(pod *v1.Pod) map[string]string
- func ExtractSidecarTags() map[string]string
- func RefLabel(item *appconfig.DataConfig_Metric_RefLabels_Item, labels map[string]string, ...) bool
- func RefLabels(items []*appconfig.DataConfig_Metric_RefLabels_Item, labels map[string]string, ...)
- func SuppressCommonTags(tags map[string]string)
- type Data
- type EventHandler
- type Syncer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractNodeCommonTagsTo ¶
func ExtractSidecarTags ¶
func RefLabel ¶
func RefLabel(item *appconfig.DataConfig_Metric_RefLabels_Item, labels map[string]string, to map[string]string) bool
RefLabel ref labels as tags
func RefLabels ¶
func RefLabels(items []*appconfig.DataConfig_Metric_RefLabels_Item, labels map[string]string, to map[string]string)
RefLabels ref labels as tags
func SuppressCommonTags ¶
SuppressCommonTags removes some extra ccommon tags
Types ¶
type EventHandler ¶
type EventHandler interface {
OnUpdate(oldObj, newObj []*Data)
}
type Syncer ¶
type Syncer interface { Start() error Stop() error AddEventHandler(EventHandler) }
Click to show internal directories.
Click to hide internal directories.