Commit a7629fff705761d31018721b143924b28c738a3f

Authored by Igor Kulikov
1 parent 280db914

Api usage dashboard improvements

@@ -973,7 +973,7 @@ @@ -973,7 +973,7 @@
973 "interval": 3600000 973 "interval": 3600000
974 }, 974 },
975 "aggregation": { 975 "aggregation": {
976 - "type": "SUM", 976 + "type": "NONE",
977 "limit": 1000 977 "limit": 1000
978 } 978 }
979 }, 979 },
@@ -1005,8 +1005,8 @@ @@ -1005,8 +1005,8 @@
1005 }, 1005 },
1006 "stack": false, 1006 "stack": false,
1007 "tooltipIndividual": false, 1007 "tooltipIndividual": false,
1008 - "defaultBarWidth": 1800000,  
1009 - "barAlignment": "center", 1008 + "defaultBarWidth": 2400000,
  1009 + "barAlignment": "left",
1010 "timeForComparison": "months", 1010 "timeForComparison": "months",
1011 "xaxisSecond": { 1011 "xaxisSecond": {
1012 "axisPosition": "top", 1012 "axisPosition": "top",
@@ -1165,7 +1165,7 @@ @@ -1165,7 +1165,7 @@
1165 "interval": 3600000 1165 "interval": 3600000
1166 }, 1166 },
1167 "aggregation": { 1167 "aggregation": {
1168 - "type": "SUM", 1168 + "type": "NONE",
1169 "limit": 1000 1169 "limit": 1000
1170 } 1170 }
1171 }, 1171 },
@@ -1197,8 +1197,8 @@ @@ -1197,8 +1197,8 @@
1197 }, 1197 },
1198 "stack": true, 1198 "stack": true,
1199 "tooltipIndividual": false, 1199 "tooltipIndividual": false,
1200 - "defaultBarWidth": 1800000,  
1201 - "barAlignment": "center", 1200 + "defaultBarWidth": 2400000,
  1201 + "barAlignment": "left",
1202 "timeForComparison": "months", 1202 "timeForComparison": "months",
1203 "xaxisSecond": { 1203 "xaxisSecond": {
1204 "axisPosition": "top", 1204 "axisPosition": "top",
@@ -1313,7 +1313,7 @@ @@ -1313,7 +1313,7 @@
1313 "interval": 3600000 1313 "interval": 3600000
1314 }, 1314 },
1315 "aggregation": { 1315 "aggregation": {
1316 - "type": "SUM", 1316 + "type": "NONE",
1317 "limit": 1000 1317 "limit": 1000
1318 } 1318 }
1319 }, 1319 },
@@ -1345,8 +1345,8 @@ @@ -1345,8 +1345,8 @@
1345 }, 1345 },
1346 "stack": false, 1346 "stack": false,
1347 "tooltipIndividual": false, 1347 "tooltipIndividual": false,
1348 - "defaultBarWidth": 1800000,  
1349 - "barAlignment": "center", 1348 + "defaultBarWidth": 2400000,
  1349 + "barAlignment": "left",
1350 "timeForComparison": "months", 1350 "timeForComparison": "months",
1351 "xaxisSecond": { 1351 "xaxisSecond": {
1352 "axisPosition": "top", 1352 "axisPosition": "top",
@@ -1460,7 +1460,7 @@ @@ -1460,7 +1460,7 @@
1460 "interval": 3600000 1460 "interval": 3600000
1461 }, 1461 },
1462 "aggregation": { 1462 "aggregation": {
1463 - "type": "SUM", 1463 + "type": "NONE",
1464 "limit": 1000 1464 "limit": 1000
1465 } 1465 }
1466 }, 1466 },
@@ -1492,8 +1492,8 @@ @@ -1492,8 +1492,8 @@
1492 }, 1492 },
1493 "stack": false, 1493 "stack": false,
1494 "tooltipIndividual": false, 1494 "tooltipIndividual": false,
1495 - "defaultBarWidth": 1800000,  
1496 - "barAlignment": "center", 1495 + "defaultBarWidth": 2400000,
  1496 + "barAlignment": "left",
1497 "timeForComparison": "months", 1497 "timeForComparison": "months",
1498 "xaxisSecond": { 1498 "xaxisSecond": {
1499 "axisPosition": "top", 1499 "axisPosition": "top",
@@ -1607,7 +1607,7 @@ @@ -1607,7 +1607,7 @@
1607 "interval": 3600000 1607 "interval": 3600000
1608 }, 1608 },
1609 "aggregation": { 1609 "aggregation": {
1610 - "type": "SUM", 1610 + "type": "NONE",
1611 "limit": 1000 1611 "limit": 1000
1612 } 1612 }
1613 }, 1613 },
@@ -1639,8 +1639,8 @@ @@ -1639,8 +1639,8 @@
1639 }, 1639 },
1640 "stack": false, 1640 "stack": false,
1641 "tooltipIndividual": false, 1641 "tooltipIndividual": false,
1642 - "defaultBarWidth": 1800000,  
1643 - "barAlignment": "center", 1642 + "defaultBarWidth": 2400000,
  1643 + "barAlignment": "left",
1644 "timeForComparison": "months", 1644 "timeForComparison": "months",
1645 "xaxisSecond": { 1645 "xaxisSecond": {
1646 "axisPosition": "top", 1646 "axisPosition": "top",
@@ -1754,7 +1754,7 @@ @@ -1754,7 +1754,7 @@
1754 "interval": 3600000 1754 "interval": 3600000
1755 }, 1755 },
1756 "aggregation": { 1756 "aggregation": {
1757 - "type": "SUM", 1757 + "type": "NONE",
1758 "limit": 1000 1758 "limit": 1000
1759 } 1759 }
1760 }, 1760 },
@@ -1786,8 +1786,8 @@ @@ -1786,8 +1786,8 @@
1786 }, 1786 },
1787 "stack": false, 1787 "stack": false,
1788 "tooltipIndividual": false, 1788 "tooltipIndividual": false,
1789 - "defaultBarWidth": 1800000,  
1790 - "barAlignment": "center", 1789 + "defaultBarWidth": 2400000,
  1790 + "barAlignment": "left",
1791 "timeForComparison": "months", 1791 "timeForComparison": "months",
1792 "xaxisSecond": { 1792 "xaxisSecond": {
1793 "axisPosition": "top", 1793 "axisPosition": "top",
@@ -1895,8 +1895,9 @@ @@ -1895,8 +1895,9 @@
1895 "hideInterval": false, 1895 "hideInterval": false,
1896 "hideAggregation": false, 1896 "hideAggregation": false,
1897 "hideAggInterval": false, 1897 "hideAggInterval": false,
1898 - "selectedTab": 0,  
1899 - "realtime": { 1898 + "selectedTab": 1,
  1899 + "history": {
  1900 + "historyType": 0,
1900 "timewindowMs": 2592000000, 1901 "timewindowMs": 2592000000,
1901 "interval": 86400000 1902 "interval": 86400000
1902 }, 1903 },
@@ -1934,7 +1935,7 @@ @@ -1934,7 +1935,7 @@
1934 "stack": false, 1935 "stack": false,
1935 "tooltipIndividual": false, 1936 "tooltipIndividual": false,
1936 "defaultBarWidth": 1800000, 1937 "defaultBarWidth": 1800000,
1937 - "barAlignment": "center", 1938 + "barAlignment": "left",
1938 "timeForComparison": "months", 1939 "timeForComparison": "months",
1939 "xaxisSecond": { 1940 "xaxisSecond": {
1940 "axisPosition": "top", 1941 "axisPosition": "top",
@@ -2029,10 +2030,11 @@ @@ -2029,10 +2030,11 @@
2029 "hideInterval": false, 2030 "hideInterval": false,
2030 "hideAggregation": false, 2031 "hideAggregation": false,
2031 "hideAggInterval": false, 2032 "hideAggInterval": false,
2032 - "selectedTab": 0,  
2033 - "realtime": { 2033 + "selectedTab": 1,
  2034 + "history": {
  2035 + "historyType": 0,
2034 "timewindowMs": 31536000000, 2036 "timewindowMs": 31536000000,
2035 - "interval": 86400000 2037 + "interval": 1000
2036 }, 2038 },
2037 "aggregation": { 2039 "aggregation": {
2038 "type": "NONE", 2040 "type": "NONE",
@@ -2068,7 +2070,7 @@ @@ -2068,7 +2070,7 @@
2068 "stack": false, 2070 "stack": false,
2069 "tooltipIndividual": false, 2071 "tooltipIndividual": false,
2070 "defaultBarWidth": 900000000, 2072 "defaultBarWidth": 900000000,
2071 - "barAlignment": "center", 2073 + "barAlignment": "left",
2072 "timeForComparison": "months", 2074 "timeForComparison": "months",
2073 "xaxisSecond": { 2075 "xaxisSecond": {
2074 "axisPosition": "top", 2076 "axisPosition": "top",
@@ -2163,8 +2165,9 @@ @@ -2163,8 +2165,9 @@
2163 "hideInterval": false, 2165 "hideInterval": false,
2164 "hideAggregation": false, 2166 "hideAggregation": false,
2165 "hideAggInterval": false, 2167 "hideAggInterval": false,
2166 - "selectedTab": 0,  
2167 - "realtime": { 2168 + "selectedTab": 1,
  2169 + "history": {
  2170 + "historyType": 0,
2168 "timewindowMs": 2592000000, 2171 "timewindowMs": 2592000000,
2169 "interval": 86400000 2172 "interval": 86400000
2170 }, 2173 },
@@ -2202,7 +2205,7 @@ @@ -2202,7 +2205,7 @@
2202 "stack": false, 2205 "stack": false,
2203 "tooltipIndividual": false, 2206 "tooltipIndividual": false,
2204 "defaultBarWidth": 1800000, 2207 "defaultBarWidth": 1800000,
2205 - "barAlignment": "center", 2208 + "barAlignment": "left",
2206 "timeForComparison": "months", 2209 "timeForComparison": "months",
2207 "xaxisSecond": { 2210 "xaxisSecond": {
2208 "axisPosition": "top", 2211 "axisPosition": "top",
@@ -2297,10 +2300,11 @@ @@ -2297,10 +2300,11 @@
2297 "hideInterval": false, 2300 "hideInterval": false,
2298 "hideAggregation": false, 2301 "hideAggregation": false,
2299 "hideAggInterval": false, 2302 "hideAggInterval": false,
2300 - "selectedTab": 0,  
2301 - "realtime": { 2303 + "selectedTab": 1,
  2304 + "history": {
  2305 + "historyType": 0,
2302 "timewindowMs": 31536000000, 2306 "timewindowMs": 31536000000,
2303 - "interval": 86400000 2307 + "interval": 1000
2304 }, 2308 },
2305 "aggregation": { 2309 "aggregation": {
2306 "type": "NONE", 2310 "type": "NONE",
@@ -2336,7 +2340,7 @@ @@ -2336,7 +2340,7 @@
2336 "stack": false, 2340 "stack": false,
2337 "tooltipIndividual": false, 2341 "tooltipIndividual": false,
2338 "defaultBarWidth": 900000000, 2342 "defaultBarWidth": 900000000,
2339 - "barAlignment": "center", 2343 + "barAlignment": "left",
2340 "timeForComparison": "months", 2344 "timeForComparison": "months",
2341 "xaxisSecond": { 2345 "xaxisSecond": {
2342 "axisPosition": "top", 2346 "axisPosition": "top",
@@ -2466,8 +2470,9 @@ @@ -2466,8 +2470,9 @@
2466 "hideInterval": false, 2470 "hideInterval": false,
2467 "hideAggregation": false, 2471 "hideAggregation": false,
2468 "hideAggInterval": false, 2472 "hideAggInterval": false,
2469 - "selectedTab": 0,  
2470 - "realtime": { 2473 + "selectedTab": 1,
  2474 + "history": {
  2475 + "historyType": 0,
2471 "timewindowMs": 2592000000, 2476 "timewindowMs": 2592000000,
2472 "interval": 86400000 2477 "interval": 86400000
2473 }, 2478 },
@@ -2505,7 +2510,7 @@ @@ -2505,7 +2510,7 @@
2505 "stack": true, 2510 "stack": true,
2506 "tooltipIndividual": false, 2511 "tooltipIndividual": false,
2507 "defaultBarWidth": 1800000, 2512 "defaultBarWidth": 1800000,
2508 - "barAlignment": "center", 2513 + "barAlignment": "left",
2509 "timeForComparison": "months", 2514 "timeForComparison": "months",
2510 "xaxisSecond": { 2515 "xaxisSecond": {
2511 "axisPosition": "top", 2516 "axisPosition": "top",
@@ -2636,8 +2641,9 @@ @@ -2636,8 +2641,9 @@
2636 "hideInterval": false, 2641 "hideInterval": false,
2637 "hideAggregation": false, 2642 "hideAggregation": false,
2638 "hideAggInterval": false, 2643 "hideAggInterval": false,
2639 - "selectedTab": 0,  
2640 - "realtime": { 2644 + "selectedTab": 1,
  2645 + "history": {
  2646 + "historyType": 0,
2641 "timewindowMs": 31536000000, 2647 "timewindowMs": 31536000000,
2642 "interval": 2592000000 2648 "interval": 2592000000
2643 }, 2649 },
@@ -2675,7 +2681,7 @@ @@ -2675,7 +2681,7 @@
2675 "stack": true, 2681 "stack": true,
2676 "tooltipIndividual": false, 2682 "tooltipIndividual": false,
2677 "defaultBarWidth": 900000000, 2683 "defaultBarWidth": 900000000,
2678 - "barAlignment": "center", 2684 + "barAlignment": "left",
2679 "timeForComparison": "months", 2685 "timeForComparison": "months",
2680 "xaxisSecond": { 2686 "xaxisSecond": {
2681 "axisPosition": "top", 2687 "axisPosition": "top",
@@ -2771,8 +2777,9 @@ @@ -2771,8 +2777,9 @@
2771 "hideInterval": false, 2777 "hideInterval": false,
2772 "hideAggregation": false, 2778 "hideAggregation": false,
2773 "hideAggInterval": false, 2779 "hideAggInterval": false,
2774 - "selectedTab": 0,  
2775 - "realtime": { 2780 + "selectedTab": 1,
  2781 + "history": {
  2782 + "historyType": 0,
2776 "timewindowMs": 2592000000, 2783 "timewindowMs": 2592000000,
2777 "interval": 86400000 2784 "interval": 86400000
2778 }, 2785 },
@@ -2810,7 +2817,7 @@ @@ -2810,7 +2817,7 @@
2810 "stack": false, 2817 "stack": false,
2811 "tooltipIndividual": false, 2818 "tooltipIndividual": false,
2812 "defaultBarWidth": 1800000, 2819 "defaultBarWidth": 1800000,
2813 - "barAlignment": "center", 2820 + "barAlignment": "left",
2814 "timeForComparison": "months", 2821 "timeForComparison": "months",
2815 "xaxisSecond": { 2822 "xaxisSecond": {
2816 "axisPosition": "top", 2823 "axisPosition": "top",
@@ -2905,10 +2912,11 @@ @@ -2905,10 +2912,11 @@
2905 "hideInterval": false, 2912 "hideInterval": false,
2906 "hideAggregation": false, 2913 "hideAggregation": false,
2907 "hideAggInterval": false, 2914 "hideAggInterval": false,
2908 - "selectedTab": 0,  
2909 - "realtime": { 2915 + "selectedTab": 1,
  2916 + "history": {
  2917 + "historyType": 0,
2910 "timewindowMs": 31536000000, 2918 "timewindowMs": 31536000000,
2911 - "interval": 86400000 2919 + "interval": 1000
2912 }, 2920 },
2913 "aggregation": { 2921 "aggregation": {
2914 "type": "NONE", 2922 "type": "NONE",
@@ -2944,7 +2952,7 @@ @@ -2944,7 +2952,7 @@
2944 "stack": false, 2952 "stack": false,
2945 "tooltipIndividual": false, 2953 "tooltipIndividual": false,
2946 "defaultBarWidth": 900000000, 2954 "defaultBarWidth": 900000000,
2947 - "barAlignment": "center", 2955 + "barAlignment": "left",
2948 "timeForComparison": "months", 2956 "timeForComparison": "months",
2949 "xaxisSecond": { 2957 "xaxisSecond": {
2950 "axisPosition": "top", 2958 "axisPosition": "top",
@@ -3039,8 +3047,9 @@ @@ -3039,8 +3047,9 @@
3039 "hideInterval": false, 3047 "hideInterval": false,
3040 "hideAggregation": false, 3048 "hideAggregation": false,
3041 "hideAggInterval": false, 3049 "hideAggInterval": false,
3042 - "selectedTab": 0,  
3043 - "realtime": { 3050 + "selectedTab": 1,
  3051 + "history": {
  3052 + "historyType": 0,
3044 "timewindowMs": 2592000000, 3053 "timewindowMs": 2592000000,
3045 "interval": 86400000 3054 "interval": 86400000
3046 }, 3055 },
@@ -3078,7 +3087,7 @@ @@ -3078,7 +3087,7 @@
3078 "stack": false, 3087 "stack": false,
3079 "tooltipIndividual": false, 3088 "tooltipIndividual": false,
3080 "defaultBarWidth": 1800000, 3089 "defaultBarWidth": 1800000,
3081 - "barAlignment": "center", 3090 + "barAlignment": "left",
3082 "timeForComparison": "months", 3091 "timeForComparison": "months",
3083 "xaxisSecond": { 3092 "xaxisSecond": {
3084 "axisPosition": "top", 3093 "axisPosition": "top",
@@ -3173,10 +3182,11 @@ @@ -3173,10 +3182,11 @@
3173 "hideInterval": false, 3182 "hideInterval": false,
3174 "hideAggregation": false, 3183 "hideAggregation": false,
3175 "hideAggInterval": false, 3184 "hideAggInterval": false,
3176 - "selectedTab": 0,  
3177 - "realtime": { 3185 + "selectedTab": 1,
  3186 + "history": {
  3187 + "historyType": 0,
3178 "timewindowMs": 31536000000, 3188 "timewindowMs": 31536000000,
3179 - "interval": 86400000 3189 + "interval": 1000
3180 }, 3190 },
3181 "aggregation": { 3191 "aggregation": {
3182 "type": "NONE", 3192 "type": "NONE",
@@ -3212,7 +3222,7 @@ @@ -3212,7 +3222,7 @@
3212 "stack": false, 3222 "stack": false,
3213 "tooltipIndividual": false, 3223 "tooltipIndividual": false,
3214 "defaultBarWidth": 900000000, 3224 "defaultBarWidth": 900000000,
3215 - "barAlignment": "center", 3225 + "barAlignment": "left",
3216 "timeForComparison": "months", 3226 "timeForComparison": "months",
3217 "xaxisSecond": { 3227 "xaxisSecond": {
3218 "axisPosition": "top", 3228 "axisPosition": "top",
@@ -3307,8 +3317,9 @@ @@ -3307,8 +3317,9 @@
3307 "hideInterval": false, 3317 "hideInterval": false,
3308 "hideAggregation": false, 3318 "hideAggregation": false,
3309 "hideAggInterval": false, 3319 "hideAggInterval": false,
3310 - "selectedTab": 0,  
3311 - "realtime": { 3320 + "selectedTab": 1,
  3321 + "history": {
  3322 + "historyType": 0,
3312 "timewindowMs": 2592000000, 3323 "timewindowMs": 2592000000,
3313 "interval": 86400000 3324 "interval": 86400000
3314 }, 3325 },
@@ -3346,7 +3357,7 @@ @@ -3346,7 +3357,7 @@
3346 "stack": false, 3357 "stack": false,
3347 "tooltipIndividual": false, 3358 "tooltipIndividual": false,
3348 "defaultBarWidth": 1800000, 3359 "defaultBarWidth": 1800000,
3349 - "barAlignment": "center", 3360 + "barAlignment": "left",
3350 "timeForComparison": "months", 3361 "timeForComparison": "months",
3351 "xaxisSecond": { 3362 "xaxisSecond": {
3352 "axisPosition": "top", 3363 "axisPosition": "top",
@@ -3441,10 +3452,11 @@ @@ -3441,10 +3452,11 @@
3441 "hideInterval": false, 3452 "hideInterval": false,
3442 "hideAggregation": false, 3453 "hideAggregation": false,
3443 "hideAggInterval": false, 3454 "hideAggInterval": false,
3444 - "selectedTab": 0,  
3445 - "realtime": { 3455 + "selectedTab": 1,
  3456 + "history": {
  3457 + "historyType": 0,
3446 "timewindowMs": 31536000000, 3458 "timewindowMs": 31536000000,
3447 - "interval": 86400000 3459 + "interval": 1000
3448 }, 3460 },
3449 "aggregation": { 3461 "aggregation": {
3450 "type": "NONE", 3462 "type": "NONE",
@@ -3480,7 +3492,7 @@ @@ -3480,7 +3492,7 @@
3480 "stack": false, 3492 "stack": false,
3481 "tooltipIndividual": false, 3493 "tooltipIndividual": false,
3482 "defaultBarWidth": 900000000, 3494 "defaultBarWidth": 900000000,
3483 - "barAlignment": "center", 3495 + "barAlignment": "left",
3484 "timeForComparison": "months", 3496 "timeForComparison": "months",
3485 "xaxisSecond": { 3497 "xaxisSecond": {
3486 "axisPosition": "top", 3498 "axisPosition": "top",