hyperdx icon indicating copy to clipboard operation
hyperdx copied to clipboard

Typing issue for oRPC oTel plugin

Open maelp opened this issue 4 months ago • 2 comments

I'm trying to add the oRPC otel instrumentation, and this is the error I get:

(reproduction: https://stackblitz.com/edit/github-g6ebf2ns?file=package.json,src%2Finstrumentation.ts)

Image

maelp avatar Aug 22 '25 07:08 maelp

I'm seeing this same issue trying to use the express instrumentation which was suggested to me via discord because the express pathing is not showing in hdx console despite its supposed auto instrumentation.

Image

benjibuiltit avatar Aug 22 '25 20:08 benjibuiltit

BTW if you're on Express I guess you should randomize the env var EXPRESS_SESSION_SECRET that HyperDX uses out of caution, I don't know if it's specified clearly in their docs but it seemed strange to hardcode a secret (it would be better if they prefix this with HDX_ too so it's clear it's for HyperDX)

maelp avatar Aug 23 '25 07:08 maelp