metrics namespace resource. fixes #283