elastic / elastic/apm-agent-nodejs

Perf Work: Investigate TraceContext/TraceState

Open
#2,056 1 comment 0 reactions 1 assignee Claimed by @astorm View on GitHub
agent-nodejs performance
Dominant language
JavaScript
Stars
594
Forks
244
Avg merge
1d 8h
Merged PRs (30d)
16

Description

We have a few indicators that the performance of our TraceState implementation could be improved. Flame graphs show an abnormal amount of CPU usage, and the overhead benchmarks showed a 20 - 40 microsecond bump after landing this work.

Screen Shot 2021-04-21 at 10 40 00 AM

This Issue represents the work to

1. Compare a No-Op tracestate implementation with our Kibana demo journey to determine if these perf issue effect our load time statistics

2. Investigate alternate implementations of TraceState, including the [Open Telemetry implementation](https://github.com/open-telemetry/opentelemetry-js/blob/main/packages/opentelemetry-core/src/trace/TraceState.ts)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.