Help us shape the future of Go! Take the 2026 Go Developer Survey

monitor

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2023 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Provides = wire.NewSet(
	wire.Struct(new(Controller), "*"),
	wire.Struct(new(Service), "*"),
)

Functions

This section is empty.

Types

type Controller

type Controller struct {
	MonitorX *Service
}

func (*Controller) Exporters

func (x *Controller) Exporters(ctx context.Context, c *app.RequestContext)

type ExportersDto

type ExportersDto struct {
	Name  string `path:"name" vd:"required"`
	Dates string `query:"dates"`
}

type M

type M = map[string]interface{}

type Service

type Service struct {
	*common.Inject

	Flux influxdb2.Client
}

func (*Service) GetMongoAvailableConnections

func (x *Service) GetMongoAvailableConnections(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetMongoCommandsPerSecond

func (x *Service) GetMongoCommandsPerSecond(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetMongoDocumentOperations

func (x *Service) GetMongoDocumentOperations(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetMongoFlushes

func (x *Service) GetMongoFlushes(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetMongoNetworkIO

func (x *Service) GetMongoNetworkIO(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetMongoOpenConnections

func (x *Service) GetMongoOpenConnections(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetMongoQueryOperations

func (x *Service) GetMongoQueryOperations(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetNatsBytesIO

func (x *Service) GetNatsBytesIO(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetNatsConnections

func (x *Service) GetNatsConnections(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetNatsCpu

func (x *Service) GetNatsCpu(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetNatsMem

func (x *Service) GetNatsMem(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetNatsMsgIO

func (x *Service) GetNatsMsgIO(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetNatsSlowConsumers

func (x *Service) GetNatsSlowConsumers(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetNatsSubscriptions

func (x *Service) GetNatsSubscriptions(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetRedisCollectionsRate

func (x *Service) GetRedisCollectionsRate(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetRedisCpu

func (x *Service) GetRedisCpu(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetRedisEviExpKeys

func (x *Service) GetRedisEviExpKeys(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetRedisHitRate

func (x *Service) GetRedisHitRate(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetRedisMem

func (x *Service) GetRedisMem(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetRedisNetworkIO

func (x *Service) GetRedisNetworkIO(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) GetRedisOpsPerSec

func (x *Service) GetRedisOpsPerSec(ctx context.Context, dates string) (data []interface{}, err error)

func (*Service) Range

func (x *Service) Range(v string) string

Jump to

Keyboard shortcuts

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