mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Public Dashboards: Usage Insights (#52768)
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user