Documentation
¶
Overview ¶
Package metrics contains the sync metrics reported by the legacy source and destination protocols.
Deprecated: This package is only used by the legacy protocols and by the sync summary sent to the analytics v0 service. There is no replacement.
Index ¶
- type Metrics
- func (s *Metrics) Equal(other *Metrics) bool
- func (s *Metrics) TotalErrors() uint64
- func (s *Metrics) TotalErrorsAtomic() uint64
- func (s *Metrics) TotalPanics() uint64
- func (s *Metrics) TotalPanicsAtomic() uint64
- func (s *Metrics) TotalResources() uint64
- func (s *Metrics) TotalResourcesAtomic() uint64
- type TableClientMetrics
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metrics ¶
type Metrics struct {
TableClient map[string]map[string]*TableClientMetrics
}
func (*Metrics) TotalErrors ¶
func (*Metrics) TotalErrorsAtomic ¶
func (*Metrics) TotalPanics ¶
func (*Metrics) TotalPanicsAtomic ¶
func (*Metrics) TotalResources ¶
func (*Metrics) TotalResourcesAtomic ¶
type TableClientMetrics ¶
type TableClientMetrics struct {
Resources uint64
Errors uint64
Panics uint64
StartTime time.Time
EndTime time.Time
}
func (*TableClientMetrics) Equal ¶
func (s *TableClientMetrics) Equal(other *TableClientMetrics) bool