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

observability

package
v0.1.16 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 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 {
	ObservabilityService *Service
}

func (*Controller) Exporters

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

type ExportersDto

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

type M

type M = map[string]interface{}

type Service

type Service struct {
	*common.Inject
}

func (*Service) GetErrorRate

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

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) GetP99

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

func (*Service) GetQpsRate

func (x *Service) GetQpsRate(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) GetRuntime

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

func (*Service) GetRuntimeLast

func (x *Service) GetRuntimeLast(ctx context.Context, field string, dates string) (value 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