Make stats uri & auth configurable through attributes