error_transaction

package
v1.3.0-rc.0...-0a48220 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ColumnOccurTime table.ColumnKey = "occurTime"
	ColumnDuration  table.ColumnKey = "duration"
	ColumnTraceId   table.ColumnKey = "traceId"
)
View Source
const (
	StateKeyTransactionDurationFilter = "error_transaction_filter_duration"
	StateKeyTransactionPaging         = "error_transaction_paging"
	StateKeyTransactionSort           = "error_transaction_sort"
)

Variables

This section is empty.

Functions

func GetPagingFromGlobalState

func GetPagingFromGlobalState(globalState cptype.GlobalStateData) (pageNo int, pageSize int)

func GetSortsFromGlobalState

func GetSortsFromGlobalState(globalState cptype.GlobalStateData) []*common.Sort

func SetFilterToGlobalState

func SetFilterToGlobalState(globalState cptype.GlobalStateData, opData ErrorTransactionFilter)

func SetPagingToGlobalState

func SetPagingToGlobalState(globalState cptype.GlobalStateData, opData table.OpTableChangePageClientData)

func SetSortsToGlobalState

func SetSortsToGlobalState(globalState cptype.GlobalStateData, opData table.OpTableChangeSortClientData)

Types

type ErrorTransactionFilter

type ErrorTransactionFilter struct {
	MinDuration float64 `json:"minDuration"`
	MaxDuration float64 `json:"maxDuration"`
}

func GetFilterFromGlobalState

func GetFilterFromGlobalState(globalState cptype.GlobalStateData) ErrorTransactionFilter

type ErrorTransactionInParams

type ErrorTransactionInParams struct {
	InParamsPtr *Model
}

func (*ErrorTransactionInParams) CustomInParamsPtr

func (b *ErrorTransactionInParams) CustomInParamsPtr() interface{}

func (*ErrorTransactionInParams) DecodeToCustomInParams

func (b *ErrorTransactionInParams) DecodeToCustomInParams(stdInParamsPtr *cptype.ExtraMap, customInParamsPtr interface{})

func (*ErrorTransactionInParams) EncodeFromCustomInParams

func (b *ErrorTransactionInParams) EncodeFromCustomInParams(customInParamsPtr interface{}, stdInParamsPtr *cptype.ExtraMap)

type Model

type Model struct {
	StartTime int64  `json:"startTime"`
	EndTime   int64  `json:"endTime"`
	TenantId  string `json:"tenantId"`
	ServiceId string `json:"serviceId"`
	LayerPath string `json:"layerPath"`
}

Jump to

Keyboard shortcuts

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