alerts

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RunbookDefaultURL is the default url for the documentation of the Prometheus alerts.
	RunbookDefaultURL = "https://github.com/grafana/tempo/tree/main/operations/tempo-mixin/runbook.md"
)

Variables

This section is empty.

Functions

func BuildPrometheusRule

func BuildPrometheusRule(stackName, namespace string) ([]client.Object, error)

BuildPrometheusRule returns a list of k8s objects for Tempo PrometheusRule.

Types

type Options

type Options struct {
	RunbookURL string
	Cluster    string
	Namespace  string
}

Options is used to configure Prometheus Alerts.

Jump to

Keyboard shortcuts

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