Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[chore][exporter/elasticsearch] Include otel mapping mode in benchmarks #36490

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

carsonip
Copy link
Contributor

Description

Include otel mapping mode in benchmarks.

Benchmark output after PR:

BenchmarkExporter
BenchmarkExporter/logs/none/small_batch
BenchmarkExporter/logs/none/small_batch-16                  6822            176638 ns/op             56613 events/s        67520 B/op        366 allocs/op
BenchmarkExporter/logs/none/medium_batch
BenchmarkExporter/logs/none/medium_batch-16                  711           1424497 ns/op             70200 events/s       659403 B/op       3547 allocs/op
BenchmarkExporter/logs/none/large_batch
BenchmarkExporter/logs/none/large_batch-16                    73          14194865 ns/op             70448 events/s      6579703 B/op      35362 allocs/op
BenchmarkExporter/logs/none/xlarge_batch
BenchmarkExporter/logs/none/xlarge_batch-16                    8         149908624 ns/op             66707 events/s     65549538 B/op     353425 allocs/op
BenchmarkExporter/logs/ecs/small_batch
BenchmarkExporter/logs/ecs/small_batch-16                   9754            119932 ns/op             83381 events/s        58283 B/op        205 allocs/op
BenchmarkExporter/logs/ecs/medium_batch
BenchmarkExporter/logs/ecs/medium_batch-16                  1111           1066750 ns/op             93743 events/s       567772 B/op       1939 allocs/op
BenchmarkExporter/logs/ecs/large_batch
BenchmarkExporter/logs/ecs/large_batch-16                     98          10781992 ns/op             92747 events/s      5664212 B/op      19277 allocs/op
BenchmarkExporter/logs/ecs/xlarge_batch
BenchmarkExporter/logs/ecs/xlarge_batch-16                    12         100553539 ns/op             99450 events/s     56311261 B/op     192335 allocs/op
BenchmarkExporter/logs/raw/small_batch
BenchmarkExporter/logs/raw/small_batch-16                   6729            150247 ns/op             66557 events/s        66090 B/op        306 allocs/op
BenchmarkExporter/logs/raw/medium_batch
BenchmarkExporter/logs/raw/medium_batch-16                   872           1410297 ns/op             70907 events/s       647732 B/op       2946 allocs/op
BenchmarkExporter/logs/raw/large_batch
BenchmarkExporter/logs/raw/large_batch-16                     86          13031394 ns/op             76738 events/s      6448428 B/op      29330 allocs/op
BenchmarkExporter/logs/raw/xlarge_batch
BenchmarkExporter/logs/raw/xlarge_batch-16                     7         146359644 ns/op             68325 events/s     64410492 B/op     293284 allocs/op
BenchmarkExporter/logs/otel/small_batch
BenchmarkExporter/logs/otel/small_batch-16                  6106            209745 ns/op             47677 events/s        78851 B/op        557 allocs/op
BenchmarkExporter/logs/otel/medium_batch
BenchmarkExporter/logs/otel/medium_batch-16                  591           1938568 ns/op             51584 events/s       774185 B/op       5459 allocs/op
BenchmarkExporter/logs/otel/large_batch
BenchmarkExporter/logs/otel/large_batch-16                    63          18661379 ns/op             53587 events/s      7710898 B/op      54460 allocs/op
BenchmarkExporter/logs/otel/xlarge_batch
BenchmarkExporter/logs/otel/xlarge_batch-16                    6         181679956 ns/op             55042 events/s     76745945 B/op     544078 allocs/op
BenchmarkExporter/metrics/none/small_batch
BenchmarkExporter/metrics/none/small_batch-16               2510            448792 ns/op            155974 events/s       152798 B/op       1713 allocs/op
BenchmarkExporter/metrics/none/medium_batch
BenchmarkExporter/metrics/none/medium_batch-16               264           4350868 ns/op            160887 events/s      1500377 B/op      16942 allocs/op
BenchmarkExporter/metrics/none/large_batch
BenchmarkExporter/metrics/none/large_batch-16                 27          43335054 ns/op            161532 events/s     15268646 B/op     169058 allocs/op
BenchmarkExporter/metrics/none/xlarge_batch
BenchmarkExporter/metrics/none/xlarge_batch-16                 3         436136611 ns/op            160500 events/s     148399600 B/op   1689214 allocs/op
BenchmarkExporter/metrics/ecs/small_batch
BenchmarkExporter/metrics/ecs/small_batch-16                2737            446311 ns/op            156841 events/s       152732 B/op       1713 allocs/op
BenchmarkExporter/metrics/ecs/medium_batch
BenchmarkExporter/metrics/ecs/medium_batch-16                285           4364476 ns/op            160386 events/s      1499515 B/op      16942 allocs/op
BenchmarkExporter/metrics/ecs/large_batch
BenchmarkExporter/metrics/ecs/large_batch-16                  28          42909936 ns/op            163132 events/s     15257589 B/op     169035 allocs/op
BenchmarkExporter/metrics/ecs/xlarge_batch
BenchmarkExporter/metrics/ecs/xlarge_batch-16                  3         436389200 ns/op            160407 events/s     148410208 B/op   1689192 allocs/op
BenchmarkExporter/metrics/raw/small_batch
BenchmarkExporter/metrics/raw/small_batch-16                2762            434453 ns/op            161122 events/s       152447 B/op       1712 allocs/op
BenchmarkExporter/metrics/raw/medium_batch
BenchmarkExporter/metrics/raw/medium_batch-16                297           4155242 ns/op            168462 events/s      1495773 B/op      16939 allocs/op
BenchmarkExporter/metrics/raw/large_batch
BenchmarkExporter/metrics/raw/large_batch-16                  26          46246858 ns/op            151362 events/s     15313028 B/op     169127 allocs/op
BenchmarkExporter/metrics/raw/xlarge_batch
BenchmarkExporter/metrics/raw/xlarge_batch-16                  3         446472140 ns/op            156785 events/s     148512901 B/op   1689409 allocs/op
BenchmarkExporter/metrics/otel/small_batch
BenchmarkExporter/metrics/otel/small_batch-16                966           1094160 ns/op             63976 events/s       411000 B/op       4317 allocs/op
BenchmarkExporter/metrics/otel/medium_batch
BenchmarkExporter/metrics/otel/medium_batch-16               100          10548664 ns/op             66359 events/s      4081192 B/op      42984 allocs/op
BenchmarkExporter/metrics/otel/large_batch
BenchmarkExporter/metrics/otel/large_batch-16                 12         100395094 ns/op             69725 events/s     40648423 B/op     428777 allocs/op
BenchmarkExporter/metrics/otel/xlarge_batch
BenchmarkExporter/metrics/otel/xlarge_batch-16                 1        1244547766 ns/op             56245 events/s     403634000 B/op   4289457 allocs/op
BenchmarkExporter/traces/none/small_batch
BenchmarkExporter/traces/none/small_batch-16                7238            165796 ns/op             60315 events/s        69068 B/op        396 allocs/op
BenchmarkExporter/traces/none/medium_batch
BenchmarkExporter/traces/none/medium_batch-16                738           1595338 ns/op             62683 events/s       678407 B/op       3852 allocs/op
BenchmarkExporter/traces/none/large_batch
BenchmarkExporter/traces/none/large_batch-16                  68          14710161 ns/op             67980 events/s      6758368 B/op      38386 allocs/op
BenchmarkExporter/traces/none/xlarge_batch
BenchmarkExporter/traces/none/xlarge_batch-16                  7         157086820 ns/op             63659 events/s     67476374 B/op     383729 allocs/op
BenchmarkExporter/traces/ecs/small_batch
BenchmarkExporter/traces/ecs/small_batch-16                 6787            172987 ns/op             57808 events/s        69166 B/op        396 allocs/op
BenchmarkExporter/traces/ecs/medium_batch
BenchmarkExporter/traces/ecs/medium_batch-16                 636           1682196 ns/op             59446 events/s       680048 B/op       3854 allocs/op
BenchmarkExporter/traces/ecs/large_batch
BenchmarkExporter/traces/ecs/large_batch-16                   66          15326165 ns/op             65248 events/s      6764220 B/op      38397 allocs/op
BenchmarkExporter/traces/ecs/xlarge_batch
BenchmarkExporter/traces/ecs/xlarge_batch-16                   7         149772892 ns/op             66768 events/s     67389404 B/op     383586 allocs/op
BenchmarkExporter/traces/raw/small_batch
BenchmarkExporter/traces/raw/small_batch-16                 7142            157775 ns/op             63381 events/s        68012 B/op        376 allocs/op
BenchmarkExporter/traces/raw/medium_batch
BenchmarkExporter/traces/raw/medium_batch-16                 841           1461469 ns/op             68424 events/s       665574 B/op       3649 allocs/op
BenchmarkExporter/traces/raw/large_batch
BenchmarkExporter/traces/raw/large_batch-16                   82          15247393 ns/op             65585 events/s      6655255 B/op      36392 allocs/op
BenchmarkExporter/traces/raw/xlarge_batch
BenchmarkExporter/traces/raw/xlarge_batch-16                   7         155530213 ns/op             64296 events/s     66475566 B/op     363736 allocs/op
BenchmarkExporter/traces/otel/small_batch
BenchmarkExporter/traces/otel/small_batch-16                5460            192121 ns/op             52050 events/s        78487 B/op        596 allocs/op
BenchmarkExporter/traces/otel/medium_batch
BenchmarkExporter/traces/otel/medium_batch-16                661           1883279 ns/op             53099 events/s       774757 B/op       5857 allocs/op
BenchmarkExporter/traces/otel/large_batch
BenchmarkExporter/traces/otel/large_batch-16                  57          17856127 ns/op             56003 events/s      7729568 B/op      58441 allocs/op
BenchmarkExporter/traces/otel/xlarge_batch
BenchmarkExporter/traces/otel/xlarge_batch-16                  6         188566934 ns/op             53032 events/s     77184328 B/op     584382 allocs/op
PASS

Link to tracking issue

Fixes #35889

Testing

Documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[exporter/elasticsearch] Update benchmarks to include OTel mapping mode and metrics
2 participants