Add total data sources to admin stats (#33051)

Signed-off-by: Conor Evans <coevans@tcd.ie>
This commit is contained in:
Conor Evans 2021-04-28 09:56:26 +02:00 committed by GitHub
parent fac335ee7f
commit 18db387387
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,6 +25,7 @@ export const getServerStats = async (): Promise<ServerStat[]> => {
{ name: 'Total dashboard tags', value: res.tags },
{ name: 'Total starred dashboards', value: res.stars },
{ name: 'Total alerts', value: res.alerts },
{ name: 'Total data sources', value: res.datasources },
];
} catch (error) {
console.error(error);