diff options
author | Alan Pearce | 2023-09-17 07:28:57 +0200 |
---|---|---|
committer | Alan Pearce | 2023-09-17 07:28:57 +0200 |
commit | 150234c3208b7bcc61fc9cf0291ab3ea7756a3c7 (patch) | |
tree | f342d01426668c95e0baff0c11e6476d91e18361 /src/index.ts | |
parent | d484c4b09faf96a4717b0dec89f397d5119e600e (diff) | |
download | website-150234c3208b7bcc61fc9cf0291ab3ea7756a3c7.tar.lz website-150234c3208b7bcc61fc9cf0291ab3ea7756a3c7.tar.zst website-150234c3208b7bcc61fc9cf0291ab3ea7756a3c7.zip |
Include user-agent string in Sentry tags
Diffstat (limited to 'src/index.ts')
-rw-r--r-- | src/index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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({ |