Skip to content
This repository has been archived by the owner on Jan 17, 2023. It is now read-only.

Remove Add-on Version from /metrics. Closes #3609 #3656

Merged
merged 4 commits into from
Oct 20, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions server/src/pages/metrics/model.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,24 +118,6 @@ const queries = {
{title: "Days the user has been creating shots", name: "days_plus_1"}
]
},

addonVersion: {
title: "Add-on Version",
description: "The version of the add-on used during login, in the last 14 days",
sql: `
SELECT COUNT(DISTINCT devices.id) AS count, devices.last_addon_version, last_login_day
FROM devices, date_trunc('day', last_login) AS last_login_day
WHERE CURRENT_TIMESTAMP - devices.last_login < INTERVAL '14 days'
GROUP BY devices.last_addon_version, last_login_day
ORDER BY devices.last_addon_version DESC, last_login_day DESC;
`,
columns: [
{title: "Number of users logging in", name: "count"},
{title: "Add-on version", name: "last_addon_version"},
{title: "Day", type: "date", name: "last_login_day"}
]
}

};

function executeQuery(query) {
Expand Down
2 changes: 0 additions & 2 deletions server/src/pages/metrics/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,6 @@ class Body extends React.Component {
<GenericTable data={this.props.data.retention} />

<GenericTable data={this.props.data.retentionTotal} />

<GenericTable data={this.props.data.addonVersion} />
</reactruntime.BodyTemplate>
);
}
Expand Down