Skip to content

Commit

Permalink
[chore] Small comments fix in exporterhelper/sizer
Browse files Browse the repository at this point in the history
Signed-off-by: Bogdan Drutu <[email protected]>
  • Loading branch information
bogdandrutu committed Feb 28, 2025
1 parent beb9002 commit b9e5c89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exporter/exporterhelper/internal/sizer/logs_sizer.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ type LogsSizer interface {
ScopeLogsSize(sl plog.ScopeLogs) int
LogRecordSize(lr plog.LogRecord) int

// DeltaSize() returns the delta size when a ResourceLog, ScopeLog or LogRecord is added.
// DeltaSize returns the delta size when a ResourceLog, ScopeLog or LogRecord is added.
DeltaSize(newItemSize int) int
}

// LogsByteSizer returns the byte size of serialized protos.
// LogsBytesSizer returns the byte size of serialized protos.
type LogsBytesSizer struct {
plog.ProtoMarshaler
}

// DeltaSize() returns the delta size of a proto slice when a new item is added.
// DeltaSize returns the delta size of a proto slice when a new item is added.
// Example:
//
// prevSize := proto1.Size()
Expand Down

0 comments on commit b9e5c89

Please sign in to comment.