Documentation ¶ Index ¶ Variables type Latency func (l *Latency) Duration() time.Duration func (l *Latency) IsZero() bool func (l *Latency) TakeOldest(t time.Time) Constants ¶ This section is empty. Variables ¶ View Source var ( Desc = prometheus.NewDesc( "rds_latency", "The difference between the current time and timestamp in the metric itself", []string{"instance", "region"}, nil, ) ) Functions ¶ This section is empty. Types ¶ type Latency ¶ type Latency struct { sync.RWMutex // contains filtered or unexported fields } func (*Latency) Duration ¶ func (l *Latency) Duration() time.Duration func (*Latency) IsZero ¶ func (l *Latency) IsZero() bool func (*Latency) TakeOldest ¶ func (l *Latency) TakeOldest(t time.Time) Source Files ¶ View all Source files latency.go Click to show internal directories. Click to hide internal directories.