Public Dashboards: Usage Insights (#52768)

This commit is contained in:
owensmallwood
2022-08-10 11:14:48 -06:00
committed by GitHub
parent 5e4d5eb14b
commit dc23643bee
15 changed files with 217 additions and 0 deletions

View File

@@ -9,6 +9,7 @@ export function emitDashboardViewEvent(dashboard: DashboardModel) {
dashboardUid: dashboard.uid,
folderName: dashboard.meta.folderTitle,
eventName: MetaAnalyticsEventName.DashboardView,
publicDashboardUid: dashboard.meta.publicDashboardUid,
};
reportMetaAnalytics(eventData);

View File

@@ -50,6 +50,7 @@ export function emitDataRequestEvent(datasource: DataSourceApi) {
eventData.dashboardName = dashboard.title;
eventData.dashboardUid = dashboard.uid;
eventData.folderName = dashboard.meta.folderTitle;
eventData.publicDashboardUid = dashboard.meta.publicDashboardUid;
}
if (data.series && data.series.length > 0) {