meta

package
v0.0.0-...-5c7ffcf Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AttachSystemCommonTagsTo

func AttachSystemCommonTagsTo(to map[string]string)

func ExtractContainerCommonTags

func ExtractContainerCommonTags(container *cri.Container) map[string]string

func ExtractNodeCommonTags

func ExtractNodeCommonTags(node *v1.Node) map[string]string

func ExtractNodeCommonTagsTo

func ExtractNodeCommonTagsTo(node *v1.Node, to map[string]string) map[string]string

func ExtractPodCommonTags

func ExtractPodCommonTags(pod *v1.Pod) map[string]string

func ExtractSidecarTags

func ExtractSidecarTags() map[string]string

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

func SuppressCommonTags(tags map[string]string)

SuppressCommonTags removes some extra ccommon tags

Types

type Data

type Data struct {
}

type EventHandler

type EventHandler interface {
	OnUpdate(oldObj, newObj []*Data)
}

type Syncer

type Syncer interface {
	Start() error

	Stop() error

	AddEventHandler(EventHandler)
}

Jump to

Keyboard shortcuts

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