1. A computer readable medium, comprising instructions for metering execution of code, the instructions comprising: receiving, at a protected service, a call from an application asking for execution of the protected service within a first runtime area; requesting permission for the execution, wherein the request is made by the protected service to a metering engine operating in a second runtime area, wherein the request is made through a secure transmission layer; and analyzing the request, at the metering engine, wherein the analyzing comprises: referencing, within the metering engine, a service contract comprising rules governing operation of the protected service; referencing, within the metering engine, a secure store of meter data, wherein the meter data comprises historical data reflecting past operation of the protected service; using the rules and the meter data to decide the requested permission; and updating the metering data to reflect the analysis.