Patent ID: 8019860

Claim:
A system for monitoring services in a composite service, the system comprising a machine and a plurality of modules, each module comprising instructions that, when executed by the machine, perform identified operations, wherein the modules comprise: an accounting engine configured to monitor operation of a service in the composite service and to generate statistics for resource consumption of at least one component of the service within the composite service, wherein the statistics correspond to resource consumption of a system resource over time; a monitoring unit configured to monitor a parameter of the at least one component; and a reporting unit configured to receive the statistics from the accounting engine and to generate a presentation format for the statistics; wherein the monitoring unit comprises: a start measurement unit to take a first measurement of a first parameter at a first point marked in an execution thread for the at least one component; and an end measurement unit to take a second measurement of the first parameter at a second point marked in the execution thread, wherein the accounting engine is to determine a resource consumption measurement as a function of the first measurement and the second measurement, and wherein the reporting unit is to present the resource consumption measurement for the at least one component of the service.