fix metrics factory (#51)
fix metrics factory (#51)

the variables from the require are not even available in init phase. Also it was written in a wrong manner.
adobe-apiplatform/apigateway,adobe-apiplatform/apigateway,adobe-apiplatform/apigateway,adobe-apiplatform/apigateway