diagnose

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cobra.Command{
	Use:   "diagnose",
	Short: "Troubleshoot your New Relic installation",
}

Command represents the diagnose command.

View Source
var ErrDiscovery = errors.New("discovery failed")
View Source
var ErrPostEvent = errors.New("posting an event failed")
View Source
var ErrValidation = errors.New("validation failed")

Functions

This section is empty.

Types

type ConfigValidator added in v0.26.0

type ConfigValidator struct {
	*validation.PollingNRQLValidator
	// contains filtered or unexported fields
}

func NewConfigValidator added in v0.26.0

func NewConfigValidator(client *newrelic.NewRelic) *ConfigValidator

func (*ConfigValidator) ValidateConfig added in v0.26.0

func (c *ConfigValidator) ValidateConfig(ctx context.Context) error

type ValidationTracerEvent added in v0.26.0

type ValidationTracerEvent struct {
	EventType string `json:"eventType"`
	Hostname  string `json:"hostname"`
	Purpose   string `json:"purpose"`
	GUID      string `json:"guid"`
}

Jump to

Keyboard shortcuts

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