主权项 |
1. A system for collecting performance data in a computing environment, comprising:
one or more microprocessors; a plurality of specific observer managers in a computing environment with a plurality of virtual machines running on the one or more microprocessors, wherein each specific observer manager operates to manage a specific observer for use in collecting performance data from a different monitored resource in the computing environment; and a generic observer manager that includes a registry for registering and managing the plurality of specific observer managers; wherein the generic observer manager operates to
receive, from a consumer, a request that specifies, in a data structure, metrics for use in collecting performance data, wherein the metrics include a server instance name, and one or more attributes for a monitored resource on the server instance,determine, based on the metrics in the request, which specific observer manager to delegate the request to, andreturn a reference to a specific observer managed by the specific observer manager that has received the request, to the consumer for use in interacting with the specific observer and to obtain the performance data specified by the request. |