Documentation ¶
Index ¶
Constants ¶
View Source
const ( GRPCRPCsKey = "RPCs" GRPCFailurePercentageKey = "FailurePercentage" GRPCLatencyAvgKey = "LatencyAvg" GRPCSentBytesAvgKey = "SentBytesAvg" GRPCReceivedBytesAvgKey = "ReceivedBytesAvg" HTTPRequestsKey = "Requests" HTTPFailurePercentageKey = "FailurePercentage" HTTPLatencyAvgKey = "LatencyAvg" HTTPSentBytesAvgKey = "SentBytesAvg" HTTPReceivedBytesAvgKey = "ReceivedBytesAvg" )
View Source
const ( RenderFormatMarkdown RenderFormat = "markdown" RenderFormatText = "text" RenderFormatJson = "json" )
View Source
const ( TestSucceeded TestStatus = "Succeeded" TestFailed = "Failed" TestCancelled = "Cancelled" )
View Source
const (
LotusKind = "Lotus"
)
View Source
const (
NoDataValue float64 = -1
)
Variables ¶
View Source
var ( ControllerKind = schema.GroupVersionKind{ Group: lotusv1beta1.SchemeGroupVersion.Group, Version: lotusv1beta1.SchemeGroupVersion.Version, Kind: LotusKind, } )
Functions ¶
This section is empty.
Types ¶
type MetricsSummary ¶
type MetricsSummary struct { GRPCRPCTotal float64 GRPCFailurePercentage float64 GRPCAll ValueByLabel GRPCByMethod map[string]ValueByLabel HTTPRequestTotal float64 HTTPFailurePercentage float64 HTTPAll ValueByLabel HTTPByPath map[string]ValueByLabel VirtualUserStartedTotal float64 VirtualUserFailedTotal float64 }
type RenderFormat ¶
type RenderFormat string
type Result ¶
type Result struct { TestID string Status TestStatus MetricsSummary *MetricsSummary FailureReason string FailedChecks []string StartedTimestamp time.Time FinishedTimestamp time.Time GrafanaGRPCDashboardsURL string GrafanaHTTPDashboardsURL string }
func (*Result) SetGrafanaDashboardURLs ¶
type TestStatus ¶
type TestStatus string
type ValueByLabel ¶
Click to show internal directories.
Click to hide internal directories.