about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/index.ts b/src/index.ts
index 57c612a..d4c7b3d 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -213,7 +213,8 @@ const server = Bun.serve({
         return serveFile(file);
       } else {
         metrics.requestsByStatus.inc({ status_code: 404 });
-        transaction.setTag("http.status_code", 404);
+        span.setTag("http.encoding", "identity");
+        span.setTag("http.status_code", 404);
         return serveFile(files.get("/404.html"), 404);
       }
     } catch (error) {