Documentation ¶
Overview ¶
Package mdm provides test-only code for checking the merge delay of a Trillian log.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MergeDelayMonitor ¶
type MergeDelayMonitor struct {
// contains filtered or unexported fields
}
MergeDelayMonitor submits leaves to a Log and measures merge delay.
func NewMonitor ¶
func NewMonitor(ctx context.Context, logID int64, cl trillian.TrillianLogClient, adminCl trillian.TrillianAdminClient, opts MergeDelayOptions) (*MergeDelayMonitor, error)
NewMonitor creates a MergeDelayMonitor instance for the given log ID, accessed via the cl client.
type MergeDelayOptions ¶
type MergeDelayOptions struct { ParallelAdds int LeafSize int NewLeafChance int // percentage EmitInterval time.Duration Deadline time.Duration MinMergeDelay time.Duration MetricFactory monitoring.MetricFactory }
MergeDelayOptions holds the parameters for a MergeDelayMonitor.
Click to show internal directories.
Click to hide internal directories.