alerts

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package alerts provides functions for setting up and managing Prometheus alerts rules.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetRunbookURLTemplate

func GetRunbookURLTemplate() string

GetRunbookURLTemplate retrieves the runbook URL template from environment variables or uses a default.

func Register

func Register() error

Register initializes and registers alert rules by setting labels and annotations, including the runbook URL.

Types

This section is empty.

Jump to

Keyboard shortcuts

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