Commit a7629fff705761d31018721b143924b28c738a3f

Authored by Igor Kulikov
1 parent 280db914

Api usage dashboard improvements

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