Skip to content
Merged
Changes from 2 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
18bf940
[exporter/googlecloudstorage] add compression support
Alex-Souslik Jan 13, 2026
677ec5a
Update exporter/googlecloudstorageexporter/config.go
Alex-Souslik Jan 13, 2026
6df0315
Merge remote-tracking branch 'upstream/main' into gcs-exporter-compre…
Alex-Souslik Jan 13, 2026
37a45bc
add invalid parameter test
Alex-Souslik Jan 13, 2026
c5ee5a9
use existing marshaler approach
Alex-Souslik Jan 13, 2026
35f5369
Merge branch 'open-telemetry:main' into gcs-exporter-compression
Alex-Souslik Jan 13, 2026
a451558
Improve ztsd writer pool implementation
Alex-Souslik Jan 13, 2026
234b135
Change invalid compression to unsupported
Alex-Souslik Jan 13, 2026
f0cdfc6
add generic compress function
Alex-Souslik Jan 13, 2026
6e36e91
fix pool management bug
Alex-Souslik Jan 13, 2026
96210d2
Merge branch 'main' into gcs-exporter-compression
Alex-Souslik Jan 14, 2026
7fb5dfd
simplify config test struct
Alex-Souslik Jan 15, 2026
cf0e399
remove unnecessary zstd interface
Alex-Souslik Jan 15, 2026
854347d
Update exporter/googlecloudstorageexporter/exporter_test.go
Alex-Souslik Jan 15, 2026
2bb9a1a
Merge remote-tracking branch 'refs/remotes/origin/gcs-exporter-compre…
Alex-Souslik Jan 15, 2026
f860266
add decompressData helper
Alex-Souslik Jan 15, 2026
4fbab38
add combined test case
Alex-Souslik Jan 15, 2026
3bd2f99
improve write failure handling
Alex-Souslik Jan 15, 2026
2563dd7
Merge branch 'main' into gcs-exporter-compression
Alex-Souslik Jan 15, 2026
f18591e
Merge branch 'main' into gcs-exporter-compression
Alex-Souslik Jan 15, 2026
993ff73
Merge remote-tracking branch 'origin' into gcs-exporter-compression
Alex-Souslik Jan 24, 2026
3031f31
fix merge added line
Alex-Souslik Jan 24, 2026
9f4eeb2
Merge remote-tracking branch 'origin' into gcs-exporter-compression
Alex-Souslik Feb 7, 2026
441519e
update schema
Alex-Souslik Feb 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 4 additions & 17 deletions exporter/googlecloudstorageexporter/exporter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,24 +413,11 @@ func TestCompression(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
// Test compression logic directly
exporter := &storageExporter{
cfg: &Config{
Bucket: bucketConfig{
Compression: tt.compression,
},
},
gzipWriterPool: &sync.Pool{
New: func() any {
writer := gzip.NewWriter(io.Discard)
return writer
},
},
zstdWriterPool: &sync.Pool{
New: func() any {
return nil
},
exporter := newTestGCSExporter(t, &Config{
Bucket: bucketConfig{
Compression: tt.compression,
},
}
})

// Test compression of content directly
testData := []byte(strings.Repeat("This is a test string that will compress very well when repeated many times. ", 100))
Expand Down