extdebug

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2022 License: Apache-2.0 Imports: 16 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,
) (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