Documentation
¶
Index ¶
- Constants
- func AddVariables(datasourceName string) []dashboard.Option
- func InlineLokiAlertParams(queryType, testName, genName string) string
- func RPSPanel(dataSource string, query map[string]string) row.Option
- func RPSVUPerScheduleSegmentsPanel(dataSource string, query map[string]string) row.Option
- func WASPDebugDataRow(dataSource string, query map[string]string, collapse bool) dashboard.Option
- func WASPLoadStatsRow(dataSource string, query map[string]string) dashboard.Option
- type Dashboard
- type WaspAlert
Constants ¶
View Source
const ( DefaultStatTextSize = 12 DefaultStatValueSize = 20 DefaultAlertEvaluateEvery = "10s" DefaultAlertFor = "10s" DefaultDashboardUUID = "Wasp" DefaultRequirementLabelKey = "requirement_name" )
View Source
const ( AlertTypeQuantile99 = "quantile_99" AlertTypeErrors = "errors" AlertTypeTimeouts = "timeouts" )
Variables ¶
This section is empty.
Functions ¶
func AddVariables ¶
func InlineLokiAlertParams ¶
InlineLokiAlertParams is specific params for predefined alerts for wasp dashboard
func WASPDebugDataRow ¶
Types ¶
type Dashboard ¶
type Dashboard struct { Name string DataSourceName string Folder string GrafanaURL string GrafanaToken string // contains filtered or unexported fields }
Dashboard is a Wasp dashboard
func NewDashboard ¶
NewDashboard creates new dashboard
Click to show internal directories.
Click to hide internal directories.