tools

package
v1.79.2 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisSearchStatistics added in v1.78.1

type RedisSearchStatistics struct {
	Index               *orm.RedisSearchIndex
	Versions            []*RedisSearchStatisticsIndexVersion
	ForceReindex        bool
	ForceReindexVersion uint64
	ForceReindexLastID  uint64
}

func GetRedisSearchStatistics added in v1.78.1

func GetRedisSearchStatistics(engine *orm.Engine) []*RedisSearchStatistics

type RedisSearchStatisticsIndexVersion added in v1.78.3

type RedisSearchStatisticsIndexVersion struct {
	Info    *orm.RedisSearchIndexInfo
	Current bool
}

type RedisStatistics

type RedisStatistics struct {
	RedisPool string
	Info      map[string]string
}

func GetRedisStatistics

func GetRedisStatistics(engine *orm.Engine) []*RedisStatistics

type RedisStreamConsumerStatistics

type RedisStreamConsumerStatistics struct {
	Name    string
	Pending uint64
}

type RedisStreamGroupStatistics

type RedisStreamGroupStatistics struct {
	Group                            string
	Pending                          uint64
	LastDeliveredID                  string
	LastDeliveredDuration            string
	Lower                            string
	LowerDuration                    string
	Higher                           string
	HigherDuration                   string
	Consumers                        []*RedisStreamConsumerStatistics
	SpeedEvents                      int64
	SpeedMilliseconds                float64
	DBQueriesPerEvent                float64
	DBQueriesMillisecondsPerEvent    float64
	RedisQueriesPerEvent             float64
	RedisQueriesMillisecondsPerEvent float64
}

type RedisStreamStatistics

type RedisStreamStatistics struct {
	Stream    string
	RedisPool string
	Len       uint64
	Hours     int
	Minutes   int
	Seconds   int
	Groups    []*RedisStreamGroupStatistics
}

func GetRedisStreamsStatistics

func GetRedisStreamsStatistics(engine *orm.Engine) []*RedisStreamStatistics

Jump to

Keyboard shortcuts

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