-
Notifications
You must be signed in to change notification settings - Fork 587
Open
Labels
bugSomething isn't workingSomething isn't workingpkg:instrumentation-cassandra-driverpriority:p4Bugs and spec inconsistencies which do not fall into a higher prioritizationBugs and spec inconsistencies which do not fall into a higher prioritization
Description
We’ve been seeing errors from the cassandra-driver
on a massive scale when our application runs under heavy load, not exactly sure what leads to this.
What version of OpenTelemetry are you using?
@opentelemetry/api@1.9.0
@opentelemetry/auto-instrumentations-node@0.57.0
@opentelemetry/instrumentation@0.200.0
cassandra-driver@4.8.0
What version of Node are you using?
v22.14.0
What did you do?
Application was running under heavy load with the cassandra-driver
instrumentation enabled.
What did you expect to see?
Traces.
What did you see instead?
Exceptions like this:
Cannot execute the operation on ended Span {traceId: 74c4506a3b2fce67041d5297bd2b9504, spanId: 3dfa45f87c2e1732} Error: Operation attempted on ended Span {traceId: 74c4506a3b2fce67041d5297bd2b9504, spanId: 3dfa45f87c2e1732}
at RequestHandler.send (/app/node_modules/cassandra-driver/lib/request-handler.js:119:12)
at new Promise (<anonymous>)
at /app/node_modules/cassandra-driver/lib/request-handler.js:132:13
at DefaultLoadBalancingPolicy.newQueryPlan (/app/node_modules/cassandra-driver/lib/policies/load-balancing.js:626:12)
at /app/node_modules/cassandra-driver/lib/request-handler.js:138:42
at RequestHandler._startNewExecution (/app/node_modules/cassandra-driver/lib/request-handler.js:183:15)
at RequestExecution.start (/app/node_modules/cassandra-driver/lib/request-execution.js:104:10)
at RequestExecution.patchedSendOnConnection (/app/node_modules/@opentelemetry/instrumentation-cassandra-driver/build/src/instrumentation.js:108:26)
at SpanImpl.setAttribute (/app/node_modules/@opentelemetry/sdk-trace-base/build/src/Span.js:84:35)
at SpanImpl._isSpanEnded (/app/node_modules/@opentelemetry/sdk-trace-base/build/src/Span.js:266:27)
Additional context
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpkg:instrumentation-cassandra-driverpriority:p4Bugs and spec inconsistencies which do not fall into a higher prioritizationBugs and spec inconsistencies which do not fall into a higher prioritization