parent
0c1b43d7b6
commit
f1665f12ed
|
@ -57,10 +57,10 @@ events:
|
||||||
source:
|
source:
|
||||||
description: >
|
description: >
|
||||||
A string that tells us how the user performed the search. Possible values are:
|
A string that tells us how the user performed the search. Possible values are:
|
||||||
* default.action
|
* default_action
|
||||||
* default.suggestion
|
* default_suggestion
|
||||||
* shortcut.action
|
* shortcut_action
|
||||||
* shortcut.suggestion
|
* shortcut_suggestion
|
||||||
|
|
||||||
bugs:
|
bugs:
|
||||||
- 959
|
- 959
|
||||||
|
@ -328,7 +328,7 @@ metrics:
|
||||||
search_count:
|
search_count:
|
||||||
type: labeled_counter
|
type: labeled_counter
|
||||||
description: >
|
description: >
|
||||||
The labels for this counter are `<search-engine-name>.<source>`.
|
The labels for this counter are `<search-engine-name>_<source>`.
|
||||||
|
|
||||||
If the search engine is bundled with Fenix `search-engine-name` will be the name of the search engine. If it's a
|
If the search engine is bundled with Fenix `search-engine-name` will be the name of the search engine. If it's a
|
||||||
custom search engine (defined: https://github.com/mozilla-mobile/fenix/issues/1607) the value will be `custom`.
|
custom search engine (defined: https://github.com/mozilla-mobile/fenix/issues/1607) the value will be `custom`.
|
||||||
|
|
|
@ -145,10 +145,10 @@ sealed class Event {
|
||||||
}
|
}
|
||||||
|
|
||||||
val countLabel: String
|
val countLabel: String
|
||||||
get() = "${source.searchEngine.identifier}.$label"
|
get() = "${source.searchEngine.name.toLowerCase()}_$label"
|
||||||
|
|
||||||
val sourceLabel: String
|
val sourceLabel: String
|
||||||
get() = "${source.descriptor}.$label"
|
get() = "${source.descriptor}_$label"
|
||||||
}
|
}
|
||||||
|
|
||||||
override val extras: Map<String, String>?
|
override val extras: Map<String, String>?
|
||||||
|
|
Loading…
Reference in New Issue