open-telemetry
opentelemetry-collector
BlogDocsChangelog

[Exporterhelper Exporter] Enable metadata population in exporterhelper when sending_queue is enabled

#14139
Comparing
gizas:otlphttp_mergge_metadata
(
2fd73f9
) with
main
(
b5aaf8e
)
CodSpeed Performance Gauge
+26%
Improvements
1
Untouched
72

Benchmarks

Improved

BenchmarkBatchMetricProcessor2k
processor/batchprocessor/batch_processor_test.go
CodSpeed Performance Gauge
+26%
2.1 µs1.7 µs

Passed

BenchmarkSplittingBasedOnItemCountManyMetricsSlightlyAboveLimit
exporter/exporterhelper/internal/queuebatch/metrics_batch_test.go
CodSpeed Performance Gauge
+15%
92.6 ms80.4 ms
BenchmarkMultiBatchMetricProcessor2k
processor/batchprocessor/batch_processor_test.go
CodSpeed Performance Gauge
+13%
2.1 µs1.9 µs
lg_metric_request/raw_bytes_10991/compressed_bytes_1033/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+8%
4.5 µs4.2 µs
HTTP/2.0,_client_per_thread_(like_single_app)
config/confighttp/server_test.go::BenchmarkHttpRequest
CodSpeed Performance Gauge
+8%
1.1 ms1 ms
lg_log_request/raw_bytes_4850/compressed_bytes_463/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+7%
2.1 µs1.9 µs
zstdWithConcurrency
config/confighttp/compressor_test.go::BenchmarkCompression
CodSpeed Performance Gauge
+7%
31.1 µs29 µs
lg_trace_request/raw_bytes_7250/compressed_bytes_615/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+6%
2.6 µs2.4 µs
BenchmarkSplittingBasedOnItemCountHugeLogs
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
CodSpeed Performance Gauge
+6%
39.2 ms36.9 ms
HTTP/2.0,_shared_client_(like_load_balancer)
config/confighttp/server_test.go::BenchmarkHttpRequest
CodSpeed Performance Gauge
+6%
1.1 ms1.1 ms
HTTP/1.1,_shared_client_(like_load_balancer)
config/confighttp/server_test.go::BenchmarkHttpRequest
CodSpeed Performance Gauge
+4%
1.1 ms1.1 ms
HTTP/1.1,_client_per_thread_(like_single_app)
config/confighttp/server_test.go::BenchmarkHttpRequest
CodSpeed Performance Gauge
+4%
1.1 ms1 ms
BenchmarkTraceSizeSpanCount
processor/batchprocessor/batch_processor_test.go
CodSpeed Performance Gauge
+3%
30 ns29 ns
with_a_new_value
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
+3%
30 ns29 ns
with_a_duplicate_value
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
+3%
30 ns29 ns
with_an_existing_value
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
+3%
30 ns29 ns
BenchmarkSplittingBasedOnItemCountHugeMetrics
exporter/exporterhelper/internal/queuebatch/metrics_batch_test.go
CodSpeed Performance Gauge
+2%
98.8 ms96.6 ms
BenchmarkFromAttributeIndices
pdata/pprofile/attributes_test.go
CodSpeed Performance Gauge
0%
210 ns210 ns
with_a_hundred_values_to_loop_through
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
0%
130 ns130 ns
sm_metric_request/raw_bytes_183/compressed_bytes_138/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-1%
7.2 µs7.2 µs
sm_trace_request/raw_bytes_240/compressed_bytes_211/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-1%
8.1 µs8.2 µs
md_trace_request/raw_bytes_338/compressed_bytes_294/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-1%
861 ns871 ns
BenchmarkSplittingBasedOnItemCountHugeTraces
exporter/exporterhelper/internal/queuebatch/traces_batch_test.go
CodSpeed Performance Gauge
-2%
45.3 ms46 ms
md_metric_request/raw_bytes_376/compressed_bytes_203/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-2%
8.3 µs8.4 µs
md_trace_request/raw_bytes_338/compressed_bytes_265/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-2%
8.7 µs8.9 µs
md_metric_request/raw_bytes_376/compressed_bytes_215/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-2%
821 ns841 ns
lg_trace_request/raw_bytes_7250/compressed_bytes_269/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-3%
10.9 µs11.3 µs
BenchmarkSplittingBasedOnItemCountManySmallTraces
exporter/exporterhelper/internal/queuebatch/traces_batch_test.go
CodSpeed Performance Gauge
-3%
3.5 ms3.6 ms
BenchmarkFromLocationIndices
pdata/pprofile/locations_test.go
CodSpeed Performance Gauge
-3%
1.7 µs1.7 µs
sm_log_request/raw_bytes_160/compressed_bytes_159/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-4%
8.8 µs9.2 µs
md_log_request/raw_bytes_242/compressed_bytes_210/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-5%
9.3 µs9.8 µs
BenchmarkSplittingBasedOnItemCountManySmallMetrics
exporter/exporterhelper/internal/queuebatch/metrics_batch_test.go
CodSpeed Performance Gauge
-5%
6.5 ms6.8 ms
lg_log_request/raw_bytes_4850/compressed_bytes_217/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-5%
10.6 µs11.2 µs
md_log_request/raw_bytes_242/compressed_bytes_260/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-5%
741 ns781 ns
sm_trace_request/raw_bytes_240/compressed_bytes_258/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-5%
741 ns781 ns
lg_trace_request/raw_bytes_7250/compressed_bytes_313/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-5%
46.3 µs48.9 µs
BenchmarkSplittingBasedOnItemCountManyTracesSlightlyAboveLimit
exporter/exporterhelper/internal/queuebatch/traces_batch_test.go
CodSpeed Performance Gauge
-5%
43.9 ms46.3 ms
sm_metric_request/raw_bytes_183/compressed_bytes_155/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-6%
640 ns681 ns
lg_metric_request/raw_bytes_10991/compressed_bytes_587/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-6%
72.2 µs76.9 µs
BenchmarkProfilesFromProto
pdata/pprofile/pb_test.go
CodSpeed Performance Gauge
-6%
5.1 µs5.5 µs
lg_metric_request/raw_bytes_10991/compressed_bytes_538/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-7%
16.1 µs17.4 µs
lg_log_request/raw_bytes_4850/compressed_bytes_253/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-7%
33.7 µs36.3 µs
sm_log_request/raw_bytes_160/compressed_bytes_178/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-7%
640 ns691 ns
BenchmarkMemoryQueueWaitForResult
exporter/exporterhelper/internal/queue/memory_queue_test.go
CodSpeed Performance Gauge
-8%
64.1 µs69.5 µs
sm_metric_request/raw_bytes_183/compressed_bytes_141/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-8%
17.9 µs19.6 µs
BenchmarkLogsFromProto
pdata/plog/pb_test.go
CodSpeed Performance Gauge
-9%
8.9 µs9.7 µs
md_log_request/raw_bytes_242/compressed_bytes_220/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-9%
20 µs21.9 µs
BenchmarkTracesUsage
pdata/ptrace/traces_test.go
CodSpeed Performance Gauge
-9%
4.4 µs4.9 µs
BenchmarkProfilesUsage
pdata/pprofile/profiles_test.go
CodSpeed Performance Gauge
-10%
3.1 µs3.4 µs
BenchmarkSplittingBasedOnItemCountManySmallLogs
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
CodSpeed Performance Gauge
-10%
2.2 ms2.4 ms
BenchmarkLogsUsage
pdata/plog/logs_test.go
CodSpeed Performance Gauge
-10%
2.4 µs2.7 µs
sm_trace_request/raw_bytes_240/compressed_bytes_211/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-10%
21.6 µs24 µs
BenchmarkMetricsUsage
pdata/pmetric/metrics_test.go
CodSpeed Performance Gauge
-10%
1.3 µs1.5 µs
BenchmarkTracesFromProto
pdata/ptrace/pb_test.go
CodSpeed Performance Gauge
-10%
14.1 µs15.7 µs
md_metric_request/raw_bytes_376/compressed_bytes_193/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-11%
21.4 µs24 µs
BenchmarkPersistentQueue
exporter/exporterhelper/internal/queue/persistent_queue_test.go
CodSpeed Performance Gauge
-11%
180.5 µs202.3 µs
md_trace_request/raw_bytes_338/compressed_bytes_256/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-12%
23.1 µs26.1 µs
BenchmarkProfilesToProto
pdata/pprofile/pb_test.go
CodSpeed Performance Gauge
-12%
1.4 µs1.6 µs
BenchmarkMetricsFromProto
pdata/pmetric/pb_test.go
CodSpeed Performance Gauge
-13%
23.9 µs27.4 µs
sm_log_request/raw_bytes_160/compressed_bytes_164/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-13%
17.5 µs20.1 µs
BenchmarkMetricsToProto
pdata/pmetric/pb_test.go
CodSpeed Performance Gauge
-13%
5.2 µs6 µs
BenchmarkSplittingBasedOnByteSizeManyLogsSlightlyAboveLimit
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
CodSpeed Performance Gauge
-14%
77.9 ms90.2 ms
BenchmarkSplittingBasedOnByteSizeHugeLogs
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
CodSpeed Performance Gauge
-14%
82.4 ms95.8 ms
zstdNoConcurrency
config/confighttp/compressor_test.go::BenchmarkCompression
CodSpeed Performance Gauge
-19%
29.5 µs36.2 µs
BenchmarkSplittingBasedOnItemCountManyLogsSlightlyAboveLimit
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
CodSpeed Performance Gauge
-20%
37.2 ms46.4 ms
BenchmarkProfilesMarshalJSON
pdata/pprofile/profiles_test.go
CodSpeed Performance Gauge
-20%
3.4 µs4.3 µs
BenchmarkLogsToProto
pdata/plog/pb_test.go
CodSpeed Performance Gauge
-21%
3.4 µs4.3 µs
BenchmarkTracesToProto
pdata/ptrace/pb_test.go
CodSpeed Performance Gauge
-22%
4.9 µs6.3 µs
BenchmarkMetricsMarshalJSON
pdata/pmetric/metrics_test.go
CodSpeed Performance Gauge
-22%
4 µs5.1 µs
BenchmarkTraceSizeBytes
processor/batchprocessor/batch_processor_test.go
CodSpeed Performance Gauge
-23%
322.9 µs419.6 µs
BenchmarkTracesMarshalJSON
pdata/ptrace/traces_test.go
CodSpeed Performance Gauge
-24%
4.5 µs5.9 µs
BenchmarkLogsMarshalJSON
pdata/plog/logs_test.go
CodSpeed Performance Gauge
-25%
2.8 µs3.8 µs
BenchmarkSplittingBasedOnByteSizeManySmallLogs
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
CodSpeed Performance Gauge
-25%
3.4 s4.5 s

Commits

Click on a commit to change the comparison range
Base
main
b5aaf8e
+35.02%
updating with exporterhelper.WithQueueBatch Signed-off-by: Andreas Gkizas <andreas.gkizas@elastic.co>
0836ef7
4 days ago
by gizas
-35.3%
Merge branch 'main' into otlphttp_mergge_metadata
c7746e5
4 days ago
by gizas
-35.66%
Merge branch 'otlphttp_mergge_metadata' of github.com:gizas/opentelemetry-collector into otlphttp_mergge_metadata
d233ec4
3 days ago
by gizas
×2.1
updating chloggen message and kept only exporterhelper Signed-off-by: Andreas Gkizas <andreas.gkizas@elastic.co>
bafdd11
3 days ago
by gizas
updating chloggen message and kept only exporterhelper Signed-off-by: Andreas Gkizas <andreas.gkizas@elastic.co>
e197735
3 days ago
by gizas
+39.83%
Merge branch 'main' into otlphttp_mergge_metadata
5c4559b
3 days ago
by gizas
+0.48%
removing duplicate xexporterhelper/new_request_test.go test file Signed-off-by: Andreas Gkizas <andreas.gkizas@elastic.co>
8cb459d
3 days ago
by gizas
-0.16%
gotidy Signed-off-by: Andreas Gkizas <andreas.gkizas@elastic.co>
8b766a3
3 days ago
by gizas
-54.42%
Update exporter/exporterhelper/internal/queuebatch/config_test.go Co-authored-by: Andrew Wilkins <axwalk@gmail.com>
513a1fd
2 days ago
by gizas
+28.56%
Merge branch 'main' into otlphttp_mergge_metadata
5502a54
1 day ago
by gizas
-10.74%
combine tests Signed-off-by: Andreas Gkizas <andreas.gkizas@elastic.co>
a341256
1 day ago
by gizas
+61.83%
updating description Signed-off-by: Andreas Gkizas <andreas.gkizas@elastic.co>
2fd73f9
1 day ago
by gizas
© 2025 CodSpeed Technology
Home Terms Privacy Docs