...
The metrics will be stored in a meta-entity called QueryMetrics and will collect information about: entity name, datasource, start/end and total execution time, query and query type, and finally, query status, which in case of error will also store the cause of the error in the query.
...
By storing this information in a system entity, dashboards can be created and decisions can be made based on certain events (errors in queries, very long times,...).
...