[MediaWiki-commits] [Gerrit] Add percentile data to the maps - change (analytics...config)

2014-04-30 Thread MarkTraceur (Code Review)
MarkTraceur has submitted this change and it was merged.

Change subject: Add percentile data to the maps
..


Add percentile data to the maps

Change-Id: Ib1d7dcf40615f1144c082d731757fe013870fc27
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/506
---
M datasources/mmv_performance_country_api.json
M datasources/mmv_performance_country_image.json
M graphs/mmv_performance_country_api.json
M graphs/mmv_performance_country_image.json
4 files changed, 150 insertions(+), 6 deletions(-)

Approvals:
  MarkTraceur: Verified; Looks good to me, approved



diff --git a/datasources/mmv_performance_country_api.json 
b/datasources/mmv_performance_country_api.json
index 1e6cdcf..b2ff8cb 100644
--- a/datasources/mmv_performance_country_api.json
+++ b/datasources/mmv_performance_country_api.json
@@ -26,6 +26,26 @@
 id: sample_size,
 label: Sample size,
 type: float
+},
+{
+id: 1st_percentile,
+label: 1st percentile,
+type: float
+},
+{
+id: 50th_percentile,
+label: 50th percentile,
+type: float
+},
+{
+id: 90th_percentile,
+label: 90th percentile,
+type: float
+},
+{
+id: 99th_percentile,
+label: 99th percentile,
+type: float
 }
 ]
 }
\ No newline at end of file
diff --git a/datasources/mmv_performance_country_image.json 
b/datasources/mmv_performance_country_image.json
index 543b325..9596dfc 100644
--- a/datasources/mmv_performance_country_image.json
+++ b/datasources/mmv_performance_country_image.json
@@ -26,6 +26,26 @@
 id: sample_size,
 label: Sample size,
 type: float
+},
+{
+id: 1st_percentile,
+label: 1st percentile,
+type: float
+},
+{
+id: 50th_percentile,
+label: 50th percentile,
+type: float
+},
+{
+id: 90th_percentile,
+label: 90th percentile,
+type: float
+},
+{
+id: 99th_percentile,
+label: 99th percentile,
+type: float
 }
 ]
 }
\ No newline at end of file
diff --git a/graphs/mmv_performance_country_api.json 
b/graphs/mmv_performance_country_api.json
index dc05580..a2ed42d 100644
--- a/graphs/mmv_performance_country_api.json
+++ b/graphs/mmv_performance_country_api.json
@@ -32,10 +32,49 @@
 type: Number
 },
 options: {
-label: Mean,
-scale: log,
+label: Geometric mean,
+valueFormat: ,.3r,
+valueUnitSuffix: ms
+}
+},
+{
+nodeType: geo-feature,
+metric: {
+source_id: mmv_performance_country_api,
+source_col: 1st_percentile,
+type: Number
+},
+options: {
+label: 1st percentile,
+valueFormat: ,.3r,
+valueUnitSuffix: ms
+}
+},
+{
+nodeType: geo-feature,
+metric: {
+source_id: mmv_performance_country_api,
+source_col: 50th_percentile,
+type: Number
+},
+options: {
+label: 50th percentile,
+valueFormat: ,.3r,
+valueUnitSuffix: ms
+}
+},
+{
+nodeType: geo-feature,
+metric: {
+source_id: mmv_performance_country_api,
+source_col: 90th_percentile,
+type: Number
+},
+options: {
+label: 90th percentile,
 valueFormat: ,.3r,
 valueUnitSuffix: ms,
+scale: log,
 fill: [
 #00FF00,
 #FF
@@ -54,11 +93,24 @@
 nodeType: geo-feature,
 metric: {
 source_id: mmv_performance_country_api,
+source_col: 99th_percentile,
+   

[MediaWiki-commits] [Gerrit] Add percentile data to the maps - change (analytics...config)

2014-04-29 Thread Gilles (Code Review)
Gilles has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/130323

Change subject: Add percentile data to the maps
..

Add percentile data to the maps

Change-Id: Ib1d7dcf40615f1144c082d731757fe013870fc27
Mingle: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/506
---
M datasources/mmv_performance_country_api.json
M datasources/mmv_performance_country_image.json
M graphs/mmv_performance_country_api.json
M graphs/mmv_performance_country_image.json
4 files changed, 150 insertions(+), 6 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/analytics/multimedia/config 
refs/changes/23/130323/1

diff --git a/datasources/mmv_performance_country_api.json 
b/datasources/mmv_performance_country_api.json
index 1e6cdcf..ac63fad 100644
--- a/datasources/mmv_performance_country_api.json
+++ b/datasources/mmv_performance_country_api.json
@@ -26,6 +26,26 @@
 id: sample_size,
 label: Sample size,
 type: float
+},
+{
+id: 1st_percentile,
+label: 1st percently,
+type: float
+},
+{
+id: 50th_percentile,
+label: 50th percentile,
+type: float
+},
+{
+id: 90th_percentile,
+label: 90th percentile,
+type: float
+},
+{
+id: 99th_percentile,
+label: 99th percentile,
+type: float
 }
 ]
 }
\ No newline at end of file
diff --git a/datasources/mmv_performance_country_image.json 
b/datasources/mmv_performance_country_image.json
index 543b325..6c3479f 100644
--- a/datasources/mmv_performance_country_image.json
+++ b/datasources/mmv_performance_country_image.json
@@ -26,6 +26,26 @@
 id: sample_size,
 label: Sample size,
 type: float
+},
+{
+id: 1st_percentile,
+label: 1st percently,
+type: float
+},
+{
+id: 50th_percentile,
+label: 50th percentile,
+type: float
+},
+{
+id: 90th_percentile,
+label: 90th percentile,
+type: float
+},
+{
+id: 99th_percentile,
+label: 99th percentile,
+type: float
 }
 ]
 }
\ No newline at end of file
diff --git a/graphs/mmv_performance_country_api.json 
b/graphs/mmv_performance_country_api.json
index dc05580..a2ed42d 100644
--- a/graphs/mmv_performance_country_api.json
+++ b/graphs/mmv_performance_country_api.json
@@ -32,10 +32,49 @@
 type: Number
 },
 options: {
-label: Mean,
-scale: log,
+label: Geometric mean,
+valueFormat: ,.3r,
+valueUnitSuffix: ms
+}
+},
+{
+nodeType: geo-feature,
+metric: {
+source_id: mmv_performance_country_api,
+source_col: 1st_percentile,
+type: Number
+},
+options: {
+label: 1st percentile,
+valueFormat: ,.3r,
+valueUnitSuffix: ms
+}
+},
+{
+nodeType: geo-feature,
+metric: {
+source_id: mmv_performance_country_api,
+source_col: 50th_percentile,
+type: Number
+},
+options: {
+label: 50th percentile,
+valueFormat: ,.3r,
+valueUnitSuffix: ms
+}
+},
+{
+nodeType: geo-feature,
+metric: {
+source_id: mmv_performance_country_api,
+source_col: 90th_percentile,
+type: Number
+},
+options: {
+label: 90th percentile,
 valueFormat: ,.3r,
 valueUnitSuffix: ms,
+scale: log,
 fill: [
 #00FF00,
 #FF
@@ -54,11 +93,24 @@
 nodeType: geo-feature,
 metric: {
 source_id: mmv_performance_country_api,
+