Skip to content

Commit 045349d

Browse files
ref(nuxt): Drop explicit OK status on cache spans
1 parent 387b328 commit 045349d

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

‎packages/nuxt/src/runtime/utils/instrumentStorage.ts‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ import {
1717
handleCallbackErrors,
1818
hasSpanStreamingEnabled,
1919
isObjectLike,
20-
SPAN_STATUS_OK,
2120
type SpanAttributes,
2221
startSpan,
2322
type StartSpanOptions,
@@ -202,7 +201,6 @@ function traceCacheOperation(
202201
() =>
203202
startSpan(options, async span => {
204203
const result = await operation();
205-
span.setStatus({ code: SPAN_STATUS_OK });
206204

207205
if (getCacheHit) {
208206
span.setAttribute(CACHE_HIT, getCacheHit(result));

0 commit comments

Comments
 (0)