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

Added mapping of experimental Otel telemetry.distro.name and version attributes #203

Merged
merged 7 commits into from
Mar 12, 2024

Move initialization outside of branch

a5707f5
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Added mapping of experimental Otel telemetry.distro.name and version attributes #203

Move initialization outside of branch
a5707f5
Select commit
Loading
Failed to load commit list.
GitHub Actions / benchdiff-result succeeded Mar 12, 2024 in 0s

Benchdiff Results

Benchmark Command: go test ./... -run ^ -bench . -count 5 -benchtime 100ms -cpu 1,2 -benchmem

HEAD sha: a5707f5

Base sha: 66e0ef3

Degraded: false

Details

pkg: github.com/elastic/apm-data/codec
goos: linux
goarch: amd64

name old time/op (ns/op) ± new time/op (ns/op) ± delta ±
Encode/format=json 26707.6 1% 26138.4 1% -2.13% (p=0.008 n=5+5)
Encode/format=json-2 13852 2% 14203.4 5% ~ (p=0.452 n=5+5)
Encode/format=vtproto 6328 1% 6309.6 0% ~ (p=0.238 n=5+5)
Encode/format=vtproto-2 3436.4 3% 3877 11% +12.82% (p=0.016 n=5+5)
Decode/format=json 128892 2% 128006 7% ~ (p=0.151 n=5+5)
Decode/format=json-2 63516.6 3% 63969.8 2% ~ (p=0.548 n=5+5)
Decode/format=vtproto 22291.5 0% 21542.2 1% -3.36% (p=0.016 n=4+5)
Decode/format=vtproto-2 13135.6 3% 13142 2% ~ (p=1.000 n=5+5)
name old bytes/op (bytes/op) ± new bytes/op (bytes/op) ± delta ±
Encode/format=json 6564 0% 6564 0% ~ (all equal)
Encode/format=json-2 6564 0% 6564 0% ~ (all equal)
Encode/format=vtproto 2775 0% 2775 0% ~ (all equal)
Encode/format=vtproto-2 2775 0% 2775 0% ~ (all equal)
name old alloc/op (B/op) ± new alloc/op (B/op) ± delta ±
Encode/format=json 7752 0% 7752 0% ~ (all equal)
Encode/format=json-2 7753 0% 7753 0% ~ (all equal)
Encode/format=vtproto 3200 0% 3200 0% ~ (all equal)
Encode/format=vtproto-2 3200 0% 3200 0% ~ (all equal)
Decode/format=json 14504 0% 14504 0% ~ (all equal)
Decode/format=json-2 14504 0% 14504 0% ~ (all equal)
Decode/format=vtproto 12976.4 0% 12976 0% ~ (p=0.333 n=5+4)
Decode/format=vtproto-2 13011.2 0% 13013.4 0% ~ (p=0.683 n=5+5)
name old allocs/op (allocs/op) ± new allocs/op (allocs/op) ± delta ±
Encode/format=json 30 0% 30 0% ~ (all equal)
Encode/format=json-2 30 0% 30 0% ~ (all equal)
Encode/format=vtproto 5 0% 5 0% ~ (all equal)
Encode/format=vtproto-2 5 0% 5 0% ~ (all equal)
Decode/format=json 397 0% 397 0% ~ (all equal)
Decode/format=json-2 397 0% 397 0% ~ (all equal)
Decode/format=vtproto 348 0% 348 0% ~ (all equal)
Decode/format=vtproto-2 348 0% 348 0% ~ (all equal)

pkg: github.com/elastic/apm-data/input/elasticapm/internal/decoder
goos: linux
goarch: amd64

name old time/op (ns/op) ± new time/op (ns/op) ± delta ±
NDStreamDecoder 281.24 4% 281.36 4% ~ (p=0.841 n=5+5)
NDStreamDecoder-2 155.96 2% 160.8 4% ~ (p=0.056 n=5+5)
name old alloc/op (B/op) ± new alloc/op (B/op) ± delta ±
NDStreamDecoder 72 0% 72 0% ~ (all equal)
NDStreamDecoder-2 72 0% 72 0% ~ (all equal)
name old allocs/op (allocs/op) ± new allocs/op (allocs/op) ± delta ±
NDStreamDecoder 4 0% 4 0% ~ (all equal)
NDStreamDecoder-2 4 0% 4 0% ~ (all equal)

pkg: github.com/elastic/apm-data/model/modeljson
goos: linux
goarch: amd64

name old time/op (ns/op) ± new time/op (ns/op) ± delta ±
APMEventToJSON/to-json 14014.4 4% 13716.2 5% ~ (p=0.222 n=5+5)
APMEventToJSON/to-json-2 12563.8 2% 12333.2 2% ~ (p=0.151 n=5+5)
name old alloc/op (B/op) ± new alloc/op (B/op) ± delta ±
APMEventToJSON/to-json 2472 0% 2472 0% ~ (all equal)
APMEventToJSON/to-json-2 2472 0% 2472 0% ~ (all equal)
name old allocs/op (allocs/op) ± new allocs/op (allocs/op) ± delta ±
APMEventToJSON/to-json 37 0% 37 0% ~ (all equal)
APMEventToJSON/to-json-2 37 0% 37 0% ~ (all equal)