Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TransactionTableSortFieldSqlMap = map[string]string{
columnReqCount.Key: "sum(elapsed_count::field)",
columnErrorCount.Key: "sum(if(eq(error::tag, 'true'),elapsed_count::field,0))",
columnAvgDuration.Key: "avg(elapsed_mean::field)",
}
Functions ¶
This section is empty.
Types ¶
type BaseBuildParams ¶
type Builder ¶
type Builder interface { GetTable(ctx context.Context) (*Table, error) GetBaseBuildParams() *BaseBuildParams }
type ErrorTransactionTableBuilder ¶
type ErrorTransactionTableBuilder struct { *BaseBuildParams MinDuration float64 MaxDuration float64 }
func (*ErrorTransactionTableBuilder) GetBaseBuildParams ¶
func (t *ErrorTransactionTableBuilder) GetBaseBuildParams() *BaseBuildParams
type ErrorTransactionTableRow ¶
func (*ErrorTransactionTableRow) GetCells ¶
func (t *ErrorTransactionTableRow) GetCells() []*Cell
type SlowTransactionTableBuilder ¶
type SlowTransactionTableBuilder struct { *BaseBuildParams MinDuration float64 MaxDuration float64 }
func (*SlowTransactionTableBuilder) GetBaseBuildParams ¶
func (t *SlowTransactionTableBuilder) GetBaseBuildParams() *BaseBuildParams
type SlowTransactionTableRow ¶
func (*SlowTransactionTableRow) GetCells ¶
func (t *SlowTransactionTableRow) GetCells() []*Cell
type TransactionTableBuilder ¶
type TransactionTableBuilder struct {
*BaseBuildParams
}
func (*TransactionTableBuilder) GetBaseBuildParams ¶
func (t *TransactionTableBuilder) GetBaseBuildParams() *BaseBuildParams
type TransactionTableRow ¶
type TransactionTableRow struct { TransactionName string ReqCount float64 ErrorCount float64 AvgDuration string }
func (*TransactionTableRow) GetCells ¶
func (t *TransactionTableRow) GetCells() []*Cell
Click to show internal directories.
Click to hide internal directories.