utils

package
v0.0.0-...-defd7d8 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Key

func Key(alert *models.Alert) string

func Merge

func Merge(pAlert *models.InternalAlert, alert *models.Alert)

Merge a new nagios alert into an existing prometheus alert (or an empty prometheus struct if the alert doesn't already exist)

func TimeIt

func TimeIt(start time.Time, metric prometheus.Summary)

Types

This section is empty.

Jump to

Keyboard shortcuts

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