open-telemetry
opentelemetry-collector
BlogDocsChangelog

fix: gracefully handle process metrics registration failure on unsupported OSes

#14319
Comparing
EdgeN8v:fix/14307-aix-crash
(
890b8a5
) with
main
(
4db9157
)
CodSpeed Performance Gauge
+44%
Improvements
9
Untouched
53
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*

Improved

BenchmarkTraceSizeBytes
processor/batchprocessor/batch_processor_test.go
CodSpeed Performance Gauge
+44%
441.2 µs306.2 µs
BenchmarkLogsToProto2k
pdata/plog/pb_test.go
CodSpeed Performance Gauge
+42%
63.2 µs44.6 µs
BenchmarkTracesToProto2k
pdata/ptrace/pb_test.go
CodSpeed Performance Gauge
+37%
96.2 µs70 µs
BenchmarkProfilesToProto
pdata/pprofile/pb_test.go
CodSpeed Performance Gauge
+37%
1.7 µs1.2 µs
with_a_duplicate_value
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
+33%
60 ns45 ns
BenchmarkTraceSizeSpanCount
processor/batchprocessor/batch_processor_test.go
CodSpeed Performance Gauge
+33%
60 ns45 ns
with_an_existing_value
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
+33%
60 ns45 ns
with_a_new_value
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
+30%
60 ns46 ns
BenchmarkTracesMarshalJSON
pdata/ptrace/traces_test.go
CodSpeed Performance Gauge
+25%
6 µs4.8 µs

Passed

BenchmarkMetricsToProto2k
pdata/pmetric/pb_test.go
CodSpeed Performance Gauge
+22%
91 µs74.9 µs
BenchmarkMetricsMarshalJSON
pdata/pmetric/metrics_test.go
CodSpeed Performance Gauge
+21%
5.2 µs4.3 µs
BenchmarkLogsMarshalJSON
pdata/plog/logs_test.go
CodSpeed Performance Gauge
+21%
3.8 µs3.1 µs
BenchmarkProfilesMarshalJSON
pdata/pprofile/profiles_test.go
CodSpeed Performance Gauge
+20%
4.3 µs3.6 µs
sm_log_request/raw_bytes_160/compressed_bytes_159/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+17%
9.1 µs7.8 µs
lg_metric_request/raw_bytes_10991/compressed_bytes_538/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+15%
17.2 µs14.9 µs
md_log_request/raw_bytes_242/compressed_bytes_210/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+14%
9.7 µs8.5 µs
with_a_hundred_values_to_loop_through
pdata/pprofile/string_table_test.go::BenchmarkSetString
CodSpeed Performance Gauge
+14%
160 ns140 ns
BenchmarkFromLocationIndices
pdata/pprofile/locations_test.go
CodSpeed Performance Gauge
+14%
1.7 µs1.5 µs
lg_log_request/raw_bytes_4850/compressed_bytes_253/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+13%
37.4 µs33.2 µs
lg_trace_request/raw_bytes_7250/compressed_bytes_313/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+13%
49.4 µs43.9 µs
lg_metric_request/raw_bytes_10991/compressed_bytes_587/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+12%
75.9 µs67.5 µs
sm_metric_request/raw_bytes_183/compressed_bytes_138/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+12%
7.2 µs6.4 µs
md_trace_request/raw_bytes_338/compressed_bytes_265/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+12%
8.9 µs8 µs
sm_trace_request/raw_bytes_240/compressed_bytes_211/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+12%
8.1 µs7.2 µs
md_metric_request/raw_bytes_376/compressed_bytes_203/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+12%
8.4 µs7.5 µs
lg_log_request/raw_bytes_4850/compressed_bytes_217/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+10%
11.2 µs10.1 µs
lg_trace_request/raw_bytes_7250/compressed_bytes_615/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+10%
2.5 µs2.2 µs
md_trace_request/raw_bytes_338/compressed_bytes_256/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+9%
26 µs23.9 µs
md_metric_request/raw_bytes_376/compressed_bytes_193/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+8%
24.1 µs22.3 µs
sm_trace_request/raw_bytes_240/compressed_bytes_211/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+8%
24.2 µs22.4 µs
lg_log_request/raw_bytes_4850/compressed_bytes_463/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+8%
2 µs1.8 µs
BenchmarkProfilesFromProto
pdata/pprofile/pb_test.go
CodSpeed Performance Gauge
+7%
5.6 µs5.2 µs
lg_trace_request/raw_bytes_7250/compressed_bytes_269/compressor_zstd
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+7%
11.2 µs10.5 µs
md_log_request/raw_bytes_242/compressed_bytes_220/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+7%
22.5 µs21.1 µs
BenchmarkFromAttributeIndices
pdata/pprofile/attributes_test.go
CodSpeed Performance Gauge
+6%
230 ns216 ns
lg_metric_request/raw_bytes_10991/compressed_bytes_1033/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+6%
4.2 µs4 µs
sm_metric_request/raw_bytes_183/compressed_bytes_141/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+6%
19.9 µs18.8 µs
sm_log_request/raw_bytes_160/compressed_bytes_178/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+5%
731 ns693 ns
BenchmarkTracesFromProto2k
pdata/ptrace/pb_test.go
CodSpeed Performance Gauge
+4%
227.6 µs218.1 µs
md_log_request/raw_bytes_242/compressed_bytes_260/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+4%
841 ns811 ns
sm_metric_request/raw_bytes_183/compressed_bytes_155/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+4%
721 ns696 ns
md_metric_request/raw_bytes_376/compressed_bytes_215/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+3%
881 ns852 ns
sm_log_request/raw_bytes_160/compressed_bytes_164/compressor_gzip
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+3%
19.4 µs18.9 µs
md_trace_request/raw_bytes_338/compressed_bytes_294/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+3%
921 ns898 ns
BenchmarkMetricsUsage
pdata/pmetric/metrics_test.go
CodSpeed Performance Gauge
+2%
1.5 µs1.5 µs
HTTP/1.1,_shared_client_(like_load_balancer)
config/confighttp/server_test.go::BenchmarkHttpRequest
CodSpeed Performance Gauge
+2%
1.1 ms1 ms
sm_trace_request/raw_bytes_240/compressed_bytes_258/compressor_snappy
config/configgrpc/configgrpc_benchmark_test.go::BenchmarkCompressors
CodSpeed Performance Gauge
+2%
831 ns813 ns
BenchmarkPersistentQueue
exporter/exporterhelper/internal/queue/persistent_queue_test.go
CodSpeed Performance Gauge
+2%
202.8 µs198.8 µs
BenchmarkLogsUsage
pdata/plog/logs_test.go
CodSpeed Performance Gauge
+1%
2.8 µs2.7 µs
HTTP/2.0,_client_per_thread_(like_single_app)
config/confighttp/server_test.go::BenchmarkHttpRequest
CodSpeed Performance Gauge
+1%
1 ms1 ms
HTTP/1.1,_client_per_thread_(like_single_app)
config/confighttp/server_test.go::BenchmarkHttpRequest
CodSpeed Performance Gauge
+1%
1 ms1 ms
BenchmarkTracesUsage
pdata/ptrace/traces_test.go
CodSpeed Performance Gauge
+1%
4.9 µs4.9 µs
HTTP/2.0,_shared_client_(like_load_balancer)
config/confighttp/server_test.go::BenchmarkHttpRequest
CodSpeed Performance Gauge
0%
1 ms1 ms
BenchmarkProfilesUsage
pdata/pprofile/profiles_test.go
CodSpeed Performance Gauge
0%
3.5 µs3.5 µs
BenchmarkLogsFromProto2k
pdata/plog/pb_test.go
CodSpeed Performance Gauge
-1%
130.1 µs131.3 µs
BenchmarkSplittingBasedOnByteSizeHugeProfiles
exporter/exporterhelper/xexporterhelper/profiles_batch_test.go
CodSpeed Performance Gauge
-2%
87.1 ms88.6 ms
BenchmarkMemoryQueueWaitForResult
exporter/exporterhelper/internal/queue/memory_queue_test.go
CodSpeed Performance Gauge
-3%
70.5 µs72.8 µs
BenchmarkMetricsFromProto10k
pdata/pmetric/pb_test.go
CodSpeed Performance Gauge
-4%
396.1 µs411.1 µs
BenchmarkMultiBatchMetricProcessor2k
processor/batchprocessor/batch_processor_test.go
CodSpeed Performance Gauge
-5%
132.3 ms139.4 ms
BenchmarkSplittingBasedOnByteSizeManySmallProfiles
exporter/exporterhelper/xexporterhelper/profiles_batch_test.go
CodSpeed Performance Gauge
-6%
4.6 s4.8 s
BenchmarkSplittingBasedOnByteSizeManyProfilesSlightlyAboveLimit
exporter/exporterhelper/xexporterhelper/profiles_batch_test.go
CodSpeed Performance Gauge
-9%
84.9 ms93.2 ms
BenchmarkBatchMetricProcessor2k
processor/batchprocessor/batch_processor_test.go
CodSpeed Performance Gauge
-9%
132.9 ms146.9 ms

Commits

Click on a commit to change the comparison range
Base
main
4db9157
-29.23%
fix: skip process metrics registration on AIX only
917dc50
3 days ago
by EdgeN8v
-2.2%
style: go fmt
44d206f
3 days ago
by EdgeN8v
+31.99%
fix: move constant to global scope and fix changelog formatting
ec71fb4
3 days ago
by EdgeN8v
-0.35%
Update .chloggen/fix-aix-crash.yaml Co-authored-by: Damien Mathieu <42@dmathieu.com>
9377655
3 days ago
by EdgeN8v
-29.08%
fix: wrap error context for process metrics registration
0f7ee83
2 days ago
by EdgeN8v
+76.85%
Merge branch 'fix/14307-aix-crash' of https://github.com/EdgeN8v/opentelemetry-collector into fix/14307-aix-crash
9830093
1 day ago
by EdgeN8v
-3.87%
chore: add porto import comments
890b8a5
14 hours ago
by EdgeN8v
© 2026 CodSpeed Technology
Home Terms Privacy Docs