Documentation ¶
Overview ¶
Ignore deprecated warnings until we fix https://github.com/monitoring-mixins/mixtool/issues/22
Index ¶
- func GenerateAlerts(filename string, opts GenerateOptions) ([]byte, error)
- func GenerateDashboards(filename string, opts GenerateOptions) (map[string]json.RawMessage, error)
- func GenerateRules(filename string, opts GenerateOptions) ([]byte, error)
- func GenerateRulesAlerts(filename string, opts GenerateOptions) ([]byte, error)
- func Lint(w io.Writer, filename string, options LintOptions) error
- func NewGrafanaDashboard() ([]byte, error)
- func NewPrometheusAlerts() ([]byte, error)
- func NewPrometheusRules() ([]byte, error)
- func NewVM(jpath []string) *jsonnet.VM
- type GenerateOptions
- type LintOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateAlerts ¶
func GenerateAlerts(filename string, opts GenerateOptions) ([]byte, error)
func GenerateDashboards ¶
func GenerateDashboards(filename string, opts GenerateOptions) (map[string]json.RawMessage, error)
func GenerateRules ¶
func GenerateRules(filename string, opts GenerateOptions) ([]byte, error)
func GenerateRulesAlerts ¶
func GenerateRulesAlerts(filename string, opts GenerateOptions) ([]byte, error)
func NewGrafanaDashboard ¶
func NewPrometheusAlerts ¶
func NewPrometheusRules ¶
Types ¶
type GenerateOptions ¶
type LintOptions ¶
Click to show internal directories.
Click to hide internal directories.