diagnostics

package
v0.88.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector struct {
	// contains filtered or unexported fields
}

Collector collects diagnostics information and write the collected content into a writer in a zip format

func NewCollector

func NewCollector(catalog catalog.Interface, cfg *pyramidparams.ExtParams, adapter block.Adapter) *Collector

NewCollector accepts database to work with during collect

func (*Collector) Collect

func (c *Collector) Collect(ctx context.Context, w io.Writer) (merr error)

Collect query information into csv files and write everything to io writer

Jump to

Keyboard shortcuts

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