corenode

package
v0.0.0-...-17f80f1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDashboard

func NewDashboard(props *Props) (*grafana.Dashboard, error)

NewDashboard creates a DON dashboard for the given OCR version

Types

type Props

type Props struct {
	Name              string               // Name is the name of the dashboard
	Platform          grafana.TypePlatform // Platform is infrastructure deployment platform: docker or k8s
	MetricsDataSource *grafana.DataSource  // MetricsDataSource is the datasource for querying metrics
	SlackChannel      string               // SlackChannel is the channel to send alerts to
	SlackWebhookURL   string               // SlackWebhookURL is the URL to send alerts to
	AlertsTags        map[string]string    // AlertsTags is the tags to map with notification policy
	AlertsFilters     string               // AlertsFilters is the filters to apply to alerts

	Tested bool
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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