translate

package
v0.0.0-test Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2021 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DashboardAlertConditions

func DashboardAlertConditions(rawDCondJSON []byte, orgID int64) (*ngmodels.Condition, error)

DashboardAlertConditions turns dashboard alerting conditions into server side expression queries and a classic conditions operation. A Condition from the ngalert model's package will be returned if the translation is successful in creating an expression that can be parsed. A query is created for each unique referenced query in the dashboard. Each query is considered to be unique based on the RefID and the Time Range. Therefore, if the same RefID has multiple time ranges in the dashboard condition, new RefIDs will be created.

Types

This section is empty.

Jump to

Keyboard shortcuts

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