-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename event -> simple_event and trackEvent -> trackSimpleEvent (#47608)
* rename event -> simple_event and trackEvent -> trackSimpleEvent * add empty line at the end of the file Co-authored-by: Thomas Schmidt <thomas@metabase.com> --------- Co-authored-by: Thomas Schmidt <thomas@metabase.com>
- Loading branch information
1 parent
d40b028
commit f3b6360
Showing
5 changed files
with
70 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
frontend/src/metabase/nav/containers/MainNavbar/SidebarItems/UploadCSV/analytics.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64 changes: 0 additions & 64 deletions
64
snowplow/iglu-client-embedded/schemas/com.metabase/event/jsonschema/1-0-0
This file was deleted.
Oops, something went wrong.
64 changes: 64 additions & 0 deletions
64
snowplow/iglu-client-embedded/schemas/com.metabase/simple_event/jsonschema/1-0-0
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"$schema": "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#", | ||
"description": "Generic event to track interactions and actions that happen within Metabase. This should be used as a default schema for tracking events. If more specific context is needed, we can use custom context entities (https://docs.snowplow.io/docs/understanding-your-pipeline/entities/).", | ||
"self": { | ||
"vendor": "com.metabase", | ||
"name": "simple_event", | ||
"format": "jsonschema", | ||
"version": "1-0-0" | ||
}, | ||
"type": "object", | ||
"properties": { | ||
"event": { | ||
"description": "Name of the action. Noun (target) + Verb in the past (action) which define the action taken - e.g. question_created, dashboard_updated, dashboard_auto_apply_filter_enabled", | ||
"type": "string", | ||
"maxLength": 1024 | ||
}, | ||
"target_id": { | ||
"description": "(Optional) ID of the entity that the action was performed on. E.g. the ID of the question that was created in a question_created event.", | ||
"type": [ | ||
"integer", | ||
"null" | ||
], | ||
"minimum": 0, | ||
"maximum": 2147483647 | ||
}, | ||
"triggered_from": { | ||
"description": "(Optional) From where the action was taken/triggered. This can be generic like 'dashboard' or also more specific like 'dashboard_top_nav'.", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"maxLength": 1024 | ||
}, | ||
"duration_ms": { | ||
"description": "(Optional) Duration in milliseconds", | ||
"type": [ | ||
"integer", | ||
"null" | ||
], | ||
"minimum": 0, | ||
"maximum": 2147483647 | ||
}, | ||
"result": { | ||
"description": "(Optional) The outcome of the action (e.g. success, failure, …)", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"maxLength": 1024 | ||
}, | ||
"event_detail": { | ||
"description": "(Optional) String that can be used for additional details that describe the event, e.g. the type of question that was created in a question_created event. We should NOT pass JSON here.", | ||
"type": [ | ||
"string", | ||
"null" | ||
], | ||
"maxLength": 1024 | ||
} | ||
}, | ||
"required": [ | ||
"event" | ||
], | ||
"additionalProperties": true | ||
} |