/* eslint-disable quote-props, indent, comma-dangle */ const metricsGroupsAPIResponse = { 'success': true, 'data': [ { 'group': 'Kubernetes', 'priority': 1, 'metrics': [ { 'title': 'Memory usage', 'weight': 1, 'queries': [ { 'query_range': 'avg(container_memory_usage_bytes{%{environment_filter}}) / 2^20', 'y_label': 'Memory', 'unit': 'MiB', 'result': [ { 'metric': {}, 'values': [ [ 1495700554.925, '8.0390625' ], [ 1495700614.925, '8.0390625' ], [ 1495700674.925, '8.0390625' ], [ 1495700734.925, '8.0390625' ], [ 1495700794.925, '8.0390625' ], [ 1495700854.925, '8.0390625' ], [ 1495700914.925, '8.0390625' ], [ 1495700974.925, '8.0390625' ], [ 1495701034.925, '8.0390625' ], [ 1495701094.925, '8.0390625' ], [ 1495701154.925, '8.0390625' ], [ 1495701214.925, '8.0390625' ], [ 1495701274.925, '8.0390625' ], [ 1495701334.925, '8.0390625' ], [ 1495701394.925, '8.0390625' ], [ 1495701454.925, '8.0390625' ], [ 1495701514.925, '8.0390625' ], [ 1495701574.925, '8.0390625' ], [ 1495701634.925, '8.0390625' ], [ 1495701694.925, '8.0390625' ], [ 1495701754.925, '8.0390625' ], [ 1495701814.925, '8.0390625' ], [ 1495701874.925, '8.0390625' ], [ 1495701934.925, '8.0390625' ], [ 1495701994.925, '8.0390625' ], [ 1495702054.925, '8.0390625' ], [ 1495702114.925, '8.0390625' ], [ 1495702174.925, '8.0390625' ], [ 1495702234.925, '8.0390625' ], [ 1495702294.925, '8.0390625' ], [ 1495702354.925, '8.0390625' ], [ 1495702414.925, '8.0390625' ], [ 1495702474.925, '8.0390625' ], [ 1495702534.925, '8.0390625' ], [ 1495702594.925, '8.0390625' ], [ 1495702654.925, '8.0390625' ], [ 1495702714.925, '8.0390625' ], [ 1495702774.925, '8.0390625' ], [ 1495702834.925, '8.0390625' ], [ 1495702894.925, '8.0390625' ], [ 1495702954.925, '8.0390625' ], [ 1495703014.925, '8.0390625' ], [ 1495703074.925, '8.0390625' ], [ 1495703134.925, '8.0390625' ], [ 1495703194.925, '8.0390625' ], [ 1495703254.925, '8.03515625' ], [ 1495703314.925, '8.03515625' ], [ 1495703374.925, '8.03515625' ], [ 1495703434.925, '8.03515625' ], [ 1495703494.925, '8.03515625' ], [ 1495703554.925, '8.03515625' ], [ 1495703614.925, '8.03515625' ], [ 1495703674.925, '8.03515625' ], [ 1495703734.925, '8.03515625' ], [ 1495703794.925, '8.03515625' ], [ 1495703854.925, '8.03515625' ], [ 1495703914.925, '8.03515625' ], [ 1495703974.925, '8.03515625' ], [ 1495704034.925, '8.03515625' ], [ 1495704094.925, '8.03515625' ], [ 1495704154.925, '8.03515625' ], [ 1495704214.925, '7.9296875' ], [ 1495704274.925, '7.9296875' ], [ 1495704334.925, '7.9296875' ], [ 1495704394.925, '7.9296875' ], [ 1495704454.925, '7.9296875' ], [ 1495704514.925, '7.9296875' ], [ 1495704574.925, '7.9296875' ], [ 1495704634.925, '7.9296875' ], [ 1495704694.925, '7.9296875' ], [ 1495704754.925, '7.9296875' ], [ 1495704814.925, '7.9296875' ], [ 1495704874.925, '7.9296875' ], [ 1495704934.925, '7.9296875' ], [ 1495704994.925, '7.9296875' ], [ 1495705054.925, '7.9296875' ], [ 1495705114.925, '7.9296875' ], [ 1495705174.925, '7.9296875' ], [ 1495705234.925, '7.9296875' ], [ 1495705294.925, '7.9296875' ], [ 1495705354.925, '7.9296875' ], [ 1495705414.925, '7.9296875' ], [ 1495705474.925, '7.9296875' ], [ 1495705534.925, '7.9296875' ], [ 1495705594.925, '7.9296875' ], [ 1495705654.925, '7.9296875' ], [ 1495705714.925, '7.9296875' ], [ 1495705774.925, '7.9296875' ], [ 1495705834.925, '7.9296875' ], [ 1495705894.925, '7.9296875' ], [ 1495705954.925, '7.9296875' ], [ 1495706014.925, '7.9296875' ], [ 1495706074.925, '7.9296875' ], [ 1495706134.925, '7.9296875' ], [ 1495706194.925, '7.9296875' ], [ 1495706254.925, '7.9296875' ], [ 1495706314.925, '7.9296875' ], [ 1495706374.925, '7.9296875' ], [ 1495706434.925, '7.9296875' ], [ 1495706494.925, '7.9296875' ], [ 1495706554.925, '7.9296875' ], [ 1495706614.925, '7.9296875' ], [ 1495706674.925, '7.9296875' ], [ 1495706734.925, '7.9296875' ], [ 1495706794.925, '7.9296875' ], [ 1495706854.925, '7.9296875' ], [ 1495706914.925, '7.9296875' ], [ 1495706974.925, '7.9296875' ], [ 1495707034.925, '7.9296875' ], [ 1495707094.925, '7.9296875' ], [ 1495707154.925, '7.9296875' ], [ 1495707214.925, '7.9296875' ], [ 1495707274.925, '7.9296875' ], [ 1495707334.925, '7.9296875' ], [ 1495707394.925, '7.9296875' ], [ 1495707454.925, '7.9296875' ], [ 1495707514.925, '7.9296875' ], [ 1495707574.925, '7.9296875' ], [ 1495707634.925, '7.9296875' ], [ 1495707694.925, '7.9296875' ], [ 1495707754.925, '7.9296875' ], [ 1495707814.925, '7.9296875' ], [ 1495707874.925, '7.9296875' ], [ 1495707934.925, '7.9296875' ], [ 1495707994.925, '7.9296875' ], [ 1495708054.925, '7.9296875' ], [ 1495708114.925, '7.9296875' ], [ 1495708174.925, '7.9296875' ], [ 1495708234.925, '7.9296875' ], [ 1495708294.925, '7.9296875' ], [ 1495708354.925, '7.9296875' ], [ 1495708414.925, '7.9296875' ], [ 1495708474.925, '7.9296875' ], [ 1495708534.925, '7.9296875' ], [ 1495708594.925, '7.9296875' ], [ 1495708654.925, '7.9296875' ], [ 1495708714.925, '7.9296875' ], [ 1495708774.925, '7.9296875' ], [ 1495708834.925, '7.9296875' ], [ 1495708894.925, '7.9296875' ], [ 1495708954.925, '7.8984375' ], [ 1495709014.925, '7.8984375' ], [ 1495709074.925, '7.8984375' ], [ 1495709134.925, '7.8984375' ], [ 1495709194.925, '7.8984375' ], [ 1495709254.925, '7.89453125' ], [ 1495709314.925, '7.89453125' ], [ 1495709374.925, '7.89453125' ], [ 1495709434.925, '7.89453125' ], [ 1495709494.925, '7.89453125' ], [ 1495709554.925, '7.89453125' ], [ 1495709614.925, '7.89453125' ], [ 1495709674.925, '7.89453125' ], [ 1495709734.925, '7.89453125' ], [ 1495709794.925, '7.89453125' ], [ 1495709854.925, '7.89453125' ], [ 1495709914.925, '7.89453125' ], [ 1495709974.925, '7.89453125' ], [ 1495710034.925, '7.89453125' ], [ 1495710094.925, '7.89453125' ], [ 1495710154.925, '7.89453125' ], [ 1495710214.925, '7.89453125' ], [ 1495710274.925, '7.89453125' ], [ 1495710334.925, '7.89453125' ], [ 1495710394.925, '7.89453125' ], [ 1495710454.925, '7.89453125' ], [ 1495710514.925, '7.89453125' ], [ 1495710574.925, '7.89453125' ], [ 1495710634.925, '7.89453125' ], [ 1495710694.925, '7.89453125' ], [ 1495710754.925, '7.89453125' ], [ 1495710814.925, '7.89453125' ], [ 1495710874.925, '7.89453125' ], [ 1495710934.925, '7.89453125' ], [ 1495710994.925, '7.89453125' ], [ 1495711054.925, '7.89453125' ], [ 1495711114.925, '7.89453125' ], [ 1495711174.925, '7.8515625' ], [ 1495711234.925, '7.8515625' ], [ 1495711294.925, '7.8515625' ], [ 1495711354.925, '7.8515625' ], [ 1495711414.925, '7.8515625' ], [ 1495711474.925, '7.8515625' ], [ 1495711534.925, '7.8515625' ], [ 1495711594.925, '7.8515625' ], [ 1495711654.925, '7.8515625' ], [ 1495711714.925, '7.8515625' ], [ 1495711774.925, '7.8515625' ], [ 1495711834.925, '7.8515625' ], [ 1495711894.925, '7.8515625' ], [ 1495711954.925, '7.8515625' ], [ 1495712014.925, '7.8515625' ], [ 1495712074.925, '7.8515625' ], [ 1495712134.925, '7.8515625' ], [ 1495712194.925, '7.8515625' ], [ 1495712254.925, '7.8515625' ], [ 1495712314.925, '7.8515625' ], [ 1495712374.925, '7.8515625' ], [ 1495712434.925, '7.83203125' ], [ 1495712494.925, '7.83203125' ], [ 1495712554.925, '7.83203125' ], [ 1495712614.925, '7.83203125' ], [ 1495712674.925, '7.83203125' ], [ 1495712734.925, '7.83203125' ], [ 1495712794.925, '7.83203125' ], [ 1495712854.925, '7.83203125' ], [ 1495712914.925, '7.83203125' ], [ 1495712974.925, '7.83203125' ], [ 1495713034.925, '7.83203125' ], [ 1495713094.925, '7.83203125' ], [ 1495713154.925, '7.83203125' ], [ 1495713214.925, '7.83203125' ], [ 1495713274.925, '7.83203125' ], [ 1495713334.925, '7.83203125' ], [ 1495713394.925, '7.8125' ], [ 1495713454.925, '7.8125' ], [ 1495713514.925, '7.8125' ], [ 1495713574.925, '7.8125' ], [ 1495713634.925, '7.8125' ], [ 1495713694.925, '7.8125' ], [ 1495713754.925, '7.8125' ], [ 1495713814.925, '7.8125' ], [ 1495713874.925, '7.8125' ], [ 1495713934.925, '7.8125' ], [ 1495713994.925, '7.8125' ], [ 1495714054.925, '7.8125' ], [ 1495714114.925, '7.8125' ], [ 1495714174.925, '7.8125' ], [ 1495714234.925, '7.8125' ], [ 1495714294.925, '7.8125' ], [ 1495714354.925, '7.80859375' ], [ 1495714414.925, '7.80859375' ], [ 1495714474.925, '7.80859375' ], [ 1495714534.925, '7.80859375' ], [ 1495714594.925, '7.80859375' ], [ 1495714654.925, '7.80859375' ], [ 1495714714.925, '7.80859375' ], [ 1495714774.925, '7.80859375' ], [ 1495714834.925, '7.80859375' ], [ 1495714894.925, '7.80859375' ], [ 1495714954.925, '7.80859375' ], [ 1495715014.925, '7.80859375' ], [ 1495715074.925, '7.80859375' ], [ 1495715134.925, '7.80859375' ], [ 1495715194.925, '7.80859375' ], [ 1495715254.925, '7.80859375' ], [ 1495715314.925, '7.80859375' ], [ 1495715374.925, '7.80859375' ], [ 1495715434.925, '7.80859375' ], [ 1495715494.925, '7.80859375' ], [ 1495715554.925, '7.80859375' ], [ 1495715614.925, '7.80859375' ], [ 1495715674.925, '7.80859375' ], [ 1495715734.925, '7.80859375' ], [ 1495715794.925, '7.80859375' ], [ 1495715854.925, '7.80859375' ], [ 1495715914.925, '7.80078125' ], [ 1495715974.925, '7.80078125' ], [ 1495716034.925, '7.80078125' ], [ 1495716094.925, '7.80078125' ], [ 1495716154.925, '7.80078125' ], [ 1495716214.925, '7.796875' ], [ 1495716274.925, '7.796875' ], [ 1495716334.925, '7.796875' ], [ 1495716394.925, '7.796875' ], [ 1495716454.925, '7.796875' ], [ 1495716514.925, '7.796875' ], [ 1495716574.925, '7.796875' ], [ 1495716634.925, '7.796875' ], [ 1495716694.925, '7.796875' ], [ 1495716754.925, '7.796875' ], [ 1495716814.925, '7.796875' ], [ 1495716874.925, '7.79296875' ], [ 1495716934.925, '7.79296875' ], [ 1495716994.925, '7.79296875' ], [ 1495717054.925, '7.79296875' ], [ 1495717114.925, '7.79296875' ], [ 1495717174.925, '7.7890625' ], [ 1495717234.925, '7.7890625' ], [ 1495717294.925, '7.7890625' ], [ 1495717354.925, '7.7890625' ], [ 1495717414.925, '7.7890625' ], [ 1495717474.925, '7.7890625' ], [ 1495717534.925, '7.7890625' ], [ 1495717594.925, '7.7890625' ], [ 1495717654.925, '7.7890625' ], [ 1495717714.925, '7.7890625' ], [ 1495717774.925, '7.7890625' ], [ 1495717834.925, '7.77734375' ], [ 1495717894.925, '7.77734375' ], [ 1495717954.925, '7.77734375' ], [ 1495718014.925, '7.77734375' ], [ 1495718074.925, '7.77734375' ], [ 1495718134.925, '7.7421875' ], [ 1495718194.925, '7.7421875' ], [ 1495718254.925, '7.7421875' ], [ 1495718314.925, '7.7421875' ] ] } ] } ] }, { 'title': 'CPU usage', 'weight': 1, 'queries': [ { 'query_range': 'avg(rate(container_cpu_usage_seconds_total{%{environment_filter}}[2m])) * 100', 'result': [ { 'metric': {}, 'values': [ [ 1495700554.925, '0.0010794445585559514' ], [ 1495700614.925, '0.003927214935433527' ], [ 1495700674.925, '0.0053045219047619975' ], [ 1495700734.925, '0.0048892095238097155' ], [ 1495700794.925, '0.005827140952381137' ], [ 1495700854.925, '0.00569846906219937' ], [ 1495700914.925, '0.004972616802849382' ], [ 1495700974.925, '0.005117509523809902' ], [ 1495701034.925, '0.00512389061919564' ], [ 1495701094.925, '0.005199100501890691' ], [ 1495701154.925, '0.005415746394885837' ], [ 1495701214.925, '0.005607682788146286' ], [ 1495701274.925, '0.005641300000000118' ], [ 1495701334.925, '0.0071166279368766495' ], [ 1495701394.925, '0.0063242138095234044' ], [ 1495701454.925, '0.005793314698235304' ], [ 1495701514.925, '0.00703934942237556' ], [ 1495701574.925, '0.006357007076123191' ], [ 1495701634.925, '0.003753167300126738' ], [ 1495701694.925, '0.005018469678430698' ], [ 1495701754.925, '0.0045217153371887' ], [ 1495701814.925, '0.006140104285714119' ], [ 1495701874.925, '0.004818684285714102' ], [ 1495701934.925, '0.005079509718955242' ], [ 1495701994.925, '0.005059981142498263' ], [ 1495702054.925, '0.005269098389538773' ], [ 1495702114.925, '0.005269954285714175' ], [ 1495702174.925, '0.014199241435795856' ], [ 1495702234.925, '0.01511936843111017' ], [ 1495702294.925, '0.0060933692920682875' ], [ 1495702354.925, '0.004945682380952493' ], [ 1495702414.925, '0.005641266666666565' ], [ 1495702474.925, '0.005223752857142996' ], [ 1495702534.925, '0.005743098505699831' ], [ 1495702594.925, '0.00538493380952391' ], [ 1495702654.925, '0.005507793883751339' ], [ 1495702714.925, '0.005666705714285466' ], [ 1495702774.925, '0.006231530000000112' ], [ 1495702834.925, '0.006570768635394899' ], [ 1495702894.925, '0.005551146666666895' ], [ 1495702954.925, '0.005602604737098058' ], [ 1495703014.925, '0.00613993580402159' ], [ 1495703074.925, '0.004770258764368832' ], [ 1495703134.925, '0.005512376671364914' ], [ 1495703194.925, '0.005254436666666674' ], [ 1495703254.925, '0.0050109839141320505' ], [ 1495703314.925, '0.0049478019256960016' ], [ 1495703374.925, '0.0037666860965123463' ], [ 1495703434.925, '0.004813526061656314' ], [ 1495703494.925, '0.005047748095238278' ], [ 1495703554.925, '0.00386494081008772' ], [ 1495703614.925, '0.004304037408111405' ], [ 1495703674.925, '0.004999466661587168' ], [ 1495703734.925, '0.004689140476190834' ], [ 1495703794.925, '0.004746126153582475' ], [ 1495703854.925, '0.004482706382572302' ], [ 1495703914.925, '0.004032808931864524' ], [ 1495703974.925, '0.005728319047618988' ], [ 1495704034.925, '0.004436139179627006' ], [ 1495704094.925, '0.004553455714285617' ], [ 1495704154.925, '0.003455244285714341' ], [ 1495704214.925, '0.004742244761904621' ], [ 1495704274.925, '0.005366978571428422' ], [ 1495704334.925, '0.004257954837665058' ], [ 1495704394.925, '0.005431603259831257' ], [ 1495704454.925, '0.0052009214498621986' ], [ 1495704514.925, '0.004317201904761618' ], [ 1495704574.925, '0.004307384285714157' ], [ 1495704634.925, '0.004789801146644822' ], [ 1495704694.925, '0.0051429795906706485' ], [ 1495704754.925, '0.005322495714285479' ], [ 1495704814.925, '0.004512809333244233' ], [ 1495704874.925, '0.004953843582568726' ], [ 1495704934.925, '0.005812690120858119' ], [ 1495704994.925, '0.004997024285714838' ], [ 1495705054.925, '0.005246216154439592' ], [ 1495705114.925, '0.0063494966618726795' ], [ 1495705174.925, '0.005306004342898225' ], [ 1495705234.925, '0.005081412857142978' ], [ 1495705294.925, '0.00511409523809522' ], [ 1495705354.925, '0.0047861001481192' ], [ 1495705414.925, '0.005107688228042962' ], [ 1495705474.925, '0.005271929582294012' ], [ 1495705534.925, '0.004453254502681249' ], [ 1495705594.925, '0.005799134293959226' ], [ 1495705654.925, '0.005340865929502478' ], [ 1495705714.925, '0.004911654761904942' ], [ 1495705774.925, '0.005888234873953261' ], [ 1495705834.925, '0.005565283333332954' ], [ 1495705894.925, '0.005522869047618869' ], [ 1495705954.925, '0.005177549737621646' ], [ 1495706014.925, '0.0053145810232096465' ], [ 1495706074.925, '0.004751095238095275' ], [ 1495706134.925, '0.006242077142856976' ], [ 1495706194.925, '0.00621034406957871' ], [ 1495706254.925, '0.006887592738978596' ], [ 1495706314.925, '0.006328128779726213' ], [ 1495706374.925, '0.007488363809523927' ], [ 1495706434.925, '0.006193758571428157' ], [ 1495706494.925, '0.0068798371839706935' ], [ 1495706554.925, '0.005757034340423128' ], [ 1495706614.925, '0.004571388497294698' ], [ 1495706674.925, '0.00620283044923395' ], [ 1495706734.925, '0.005607562380952455' ], [ 1495706794.925, '0.005506969933620308' ], [ 1495706854.925, '0.005621118095238131' ], [ 1495706914.925, '0.004876606098698849' ], [ 1495706974.925, '0.0047871205988517206' ], [ 1495707034.925, '0.00526405939458784' ], [ 1495707094.925, '0.005716323800605852' ], [ 1495707154.925, '0.005301459523809575' ], [ 1495707214.925, '0.0051613042857144905' ], [ 1495707274.925, '0.005384792857142714' ], [ 1495707334.925, '0.005259719047619222' ], [ 1495707394.925, '0.00584101142857182' ], [ 1495707454.925, '0.0060066121920326326' ], [ 1495707514.925, '0.006359978571428453' ], [ 1495707574.925, '0.006315876322151109' ], [ 1495707634.925, '0.005590012517198831' ], [ 1495707694.925, '0.005517419877137072' ], [ 1495707754.925, '0.006089813430348506' ], [ 1495707814.925, '0.00466754476190479' ], [ 1495707874.925, '0.006059954380517721' ], [ 1495707934.925, '0.005085657142856972' ], [ 1495707994.925, '0.005897665238095296' ], [ 1495708054.925, '0.0062282023199555885' ], [ 1495708114.925, '0.00526214553236979' ], [ 1495708174.925, '0.0044803300000000644' ], [ 1495708234.925, '0.005421443333333592' ], [ 1495708294.925, '0.005694326244512144' ], [ 1495708354.925, '0.005527721904761457' ], [ 1495708414.925, '0.005988819523809819' ], [ 1495708474.925, '0.005484704285714448' ], [ 1495708534.925, '0.005041123649230085' ], [ 1495708594.925, '0.005717767639612059' ], [ 1495708654.925, '0.005412954417342863' ], [ 1495708714.925, '0.005833343333333254' ], [ 1495708774.925, '0.005448135238094969' ], [ 1495708834.925, '0.005117341428571432' ], [ 1495708894.925, '0.005888345825277833' ], [ 1495708954.925, '0.005398543809524135' ], [ 1495709014.925, '0.005325611428571416' ], [ 1495709074.925, '0.005848668571428527' ], [ 1495709134.925, '0.005135003105145044' ], [ 1495709194.925, '0.0054551400000003' ], [ 1495709254.925, '0.005319472937322171' ], [ 1495709314.925, '0.00585677857142792' ], [ 1495709374.925, '0.0062146261904759215' ], [ 1495709434.925, '0.0067105060904182265' ], [ 1495709494.925, '0.005829691904762108' ], [ 1495709554.925, '0.005719280952381261' ], [ 1495709614.925, '0.005682603793416407' ], [ 1495709674.925, '0.0055272846277326934' ], [ 1495709734.925, '0.0057123680952386735' ], [ 1495709794.925, '0.00520597958075818' ], [ 1495709854.925, '0.005584358957263837' ], [ 1495709914.925, '0.005601104275197466' ], [ 1495709974.925, '0.005991657142857066' ], [ 1495710034.925, '0.00553722238095218' ], [ 1495710094.925, '0.005127883122696293' ], [ 1495710154.925, '0.005498111927534584' ], [ 1495710214.925, '0.005609934069084202' ], [ 1495710274.925, '0.00459206285714307' ], [ 1495710334.925, '0.0047910828571428084' ], [ 1495710394.925, '0.0056014671288845685' ], [ 1495710454.925, '0.005686936791078528' ], [ 1495710514.925, '0.00444480476190448' ], [ 1495710574.925, '0.005780394696738921' ], [ 1495710634.925, '0.0053107227550210365' ], [ 1495710694.925, '0.005096031495761817' ], [ 1495710754.925, '0.005451377979091524' ], [ 1495710814.925, '0.005328136666667083' ], [ 1495710874.925, '0.006020612857143043' ], [ 1495710934.925, '0.0061063585714285365' ], [ 1495710994.925, '0.006018346015752312' ], [ 1495711054.925, '0.005069130952381193' ], [ 1495711114.925, '0.005458406190476052' ], [ 1495711174.925, '0.00577219190476179' ], [ 1495711234.925, '0.005760814645658314' ], [ 1495711294.925, '0.005371875716579101' ], [ 1495711354.925, '0.0064232666666665834' ], [ 1495711414.925, '0.009369806836906667' ], [ 1495711474.925, '0.008956864761904692' ], [ 1495711534.925, '0.005266849368559271' ], [ 1495711594.925, '0.005335111364934262' ], [ 1495711654.925, '0.006461778319586945' ], [ 1495711714.925, '0.004687939890762393' ], [ 1495711774.925, '0.004438831245760684' ], [ 1495711834.925, '0.005142786666666613' ], [ 1495711894.925, '0.007257734212054963' ], [ 1495711954.925, '0.005621991904761494' ], [ 1495712014.925, '0.007868689999999862' ], [ 1495712074.925, '0.00910970215275738' ], [ 1495712134.925, '0.006151004285714278' ], [ 1495712194.925, '0.005447120924961522' ], [ 1495712254.925, '0.005150705153929503' ], [ 1495712314.925, '0.006358108714969314' ], [ 1495712374.925, '0.0057725354795696475' ], [ 1495712434.925, '0.005232139047619015' ], [ 1495712494.925, '0.004932809617949037' ], [ 1495712554.925, '0.004511607508499662' ], [ 1495712614.925, '0.00440487701522666' ], [ 1495712674.925, '0.005479113333333174' ], [ 1495712734.925, '0.004726317619047547' ], [ 1495712794.925, '0.005582041102958029' ], [ 1495712854.925, '0.006381481216082099' ], [ 1495712914.925, '0.005474260014095208' ], [ 1495712974.925, '0.00567597142857188' ], [ 1495713034.925, '0.0064741233333332985' ], [ 1495713094.925, '0.005467475714285271' ], [ 1495713154.925, '0.004868648393824457' ], [ 1495713214.925, '0.005254923286444893' ], [ 1495713274.925, '0.005599217150312865' ], [ 1495713334.925, '0.005105413720618919' ], [ 1495713394.925, '0.007246073333333279' ], [ 1495713454.925, '0.005990312380952272' ], [ 1495713514.925, '0.005594601853351101' ], [ 1495713574.925, '0.004739258673727054' ], [ 1495713634.925, '0.003932121428571783' ], [ 1495713694.925, '0.005018188268459395' ], [ 1495713754.925, '0.004538238095237985' ], [ 1495713814.925, '0.00561816643265435' ], [ 1495713874.925, '0.0063132584495033586' ], [ 1495713934.925, '0.00442385238095213' ], [ 1495713994.925, '0.004181795887658453' ], [ 1495714054.925, '0.004437759047619037' ], [ 1495714114.925, '0.006421748157178241' ], [ 1495714174.925, '0.006525143809523842' ], [ 1495714234.925, '0.004715904935144247' ], [ 1495714294.925, '0.005966040152763461' ], [ 1495714354.925, '0.005614535466921674' ], [ 1495714414.925, '0.004934375119415906' ], [ 1495714474.925, '0.0054122933333327385' ], [ 1495714534.925, '0.004926540699612279' ], [ 1495714594.925, '0.006124649517134237' ], [ 1495714654.925, '0.004629427092013995' ], [ 1495714714.925, '0.005117951257607005' ], [ 1495714774.925, '0.004868774512685422' ], [ 1495714834.925, '0.005310093333333399' ], [ 1495714894.925, '0.0054907752286127345' ], [ 1495714954.925, '0.004597678117351089' ], [ 1495715014.925, '0.0059622552380952' ], [ 1495715074.925, '0.005352457072655368' ], [ 1495715134.925, '0.005491630952381143' ], [ 1495715194.925, '0.006391770078379791' ], [ 1495715254.925, '0.005933472857142518' ], [ 1495715314.925, '0.005301314285714163' ], [ 1495715374.925, '0.0058352959724814165' ], [ 1495715434.925, '0.006154755147867044' ], [ 1495715494.925, '0.009391935637482038' ], [ 1495715554.925, '0.007846462857142592' ], [ 1495715614.925, '0.00477608215316353' ], [ 1495715674.925, '0.006132865238094998' ], [ 1495715734.925, '0.006159762457649516' ], [ 1495715794.925, '0.005957307073265968' ], [ 1495715854.925, '0.006652319091792501' ], [ 1495715914.925, '0.005493557402895287' ], [ 1495715974.925, '0.0058652434829145166' ], [ 1495716034.925, '0.005627400430468021' ], [ 1495716094.925, '0.006240656190475609' ], [ 1495716154.925, '0.006305997676168624' ], [ 1495716214.925, '0.005388057732783248' ], [ 1495716274.925, '0.0052814916048421244' ], [ 1495716334.925, '0.00699498614272497' ], [ 1495716394.925, '0.00627768693035141' ], [ 1495716454.925, '0.0042411487048161145' ], [ 1495716514.925, '0.005348647473627653' ], [ 1495716574.925, '0.0047176657142853975' ], [ 1495716634.925, '0.004437898571428686' ], [ 1495716694.925, '0.004923527366927261' ], [ 1495716754.925, '0.005131935066048421' ], [ 1495716814.925, '0.005046949523809611' ], [ 1495716874.925, '0.00547184095238092' ], [ 1495716934.925, '0.005224140016380444' ], [ 1495716994.925, '0.005297991171665292' ], [ 1495717054.925, '0.005492965995623498' ], [ 1495717114.925, '0.005754660000000403' ], [ 1495717174.925, '0.005949557138639285' ], [ 1495717234.925, '0.006091816112534666' ], [ 1495717294.925, '0.005554210080192063' ], [ 1495717354.925, '0.006411504395279871' ], [ 1495717414.925, '0.006319643996609606' ], [ 1495717474.925, '0.005539174405717675' ], [ 1495717534.925, '0.0053157078842772255' ], [ 1495717594.925, '0.005247480952381066' ], [ 1495717654.925, '0.004820141620396252' ], [ 1495717714.925, '0.005906173868322844' ], [ 1495717774.925, '0.006173117219570961' ], [ 1495717834.925, '0.005963340952380661' ], [ 1495717894.925, '0.005698976627681527' ], [ 1495717954.925, '0.004751279096346378' ], [ 1495718014.925, '0.005733142379359711' ], [ 1495718074.925, '0.004831689010348035' ], [ 1495718134.925, '0.005188370476191092' ], [ 1495718194.925, '0.004793227554547938' ], [ 1495718254.925, '0.003997442857142731' ], [ 1495718314.925, '0.004386040132951264' ] ] } ] } ] } ] } ], 'last_update': '2017-05-25T13:18:34.949Z' }; export default metricsGroupsAPIResponse; const responseMockData = { 'GET': { '/root/hello-prometheus/environments/30/additional_metrics.json': metricsGroupsAPIResponse, 'http://test.host/frontend-fixtures/environments-project/environments/1/additional_metrics.json': metricsGroupsAPIResponse, // TODO: MAke sure this works in the monitoring_bundle_spec }, }; export const deploymentData = [ { id: 111, iid: 3, sha: 'f5bcd1d9dac6fa4137e2510b9ccd134ef2e84187', ref: { name: 'master' }, created_at: '2017-05-31T21:23:37.881Z', tag: false, 'last?': true }, { id: 110, iid: 2, sha: 'f5bcd1d9dac6fa4137e2510b9ccd134ef2e84187', ref: { name: 'master' }, created_at: '2017-05-30T20:08:04.629Z', tag: false, 'last?': false }, { id: 109, iid: 1, sha: '6511e58faafaa7ad2228990ec57f19d66f7db7c2', ref: { name: 'update2-readme' }, created_at: '2017-05-30T17:42:38.409Z', tag: false, 'last?': false } ]; export const statePaths = { settingsPath: '/root/hello-prometheus/services/prometheus/edit', documentationPath: '/help/administration/monitoring/prometheus/index.md', }; export const singleRowMetrics = [ { 'title': 'CPU usage', 'weight': 1, 'y_label': 'Memory', 'queries': [ { 'query_range': 'avg(rate(container_cpu_usage_seconds_total{%{environment_filter}}[2m])) * 100', 'result': [ { 'metric': { }, 'values': [ { 'time': '2017-06-04T21:22:59.508Z', 'value': '0.06335544298150002' }, { 'time': '2017-06-04T21:23:59.508Z', 'value': '0.0420347312480917' }, { 'time': '2017-06-04T21:24:59.508Z', 'value': '0.0023175131665412706' }, { 'time': '2017-06-04T21:25:59.508Z', 'value': '0.002315870476190476' }, { 'time': '2017-06-04T21:26:59.508Z', 'value': '0.0025005961904761894' }, { 'time': '2017-06-04T21:27:59.508Z', 'value': '0.0024612605834341264' }, { 'time': '2017-06-04T21:28:59.508Z', 'value': '0.002313129398767631' }, { 'time': '2017-06-04T21:29:59.508Z', 'value': '0.002411067353663882' }, { 'time': '2017-06-04T21:30:59.508Z', 'value': '0.002577309263721303' }, { 'time': '2017-06-04T21:31:59.508Z', 'value': '0.00242688307730403' }, { 'time': '2017-06-04T21:32:59.508Z', 'value': '0.0024168360301330457' }, { 'time': '2017-06-04T21:33:59.508Z', 'value': '0.0020449528090743714' }, { 'time': '2017-06-04T21:34:59.508Z', 'value': '0.0019149619047619036' }, { 'time': '2017-06-04T21:35:59.508Z', 'value': '0.0024491714364625094' }, { 'time': '2017-06-04T21:36:59.508Z', 'value': '0.002728773131172677' }, { 'time': '2017-06-04T21:37:59.508Z', 'value': '0.0028439119047618997' }, { 'time': '2017-06-04T21:38:59.508Z', 'value': '0.0026307480952380917' }, { 'time': '2017-06-04T21:39:59.508Z', 'value': '0.0025024842620546446' }, { 'time': '2017-06-04T21:40:59.508Z', 'value': '0.002300662387260825' }, { 'time': '2017-06-04T21:41:59.508Z', 'value': '0.002052890924848337' }, { 'time': '2017-06-04T21:42:59.508Z', 'value': '0.0023711195238095275' }, { 'time': '2017-06-04T21:43:59.508Z', 'value': '0.002513477619047618' }, { 'time': '2017-06-04T21:44:59.508Z', 'value': '0.0023489776287844897' }, { 'time': '2017-06-04T21:45:59.508Z', 'value': '0.002542572310212481' }, { 'time': '2017-06-04T21:46:59.508Z', 'value': '0.0024579470671707952' }, { 'time': '2017-06-04T21:47:59.508Z', 'value': '0.0028725150236664403' }, { 'time': '2017-06-04T21:48:59.508Z', 'value': '0.0024356089105610525' }, { 'time': '2017-06-04T21:49:59.508Z', 'value': '0.002544015828269929' }, { 'time': '2017-06-04T21:50:59.508Z', 'value': '0.0029595013380824906' }, { 'time': '2017-06-04T21:51:59.508Z', 'value': '0.0023084015085858' }, { 'time': '2017-06-04T21:52:59.508Z', 'value': '0.0021070500000000083' }, { 'time': '2017-06-04T21:53:59.508Z', 'value': '0.0022950066191106617' }, { 'time': '2017-06-04T21:54:59.508Z', 'value': '0.002492719454470995' }, { 'time': '2017-06-04T21:55:59.508Z', 'value': '0.00244312761904762' }, { 'time': '2017-06-04T21:56:59.508Z', 'value': '0.0023495500000000028' }, { 'time': '2017-06-04T21:57:59.508Z', 'value': '0.0020597072353070005' }, { 'time': '2017-06-04T21:58:59.508Z', 'value': '0.0021482352044800866' }, { 'time': '2017-06-04T21:59:59.508Z', 'value': '0.002333490000000004' }, { 'time': '2017-06-04T22:00:59.508Z', 'value': '0.0025899442857142815' }, { 'time': '2017-06-04T22:01:59.508Z', 'value': '0.002430299999999999' }, { 'time': '2017-06-04T22:02:59.508Z', 'value': '0.0023550328092113476' }, { 'time': '2017-06-04T22:03:59.508Z', 'value': '0.0026521871636872793' }, { 'time': '2017-06-04T22:04:59.508Z', 'value': '0.0023080671428571398' }, { 'time': '2017-06-04T22:05:59.508Z', 'value': '0.0024108401032390896' }, { 'time': '2017-06-04T22:06:59.508Z', 'value': '0.002433249366678738' }, { 'time': '2017-06-04T22:07:59.508Z', 'value': '0.0023242202306688682' }, { 'time': '2017-06-04T22:08:59.508Z', 'value': '0.002388222857142859' }, { 'time': '2017-06-04T22:09:59.508Z', 'value': '0.002115974914046794' }, { 'time': '2017-06-04T22:10:59.508Z', 'value': '0.0025090043331269917' }, { 'time': '2017-06-04T22:11:59.508Z', 'value': '0.002445507057277277' }, { 'time': '2017-06-04T22:12:59.508Z', 'value': '0.0026348773751130976' }, { 'time': '2017-06-04T22:13:59.508Z', 'value': '0.0025616258583088104' }, { 'time': '2017-06-04T22:14:59.508Z', 'value': '0.0021544093415751505' }, { 'time': '2017-06-04T22:15:59.508Z', 'value': '0.002649394767668881' }, { 'time': '2017-06-04T22:16:59.508Z', 'value': '0.0024023332666685705' }, { 'time': '2017-06-04T22:17:59.508Z', 'value': '0.0025444105294235306' }, { 'time': '2017-06-04T22:18:59.508Z', 'value': '0.0027298872305772806' }, { 'time': '2017-06-04T22:19:59.508Z', 'value': '0.0022880104956379287' }, { 'time': '2017-06-04T22:20:59.508Z', 'value': '0.002473246666666661' }, { 'time': '2017-06-04T22:21:59.508Z', 'value': '0.002259948381935587' }, { 'time': '2017-06-04T22:22:59.508Z', 'value': '0.0025778470886268835' }, { 'time': '2017-06-04T22:23:59.508Z', 'value': '0.002246127910852894' }, { 'time': '2017-06-04T22:24:59.508Z', 'value': '0.0020697466666666758' }, { 'time': '2017-06-04T22:25:59.508Z', 'value': '0.00225859722473547' }, { 'time': '2017-06-04T22:26:59.508Z', 'value': '0.0026466728254554814' }, { 'time': '2017-06-04T22:27:59.508Z', 'value': '0.002151247619047619' }, { 'time': '2017-06-04T22:28:59.508Z', 'value': '0.002324161444543914' }, { 'time': '2017-06-04T22:29:59.508Z', 'value': '0.002476474313796452' }, { 'time': '2017-06-04T22:30:59.508Z', 'value': '0.0023922184232080517' }, { 'time': '2017-06-04T22:31:59.508Z', 'value': '0.0025094934237468933' }, { 'time': '2017-06-04T22:32:59.508Z', 'value': '0.0025665311098200883' }, { 'time': '2017-06-04T22:33:59.508Z', 'value': '0.0024154900681661374' }, { 'time': '2017-06-04T22:34:59.508Z', 'value': '0.0023267450166192037' }, { 'time': '2017-06-04T22:35:59.508Z', 'value': '0.002156521904761904' }, { 'time': '2017-06-04T22:36:59.508Z', 'value': '0.0025474356898637007' }, { 'time': '2017-06-04T22:37:59.508Z', 'value': '0.0025989409624670233' }, { 'time': '2017-06-04T22:38:59.508Z', 'value': '0.002348336664762987' }, { 'time': '2017-06-04T22:39:59.508Z', 'value': '0.002665888246554726' }, { 'time': '2017-06-04T22:40:59.508Z', 'value': '0.002652684787474174' }, { 'time': '2017-06-04T22:41:59.508Z', 'value': '0.002472620430865355' }, { 'time': '2017-06-04T22:42:59.508Z', 'value': '0.0020616469210110247' }, { 'time': '2017-06-04T22:43:59.508Z', 'value': '0.0022434546372311934' }, { 'time': '2017-06-04T22:44:59.508Z', 'value': '0.0024469386784827982' }, { 'time': '2017-06-04T22:45:59.508Z', 'value': '0.0026192823809523787' }, { 'time': '2017-06-04T22:46:59.508Z', 'value': '0.003451999542852798' }, { 'time': '2017-06-04T22:47:59.508Z', 'value': '0.0031780314285714288' }, { 'time': '2017-06-04T22:48:59.508Z', 'value': '0.0024403352380952415' }, { 'time': '2017-06-04T22:49:59.508Z', 'value': '0.001998824761904764' }, { 'time': '2017-06-04T22:50:59.508Z', 'value': '0.0023792404761904806' }, { 'time': '2017-06-04T22:51:59.508Z', 'value': '0.002725906190476185' }, { 'time': '2017-06-04T22:52:59.508Z', 'value': '0.0020989528671155624' }, { 'time': '2017-06-04T22:53:59.508Z', 'value': '0.00228808226745016' }, { 'time': '2017-06-04T22:54:59.508Z', 'value': '0.0019860807413192147' }, { 'time': '2017-06-04T22:55:59.508Z', 'value': '0.0022698085714285897' }, { 'time': '2017-06-04T22:56:59.508Z', 'value': '0.0022839098467604415' }, { 'time': '2017-06-04T22:57:59.508Z', 'value': '0.002531114761904749' }, { 'time': '2017-06-04T22:58:59.508Z', 'value': '0.0028941072550999016' }, { 'time': '2017-06-04T22:59:59.508Z', 'value': '0.002547169523809506' }, { 'time': '2017-06-04T23:00:59.508Z', 'value': '0.0024062999999999958' }, { 'time': '2017-06-04T23:01:59.508Z', 'value': '0.0026939518471604386' }, { 'time': '2017-06-04T23:02:59.508Z', 'value': '0.002362901428571429' }, { 'time': '2017-06-04T23:03:59.508Z', 'value': '0.002663927142857154' }, { 'time': '2017-06-04T23:04:59.508Z', 'value': '0.0026173314285714354' }, { 'time': '2017-06-04T23:05:59.508Z', 'value': '0.002326527366406044' }, { 'time': '2017-06-04T23:06:59.508Z', 'value': '0.002035313809523809' }, { 'time': '2017-06-04T23:07:59.508Z', 'value': '0.002421447414786533' }, { 'time': '2017-06-04T23:08:59.508Z', 'value': '0.002898313809523804' }, { 'time': '2017-06-04T23:09:59.508Z', 'value': '0.002544891856112907' }, { 'time': '2017-06-04T23:10:59.508Z', 'value': '0.002290625356938882' }, { 'time': '2017-06-04T23:11:59.508Z', 'value': '0.002483028095238096' }, { 'time': '2017-06-04T23:12:59.508Z', 'value': '0.0023396832350784237' }, { 'time': '2017-06-04T23:13:59.508Z', 'value': '0.002085529248176153' }, { 'time': '2017-06-04T23:14:59.508Z', 'value': '0.0022417815068428012' }, { 'time': '2017-06-04T23:15:59.508Z', 'value': '0.002660293333333341' }, { 'time': '2017-06-04T23:16:59.508Z', 'value': '0.0029845149093818226' }, { 'time': '2017-06-04T23:17:59.508Z', 'value': '0.0027716655079475464' }, { 'time': '2017-06-04T23:18:59.508Z', 'value': '0.0025217708908741128' }, { 'time': '2017-06-04T23:19:59.508Z', 'value': '0.0025811235131094055' }, { 'time': '2017-06-04T23:20:59.508Z', 'value': '0.002209904761904762' }, { 'time': '2017-06-04T23:21:59.508Z', 'value': '0.0025053322926383344' }, { 'time': '2017-06-04T23:22:59.508Z', 'value': '0.002350917636526411' }, { 'time': '2017-06-04T23:23:59.508Z', 'value': '0.0018477500000000078' }, { 'time': '2017-06-04T23:24:59.508Z', 'value': '0.002427629523809527' }, { 'time': '2017-06-04T23:25:59.508Z', 'value': '0.0019305498147601655' }, { 'time': '2017-06-04T23:26:59.508Z', 'value': '0.002097250000000006' }, { 'time': '2017-06-04T23:27:59.508Z', 'value': '0.002675020952780041' }, { 'time': '2017-06-04T23:28:59.508Z', 'value': '0.0023142214285714374' }, { 'time': '2017-06-04T23:29:59.508Z', 'value': '0.0023644723809523737' }, { 'time': '2017-06-04T23:30:59.508Z', 'value': '0.002108696190476198' }, { 'time': '2017-06-04T23:31:59.508Z', 'value': '0.0019918289697997194' }, { 'time': '2017-06-04T23:32:59.508Z', 'value': '0.001583584285714283' }, { 'time': '2017-06-04T23:33:59.508Z', 'value': '0.002073770226383112' }, { 'time': '2017-06-04T23:34:59.508Z', 'value': '0.0025877664234966818' }, { 'time': '2017-06-04T23:35:59.508Z', 'value': '0.0021138238095238147' }, { 'time': '2017-06-04T23:36:59.508Z', 'value': '0.0022140838095238303' }, { 'time': '2017-06-04T23:37:59.508Z', 'value': '0.0018592674425248847' }, { 'time': '2017-06-04T23:38:59.508Z', 'value': '0.0020461969533657016' }, { 'time': '2017-06-04T23:39:59.508Z', 'value': '0.0021593628571428543' }, { 'time': '2017-06-04T23:40:59.508Z', 'value': '0.0024330682564928188' }, { 'time': '2017-06-04T23:41:59.508Z', 'value': '0.0021501804779093174' }, { 'time': '2017-06-04T23:42:59.508Z', 'value': '0.0025787493928397945' }, { 'time': '2017-06-04T23:43:59.508Z', 'value': '0.002593657082448396' }, { 'time': '2017-06-04T23:44:59.508Z', 'value': '0.0021316752380952306' }, { 'time': '2017-06-04T23:45:59.508Z', 'value': '0.0026972905019952086' }, { 'time': '2017-06-04T23:46:59.508Z', 'value': '0.002580250764292983' }, { 'time': '2017-06-04T23:47:59.508Z', 'value': '0.00227103000000001' }, { 'time': '2017-06-04T23:48:59.508Z', 'value': '0.0023678515647321146' }, { 'time': '2017-06-04T23:49:59.508Z', 'value': '0.002371472857142866' }, { 'time': '2017-06-04T23:50:59.508Z', 'value': '0.0026181353688500978' }, { 'time': '2017-06-04T23:51:59.508Z', 'value': '0.0025609667711121217' }, { 'time': '2017-06-04T23:52:59.508Z', 'value': '0.0027145308139922557' }, { 'time': '2017-06-04T23:53:59.508Z', 'value': '0.0024249397613310512' }, { 'time': '2017-06-04T23:54:59.508Z', 'value': '0.002399907142857147' }, { 'time': '2017-06-04T23:55:59.508Z', 'value': '0.0024753357142857195' }, { 'time': '2017-06-04T23:56:59.508Z', 'value': '0.0026179149325231575' }, { 'time': '2017-06-04T23:57:59.508Z', 'value': '0.0024261340368186956' }, { 'time': '2017-06-04T23:58:59.508Z', 'value': '0.0021061071428571517' }, { 'time': '2017-06-04T23:59:59.508Z', 'value': '0.0024033971105037015' }, { 'time': '2017-06-05T00:00:59.508Z', 'value': '0.0028287676190475956' }, { 'time': '2017-06-05T00:01:59.508Z', 'value': '0.002499719050294778' }, { 'time': '2017-06-05T00:02:59.508Z', 'value': '0.0026726102153353856' }, { 'time': '2017-06-05T00:03:59.508Z', 'value': '0.00262582619047618' }, { 'time': '2017-06-05T00:04:59.508Z', 'value': '0.002280473147363316' }, { 'time': '2017-06-05T00:05:59.508Z', 'value': '0.002095581470652675' }, { 'time': '2017-06-05T00:06:59.508Z', 'value': '0.002270768490828408' }, { 'time': '2017-06-05T00:07:59.508Z', 'value': '0.002728577415023017' }, { 'time': '2017-06-05T00:08:59.508Z', 'value': '0.002652512857142863' }, { 'time': '2017-06-05T00:09:59.508Z', 'value': '0.0022781033924455674' }, { 'time': '2017-06-05T00:10:59.508Z', 'value': '0.0025345038095238234' }, { 'time': '2017-06-05T00:11:59.508Z', 'value': '0.002376050020000397' }, { 'time': '2017-06-05T00:12:59.508Z', 'value': '0.002455068143506122' }, { 'time': '2017-06-05T00:13:59.508Z', 'value': '0.002826705714285719' }, { 'time': '2017-06-05T00:14:59.508Z', 'value': '0.002343833692070314' }, { 'time': '2017-06-05T00:15:59.508Z', 'value': '0.00264853297122164' }, { 'time': '2017-06-05T00:16:59.508Z', 'value': '0.0027656335117426257' }, { 'time': '2017-06-05T00:17:59.508Z', 'value': '0.0025896543842439564' }, { 'time': '2017-06-05T00:18:59.508Z', 'value': '0.002180053237081201' }, { 'time': '2017-06-05T00:19:59.508Z', 'value': '0.002475245002333342' }, { 'time': '2017-06-05T00:20:59.508Z', 'value': '0.0027559767805101065' }, { 'time': '2017-06-05T00:21:59.508Z', 'value': '0.0022294836141296607' }, { 'time': '2017-06-05T00:22:59.508Z', 'value': '0.0021383590476190643' }, { 'time': '2017-06-05T00:23:59.508Z', 'value': '0.002085417956361494' }, { 'time': '2017-06-05T00:24:59.508Z', 'value': '0.0024140319047619013' }, { 'time': '2017-06-05T00:25:59.508Z', 'value': '0.0024513114285714304' }, { 'time': '2017-06-05T00:26:59.508Z', 'value': '0.0026932152380952446' }, { 'time': '2017-06-05T00:27:59.508Z', 'value': '0.0022656844350898517' }, { 'time': '2017-06-05T00:28:59.508Z', 'value': '0.0024483785714285704' }, { 'time': '2017-06-05T00:29:59.508Z', 'value': '0.002559505804817207' }, { 'time': '2017-06-05T00:30:59.508Z', 'value': '0.0019485681088751649' }, { 'time': '2017-06-05T00:31:59.508Z', 'value': '0.00228367984456996' }, { 'time': '2017-06-05T00:32:59.508Z', 'value': '0.002522149047619049' }, { 'time': '2017-06-05T00:33:59.508Z', 'value': '0.0026860117715406737' }, { 'time': '2017-06-05T00:34:59.508Z', 'value': '0.002679669523809523' }, { 'time': '2017-06-05T00:35:59.508Z', 'value': '0.0022201920970675937' }, { 'time': '2017-06-05T00:36:59.508Z', 'value': '0.0022917647619047615' }, { 'time': '2017-06-05T00:37:59.508Z', 'value': '0.0021774059294673576' }, { 'time': '2017-06-05T00:38:59.508Z', 'value': '0.0024637766666666763' }, { 'time': '2017-06-05T00:39:59.508Z', 'value': '0.002470468290174195' }, { 'time': '2017-06-05T00:40:59.508Z', 'value': '0.0022188616082057812' }, { 'time': '2017-06-05T00:41:59.508Z', 'value': '0.002421840744373875' }, { 'time': '2017-06-05T00:42:59.508Z', 'value': '0.0023918266666666547' }, { 'time': '2017-06-05T00:43:59.508Z', 'value': '0.002195743809523809' }, { 'time': '2017-06-05T00:44:59.508Z', 'value': '0.0025514828571428687' }, { 'time': '2017-06-05T00:45:59.508Z', 'value': '0.0027981709349612694' }, { 'time': '2017-06-05T00:46:59.508Z', 'value': '0.002557977142857146' }, { 'time': '2017-06-05T00:47:59.508Z', 'value': '0.002213244285714286' }, { 'time': '2017-06-05T00:48:59.508Z', 'value': '0.0025706738095238046' }, { 'time': '2017-06-05T00:49:59.508Z', 'value': '0.002210976666666671' }, { 'time': '2017-06-05T00:50:59.508Z', 'value': '0.002055377091646749' }, { 'time': '2017-06-05T00:51:59.508Z', 'value': '0.002308368095238119' }, { 'time': '2017-06-05T00:52:59.508Z', 'value': '0.0024687939885141615' }, { 'time': '2017-06-05T00:53:59.508Z', 'value': '0.002563018571428578' }, { 'time': '2017-06-05T00:54:59.508Z', 'value': '0.00240563291078959' } ] } ] } ] }, { 'title': 'Memory usage', 'weight': 1, 'y_label': 'Values', 'queries': [ { 'query_range': 'avg(container_memory_usage_bytes{%{environment_filter}}) / 2^20', 'label': 'Container memory', 'unit': 'MiB', 'result': [ { 'metric': { }, 'values': [ { 'time': '2017-06-04T21:22:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:23:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:24:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:25:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:26:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:27:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:28:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:29:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:30:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:31:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:32:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:33:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:34:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:35:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:36:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:37:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:38:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:39:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:40:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:41:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:42:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:43:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:44:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:45:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:46:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:47:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:48:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:49:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:50:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:51:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:52:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:53:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:54:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:55:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:56:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:57:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:58:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T21:59:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:00:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:01:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:02:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:03:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:04:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:05:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:06:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:07:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:08:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:09:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:10:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:11:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:12:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:13:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:14:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:15:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:16:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:17:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:18:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:19:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:20:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:21:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:22:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:23:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:24:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:25:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:26:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:27:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:28:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:29:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:30:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:31:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:32:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:33:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:34:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:35:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:36:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:37:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:38:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:39:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:40:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:41:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:42:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:43:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:44:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:45:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:46:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:47:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:48:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:49:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:50:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:51:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:52:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:53:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:54:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:55:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:56:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:57:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:58:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T22:59:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:00:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:01:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:02:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:03:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:04:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:05:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:06:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:07:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:08:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:09:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:10:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:11:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:12:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:13:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:14:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:15:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:16:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:17:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:18:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:19:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:20:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:21:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:22:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:23:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:24:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:25:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:26:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:27:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:28:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:29:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:30:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:31:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:32:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:33:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:34:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:35:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:36:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:37:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:38:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:39:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:40:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:41:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:42:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:43:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:44:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:45:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:46:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:47:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:48:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:49:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:50:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:51:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:52:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:53:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:54:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:55:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:56:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:57:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:58:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-04T23:59:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:00:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:01:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:02:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:03:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:04:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:05:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:06:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:07:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:08:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:09:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:10:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:11:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:12:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:13:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:14:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:15:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:16:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:17:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:18:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:19:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:20:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:21:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:22:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:23:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:24:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:25:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:26:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:27:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:28:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:29:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:30:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:31:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:32:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:33:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:34:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:35:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:36:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:37:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:38:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:39:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:40:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:41:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:42:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:43:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:44:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:45:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:46:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:47:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:48:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:49:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:50:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:51:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:52:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:53:59.508Z', 'value': '15.0859375' }, { 'time': '2017-06-05T00:54:59.508Z', 'value': '15.0859375' } ] } ] } ] } ]; export function MonitorMockInterceptor(request, next) { const body = responseMockData[request.method.toUpperCase()][request.url]; next(request.respondWith(JSON.stringify(body), { status: 200, })); }