In a lot of metal, the tonic note will be the open 6th string (E, D, C, B, A, depending on the tuning). Once you can identify the tonic chord, based on this resolution feel, it's again just a case of finding the root and quality (major/minor) of that chord on the fretboard. This will tell you the song's key.