Versions in this module Expand all Collapse all v1 v1.4.1 Feb 27, 2023 Changes in this version + const COLLECT_PERSIST + const COLLECT_REQUEST + var Enables int32 = COLLECT_PERSIST + var FunctionName string + var HostName string + var Lifetime *lifetime.Lifetime + var Prefix string + var S3Bucket string + var Session *lifetime.Session + func AddCommit(ts time.Time, op int, t int, id uint64, backKey int, d1, d2, d time.Duration, ...) + func AddRecovery(ts time.Time, op int, t int, id uint64, backKey int, d1, d2, d time.Duration, ...) + func AddRequest(ts time.Time, op int, status, reqId, chunk string, d1, d2, d, dp time.Duration, ...) + func Collect(session *lifetime.Session) + func Save() + func SaveWithOption(snapshot bool) + func Send(entry DataEntry) + type DataEntry interface + WriteTo func(*bytes.Buffer) + type PersistEntry struct + BackupId int + BytesLineage int + BytesObjects int + DLineage time.Duration + DObjects time.Duration + Duration time.Duration + Id uint64 + Objects int + Op int + Session string + Time time.Time + Type int + func (e *PersistEntry) WriteTo(buf *bytes.Buffer) + type RequestEntry struct + ChunkId string + DHandling time.Duration + DPost time.Duration + DResponse time.Duration + Duration time.Duration + Op int + ReqId string + Session string + Status string + Time time.Time + func (e *RequestEntry) WriteTo(buf *bytes.Buffer)