open-telemetry
opentelemetry-collector
BlogDocsChangelog

Add component JSON schema generation to mdatagen

#14288
Comparing
pavolloffay:ocb-component-schema-alternative
(
db85700
) with
main
(
250a1ca
)
CodSpeed Performance Gauge
0%
Untouched
64
Skipped
20

Benchmarks

Skipped (20)

BenchmarkSplittingBasedOnItemCountHugeMetrics
exporter/exporterhelper/internal/queuebatch/metrics_batch_test.go
Skipped
97.4 ms*
BenchmarkSplittingBasedOnItemCountManySmallTraces
exporter/exporterhelper/internal/queuebatch/traces_batch_test.go
Skipped
3.4 ms*
BenchmarkTracesToProto
pdata/ptrace/pb_test.go
Skipped
6.4 µs*
BenchmarkSplittingBasedOnItemCountHugeLogs
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
Skipped
38.9 ms*
BenchmarkSplittingBasedOnItemCountHugeTraces
exporter/exporterhelper/internal/queuebatch/traces_batch_test.go
Skipped
43.5 ms*
BenchmarkSplittingBasedOnItemCountManyMetricsSlightlyAboveLimit
exporter/exporterhelper/internal/queuebatch/metrics_batch_test.go
Skipped
91.5 ms*
BenchmarkMetricsFromProto
pdata/pmetric/pb_test.go
Skipped
26.5 µs*
BenchmarkSplittingBasedOnItemCountManySmallLogs
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
Skipped
2.4 ms*
BenchmarkSplittingBasedOnItemCountManySmallMetrics
exporter/exporterhelper/internal/queuebatch/metrics_batch_test.go
Skipped
6.7 ms*
BenchmarkTracesFromProto
pdata/ptrace/pb_test.go
Skipped
14.6 µs*
BenchmarkSplittingBasedOnByteSizeHugeLogs
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
Skipped
95.7 ms*
BenchmarkSplittingBasedOnItemCountManyLogsSlightlyAboveLimit
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
Skipped
36 ms*
BenchmarkSplittingBasedOnByteSizeManyLogsSlightlyAboveLimit
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
Skipped
88.3 ms*
BenchmarkSplittingBasedOnByteSizeManySmallLogs
exporter/exporterhelper/internal/queuebatch/logs_batch_test.go
Skipped
3.7 s*
BenchmarkSplittingBasedOnItemCountManyTracesSlightlyAboveLimit
exporter/exporterhelper/internal/queuebatch/traces_batch_test.go
Skipped
47 ms*
BenchmarkLogsToProto
pdata/plog/pb_test.go
Skipped
4.4 µs*
BenchmarkLogsFromProto
pdata/plog/pb_test.go
Skipped
9 µs*
BenchmarkMetricsToProto
pdata/pmetric/pb_test.go
Skipped
6 µs*
zstdWithConcurrency
config/confighttp/compressor_test.go::BenchmarkCompression
Skipped
6.9 µs*
zstdNoConcurrency
config/confighttp/compressor_test.go::BenchmarkCompression
Skipped
36.3 µs*

Passed

md_trace_request/raw_bytes_338/compressed_bytes_256/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+5%
26.2 µs25.1 µs
md_log_request/raw_bytes_242/compressed_bytes_220/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+4%
22.4 µs21.5 µs
sm_metric_request/raw_bytes_183/compressed_bytes_141/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+3%
19.6 µs19 µs
sm_trace_request/raw_bytes_240/compressed_bytes_211/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+3%
23.7 µs23 µs
md_metric_request/raw_bytes_376/compressed_bytes_193/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+3%
24 µs23.3 µs
md_log_request/raw_bytes_242/compressed_bytes_260/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+2%
851 ns831 ns
lg_trace_request/raw_bytes_7250/compressed_bytes_313/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+2%
48.5 µs47.4 µs
lg_log_request/raw_bytes_4850/compressed_bytes_253/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+2%
36.2 µs35.6 µs
BenchmarkMetricsUsage
pdata/pmetric/metrics_test.go
CodSpeed Performance Gauge
+1%
1.5 µs1.5 µs
md_trace_request/raw_bytes_338/compressed_bytes_265/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+1%
9.1 µs8.9 µs
sm_trace_request/raw_bytes_240/compressed_bytes_258/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+1%
841 ns831 ns
BenchmarkTracesMarshalJSON
pdata/ptrace/traces_test.go
CodSpeed Performance Gauge
+1%
6.1 µs6 µs
sm_trace_request/raw_bytes_240/compressed_bytes_211/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+1%
8.2 µs8.1 µs
lg_metric_request/raw_bytes_10991/compressed_bytes_1033/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+1%
4.3 µs4.3 µs
md_log_request/raw_bytes_242/compressed_bytes_210/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+1%
9.7 µs9.7 µs
lg_log_request/raw_bytes_4850/compressed_bytes_463/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+1%
2 µs2 µs
md_metric_request/raw_bytes_376/compressed_bytes_203/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
8.4 µs8.4 µs
sm_metric_request/raw_bytes_183/compressed_bytes_138/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
7.2 µs7.2 µs
BenchmarkTracesUsage
pdata/ptrace/traces_test.go
CodSpeed Performance Gauge
0%
4.9 µs4.9 µs
lg_metric_request/raw_bytes_10991/compressed_bytes_587/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
76.4 µs76.1 µs
BenchmarkMetricsFromProto10k
pdata/pmetric/pb_test.go
CodSpeed Performance Gauge
0%
397.3 µs396.3 µs
BenchmarkMetricsMarshalJSON
pdata/pmetric/metrics_test.go
CodSpeed Performance Gauge
0%
5.2 µs5.2 µs
md_trace_request/raw_bytes_338/compressed_bytes_294/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
922 ns921 ns
BenchmarkTracesFromProto2k
pdata/ptrace/pb_test.go
CodSpeed Performance Gauge
0%
227.2 µs227.1 µs
md_metric_request/raw_bytes_376/compressed_bytes_215/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
891 ns891 ns
sm_metric_request/raw_bytes_183/compressed_bytes_155/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
721 ns721 ns
with_a_new_value
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
0%
60 ns60 ns
with_a_duplicate_value
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
0%
60 ns60 ns
with_an_existing_value
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
0%
60 ns60 ns
with_a_hundred_values_to_loop_through
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
0%
160 ns160 ns
sm_log_request/raw_bytes_160/compressed_bytes_178/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
731 ns731 ns
BenchmarkFromAttributeIndices
pdata/pprofile/attributes_test.go
CodSpeed Performance Gauge
0%
240 ns240 ns
BenchmarkTraceSizeSpanCount
processor/batchprocessor/batch_processor_test.go
CodSpeed Performance Gauge
0%
60 ns60 ns
sm_log_request/raw_bytes_160/compressed_bytes_164/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
19.2 µs19.2 µs
sm_log_request/raw_bytes_160/compressed_bytes_159/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
0%
9.1 µs9.1 µs
BenchmarkProfilesMarshalJSON
pdata/pprofile/profiles_test.go
CodSpeed Performance Gauge
0%
4.3 µs4.3 µs
BenchmarkLogsFromProto2k
pdata/plog/pb_test.go
CodSpeed Performance Gauge
0%
130.1 µs130.4 µs
BenchmarkLogsToProto2k
pdata/plog/pb_test.go
CodSpeed Performance Gauge
0%
63.2 µs63.4 µs
BenchmarkProfilesFromProto
pdata/pprofile/pb_test.go
CodSpeed Performance Gauge
0%
5.6 µs5.6 µs
BenchmarkLogsUsage
pdata/plog/logs_test.go
CodSpeed Performance Gauge
0%
2.8 µs2.8 µs
BenchmarkTraceSizeBytes
processor/batchprocessor/batch_processor_test.go
CodSpeed Performance Gauge
0%
439.2 µs441 µs
BenchmarkMemoryQueueWaitForResult
exporter/exporterhelper/internal/queue/memory_queue_test.go
CodSpeed Performance Gauge
0%
70.2 µs70.6 µs
BenchmarkFromLocationIndices
pdata/pprofile/locations_test.go
CodSpeed Performance Gauge
-1%
1.7 µs1.7 µs
BenchmarkBatchMetricProcessor2k
processor/batchprocessor/batch_processor_test.go
CodSpeed Performance Gauge
-1%
136.6 ms137.4 ms
BenchmarkTracesToProto2k
pdata/ptrace/pb_test.go
CodSpeed Performance Gauge
-1%
96.2 µs96.8 µs
BenchmarkLogsMarshalJSON
pdata/plog/logs_test.go
CodSpeed Performance Gauge
-1%
3.8 µs3.8 µs
lg_trace_request/raw_bytes_7250/compressed_bytes_615/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-1%
2.5 µs2.5 µs
BenchmarkMultiBatchMetricProcessor2k
processor/batchprocessor/batch_processor_test.go
CodSpeed Performance Gauge
-1%
132.6 ms133.7 ms
BenchmarkPersistentQueue
exporter/exporterhelper/internal/queue/persistent_queue_test.go
CodSpeed Performance Gauge
-1%
203.5 µs205.3 µs
BenchmarkMetricsToProto2k
pdata/pmetric/pb_test.go
CodSpeed Performance Gauge
-1%
90.7 µs91.6 µs
BenchmarkProfilesToProto
pdata/pprofile/pb_test.go
CodSpeed Performance Gauge
-1%
1.7 µs1.7 µs
BenchmarkHTTPProtoLogsSequential
receiver/otlpreceiver/otlp_benchmark_test.go
CodSpeed Performance Gauge
-1%
5 ms5.1 ms
BenchmarkProfilesUsage
pdata/pprofile/profiles_test.go
CodSpeed Performance Gauge
-1%
3.5 µs3.6 µs
BenchmarkSplittingBasedOnByteSizeManySmallProfiles
exporter/exporterhelper/xexporterhelper/profiles_batch_test.go
CodSpeed Performance Gauge
-1%
4.7 s4.8 s
HTTP/1.1,_shared_client_(like_load_balancer)
config/confighttp/server_test.go::BenchmarkHttpRequest
CodSpeed Performance Gauge
-2%
1 ms1.1 ms
lg_metric_request/raw_bytes_10991/compressed_bytes_538/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-2%
17 µs17.4 µs
BenchmarkSplittingBasedOnByteSizeManyProfilesSlightlyAboveLimit
exporter/exporterhelper/xexporterhelper/profiles_batch_test.go
CodSpeed Performance Gauge
-2%
86.3 ms88.2 ms
HTTP/1.1,_client_per_thread_(like_single_app)
config/confighttp/server_test.go::BenchmarkHttpRequest
CodSpeed Performance Gauge
-2%
1 ms1.1 ms
HTTP/2.0,_shared_client_(like_load_balancer)
config/confighttp/server_test.go::BenchmarkHttpRequest
CodSpeed Performance Gauge
-2%
1 ms1.1 ms
lg_log_request/raw_bytes_4850/compressed_bytes_217/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-3%
11.1 µs11.4 µs
BenchmarkSplittingBasedOnByteSizeHugeProfiles
exporter/exporterhelper/xexporterhelper/profiles_batch_test.go
CodSpeed Performance Gauge
-3%
96 ms99 ms
lg_trace_request/raw_bytes_7250/compressed_bytes_269/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
-3%
11.2 µs11.5 µs
HTTP/2.0,_client_per_thread_(like_single_app)
config/confighttp/server_test.go::BenchmarkHttpRequest
CodSpeed Performance Gauge
-4%
1 ms1.1 ms
BenchmarkGRPCLogsSequential
receiver/otlpreceiver/otlp_benchmark_test.go
CodSpeed Performance Gauge
-4%
6.2 ms6.5 ms

Commits

Click on a commit to change the comparison range
Base
main
250a1ca
+0.12%
Add component JSON schema generation to mdatagen Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
f190d98
27 days ago
by pavolloffay
-0.06%
Use yaml instead of JSON Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
bea8e30
2 days ago
by pavolloffay
-0.19%
Fix lint Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
db85700
2 days ago
by pavolloffay
© 2026 CodSpeed Technology
Home Terms Privacy Docs