1. In a computing environment, a system, comprising, a dynamic query engine comprising an agent that runs one or more queries on a server to collect monitoring data from one or more data sources, the query engine monitoring the agent's resource usage with respect to a policy-specified resource budget, the query engine configured to dynamically modify one or more of the queries or monitoring parameters, or both, to remain within the policy-specified resource budget.