Skip to content

Commit

Permalink
Improve performance of OTLP ingestion (#5531)
Browse files Browse the repository at this point in the history
* Add benchmark for OTLPHandler.

* Preallocate `l` in `createAttributes`

goos: darwin
goarch: arm64
pkg: github.com/grafana/mimir/pkg/util/push
                                                                                                                                           │     before.txt      │        step-1-with-preallocation.txt        │
                                                                                                                                           │       sec/op        │        sec/op         vs base               │
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_0-10                                                         0.0000001000n ±  0%   0.0000001000n ± 200%        ~ (p=0.455 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10                2.519m ±  0%          2.512m ±   3%        ~ (p=0.485 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10                4.092m ±  0%          4.112m ±   4%        ~ (p=0.394 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10               5.525m ±  4%          5.507m ±   1%        ~ (p=0.310 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10               14.52m ±  1%          13.77m ±   2%   -5.12% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10               15.68m ±  1%          15.05m ±   1%   -4.04% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10              17.13m ±  1%          16.48m ±   1%   -3.76% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10                15.10m ±  1%          15.10m ±   3%        ~ (p=0.937 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10                20.44m ±  0%          19.99m ±   3%   -2.18% (p=0.026 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10               23.63m ±  2%          22.49m ±   5%   -4.83% (p=0.026 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10               79.65m ±  1%          70.72m ±   1%  -11.21% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10               84.43m ±  1%          77.24m ±   0%   -8.52% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10              87.73m ±  1%          80.58m ±   1%   -8.15% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10             17.48m ±  1%          17.45m ±   1%        ~ (p=0.394 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10             23.99m ±  1%          24.22m ±   4%        ~ (p=0.699 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10            28.52m ±  2%          29.26m ±   1%   +2.60% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10            92.86m ±  2%          85.33m ±   1%   -8.11% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10            98.12m ±  1%          91.34m ±   2%   -6.91% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10          101.94m ±  1%          96.42m ±   6%   -5.42% (p=0.041 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10                   33.13µ ±  4%          34.50µ ±   5%        ~ (p=0.132 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10                   29.29µ ± 10%          33.99µ ±  25%        ~ (p=0.065 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10                  28.85µ ±  4%          31.08µ ±   8%   +7.72% (p=0.041 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10                  29.03µ ±  8%          30.63µ ±   6%   +5.51% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10                  28.28µ ±  5%          30.64µ ±   7%   +8.38% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10                 28.21µ ±  4%          30.07µ ±  12%   +6.59% (p=0.026 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10                2.537m ±  1%          2.557m ±   1%   +0.81% (p=0.015 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10                4.118m ±  0%          4.168m ±   2%        ~ (p=0.310 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10               5.532m ±  1%          5.617m ±   4%        ~ (p=0.240 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10               14.41m ±  0%          13.96m ±   0%   -3.08% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10               15.63m ±  1%          15.24m ±   1%   -2.53% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10              17.26m ±  1%          16.56m ±   1%   -4.08% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10                15.26m ±  1%          15.39m ±   5%        ~ (p=0.937 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10                20.41m ±  2%          20.02m ±   0%   -1.91% (p=0.004 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10               23.73m ±  1%          23.31m ±   2%   -1.75% (p=0.009 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10               80.37m ±  1%          73.02m ±   1%   -9.15% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10               85.73m ±  0%          78.38m ±   1%   -8.57% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10              89.59m ±  1%          81.55m ±   1%   -8.97% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10             17.55m ±  3%          17.63m ±   0%        ~ (p=0.589 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10             24.40m ±  1%          24.30m ±   2%        ~ (p=0.818 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10            27.71m ±  4%          29.08m ±   1%   +4.96% (p=0.004 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10            92.13m ±  4%          85.57m ±   2%   -7.11% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10            98.50m ±  7%          91.47m ±   1%   -7.13% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10          102.27m ±  1%          95.64m ±   1%   -6.48% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10                  67.23µ ±  3%          64.06µ ±   3%   -4.71% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10                  67.45µ ±  2%          64.10µ ±   2%   -4.97% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10                 68.66µ ±  3%          66.42µ ±  10%        ~ (p=0.240 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10                 67.82µ ±  1%          64.26µ ±   8%        ~ (p=0.065 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10                 67.63µ ±  1%          63.99µ ±   1%   -5.39% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10                67.56µ ±  2%          63.63µ ±   1%   -5.83% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10               2.611m ±  2%          2.649m ±   9%        ~ (p=0.485 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10               4.182m ±  2%          4.290m ±   3%        ~ (p=0.093 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10              5.613m ±  1%          5.634m ±   3%        ~ (p=0.240 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10              14.60m ±  1%          14.13m ±   2%   -3.21% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10              15.76m ±  2%          15.38m ±   1%   -2.39% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10             17.24m ±  1%          16.84m ±   2%   -2.34% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10               15.61m ±  1%          15.60m ±   3%        ~ (p=1.000 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10               20.92m ±  2%          20.60m ±   1%        ~ (p=0.093 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10              24.08m ±  3%          24.06m ±   2%        ~ (p=0.699 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10              80.44m ±  1%          73.95m ±   2%   -8.06% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10              86.49m ±  1%          78.13m ±   1%   -9.67% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10             89.72m ±  1%          82.03m ±   1%   -8.56% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10            18.27m ±  2%          18.19m ±   1%        ~ (p=0.699 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10            24.68m ±  1%          24.66m ±   2%        ~ (p=0.818 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10           29.16m ±  2%          29.09m ±   1%        ~ (p=0.818 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10           93.64m ±  2%          86.52m ±   3%   -7.60% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10           99.13m ±  1%          92.54m ±   3%   -6.65% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10         102.38m ±  3%          97.91m ±   3%   -4.36% (p=0.002 n=6)
geomean                                                                                                                                             4.867m                4.754m          -2.34%

                                                                                                                                           │   before.txt    │     step-1-with-preallocation.txt     │
                                                                                                                                           │      B/op       │     B/op      vs base                 │
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_0-10                                                            0.000 ± 0%       0.000 ± 0%        ~ (p=1.000 n=6) ¹
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10          4.328Mi ± 0%     4.329Mi ± 0%        ~ (p=0.818 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10          8.781Mi ± 0%     8.779Mi ± 0%        ~ (p=0.310 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10         14.32Mi ± 0%     14.32Mi ± 0%        ~ (p=0.310 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10         23.14Mi ± 0%     21.63Mi ± 0%   -6.55% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10         26.97Mi ± 0%     25.45Mi ± 0%   -5.63% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10        33.96Mi ± 0%     32.44Mi ± 0%   -4.47% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10          21.82Mi ± 0%     21.82Mi ± 0%        ~ (p=0.818 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10          28.42Mi ± 0%     28.42Mi ± 0%        ~ (p=0.818 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10         34.30Mi ± 0%     34.30Mi ± 0%        ~ (p=0.937 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10        100.97Mi ± 0%     87.31Mi ± 0%  -13.53% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10        107.07Mi ± 0%     93.42Mi ± 0%  -12.75% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10       113.62Mi ± 0%     99.96Mi ± 0%  -12.02% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10       25.88Mi ± 0%     25.88Mi ± 0%        ~ (p=0.699 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10       37.54Mi ± 0%     37.54Mi ± 0%        ~ (p=0.065 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10      48.78Mi ± 0%     48.78Mi ± 0%        ~ (p=0.937 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10      123.4Mi ± 0%     108.2Mi ± 0%  -12.30% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10      133.2Mi ± 0%     118.1Mi ± 0%  -11.38% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10     144.0Mi ± 0%     128.8Mi ± 0%  -10.53% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10             310.0Ki ± 0%     310.0Ki ± 0%        ~ (p=0.165 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10             309.9Ki ± 0%     310.0Ki ± 0%        ~ (p=0.258 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10            309.9Ki ± 0%     310.0Ki ± 0%   +0.01% (p=0.009 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10            309.9Ki ± 0%     310.0Ki ± 0%   +0.00% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10            309.9Ki ± 0%     310.0Ki ± 0%   +0.01% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10           309.9Ki ± 0%     310.0Ki ± 0%   +0.01% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10          4.333Mi ± 0%     4.331Mi ± 0%        ~ (p=0.240 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10          8.785Mi ± 0%     8.785Mi ± 0%        ~ (p=0.818 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10         14.32Mi ± 0%     14.32Mi ± 0%        ~ (p=0.699 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10         23.15Mi ± 0%     21.63Mi ± 0%   -6.56% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10         26.97Mi ± 0%     25.45Mi ± 0%   -5.63% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10        33.96Mi ± 0%     32.45Mi ± 0%   -4.46% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10          21.82Mi ± 0%     21.82Mi ± 0%        ~ (p=0.818 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10          28.43Mi ± 0%     28.42Mi ± 0%        ~ (p=0.699 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10         34.31Mi ± 0%     34.31Mi ± 0%        ~ (p=1.000 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10        100.96Mi ± 0%     87.31Mi ± 0%  -13.52% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10        107.09Mi ± 0%     93.42Mi ± 0%  -12.77% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10       113.63Mi ± 0%     99.97Mi ± 0%  -12.02% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10       25.89Mi ± 0%     25.89Mi ± 0%        ~ (p=0.699 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10       37.54Mi ± 0%     37.54Mi ± 0%        ~ (p=0.818 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10      48.79Mi ± 0%     48.78Mi ± 0%        ~ (p=0.132 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10      123.4Mi ± 0%     108.3Mi ± 0%  -12.29% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10      133.3Mi ± 0%     118.1Mi ± 0%  -11.39% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10     144.0Mi ± 0%     128.9Mi ± 0%  -10.54% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10            343.3Ki ± 0%     338.6Ki ± 0%   -1.36% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10            343.3Ki ± 0%     338.6Ki ± 0%   -1.36% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10           343.3Ki ± 0%     338.6Ki ± 0%   -1.36% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10           343.3Ki ± 0%     338.6Ki ± 0%   -1.36% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10           343.3Ki ± 0%     338.6Ki ± 0%   -1.36% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10          343.3Ki ± 0%     338.6Ki ± 0%   -1.36% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10         4.361Mi ± 0%     4.359Mi ± 0%   -0.06% (p=0.004 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10         8.816Mi ± 0%     8.810Mi ± 0%   -0.07% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10        14.35Mi ± 0%     14.35Mi ± 0%   -0.03% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10        23.18Mi ± 0%     21.65Mi ± 0%   -6.57% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10        27.00Mi ± 0%     25.48Mi ± 0%   -5.63% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10       33.99Mi ± 0%     32.47Mi ± 0%   -4.48% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10         21.85Mi ± 0%     21.84Mi ± 0%   -0.02% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10         28.45Mi ± 0%     28.45Mi ± 0%   -0.02% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10        34.34Mi ± 0%     34.33Mi ± 0%   -0.01% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10       100.99Mi ± 0%     87.33Mi ± 0%  -13.53% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10       107.11Mi ± 0%     93.44Mi ± 0%  -12.76% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10      113.66Mi ± 0%     99.99Mi ± 0%  -12.03% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10      25.92Mi ± 0%     25.91Mi ± 0%   -0.02% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10      37.57Mi ± 0%     37.57Mi ± 0%   -0.01% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10     48.81Mi ± 0%     48.81Mi ± 0%   -0.01% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10     123.4Mi ± 0%     108.3Mi ± 0%  -12.29% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10     133.3Mi ± 0%     118.1Mi ± 0%  -11.39% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10    144.0Mi ± 0%     128.9Mi ± 0%  -10.53% (p=0.002 n=6)
geomean                                                                                                                                                    ²                  -4.26%               ²
¹ all samples are equal
² summaries must be >0 to compute geomean

                                                                                                                                           │  before.txt   │    step-1-with-preallocation.txt    │
                                                                                                                                           │   allocs/op   │  allocs/op   vs base                │
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_0-10                                                          0.000 ± 0%      0.000 ± 0%       ~ (p=1.000 n=6) ¹
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10         55.16k ± 0%     55.16k ± 0%       ~ (p=0.141 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10         73.17k ± 0%     73.18k ± 0%  +0.00% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10        85.18k ± 0%     85.18k ± 0%       ~ (p=0.455 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10        193.7k ± 0%     192.4k ± 0%  -0.65% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10        211.7k ± 0%     210.4k ± 0%  -0.60% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10       223.7k ± 0%     222.4k ± 0%  -0.56% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10         202.4k ± 0%     202.4k ± 0%       ~ (p=0.595 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10         256.4k ± 0%     256.4k ± 0%       ~ (p=0.643 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10        299.4k ± 0%     299.4k ± 0%       ~ (p=0.156 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10        463.2k ± 0%     451.8k ± 0%  -2.45% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10        517.2k ± 0%     505.8k ± 0%  -2.19% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10       560.2k ± 0%     548.8k ± 0%  -2.02% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10      257.4k ± 0%     257.4k ± 0%       ~ (p=1.000 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10      329.4k ± 0%     329.4k ± 0%       ~ (p=0.656 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10     384.4k ± 0%     384.4k ± 0%       ~ (p=0.799 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10     656.7k ± 0%     644.1k ± 0%  -1.92% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10     728.7k ± 0%     716.1k ± 0%  -1.73% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10    783.7k ± 0%     771.1k ± 0%  -1.61% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10             79.00 ± 0%      79.00 ± 0%       ~ (p=1.000 n=6) ¹
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10             79.00 ± 0%      79.00 ± 0%       ~ (p=1.000 n=6) ¹
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10            79.00 ± 0%      79.00 ± 0%       ~ (p=1.000 n=6) ¹
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10            79.00 ± 0%      79.00 ± 0%       ~ (p=1.000 n=6) ¹
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10            79.00 ± 0%      79.00 ± 0%       ~ (p=1.000 n=6) ¹
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10           79.00 ± 0%      79.00 ± 0%       ~ (p=1.000 n=6) ¹
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10         55.20k ± 0%     55.20k ± 0%       ~ (p=1.000 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10         73.22k ± 0%     73.22k ± 0%  +0.00% (p=0.032 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10        85.23k ± 0%     85.23k ± 0%       ~ (p=0.273 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10        193.7k ± 0%     192.4k ± 0%  -0.65% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10        211.7k ± 0%     210.4k ± 0%  -0.59% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10       223.7k ± 0%     222.4k ± 0%  -0.56% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10         202.4k ± 0%     202.4k ± 0%       ~ (p=0.563 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10         256.4k ± 0%     256.4k ± 0%       ~ (p=1.000 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10        299.4k ± 0%     299.4k ± 0%       ~ (p=0.913 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10        463.2k ± 0%     451.9k ± 0%  -2.45% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10        517.2k ± 0%     505.9k ± 0%  -2.20% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10       560.2k ± 0%     548.9k ± 0%  -2.02% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10      257.5k ± 0%     257.5k ± 0%  -0.00% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10      329.5k ± 0%     329.5k ± 0%       ~ (p=0.788 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10     384.5k ± 0%     384.5k ± 0%       ~ (p=0.407 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10     656.7k ± 0%     644.1k ± 0%  -1.92% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10     728.7k ± 0%     716.1k ± 0%  -1.73% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10    783.7k ± 0%     771.1k ± 0%  -1.61% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10            274.0 ± 0%      271.0 ± 0%  -1.09% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10            274.0 ± 0%      271.0 ± 0%  -1.09% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10           274.0 ± 0%      271.0 ± 0%  -1.09% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10           274.0 ± 0%      271.0 ± 0%  -1.09% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10           274.0 ± 0%      271.0 ± 0%  -1.09% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10          274.0 ± 0%      271.0 ± 0%  -1.09% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10        55.39k ± 0%     55.39k ± 0%  -0.00% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10        73.42k ± 0%     73.42k ± 0%  -0.00% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10       85.43k ± 0%     85.42k ± 0%  -0.00% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10       193.9k ± 0%     192.6k ± 0%  -0.65% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10       211.9k ± 0%     210.6k ± 0%  -0.60% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10      223.9k ± 0%     222.6k ± 0%  -0.56% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10        202.6k ± 0%     202.6k ± 0%  -0.00% (p=0.032 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10        256.6k ± 0%     256.6k ± 0%  -0.00% (p=0.015 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10       299.6k ± 0%     299.6k ± 0%       ~ (p=0.195 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10       463.4k ± 0%     452.1k ± 0%  -2.45% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10       517.4k ± 0%     506.0k ± 0%  -2.19% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10      560.4k ± 0%     549.1k ± 0%  -2.03% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10     257.7k ± 0%     257.7k ± 0%       ~ (p=0.061 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10     329.7k ± 0%     329.7k ± 0%       ~ (p=0.080 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10    384.7k ± 0%     384.7k ± 0%       ~ (p=0.390 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10    656.9k ± 0%     644.3k ± 0%  -1.92% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10    728.9k ± 0%     716.3k ± 0%  -1.73% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10   783.9k ± 0%     771.3k ± 0%  -1.61% (p=0.002 n=6)
geomean                                                                                                                                                  ²                -0.72%               ²
¹ all samples are equal
² summaries must be >0 to compute geomean

* Just use a simple map in `createAttributes` to save time and memory

goos: darwin
goarch: arm64
pkg: github.com/grafana/mimir/pkg/util/push
                                                                                                                                           │ step-1-with-preallocation.txt │             step-2-simple-map.txt             │
                                                                                                                                           │            sec/op             │        sec/op          vs base                │
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_0-10                                                                  0.0000001000n ± 200%   0.0000001000n ±   ∞ ¹       ~ (p=0.167 n=6+3)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10                         2.512m ±   3%          2.507m ±  2%         ~ (p=0.699 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10                         4.112m ±   4%          4.054m ±  1%    -1.42% (p=0.015 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10                        5.507m ±   1%          5.438m ±  0%    -1.26% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10                        13.77m ±   2%          13.17m ±  0%    -4.40% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10                        15.05m ±   1%          14.59m ±  1%    -3.02% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10                       16.48m ±   1%          15.88m ±  0%    -3.67% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10                         15.10m ±   3%          14.65m ±  1%    -3.02% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10                         19.99m ±   3%          19.93m ±  0%         ~ (p=0.937 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10                        22.49m ±   5%          23.06m ±  1%         ~ (p=0.394 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10                        70.72m ±   1%          68.00m ±  4%    -3.85% (p=0.009 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10                        77.24m ±   0%          73.66m ±  1%    -4.63% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10                       80.58m ±   1%          76.98m ±  1%    -4.47% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10                      17.45m ±   1%          17.33m ±  1%         ~ (p=0.093 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10                      24.22m ±   4%          23.86m ±  0%         ~ (p=0.394 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10                     29.26m ±   1%          28.20m ±  0%    -3.62% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10                     85.33m ±   1%          80.16m ±  1%    -6.05% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10                     91.34m ±   2%          87.50m ±  1%    -4.21% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10                    96.42m ±   6%          92.90m ±  2%    -3.64% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10                            34.50µ ±   5%          33.77µ ±  6%         ~ (p=0.589 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10                            33.99µ ±  25%          31.34µ ±  7%         ~ (p=0.240 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10                           31.08µ ±   8%          29.28µ ±  3%         ~ (p=0.132 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10                           30.63µ ±   6%          30.06µ ± 11%         ~ (p=0.485 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10                           30.64µ ±   7%          28.36µ ± 17%         ~ (p=0.065 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10                          30.07µ ±  12%          29.62µ ± 14%         ~ (p=0.937 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10                         2.557m ±   1%          2.523m ±  2%         ~ (p=0.093 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10                         4.168m ±   2%          4.097m ±  1%         ~ (p=0.093 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10                        5.617m ±   4%          5.594m ±  4%         ~ (p=0.937 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10                        13.96m ±   0%          13.34m ±  2%    -4.44% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10                        15.24m ±   1%          14.71m ±  1%    -3.49% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10                       16.56m ±   1%          16.13m ±  1%    -2.60% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10                         15.39m ±   5%          14.68m ±  1%    -4.56% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10                         20.02m ±   0%          19.91m ±  3%         ~ (p=0.485 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10                        23.31m ±   2%          23.08m ±  4%         ~ (p=0.394 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10                        73.02m ±   1%          67.38m ±  2%    -7.71% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10                        78.38m ±   1%          73.50m ±  1%    -6.22% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10                       81.55m ±   1%          77.39m ±  2%    -5.11% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10                      17.63m ±   0%          17.72m ±  1%         ~ (p=0.132 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10                      24.30m ±   2%          23.98m ±  1%         ~ (p=0.065 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10                     29.08m ±   1%          28.26m ±  1%    -2.82% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10                     85.57m ±   2%          80.50m ±  1%    -5.93% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10                     91.47m ±   1%          86.75m ±  1%    -5.16% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10                    95.64m ±   1%          91.22m ±  0%    -4.62% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10                           64.06µ ±   3%          63.17µ ±  0%    -1.40% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10                           64.10µ ±   2%          63.05µ ±  1%    -1.64% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10                          66.42µ ±  10%          62.95µ ±  3%    -5.23% (p=0.026 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10                          64.26µ ±   8%          62.56µ ±  2%    -2.65% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10                          63.99µ ±   1%          62.79µ ±  1%    -1.87% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10                         63.63µ ±   1%          63.26µ ±  1%         ~ (p=0.093 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10                        2.649m ±   9%          2.580m ±  1%    -2.59% (p=0.015 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10                        4.290m ±   3%          4.180m ±  1%    -2.55% (p=0.026 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10                       5.634m ±   3%          5.588m ±  1%         ~ (p=0.093 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10                       14.13m ±   2%          13.46m ±  0%    -4.72% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10                       15.38m ±   1%          14.83m ±  1%    -3.54% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10                      16.84m ±   2%          16.34m ±  2%    -2.98% (p=0.004 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10                        15.60m ±   3%          15.53m ±  2%         ~ (p=0.699 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10                        20.60m ±   1%          20.52m ±  2%         ~ (p=0.699 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10                       24.06m ±   2%          23.69m ±  4%         ~ (p=0.065 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10                       73.95m ±   2%          69.01m ±  1%    -6.68% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10                       78.13m ±   1%          74.41m ±  1%    -4.76% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10                      82.03m ±   1%          78.49m ±  1%    -4.32% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10                     18.19m ±   1%          18.00m ±  0%    -1.00% (p=0.009 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10                     24.66m ±   2%          24.46m ±  1%    -0.83% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10                    29.09m ±   1%          28.69m ±  2%    -1.35% (p=0.041 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10                    86.52m ±   3%          82.72m ±  2%    -4.40% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10                    92.54m ±   3%          87.77m ±  5%    -5.15% (p=0.004 n=6)
OTLPHandler/resource_attribute_count:_50/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10                   97.91m ±   3%          93.26m ±  2%    -4.76% (p=0.002 n=6)
geomean                                                                                                                                                      4.754m                 4.612m          -2.99%
¹ need >= 6 samples for confidence interval at level 0.95

                                                                                                                                           │ step-1-with-preallocation.txt │         step-2-simple-map.txt         │
                                                                                                                                           │             B/op              │     B/op      vs base                 │
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_0-10                                                                          0.000 ± 0%       0.000 ± 0%        ~ (p=1.000 n=6) ¹
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10                        4.329Mi ± 0%     4.328Mi ± 0%        ~ (p=0.937 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10                        8.779Mi ± 0%     8.782Mi ± 0%        ~ (p=0.065 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10                       14.32Mi ± 0%     14.32Mi ± 0%   -0.00% (p=0.004 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10                       21.63Mi ± 0%     20.08Mi ± 0%   -7.17% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10                       25.45Mi ± 0%     23.90Mi ± 0%   -6.09% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10                      32.44Mi ± 0%     30.89Mi ± 0%   -4.77% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10                        21.82Mi ± 0%     21.82Mi ± 0%        ~ (p=0.589 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10                        28.42Mi ± 0%     28.42Mi ± 0%        ~ (p=0.589 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10                       34.30Mi ± 0%     34.30Mi ± 0%        ~ (p=0.310 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10                       87.31Mi ± 0%     73.16Mi ± 0%  -16.21% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10                       93.42Mi ± 0%     79.27Mi ± 0%  -15.15% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10                      99.96Mi ± 0%     85.82Mi ± 0%  -14.15% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10                     25.88Mi ± 0%     25.88Mi ± 0%        ~ (p=0.937 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10                     37.54Mi ± 0%     37.54Mi ± 0%   -0.00% (p=0.026 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10                    48.78Mi ± 0%     48.78Mi ± 0%   +0.00% (p=0.009 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10                   108.25Mi ± 0%     92.55Mi ± 0%  -14.50% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10                    118.1Mi ± 0%     102.4Mi ± 0%  -13.30% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_0/histogram_count:_1000/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10                   128.8Mi ± 0%     113.2Mi ± 0%  -12.18% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10                           310.0Ki ± 0%     310.0Ki ± 0%        ~ (p=0.056 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10                           310.0Ki ± 0%     310.0Ki ± 0%        ~ (p=0.485 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10                          310.0Ki ± 0%     309.9Ki ± 0%   -0.00% (p=0.009 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10                          310.0Ki ± 0%     310.0Ki ± 0%        ~ (p=0.485 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10                          310.0Ki ± 0%     309.9Ki ± 0%        ~ (p=0.058 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_10-10                         310.0Ki ± 0%     309.9Ki ± 0%        ~ (p=0.093 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_0-10                        4.331Mi ± 0%     4.331Mi ± 0%        ~ (p=0.589 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_5-10                        8.785Mi ± 0%     8.783Mi ± 0%   -0.02% (p=0.041 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_2/exemplars_per_series:_10-10                       14.32Mi ± 0%     14.32Mi ± 0%        ~ (p=1.000 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_0-10                       21.63Mi ± 0%     20.08Mi ± 0%   -7.17% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_5-10                       25.45Mi ± 0%     23.91Mi ± 0%   -6.08% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_0/non-histogram_count:_1000/labels_per_metric:_20/exemplars_per_series:_10-10                      32.45Mi ± 0%     30.90Mi ± 0%   -4.78% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_0-10                        21.82Mi ± 0%     21.82Mi ± 0%        ~ (p=0.589 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_5-10                        28.42Mi ± 0%     28.42Mi ± 0%        ~ (p=0.485 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_2/exemplars_per_series:_10-10                       34.31Mi ± 0%     34.31Mi ± 0%        ~ (p=0.180 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_0-10                       87.31Mi ± 0%     73.16Mi ± 0%  -16.21% (p=0.002 n=6)
OTLPHandler/resource_attribute_count:_5/histogram_count:_1000/non-histogram_count:_0/labels_per_metric:_20/exemplars_per_series:_5-10                       93.42Mi ± 0%     79.28Mi ± 0%  -15.14% (p=0.002…
  • Loading branch information
charleskorn authored Jul 20, 2023
1 parent bd6cdc4 commit e302713
Show file tree
Hide file tree
Showing 6 changed files with 102 additions and 113 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
* [ENHANCEMENT] General: buffered logging: #5506
* `-log.buffered`: Enable buffered logging
* [ENHANCEMENT] Distributor: add more detailed information to traces generated while processing OTLP write requests. #5539
* [ENHANCEMENT] Distributor: improve performance ingesting OTLP payloads. #5531
* [BUGFIX] Ingester: Handle when previous ring state is leaving and the number of tokens has changed. #5204
* [BUGFIX] Querier: fix issue where queries that use the `timestamp()` function fail with `execution: attempted to read series at index 0 from stream, but the stream has already been exhausted` if streaming chunks from ingesters to queriers is enabled. #5370
* [BUGFIX] memberlist: bring back `memberlist_client_kv_store_count` metric that used to exist in Cortex, but got lost during dskit updates before Mimir 2.0. #5377
Expand Down
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -268,3 +268,6 @@ replace github.com/munnerz/goautoneg => github.com/charleskorn/goautoneg v0.0.0-

// Replace opentracing-contrib/go-stdlib with a fork until https://github.com/opentracing-contrib/go-stdlib/pull/68 is merged.
replace github.com/opentracing-contrib/go-stdlib => github.com/grafana/opentracing-contrib-go-stdlib v0.0.0-20230509071955-f410e79da956

// Replace github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheusremotewrite with a fork until https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/24288 is merged.
replace github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheusremotewrite => github.com/charleskorn/opentelemetry-collector-contrib/pkg/translator/prometheusremotewrite v0.0.0-20230717033559-beffb82bb827
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,8 @@ github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj
github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/charleskorn/goautoneg v0.0.0-20230303030534-7248a2f4c9cc h1:r9yn26N6K60wfQPMwxNeD8U2djqObFYh6o9LXfeMecg=
github.com/charleskorn/goautoneg v0.0.0-20230303030534-7248a2f4c9cc/go.mod h1:S666TGglI7cVCVpErP7i+7iFlS330LD8vZDcFk9IdCg=
github.com/charleskorn/opentelemetry-collector-contrib/pkg/translator/prometheusremotewrite v0.0.0-20230717033559-beffb82bb827 h1:/eFbe8NJWZD9NIaOA8RJ4gjxw7tME7V7t+B3ufyH7iE=
github.com/charleskorn/opentelemetry-collector-contrib/pkg/translator/prometheusremotewrite v0.0.0-20230717033559-beffb82bb827/go.mod h1:FLUCs/7YJX0pauUBlj+5cy2h0ckjVMno2YyXsO/j89k=
github.com/chromedp/cdproto v0.0.0-20210526005521-9e51b9051fd0/go.mod h1:At5TxYYdxkbQL0TSefRjhLE3Q0lgvqKKMSFUglJ7i1U=
github.com/chromedp/cdproto v0.0.0-20210706234513-2bc298e8be7f/go.mod h1:At5TxYYdxkbQL0TSefRjhLE3Q0lgvqKKMSFUglJ7i1U=
github.com/chromedp/cdproto v0.0.0-20220629234738-4cfc9cdeeb92 h1:0kiAQSLWZDt4wsmcICou3C6in/OJ58FCqvXcB8Ax1Dk=
Expand Down Expand Up @@ -1102,8 +1104,6 @@ github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.81.
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.81.0 h1:sPjCHuqjn5UYDJOai4FulMCfLP+7AbspjHfv0jAtmD0=
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheus v0.81.0 h1:syUuhc/z2yIsTmL9jt2gmXkYUM/jgsQZoH6NAE6i54Q=
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheus v0.81.0/go.mod h1:LRzHoUpI8xZN5KXulEglZnbkYBHyiqHgQXGudIqpTtk=
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheusremotewrite v0.0.0-20230717235037-3f2821e2c1b1 h1:+qLq78c38mU38gm1UCswt61NsM8O6NB0L2sFdLiwbbo=
github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/prometheusremotewrite v0.0.0-20230717235037-3f2821e2c1b1/go.mod h1:FLUCs/7YJX0pauUBlj+5cy2h0ckjVMno2YyXsO/j89k=
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
github.com/opencontainers/image-spec v1.0.2 h1:9yCKha/T5XdGtO0q9Q9a6T5NUCsTn/DrBg0D7ufOcFM=
github.com/opentracing-contrib/go-grpc v0.0.0-20180928155321-4b5a12d3ff02/go.mod h1:JNdpVEzCpXBgIiv4ds+TzhN1hrtxq6ClLrTlT9OQRSc=
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e302713

Please sign in to comment.