There was an error while loading. Please reload this page.
1 parent 3888866 commit 9d84a68Copy full SHA for 9d84a68
pkg/util/entry_size.go
@@ -20,12 +20,12 @@ func EntryTotalSize(entry *push.Entry) int {
20
return len(entry.Line) + StructuredMetadataSize(entry.StructuredMetadata)
21
}
22
23
-var excludedStructuredMetadataLabels = []string{constants.LevelLabel}
+var ExcludedStructuredMetadataLabels = []string{constants.LevelLabel}
24
25
func StructuredMetadataSize(metas push.LabelsAdapter) int {
26
size := 0
27
for _, meta := range metas {
28
- if slices.Contains(excludedStructuredMetadataLabels, meta.Name) {
+ if slices.Contains(ExcludedStructuredMetadataLabels, meta.Name) {
29
continue
30
31
size += len(meta.Name) + len(meta.Value)
0 commit comments