An apparatus and method for interfacing with a metrics database is
provided for getting metrics data and grouping metrics data in response
to a query. The metrics database interface gets metrics data by
retrieving a set of metrics data from the metrics database in response to
a query and determining a set of unique tags. The metrics database
interface also groups a set of metrics data in response to a query so
that the group can be referenced in a subsequent query.