query: rename metrics to getMetrics to avoid conficts