extdebug

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package extdebug contains helpers for more detailed debug information

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNamespaceInfoSource

func NewNamespaceInfoSource(
	clusterClient clusterclient.Client,
	allDefaults []handleroptions.ServiceNameAndDefaults,
	instrumentOpts instrument.Options,
) (debug.Source, error)

NewNamespaceInfoSource returns a Source for namespace information.

func NewPlacementAndNamespaceZipWriterWithDefaultSources

func NewPlacementAndNamespaceZipWriterWithDefaultSources(
	cpuProfileDuration time.Duration,
	clusterClient clusterclient.Client,
	placementsOpts placementhandler.HandlerOptions,
	services []handleroptions.ServiceNameAndDefaults,
	instrumentOpts instrument.Options,
) (debug.ZipWriter, error)

NewPlacementAndNamespaceZipWriterWithDefaultSources returns a zipWriter with the following debug sources already registered: CPU, heap, host, goroutines, namespace and placement info.

func NewPlacementInfoSource

func NewPlacementInfoSource(
	service handleroptions.ServiceNameAndDefaults,
	placementOpts placementhandler.HandlerOptions,
	iopts instrument.Options,
) (debug.Source, error)

NewPlacementInfoSource returns a Source for placement information.

Types

This section is empty.

Jump to

Keyboard shortcuts

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