A metric is a SQL expression of business logic. It indicates how to perform a timeseries aggregation in order to calculate a KPI using a dataset. By creating metrics in Rasgo, you can standardize the logic of how to calculate KPIs for your organization.