ICachedTraceSaver Abstract tracer that caches recorded traces in memory and periodically dumps them.
Description
Child classes implement saving cached traces to their specified destinations.
See ITracer See OperationTrace
Methods
Save
Save method for counters.
Save(ctx context.Context, operations []OperationTrace) error
- ctx: context.Context - operation context.
- operations: []OperationTrace - list of operations for saving.
- returns: error - svae error.