Skip to content

Commit

Permalink
Rename telemetry event category to 'extension.price_wise'
Browse files Browse the repository at this point in the history
  • Loading branch information
biancadanforth committed Nov 1, 2018
1 parent 7bb3df4 commit 5c33c12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/METRICS.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ We will be sending pings using [Event Telemetry](https://firefox-source-docs.moz

Each event will exist as part of the `main` ping under `payload.processes.dynamic.events` as an array in the `events` array (see Appendix B for how to view the events in `about:telemetry`). The data types of individual fields for each event follow the Event Telemetry [serialization format](https://firefox-source-docs.mozilla.org/toolkit/components/telemetry/telemetry/collection/events.html#serialization-format).

The telemetry category for events is `'extension.price_alerts'`.
The telemetry category for events is `'extension.price_wise'`.

Below is a sample ping for the `badge_toolbar_button` and `visit_supported_site` events.

Expand All @@ -103,7 +103,7 @@ Below is a sample ping for the `badge_toolbar_button` and `visit_supported_site`
"events": [
[
2079,
"extension.price_alerts",
"extension.price_wise",
"badge_toolbar_button",
"toolbar_button",
null,
Expand All @@ -114,7 +114,7 @@ Below is a sample ping for the `badge_toolbar_button` and `visit_supported_site`
],
[
2081,
"extension.price_alerts",
"extension.price_wise",
"visit_supported_site",
"supported_site",
null,
Expand Down
2 changes: 1 addition & 1 deletion src/telemetry/extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {shouldCollectTelemetry} from 'commerce/privacy';
import store from 'commerce/state';
import {getAllProducts} from 'commerce/state/products';

const CATEGORY = 'extension.price_alerts';
const CATEGORY = 'extension.price_wise';

const EVENTS = {
// User Events
Expand Down

0 comments on commit 5c33c12

Please sign in to comment.