Analytics: Rename create dashboard event (#54390)

This commit is contained in:
Ivan Ortega Alba 2022-08-29 16:26:54 +02:00 committed by GitHub
parent 87375f570d
commit 4a0a6c8fd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ export const useDashboardSave = (dashboard: DashboardModel) => {
// important that these happen before location redirect below
appEvents.publish(new DashboardSavedEvent());
notifyApp.success('Dashboard saved');
reportInteraction(`Dashboard ${dashboard.id ? 'saved' : 'created'}`, {
reportInteraction(`grafana_dashboard_${dashboard.id ? 'saved' : 'created'}`, {
name: dashboard.title,
url: state.value.url,
});