Use new API to get metrics definition.
Get data source active from Report class.