mockData.ts 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274
  1. export const mockData = () => {
  2. return [
  3. {
  4. metric: {
  5. __name__: 'prometheus_http_request_duration_seconds_bucket',
  6. handler: '/label/:name/values',
  7. instance: 'localhost:9090',
  8. job: 'prometheus',
  9. le: '+Inf',
  10. },
  11. values: [[1537858100, '16'], [1537861960, '1'], [1537861980, '1']],
  12. },
  13. {
  14. metric: {
  15. __name__: 'prometheus_http_request_duration_seconds_bucket',
  16. handler: '/label/:name/values',
  17. instance: 'localhost:9090',
  18. job: 'prometheus',
  19. le: '0.1',
  20. },
  21. values: [[1537858100, '16'], [1537861960, '1'], [1537861980, '1']],
  22. },
  23. {
  24. metric: {
  25. __name__: 'prometheus_http_request_duration_seconds_bucket',
  26. handler: '/label/:name/values',
  27. instance: 'localhost:9090',
  28. job: 'prometheus',
  29. le: '0.2',
  30. },
  31. values: [[1537858100, '16'], [1537861960, '1'], [1537861980, '1']],
  32. },
  33. {
  34. metric: {
  35. __name__: 'prometheus_http_request_duration_seconds_bucket',
  36. handler: '/label/:name/values',
  37. instance: 'localhost:9090',
  38. job: 'prometheus',
  39. le: '0.4',
  40. },
  41. values: [[1537858100, '16'], [1537861960, '1'], [1537861980, '1']],
  42. },
  43. {
  44. metric: {
  45. __name__: 'prometheus_http_request_duration_seconds_bucket',
  46. handler: '/label/:name/values',
  47. instance: 'localhost:9090',
  48. job: 'prometheus',
  49. le: '1',
  50. },
  51. values: [[1537858100, '16'], [1537861960, '1'], [1537861980, '1']],
  52. },
  53. {
  54. metric: {
  55. __name__: 'prometheus_http_request_duration_seconds_bucket',
  56. handler: '/label/:name/values',
  57. instance: 'localhost:9090',
  58. job: 'prometheus',
  59. le: '120',
  60. },
  61. values: [[1537858100, '16'], [1537861960, '1'], [1537861980, '1']],
  62. },
  63. {
  64. metric: {
  65. __name__: 'prometheus_http_request_duration_seconds_bucket',
  66. handler: '/label/:name/values',
  67. instance: 'localhost:9090',
  68. job: 'prometheus',
  69. le: '20',
  70. },
  71. values: [[1537858100, '16'], [1537861960, '1'], [1537861980, '1']],
  72. },
  73. {
  74. metric: {
  75. __name__: 'prometheus_http_request_duration_seconds_bucket',
  76. handler: '/label/:name/values',
  77. instance: 'localhost:9090',
  78. job: 'prometheus',
  79. le: '3',
  80. },
  81. values: [[1537858100, '16'], [1537861960, '1'], [1537861980, '1']],
  82. },
  83. {
  84. metric: {
  85. __name__: 'prometheus_http_request_duration_seconds_bucket',
  86. handler: '/label/:name/values',
  87. instance: 'localhost:9090',
  88. job: 'prometheus',
  89. le: '60',
  90. },
  91. values: [[1537858100, '16'], [1537861960, '1'], [1537861980, '1']],
  92. },
  93. {
  94. metric: {
  95. __name__: 'prometheus_http_request_duration_seconds_bucket',
  96. handler: '/label/:name/values',
  97. instance: 'localhost:9090',
  98. job: 'prometheus',
  99. le: '8',
  100. },
  101. values: [[1537858100, '16'], [1537861960, '1'], [1537861980, '1']],
  102. },
  103. {
  104. metric: {
  105. __name__: 'prometheus_http_request_duration_seconds_bucket',
  106. handler: '/metrics',
  107. instance: 'localhost:9090',
  108. job: 'prometheus',
  109. le: '+Inf',
  110. },
  111. values: [[1537858060, '1195'], [1537858080, '1195'], [1537858100, '1195']],
  112. },
  113. {
  114. metric: {
  115. __name__: 'prometheus_http_request_duration_seconds_bucket',
  116. handler: '/metrics',
  117. instance: 'localhost:9090',
  118. job: 'prometheus',
  119. le: '0.1',
  120. },
  121. values: [[1537858060, '1195'], [1537858080, '1195'], [1537858100, '1195']],
  122. },
  123. {
  124. metric: {
  125. __name__: 'prometheus_http_request_duration_seconds_bucket',
  126. handler: '/metrics',
  127. instance: 'localhost:9090',
  128. job: 'prometheus',
  129. le: '0.4',
  130. },
  131. values: [[1537858060, '1195'], [1537858080, '1195'], [1537858100, '1195']],
  132. },
  133. {
  134. metric: {
  135. __name__: 'prometheus_http_request_duration_seconds_bucket',
  136. handler: '/metrics',
  137. instance: 'localhost:9090',
  138. job: 'prometheus',
  139. le: '1',
  140. },
  141. values: [[1537847900, '953'], [1537858080, '1195'], [1537858100, '1195']],
  142. },
  143. {
  144. metric: {
  145. __name__: 'prometheus_http_request_duration_seconds_bucket',
  146. handler: '/metrics',
  147. instance: 'localhost:9090',
  148. job: 'prometheus',
  149. le: '120',
  150. },
  151. values: [[1537858060, '1195'], [1537858080, '1195'], [1537858100, '1195']],
  152. },
  153. {
  154. metric: {
  155. __name__: 'prometheus_http_request_duration_seconds_bucket',
  156. handler: '/metrics',
  157. instance: 'localhost:9090',
  158. job: 'prometheus',
  159. le: '20',
  160. },
  161. values: [[1537858060, '1195'], [1537858080, '1195'], [1537858100, '1195']],
  162. },
  163. {
  164. metric: {
  165. __name__: 'prometheus_http_request_duration_seconds_bucket',
  166. handler: '/metrics',
  167. instance: 'localhost:9090',
  168. job: 'prometheus',
  169. le: '3',
  170. },
  171. values: [[1537858060, '1195'], [1537858080, '1195'], [1537858100, '1195']],
  172. },
  173. {
  174. metric: {
  175. __name__: 'prometheus_http_request_duration_seconds_bucket',
  176. handler: '/metrics',
  177. instance: 'localhost:9090',
  178. job: 'prometheus',
  179. le: '60',
  180. },
  181. values: [[1537858060, '1195'], [1537858080, '1195'], [1537858100, '1195']],
  182. },
  183. {
  184. metric: {
  185. __name__: 'prometheus_http_request_duration_seconds_bucket',
  186. handler: '/metrics',
  187. instance: 'localhost:9090',
  188. job: 'prometheus',
  189. le: '8',
  190. },
  191. values: [[1537858060, '1195'], [1537858080, '1195'], [1537858100, '1195']],
  192. },
  193. {
  194. metric: {
  195. __name__: 'prometheus_http_request_duration_seconds_bucket',
  196. handler: '/query',
  197. instance: 'localhost:9090',
  198. job: 'prometheus',
  199. le: '+Inf',
  200. },
  201. values: [[1537858100, '55'], [1537861960, '1'], [1537861980, '1']],
  202. },
  203. {
  204. metric: {
  205. __name__: 'prometheus_http_request_duration_seconds_bucket',
  206. handler: '/query',
  207. instance: 'localhost:9090',
  208. job: 'prometheus',
  209. le: '0.1',
  210. },
  211. values: [[1537858100, '55'], [1537861960, '1'], [1537861980, '1']],
  212. },
  213. {
  214. metric: {
  215. __name__: 'prometheus_http_request_duration_seconds_bucket',
  216. handler: '/query',
  217. instance: 'localhost:9090',
  218. job: 'prometheus',
  219. le: '0.2',
  220. },
  221. values: [[1537858100, '55'], [1537861960, '1'], [1537861980, '1']],
  222. },
  223. {
  224. metric: {
  225. __name__: 'prometheus_http_request_duration_seconds_bucket',
  226. handler: '/query',
  227. instance: 'localhost:9090',
  228. job: 'prometheus',
  229. le: '0.4',
  230. },
  231. values: [[1537858100, '55'], [1537861960, '1'], [1537861980, '1']],
  232. },
  233. {
  234. metric: {
  235. __name__: 'prometheus_http_request_duration_seconds_bucket',
  236. handler: '/query',
  237. instance: 'localhost:9090',
  238. job: 'prometheus',
  239. le: '1',
  240. },
  241. values: [[1537858100, '55'], [1537861960, '1'], [1537861980, '1']],
  242. },
  243. {
  244. metric: {
  245. __name__: 'prometheus_http_request_duration_seconds_bucket',
  246. handler: '/query',
  247. instance: 'localhost:9090',
  248. job: 'prometheus',
  249. le: '120',
  250. },
  251. values: [[1537858100, '55'], [1537861960, '1'], [1537861980, '1']],
  252. },
  253. {
  254. metric: {
  255. __name__: 'prometheus_http_request_duration_seconds_bucket',
  256. handler: '/query',
  257. instance: 'localhost:9090',
  258. job: 'prometheus',
  259. le: '20',
  260. },
  261. values: [[1537858100, '55'], [1537861960, '1'], [1537861980, '1']],
  262. },
  263. {
  264. metric: {
  265. __name__: 'prometheus_http_request_duration_seconds_bucket',
  266. handler: '/query',
  267. instance: 'localhost:9090',
  268. job: 'prometheus',
  269. le: '3',
  270. },
  271. values: [[1537857260, '55'], [1537861960, '1'], [1537861980, '1']],
  272. },
  273. ];
  274. };