metrics

package
v0.0.0-...-7c85a9a Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsRegistry

type MetricsRegistry struct {
	// contains filtered or unexported fields
}

func NewMetricRegistry

func NewMetricRegistry(httpPort int) *MetricsRegistry

func (*MetricsRegistry) CountReminderInvocation

func (r *MetricsRegistry) CountReminderInvocation(id string)

func (*MetricsRegistry) CountRemindersRescheduled

func (r *MetricsRegistry) CountRemindersRescheduled(id string)

func (*MetricsRegistry) Serve

func (r *MetricsRegistry) Serve() error

func (*MetricsRegistry) TimeGRPCEndpoint

func (r *MetricsRegistry) TimeGRPCEndpoint(id string, f func() (interface{}, error)) (interface{}, error)

func (*MetricsRegistry) TimeGrainInvocation

func (r *MetricsRegistry) TimeGrainInvocation(id string, f func() (interface{}, error)) (interface{}, error)

func (*MetricsRegistry) TimeReminderRegistryTick

func (r *MetricsRegistry) TimeReminderRegistryTick(f func() error) error

func (*MetricsRegistry) TimeTableSync

func (r *MetricsRegistry) TimeTableSync(f func() error) error

func (*MetricsRegistry) UpdateTableSyncCount

func (r *MetricsRegistry) UpdateTableSyncCount()

Jump to

Keyboard shortcuts

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