Electric shocks from my keyboard
I have a hyperx keyboard with a metal case and yesterday as well as today, I went to use my computer but as soon as I made contact with the casing, I got an electric shock. It's only happened about 3 times, the first 2 times were stronger and actually made my monitor go black (a simple on-and-off fixed that) and IIRC, my keyboard also turned off for a split second the first time. I was wondering if there could be an issue with my keyboard or something else connected to my PC, or if this is just me building up static (my room is carpeted and both times it happened I got up from my bed which could've built static on me), and then touching something metal. Should I be concerned at all or is it safe?