Skip to content

Commit 2a01efd

Browse files
committed
fix: clean up redundant attributes
1 parent aa1b3b6 commit 2a01efd

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/run/storage/storage.cts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export const getMemoizedKeyValueStoreBackedByRegionalBlobStore = (
3838
? memoizedValue
3939
: {}
4040

41-
span?.setAttributes({ key, blobKey, previousEtag })
41+
span?.setAttributes({ key })
4242

4343
const result = await store.getWithMetadata(blobKey, {
4444
type: 'json',
@@ -62,12 +62,6 @@ export const getMemoizedKeyValueStoreBackedByRegionalBlobStore = (
6262
inMemoryCache.set(key, blob)
6363
}
6464

65-
span?.setAttributes({
66-
etag: result?.etag,
67-
reusingPreviouslyFetchedBlob: shouldReuseMemoizedBlob,
68-
status: blob ? (shouldReuseMemoizedBlob ? 'Hit, no change' : 'Hit') : 'Miss',
69-
})
70-
7165
return blob
7266
})
7367
inMemoryCache.set(key, getPromise)

0 commit comments

Comments
 (0)