Full-metal sensors for harsh environments