From 150234c3208b7bcc61fc9cf0291ab3ea7756a3c7 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 17 Sep 2023 07:28:57 +0200 Subject: Include user-agent string in Sentry tags --- src/index.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src/index.ts') diff --git a/src/index.ts b/src/index.ts index 6b7bdd3..26007c8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -147,6 +147,7 @@ const server = Bun.serve({ tags: { url: request.url, "http.method": request.method, + "http.user_agent": request.headers.get("user-agent"), }, }); const span = transaction.startChild({ -- cgit 1.4.1