all repos — homestead @ a443bfd677c52ebf3320ef8d95dbfcb37787be90

Code for my website

Include user-agent string in Sentry tags

Alan Pearce
commit

a443bfd677c52ebf3320ef8d95dbfcb37787be90

parent

c1c6054703ad42b3d3304b194251051425b06b9b

1 file changed, 1 insertion(+), 0 deletions(-)

jump to
M src/index.tssrc/index.ts
@@ -147,6 +147,7 @@ description: `${request.method} ${pathname}`,
tags: { url: request.url, "http.method": request.method, + "http.user_agent": request.headers.get("user-agent"), }, }); const span = transaction.startChild({