diagnose_util

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

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

Go to latest
Published: Dec 21, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CRDName  = "crdName"
	CRDGroup = "crdGroup"
)

Variables

View Source
var CRDsList = []map[string]string{
	{
		CRDName:  "addclusterinfos",
		CRDGroup: actionGroupName,
	},
	{
		CRDName:  "deleteattributes",
		CRDGroup: actionGroupName,
	},
	{
		CRDName:  "renameattributes",
		CRDGroup: actionGroupName,
	},
	{
		CRDName:  "probabilisticsamplers",
		CRDGroup: actionGroupName,
	},
	{
		CRDName:  "piimaskings",
		CRDGroup: actionGroupName,
	},
	{
		CRDName:  "latencysamplers",
		CRDGroup: actionGroupName,
	},
	{
		CRDName:  "errorsamplers",
		CRDGroup: actionGroupName,
	},
	{
		CRDName:  "instrumentedapplications",
		CRDGroup: odigosGroupName,
	},
	{
		CRDName:  "instrumentationconfigs",
		CRDGroup: odigosGroupName,
	},
	{
		CRDName:  "instrumentationrules",
		CRDGroup: odigosGroupName,
	},
	{
		CRDName:  "instrumentationinstances",
		CRDGroup: odigosGroupName,
	},
}

Functions

func FetchDestinationsCRDs

func FetchDestinationsCRDs(ctx context.Context, client *kube.Client, CRDsDir string) error

func FetchOdigosCRs

func FetchOdigosCRs(ctx context.Context, kubeClient *kube.Client, crdDir string) error

func FetchOdigosCollectorMetrics

func FetchOdigosCollectorMetrics(ctx context.Context, client *kube.Client, metricsDir string) error

func FetchOdigosComponentsLogs

func FetchOdigosComponentsLogs(ctx context.Context, client *kube.Client, logDir string) error

func FetchOdigosProfiles

func FetchOdigosProfiles(ctx context.Context, client *kube.Client, profileDir string) error

Types

type AllocsProfiler

type AllocsProfiler struct{}

func (AllocsProfiler) GetFileName

func (h AllocsProfiler) GetFileName() string

func (AllocsProfiler) GetUrlSuffix

func (h AllocsProfiler) GetUrlSuffix() string

type CPUProfiler

type CPUProfiler struct{}

func (CPUProfiler) GetFileName

func (c CPUProfiler) GetFileName() string

func (CPUProfiler) GetUrlSuffix

func (c CPUProfiler) GetUrlSuffix() string

type GoRoutineProfiler

type GoRoutineProfiler struct{}

func (GoRoutineProfiler) GetFileName

func (h GoRoutineProfiler) GetFileName() string

func (GoRoutineProfiler) GetUrlSuffix

func (h GoRoutineProfiler) GetUrlSuffix() string

type HeapProfiler

type HeapProfiler struct{}

func (HeapProfiler) GetFileName

func (h HeapProfiler) GetFileName() string

func (HeapProfiler) GetUrlSuffix

func (h HeapProfiler) GetUrlSuffix() string

type ProfileInterface

type ProfileInterface interface {
	GetFileName() string
	GetUrlSuffix() string
}

Jump to

Keyboard shortcuts

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