metrics adapter stuff
basic metrics adapter