Documentation
¶
Index ¶
- type MetricsRegistry
- func (r *MetricsRegistry) CountReminderInvocation(id string)
- func (r *MetricsRegistry) CountRemindersRescheduled(id string)
- func (r *MetricsRegistry) Serve() error
- func (r *MetricsRegistry) TimeGRPCEndpoint(id string, f func() (interface{}, error)) (interface{}, error)
- func (r *MetricsRegistry) TimeGrainInvocation(id string, f func() (interface{}, error)) (interface{}, error)
- func (r *MetricsRegistry) TimeReminderRegistryTick(f func() error) error
- func (r *MetricsRegistry) TimeTableSync(f func() error) error
- func (r *MetricsRegistry) UpdateTableSyncCount()
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()
Click to show internal directories.
Click to hide internal directories.