Querying Metrics in TimescaleDB