Documentation ¶
Index ¶
- Constants
- func CreateAvgClientLatencyQuery(namespace string, rateDuration time.Duration) *promql.Query
- func CreateAvgK6IterationDurationQuery(testName string) *promql.Query
- func CreateAvgServerLatencyFromClientQuery(namespace string, rateDuration time.Duration) *promql.Query
- func CreateAvgServerLatencyQuery(namespace string, rateDuration time.Duration) *promql.Query
- func CreateClientReadBytesQuery(namespace string, rateDuration time.Duration) *promql.Query
- func CreateClientWriteBytesQuery(namespace string, rateDuration time.Duration) *promql.Query
- func CreateK6BytesReceivedQuery(testName string, rateDuration time.Duration) *promql.Query
- func CreateK6BytesSentQuery(testName string, rateDuration time.Duration) *promql.Query
- func CreateK6DroppedIterationRateQuery(testName string, rateConfig RateConfig) *promql.Query
- func CreateK6IterationRateQuery(testName string, rateConfig RateConfig) *promql.Query
- func CreateP95K6IterationDurationQuery(testName string) *promql.Query
- func CreateP99K6IterationDurationQuery(testName string) *promql.Query
- func CreatePercentileClientLatencyQuery(namespace string, rateDuration time.Duration, percentile float32) *promql.Query
- func CreatePercentileServerLatencyFromClientQuery(namespace string, rateDuration time.Duration, percentile float32) *promql.Query
- func CreatePercentileServerLatencyQuery(namespace string, rateDuration time.Duration, percentile float32) *promql.Query
- func CreateServerReadBytesQuery(namespace string, rateDuration time.Duration) *promql.Query
- func CreateServerWriteBytesQuery(namespace string, rateDuration time.Duration) *promql.Query
- type MetricsName
- type RateConfig
Constants ¶
const SCRAPE_ITERVAL = 15 * time.Second
Variables ¶
This section is empty.
Functions ¶
func CreateAvgClientLatencyQuery ¶
CreateAvgClientLatencyQuery creates query for average client response time
func CreateAvgK6IterationDurationQuery ¶
CreateAvgK6IterationDurationQuery create query for average duration for each request
func CreateAvgServerLatencyFromClientQuery ¶
func CreateAvgServerLatencyFromClientQuery(namespace string, rateDuration time.Duration) *promql.Query
CreateAvgServerLatencyFromClientQuery creates query for average server response time
func CreateAvgServerLatencyQuery ¶
CreateAvgServerLatencyQuery creates query for average server response time
func CreateClientReadBytesQuery ¶
CreateClientReadBytesQuery create query for bytes read by client
func CreateClientWriteBytesQuery ¶
CreateClientWriteBytesQuery create query for bytes written by client
func CreateK6BytesReceivedQuery ¶
CreateK6BytesReceivedQuery create query for bytes received by loadgenerator
func CreateK6BytesSentQuery ¶
CreateK6BytesSentQuery create query for bytes sent by loadgenerator
func CreateK6DroppedIterationRateQuery ¶
func CreateK6DroppedIterationRateQuery(testName string, rateConfig RateConfig) *promql.Query
CreateK6DroppedIterationRateQuery create query for iteration per second (rps)
func CreateK6IterationRateQuery ¶
func CreateK6IterationRateQuery(testName string, rateConfig RateConfig) *promql.Query
CreateK6IterationRateQuery create query for iteration per second (rps)
func CreateP95K6IterationDurationQuery ¶
CreateP95K6IterationDurationQuery create query for p95 duration for each request
func CreateP99K6IterationDurationQuery ¶
CreateP99K6IterationDurationQuery create query for p99 duration for each request
func CreatePercentileClientLatencyQuery ¶
func CreatePercentileClientLatencyQuery(namespace string, rateDuration time.Duration, percentile float32) *promql.Query
CreatePercentileServerLatencyQuery creates query for percentile server response time
func CreatePercentileServerLatencyFromClientQuery ¶
func CreatePercentileServerLatencyFromClientQuery(namespace string, rateDuration time.Duration, percentile float32) *promql.Query
CreatePercentileServerLatencyFromClientQuery creates query for percentile server response time
func CreatePercentileServerLatencyQuery ¶
func CreatePercentileServerLatencyQuery(namespace string, rateDuration time.Duration, percentile float32) *promql.Query
CreatePercentileServerLatencyQuery creates query for percentile server response time
func CreateServerReadBytesQuery ¶
CreateServerReadBytesQuery create query for bytes read by server
Types ¶
type MetricsName ¶
type MetricsName string
func (MetricsName) AsString ¶
func (m MetricsName) AsString() string