{"id":54601,"date":"2019-12-30T00:00:00","date_gmt":"2019-12-29T21:00:00","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/vybiraem-hranilishhe-dannyh-dlya-prometheus-thanos-vs-victoriametrics"},"modified":"2020-02-18T14:02:38","modified_gmt":"2020-02-18T11:02:38","slug":"vybiraem-hranilishhe-dannyh-dlya-prometheus-thanos-vs-victoriametrics","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/vybiraem-hranilishhe-dannyh-dlya-prometheus-thanos-vs-victoriametrics","title":{"rendered":"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>P\u00ebrsh\u00ebndetje t\u00eb gjith\u00ebve. M\u00eb posht\u00eb \u00ebsht\u00eb nj\u00eb p\u00ebrmbledhje <noindex><a rel=\"nofollow\" href=\"https:\/\/www.youtube.com\/watch?v=HyOXAdQE0Pk\">e raportit nga Big Monitoring Meetup 4<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p><strong><noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/prometheus\">Prometheus<\/a><\/noindex><\/strong> \u2013 nj\u00eb sistem monitorimi p\u00ebr sisteme dhe sh\u00ebrbime t\u00eb ndryshme, p\u00ebrmes t\u00eb cilit administrator\u00ebt e sistemeve mund t\u00eb mbledhin informacion mbi parametrat aktual\u00eb t\u00eb sistemeve dhe t\u00eb konfigurojn\u00eb njoftime p\u00ebr t\u00eb marr\u00eb alarme n\u00eb rast devijimesh n\u00eb pun\u00ebn e sistemeve.<\/p>\n<p><\/p>\n<p>N\u00eb raport do t\u00eb ket\u00eb krahasime <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/thanos-io\/thanos\">Thanos<\/a><\/noindex> dhe <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/VictoriaMetrics\/VictoriaMetrics\">VictoriaMetrics<\/a><\/noindex> \u2013 projekte p\u00ebr ruajtjen afatgjat\u00eb t\u00eb metrikave Prometheus.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/b65866353c1f816a8cb2a90af1ceac23.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p>\n<center><div class=\"youtube-placeholder\" data-id=\"HyOXAdQE0Pk\" onclick=\"loadVideo(this)\">\r\n        <img decoding=\"async\" src=\"https:\/\/img.youtube.com\/vi\/HyOXAdQE0Pk\/hqdefault.jpg\" alt=\"Luaj videon\" loading=\"lazy\" width=\"480\" height=\"360\" style=\"width:100%;height:auto;\">\r\n        <div class=\"play-button\"><\/div>\r\n    <\/div><\/center><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/dc3c90711a8102d3e70b972ca47ec152.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Fillimisht do t\u00eb flas p\u00ebr Prometheus. \u00cbsht\u00eb nj\u00eb sistem monitorimi q\u00eb mbledh metrika nga target\u00ebt e caktuar dhe i ruan ato n\u00eb nj\u00eb magazin\u00eb lokale. Prometheus mund t\u00eb regjistronte metrika n\u00eb nj\u00eb magazin\u00eb t\u00eb larg\u00ebt, mund t\u00eb gjeneronte alarme dhe rregulla regjistrimi. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/e9852597e74c675d2216d971f19857c2.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<h3 id=\"ogranicheniya-prometheus\">Kufizimet e Prometheus:<\/h3>\n<p><\/p>\n<ul>\n<li>Ai nuk ka pamje globale t\u00eb k\u00ebrkimit. Ky \u00ebsht\u00eb rasti kur keni disa instance t\u00eb pavarura t\u00eb Prometheus. Ato mbledhin metrika. Dhe ju d\u00ebshironi t\u00eb b\u00ebni nj\u00eb k\u00ebrkes\u00eb mbi t\u00eb gjitha k\u00ebto metrika, t\u00eb mbledhura nga instance t\u00eb ndryshme t\u00eb Prometheus. Prometheus nuk e lejon k\u00ebt\u00eb.<\/li>\n<li>N\u00eb prometheus, performanca \u00ebsht\u00eb e kufizuar vet\u00ebm n\u00eb nj\u00eb server. Prometheus automatikisht nuk mund t\u00eb shkall\u00ebzohet n\u00eb disa server\u00eb. Ju mund vet\u00ebm t\u00eb ndani manualisht target\u00ebt tuaj midis disa Prometheus-ve.<\/li>\n<li>V\u00ebllimi i metrikave n\u00eb Prometheus \u00ebsht\u00eb i kufizuar vet\u00ebm n\u00eb nj\u00eb server p\u00ebr t\u00eb nj\u00ebjt\u00ebn arsye, p\u00ebr t\u00eb cil\u00ebn ai automatikisht nuk mund t\u00eb shkall\u00ebzohet n\u00eb disa servera.<\/li>\n<li>N\u00eb Prometheus nuk \u00ebsht\u00eb aq e leht\u00eb t\u00eb organizoni ruajtjen e t\u00eb dh\u00ebnave.<\/li>\n<\/ul>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/c140d41f1fe39d33e1fc84f5cc111481.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<h3 id=\"resheniya-etih-problemzadach\">Zgjidhjet p\u00ebr k\u00ebto probleme\/\u00e7\u00ebshtje?<\/h3>\n<p><\/p>\n<p>Zgjidhjet jan\u00eb:<\/p>\n<p><\/p>\n<ul>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/thanos-io\/thanos\">Thanos<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/VictoriaMetrics\/VictoriaMetrics\">VictoriaMetrics<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/m3db\">Uber M3<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/cortexproject\/cortex\">Cortex<\/a><\/noindex><\/li>\n<\/ul>\n<p><\/p>\n<p>T\u00eb gjitha k\u00ebto zgjidhje jan\u00eb p\u00ebr ruajtjen e t\u00eb dh\u00ebnave t\u00eb larg\u00ebta, t\u00eb mbledhura nga Prometheus. Ato zgjidhin problemin e ruajtjes s\u00eb larg\u00ebt nga slide-i i m\u00ebparsh\u00ebm n\u00eb m\u00ebnyra t\u00eb ndryshme. N\u00eb k\u00ebt\u00eb prezantim do t\u00eb flas vet\u00ebm p\u00ebr dy zgjidhjet e para: <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/thanos-io\/thanos\">Thanos<\/a><\/noindex> dhe <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/VictoriaMetrics\/VictoriaMetrics\">VictoriaMetrics<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p>P\u00ebr her\u00eb t\u00eb par\u00eb informacioni mbi <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/thanos-io\/thanos\">Thanos<\/a><\/noindex> u shfaq n\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/improbable.io\/blog\/thanos-prometheus-at-scale\">k\u00ebt\u00eb lidhje<\/a><\/noindex>. Aty p\u00ebrshkruhet arkitektura <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/thanos-io\/thanos\">Thanos<\/a><\/noindex> dhe si funksionon.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/317db6bb4c3cd69d8742addb2bae16a4.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Thanos merr t\u00eb dh\u00ebnat, t\u00eb cilat Prometheus i ka ruajtur n\u00eb diskun lokal, dhe i kopjon ato n\u00eb S3, n\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/cloud.google.com\/storage\/\">GCS<\/a><\/noindex> ose n\u00eb nj\u00eb ruajtje tjet\u00ebr objekti.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/7cf5f99dc5ce78f22c5956373812c0aa.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>K\u00ebshtu, Thanos siguron pamjen globale t\u00eb k\u00ebrkimit. Ju mund t\u00eb k\u00ebrkoni t\u00eb dh\u00ebna, t\u00eb ruajtura n\u00eb ruajtjen e objektit me disa instance t\u00eb Prometheus.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/286cf441fe18fb756c2708086872d8d8.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Thanos mb\u00ebshtet PromQL dhe <noindex><a rel=\"nofollow\" href=\"https:\/\/prometheus.io\/docs\/prometheus\/latest\/querying\/api\/\">API-n\u00eb e k\u00ebrkimit t\u00eb Prometheus<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/6a750070d76414370501a8153cd48007.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Thanos p\u00ebrdor kodin e Prometheus p\u00ebr ruajtjen e t\u00eb dh\u00ebnave.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/ba0ca17154f9407900efc336f213ba07.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Thanos zhvillohet nga t\u00eb nj\u00ebjt\u00ebt zhvillues, q\u00eb zhvillojn\u00eb edhe Prometheus.<\/p>\n<p><\/p>\n<p>P\u00ebr <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/VictoriaMetrics\/VictoriaMetrics\">VictoriaMetrics<\/a><\/noindex>. Ja <noindex><a rel=\"nofollow\" href=\"https:\/\/medium.com\/faun\/victoriametrics-creating-the-best-remote-storage-for-prometheus-5d92d66787ac\">link<\/a><\/noindex>, ku fol\u00ebm p\u00ebr her\u00eb t\u00eb par\u00eb p\u00ebr <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/VictoriaMetrics\/VictoriaMetrics\">VictoriaMetrics<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/a901d016e6e58c40c6c7c96b1cd5a8c9.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>VictoriaMetrics merr t\u00eb dh\u00ebnat nga disa Prometheus p\u00ebrmes <noindex><a rel=\"nofollow\" href=\"https:\/\/prometheus.io\/docs\/practices\/remote_write\/\">API-s\u00eb s\u00eb shkrimit t\u00eb larg\u00ebt,<\/a><\/noindex> protokollit, t\u00eb mb\u00ebshtetur nga Prometheus.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/24798414102cc63a1a1062c5ae327f4c.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>VictoriaMetrics ofron global query view, pasi disa instanca t\u00eb Prometheus mund t\u00eb shkruajn\u00eb t\u00eb dh\u00ebna n\u00eb nj\u00eb VictoriaMetrics. Prandaj, mund t\u00eb b\u00ebni k\u00ebrkesa mbi k\u00ebto t\u00eb dh\u00ebna.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/a717855dbdf1df859927a75557ee2573.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>VictoriaMetrics gjithashtu mb\u00ebshtet, ashtu si Thanos \u2014 PromQL dhe Prometheus querying API.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/84daf1b7e160e6f9d8a53a83329f2436.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>N\u00eb ndryshim nga Thanos, kodi burimor i VictoriaMetrics \u00ebsht\u00eb shkruar nga e para dhe \u00ebsht\u00eb optimizuar p\u00ebr shpejt\u00ebsi dhe burime t\u00eb konsumit. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/371dee8d4705438f560245c4e5e7444f.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>VictoriaMetrics, ndryshe nga Thanos, shkall\u00ebzohet si verticalisht ashtu edhe horizontalisht. Ka <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/VictoriaMetrics\/VictoriaMetrics\/blob\/master\/README.md\">versionin Single-node<\/a><\/noindex>, i cili shkall\u00ebzohet verticalisht. Mund t\u00eb filloni me nj\u00eb procesor dhe 1 GB memorie dhe gradualisht t\u00eb rriteni deri n\u00eb qindra procesor\u00eb dhe 1TB memorie. VictoriaMetrics di t\u00eb p\u00ebrdor\u00eb t\u00eb gjitha k\u00ebto burime. Performanca e saj do t\u00eb rritet rreth 100 her\u00eb n\u00eb krahasim me nj\u00eb sistem me 1 b\u00ebrtham\u00eb. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/697e77546cda492f8512e7e761c0300f.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Historia e Thanos filloi n\u00eb n\u00ebntor 2017, kur u b\u00eb komiti i par\u00eb publik. Para k\u00ebsaj, Thanos u zhvillua brenda kompanis\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/improbable.io\">improbable.io<\/a><\/noindex>. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/610a81cfb98082bb61b7ae28b00d2c78.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>N\u00eb qershor 2019, pati nj\u00eb publikim t\u00eb r\u00ebnd\u00ebsish\u00ebm 0.5.0, n\u00eb t\u00eb cilin <noindex><a rel=\"nofollow\" href=\"https:\/\/thanos.io\/proposals\/201809_gossip-removal.md\/\">u hoq<\/a><\/noindex> <noindex><a rel=\"nofollow\" href=\"https:\/\/en.wikipedia.org\/wiki\/Gossip_protocol\">protokolli<\/a><\/noindex> gossip. E hoq\u00ebm at\u00eb nga Thanos, sepse tregoi se nuk funksiononte mir\u00eb. Shpesh, klasteri i Thanos nuk punonte si\u00e7 duhej, node-t lidheshin gabim p\u00ebr shkak t\u00eb protokollit gossip. Prandaj u vendos t\u00eb hiqet nga aty. Mendoj se kjo \u00ebsht\u00eb nj\u00eb vendim i drejt\u00eb. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/d7ecf0105d46464aadc4c46147edf9dc.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>N\u00eb t\u00eb nj\u00ebjtin qershor 2019, ata paraqit\u00ebn aplikimin e numrit <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/cncf\/toc\/pull\/256\">256<\/a><\/noindex> n\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/www.cncf.io\/\">Cloud Native Computing Foundation<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/a8685a616bbdc619009c570e28c9f15b.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Dhe pas disa muajsh Thanos u pranua n\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/www.cncf.io\/\">Cloud Native Computing Foundation<\/a><\/noindex>, e cila p\u00ebrfshin Prometheus, Kubernetes dhe projekte t\u00eb tjera t\u00eb njohura.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/90c64c519aa283b13ce64b96da5ac945.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>N\u00eb janar 2018, filloi zhvillimi i VictoriaMetrics.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/c2243e3e0a8d00715644d7c84627c5cb.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>N\u00eb shtator 2018 p\u00ebr her\u00eb t\u00eb par\u00eb e p\u00ebrmenda publikisht VictoriaMetrics.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/66feecad1783c36651cdf2a19e6d0d70.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>N\u00eb dhjetor 2018, u publikua versioni Single-node.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/aacf5d683c7d639df7a9f05e297f08c4.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>N\u00eb maj 2019 <noindex><a rel=\"nofollow\" href=\"https:\/\/blog.usejournal.com\/open-sourcing-victoriametrics-f31e34485c2b\">u botuan<\/a><\/noindex> kode burimore si p\u00ebr versionin Single-node ashtu edhe p\u00ebr versionin klaster. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/6da160c13c87133b1994ef32f86db077.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>N\u00eb qershor 2019, ashtu si Thanos, ne d\u00ebrguam nj\u00eb aplikim n\u00eb CNCF foundation me numrin <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/cncf\/toc\/pull\/255\">255<\/a><\/noindex>. Ne e d\u00ebrguam aplikimin nj\u00eb dit\u00eb p\u00ebrpara se Thanos ta d\u00ebrgonte at\u00eb. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/12c281eae67b3cec5a66fab41aee1fdb.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Por, fatkeq\u00ebsisht, ende nuk na kan\u00eb pranuar atje. Ne kemi nevoj\u00eb p\u00ebr ndihm\u00ebn e komunitetit.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/ab7b20661c3cfa01209cd742eb71a898.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Le t\u00eb shqyrtojm\u00eb slidet m\u00eb t\u00eb r\u00ebnd\u00ebsishme, t\u00eb cilat tregojn\u00eb arkitektur\u00ebn e Thanos dhe VictoriaMetrics.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/a268b600bcd0cebfd9c5069d2d911a9d.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Le t\u00eb fillojm\u00eb me Thanos. Komponent\u00ebt e verdh\u00eb jan\u00eb komponent\u00ebt e Prometheus. Gjith\u00e7ka tjet\u00ebr \u00ebsht\u00eb komponent\u00eb t\u00eb Thanos. Le t\u00eb fillojm\u00eb me komponentin m\u00eb t\u00eb r\u00ebnd\u00ebsish\u00ebm. Thanos Sidecar \u2014 \u00ebsht\u00eb komponent q\u00eb instalon p\u00ebrkrah \u00e7do Prometheus. Ai merret me ngarkimin e t\u00eb dh\u00ebnave t\u00eb Prometheus nga storage lokal n\u00eb S3 ose n\u00eb nj\u00eb Object Storage tjet\u00ebr. <\/p>\n<p><\/p>\n<p>Kaft\u00eb edhe nj\u00eb komponent, si Thanos Store Gateway, i cili di t\u00eb lexoj\u00eb k\u00ebto t\u00eb dh\u00ebna nga Object Storage n\u00eb k\u00ebrkesat e ardhshme nga Thanos Query. Thanos Query implementon PromQL dhe Prometheus API. Pra, nga jasht\u00eb ai duket si Prometheus. Prisni k\u00ebrkesat PromQL, i d\u00ebrgon ato n\u00eb Thanos Store Gateway, Thanos Store Gateway nxjerr t\u00eb dh\u00ebnat e nevojshme nga Object Storage dhe i d\u00ebrgon ato prapa.<\/p>\n<p><\/p>\n<p>Por ne n\u00eb Object Storage ruajm\u00eb t\u00eb dh\u00ebna pa dy or\u00ebt e fundit p\u00ebr shkak t\u00eb ve\u00e7orive t\u00eb implementimit t\u00eb Thanos Sidecar, i cili nuk mund t\u00eb ngarkoj\u00eb dy or\u00ebt e fundit n\u00eb Object Storage S3, pasi p\u00ebr k\u00ebto dy or\u00eb Prometheus ende nuk ka krijuar skedar\u00ebt n\u00eb ruajtjen lokale.<\/p>\n<p><\/p>\n<p>Si e zgjidh\u00ebm k\u00ebt\u00eb? Thanos Query, p\u00ebrve\u00e7 se d\u00ebrgon k\u00ebrkesa n\u00eb Thanos Store Gateway, d\u00ebrgon paralelisht k\u00ebrkesa n\u00eb \u00e7do Thanos Sidecar, i cili ndodhet af\u00ebr Prometheus. <\/p>\n<p><\/p>\n<p>Dhe Thanos Sidecar, nga ana e tij, proksionon k\u00ebrkesat m\u00eb tej n\u00eb Prometheus dhe shkarkon t\u00eb dh\u00ebnat p\u00ebr dy or\u00ebt e fundit.<\/p>\n<p><\/p>\n<p>P\u00ebrve\u00e7 k\u00ebtyre komponent\u00ebve, ka edhe nj\u00eb komponent opsional, pa t\u00eb cilin Thanos do t\u00eb ket\u00eb v\u00ebshtir\u00ebsi. Ky \u00ebsht\u00eb Thanos Compact, i cili merret me bashkimin e skedar\u00ebve t\u00eb vegj\u00ebl n\u00eb Object Storage n\u00eb skedar\u00eb m\u00eb t\u00eb m\u00ebdhenj, t\u00eb cil\u00ebt jan\u00eb ngarkuar k\u00ebtu nga Thanos Sidecar-\u00ebt. Thanos Sidecar ngarkon k\u00ebto skedar\u00eb me t\u00eb dh\u00ebna p\u00ebr dy or\u00eb. K\u00ebta skedar\u00eb, n\u00ebse nuk bashkohen n\u00eb skedar\u00eb m\u00eb t\u00eb m\u00ebdhenj, mund t\u00eb rriten shum\u00eb. Sa m\u00eb shum\u00eb skedar\u00eb t\u00eb till\u00eb, aq m\u00eb shum\u00eb memorie k\u00ebrkohet p\u00ebr Thanos Store Gateway, aq m\u00eb shum\u00eb burime jan\u00eb t\u00eb nevojshme p\u00ebr transferimin e t\u00eb dh\u00ebnave n\u00eb rrjet, metadatat. Puneja e Thanos Store Gateway b\u00ebhet joefikase. Prandaj, \u00ebsht\u00eb thelb\u00ebsore t\u00eb aktivizohet Thanos Compact, i cili bashkon skedar\u00eb t\u00eb vegj\u00ebl n\u00eb m\u00eb t\u00eb m\u00ebdhenj, p\u00ebr t\u00eb reduktuar numrin e skedar\u00ebve t\u00eb till\u00eb dhe p\u00ebr t\u00eb zvog\u00ebluar overheadin n\u00eb Thanos Store Gateway.<\/p>\n<p><\/p>\n<p>Ka gjithashtu nj\u00eb komponent si Thanos Ruler. Ai realizon rregullat e alertimit t\u00eb Prometheus dhe mund t\u00eb llogaris\u00eb rregullat e regjistrimit t\u00eb Prometheus, p\u00ebr t\u00eb regjistruar p\u00ebrs\u00ebri t\u00eb dh\u00ebnat n\u00eb Object Storage. Por ky komponent nuk rekomandohet p\u00ebr t'u p\u00ebrdorur, pasi ai <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/thanos-io\/thanos\/blob\/master\/docs\/components\/rule.md#risk\">\u00ebsht\u00eb \u0441\u043a\u043b\u043e\u043d\u0435\u043d \u0434\u0430 \u0432\u0440\u044a\u0449\u0430 \u043d\u0435\u043f\u044a\u043b\u043d\u0438 \u0434\u0430\u043d\u043d\u0438<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p>Kjo \u00ebsht\u00eb nj\u00eb skem\u00eb e thjesht\u00eb e Thanos. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/3f7cd77a1c056bf7ac245c774d05ea34.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Tani, le t\u00eb krahasojm\u00eb me skem\u00ebn e VictoriaMetrics.<\/p>\n<p><\/p>\n<p>VictoriaMetrics ka 2 versione: Single-node dhe versione klust\u00ebr. Single-node funksionon n\u00eb nj\u00eb kompjuter. N\u00eb Single-node nuk ka k\u00ebto komponent\u00eb, thjesht nj\u00eb binar. Ky binar n\u00eb slajd duket si ky katror. T\u00eb gjitha ato q\u00eb ndodhen brenda katrorit jan\u00eb p\u00ebrmbajtja e skedarit binar t\u00eb versionit Single-node. Nuk \u00ebsht\u00eb e nevojshme t\u00eb dini p\u00ebr t\u00eb. Thjesht e aktivizoni binarin \u2014 dhe gjith\u00e7ka funksionon. <\/p>\n<p><\/p>\n<p>Versioni e klaster\u00ebve \u00ebsht\u00eb m\u00eb e komplikuar. Brenda saj ndodhen tre komponent\u00eb t\u00eb ndrysh\u00ebm: vmselect, vminsert dhe vmstorage. Nga emrat e tyre duhet t\u00eb b\u00ebhet e qart\u00eb se \u00e7far\u00eb b\u00ebn secili prej tyre. Komponenti Insert pranon t\u00eb dh\u00ebna n\u00eb formate t\u00eb ndryshme: nga Prometheus remote write API, protokolli Influx line, protokolli Graphite dhe nga protokolli OpenTSDB. Komponenti Insert i pranon, i parse dhe i shp\u00ebrndan mes komponent\u00ebve storage t\u00eb disponuesh\u00ebm, ku t\u00eb dh\u00ebnat ruhet tashm\u00eb. Komponenti Select, nga ana tjet\u00ebr, pranon k\u00ebrkesat PromQL. Ai realizon <noindex><a rel=\"nofollow\" href=\"https:\/\/medium.com\/@valyala\/promql-tutorial-for-beginners-9ab455142085\">PromQL<\/a><\/noindex>, si dhe API-n\u00eb e k\u00ebrkimeve t\u00eb Prometheus, dhe ai mund t\u00eb p\u00ebrdoret si nj\u00eb z\u00ebvend\u00ebsim i Prometheus n\u00eb Grafana ose n\u00eb klient\u00ebt e tjer\u00eb t\u00eb API-s\u00eb s\u00eb Prometheus. Select pranon nj\u00eb k\u00ebrkes\u00eb promql, e parse at\u00eb, lexon t\u00eb dh\u00ebnat e nevojshme p\u00ebr ekzekutimin e k\u00ebsaj k\u00ebrkese nga nodet storage, i proceson k\u00ebto t\u00eb dh\u00ebna dhe kthen p\u00ebrgjigjen.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/5b4f1ec2504c1bea423e58ced26570bd.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Le t\u00eb krahasojm\u00eb kompleksitetin e instalimit t\u00eb Thanos dhe VictoriaMetrics.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/39b293fc911b2987a191cc5d98b1c9f7.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>T\u00eb fillojm\u00eb me Thanos. Para se t\u00eb filloni t\u00eb punoni me Thanos, duhet t\u00eb krijoni nj\u00eb bucket n\u00eb Object Storage, si S3 ose GCS, q\u00eb Thanos Sidecar t\u00eb mund t\u00eb shkruaj\u00eb t\u00eb dh\u00ebna atje. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/7a59c36c4453f1747067c79d9a9b8e2a.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Pas k\u00ebsaj, p\u00ebr \u00e7do Prometheus duhet t\u00eb instaloni Thanos Sidecar. Para k\u00ebsaj, mos harroni t\u00eb \u00e7aktivizoni kompresimin e t\u00eb dh\u00ebnave n\u00eb Prometheus. Kompresimi i t\u00eb dh\u00ebnave p\u00ebrkoh\u00ebsisht kompreson t\u00eb dh\u00ebnat n\u00eb magazin\u00ebn lokale t\u00eb Prometheus p\u00ebr t\u00eb zvog\u00ebluar konsumimin e burimeve.<\/p>\n<p><\/p>\n<p>Kur instaloni Thanos Sidecar n\u00eb Prometheus-t tuaj, duhet t\u00eb \u00e7aktivizoni k\u00ebt\u00eb kompresim t\u00eb t\u00eb dh\u00ebnave, sepse Thanos Sidecar nuk mund t\u00eb funksionoj\u00eb si\u00e7 duhet kur kompresimi i t\u00eb dh\u00ebnave \u00ebsht\u00eb i aktivizuar. Kjo do t\u00eb thot\u00eb q\u00eb Prometheus juaj fillon t\u00eb ruaj\u00eb t\u00eb dh\u00ebnat n\u00eb blloqe p\u00ebr dy or\u00eb dhe ndalon bashkimin e k\u00ebtyre blloqeve n\u00eb m\u00eb t\u00eb m\u00ebdhenj. Prandaj, n\u00ebse b\u00ebni k\u00ebrkesa q\u00eb kalojn\u00eb koh\u00ebzgjatjen e dy or\u00ebve t\u00eb fundit, ato do t\u00eb funksionojn\u00eb m\u00eb pak efikas, krahasuar me sa do t\u00eb ishin funksionuar n\u00ebse do t\u00eb ishte aktivizuar kompresimi i t\u00eb dh\u00ebnave.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/825b70ede9edd1de6658576e2b824cd1.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Prandaj, Thanos rekomandon t\u00eb zvog\u00ebloni koh\u00ebzgjatjen e ruajtjes s\u00eb t\u00eb dh\u00ebnave n\u00eb magazin\u00ebn lokale n\u00eb 6-8 or\u00eb, p\u00ebr t\u00eb reduktuar k\u00ebt\u00eb overhead t\u00eb shum\u00eb blloqeve t\u00eb vogla.<\/p>\n<p><\/p>\n<p>Pas instalimit t\u00eb Thanos Sidecar, p\u00ebr \u00e7do Object Storage Bucket duhet t\u00eb instaloni dy komponent\u00eb. K\u00ebta jan\u00eb Thanos Compactor dhe Thanos Store Gateway. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/77575d65a75bfd9af8d7dedf0cc5c922.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Pas k\u00ebsaj, duhet t\u00eb instaloni Thanos Query dhe ta konfiguroni at\u00eb q\u00eb t\u00eb mund t\u00eb lidhet me t\u00eb gjitha Thanos Store Gateway q\u00eb keni, si dhe t\u00eb mund t\u00eb lidhet me t\u00eb gjith\u00eb Thanos Sidecar.<\/p>\n<p><\/p>\n<p>K\u00ebtu mund t\u00eb ket\u00eb nj\u00eb problem t\u00eb vog\u00ebl. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/6eddee956c58991ccee52891b368f10f.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Ju duhet t\u00eb konfiguroni nj\u00eb lidhje t\u00eb besueshme dhe t\u00eb sigurt nga Thanos Query n\u00eb k\u00ebto komponent\u00eb. Dhe n\u00ebse Prometheus-t tuaj jan\u00eb n\u00eb qendra t\u00eb ndryshme t\u00eb t\u00eb dh\u00ebnave, ose n\u00eb VPC t\u00eb ndryshme, lidhjet e jashtme jan\u00eb t\u00eb ndaluara. Por p\u00ebr t\u00eb funksionuar Thanos Query, ju nevojitet ndonj\u00eb m\u00ebnyr\u00eb p\u00ebr t\u00eb konfiguruar lidhjen atje, dhe ju duhet t\u00eb mendoni p\u00ebr nj\u00eb zgjidhje.<\/p>\n<p><\/p>\n<p>N\u00ebse keni shum\u00eb qendra t\u00eb dh\u00ebnash, at\u00ebher\u00eb besueshm\u00ebria e sistemit gjithashtu bie. Sepse Thanos Query duhet t\u00eb mbaj\u00eb vazhdimisht lidhjet me t\u00eb gjitha Thanos Sidecar q\u00eb jan\u00eb t\u00eb vendosura n\u00eb qendra t\u00eb ndryshme t\u00eb t\u00eb dh\u00ebnave. Me \u00e7do k\u00ebrkes\u00eb t\u00eb ardhshme, do t\u00eb d\u00ebrgoj\u00eb k\u00ebrkesat n\u00eb t\u00eb gjitha Thanos Sidecar. N\u00ebse lidhja nd\u00ebrpritet, do t\u00eb merrni ose nj\u00eb grup t\u00eb paplot\u00eb t\u00eb t\u00eb dh\u00ebnave, ose do t\u00eb merrni p\u00ebrgjigjen \"klastri nuk funksionon\". <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/13c3765871568ac0db4014964cb5d752.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>N\u00eb VictoriaMetrics, gjith\u00e7ka \u00ebsht\u00eb pak m\u00eb e thjesht\u00eb. P\u00ebr versionin me nj\u00eb nyj\u00eb, mjafton t\u00eb nisni nj\u00eb binar dhe gjith\u00e7ka funksionon. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/1edf992a6404f5dea1ae2bd4f4d2d8fd.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>N\u00eb versionin me klaster, mjafton t\u00eb nisni tri llojet e p\u00ebrmendura m\u00eb lart t\u00eb komponenteve n\u00eb \u00e7do num\u00ebr t\u00eb nevojsh\u00ebm, ose t\u00eb p\u00ebrdorni <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/VictoriaMetrics\/helm-charts\/\">helm chart<\/a><\/noindex> p\u00ebr automatik\u00ebn e nisjes s\u00eb komponenteve n\u00eb Kubernetes. Ne kemi planifikuar gjithashtu t\u00eb krijojm\u00eb nj\u00eb operator Kubernetes. Helm chart nuk mbulon disa raste dhe ju lejon t\u00eb q\u00eblloni veten n\u00eb k\u00ebmb\u00eb. P\u00ebr shembull, ai lejon t\u00eb zvog\u00ebloni numrin e nyjeve t\u00eb ruajtjes, \u00e7ka do t\u00eb \u00e7oj\u00eb n\u00eb humbjen e t\u00eb dh\u00ebnave.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/ad4249222cb5e591d7e7bd0b7f1708c0.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Pas nisjes s\u00eb nj\u00eb binari ose versionit me klaster, mjafton t\u00eb shtoni n\u00eb konfigurimin e Prometheus <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/VictoriaMetrics\/VictoriaMetrics\/blob\/master\/README.md#prometheus-setup\">konfigurimin p\u00ebr URL-n\u00eb remote write<\/a><\/noindex>, n\u00eb m\u00ebnyr\u00eb q\u00eb ai t\u00eb filloj\u00eb t\u00eb regjistroj\u00eb t\u00eb dh\u00ebnat paralelisht n\u00eb ruajtjen lokale dhe n\u00eb ruajtjen e larg\u00ebt. Si\u00e7 e keni v\u00ebn\u00eb re, nj\u00eb konfigurim i till\u00eb duhet t\u00eb funksionoj\u00eb shum\u00eb m\u00eb besuesh\u00ebm n\u00eb krahasim me konfigurimin e Thanos. Nuk na nevojitet t\u00eb mbajm\u00eb lidhjen nga VictoriaMetrics me t\u00eb gjith\u00eb Prometheuses, sepse Prometheusi vet\u00eb lidhet me VictoriaMetrics dhe transmeton t\u00eb dh\u00ebnat. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/465ffc6cd77b2ca022b2541851a7ddbc.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Le t\u00eb shqyrtojm\u00eb mb\u00ebshtetje p\u00ebr Thanos dhe VictoriaMetrics.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/6043f0d3d99cb3e49837f03d3e6bbb9b.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Thanos duhet t\u00eb monitoroj\u00eb Sidecar-in, q\u00eb ata t\u00eb mos ndalojn\u00eb ngarkimin e t\u00eb dh\u00ebnave n\u00eb Object Storage. Ata mund ta ndalin k\u00ebt\u00eb ngarkim t\u00eb dh\u00ebnash p\u00ebr shkak t\u00eb gabimeve t\u00eb ngarkimit, p\u00ebr shembull n\u00ebse keni nj\u00eb nd\u00ebrprerje t\u00eb p\u00ebrkohshme t\u00eb lidhjes rrjetore me Object Storage, ose Object Storage \u00ebsht\u00eb p\u00ebrkoh\u00ebsisht i pap\u00ebrshtatsh\u00ebm. Thanos Sidecar n\u00eb at\u00eb moment do ta v\u00ebrej\u00eb k\u00ebt\u00eb, do ta njoftoj\u00eb p\u00ebr gabimin, mund t\u00eb bie dhe pas k\u00ebsaj do t\u00eb ndaloj\u00eb s\u00eb funksionuari. N\u00ebse nuk e monitoroni at\u00eb, t\u00eb dh\u00ebnat do t\u00eb ndalojn\u00eb s\u00eb kaluar n\u00eb Object Storage. N\u00ebse kalon koha e retention (6-8 or\u00eb e rekomanduar), ju do t\u00eb humbni t\u00eb dh\u00ebnat q\u00eb nuk arrit\u00ebn n\u00eb Object Storage.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/7c6556fecdee4ca4986931c2eebf9895.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Thanos compactor\u00ebt mund t\u00eb ndalojn\u00eb s\u00eb funksionuari p\u00ebr shkak t\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/thanos-io\/thanos\/issues\/1919\">t\u00eb race'ave me Sidecar<\/a><\/noindex>. Compactor\u00ebt marrin t\u00eb dh\u00ebnat nga Object Storage dhe i bashkojn\u00eb ato n\u00eb cop\u00ebza m\u00eb t\u00eb m\u00ebdha t\u00eb t\u00eb dh\u00ebnave. Sepse compactor\u00ebt nuk jan\u00eb t\u00eb sinkronizuar me Sidecar'\u00ebt, ndodhin k\u00ebto: Sidecar ende nuk e ka shkruar blokun, Compactor vendos se ky blok \u00ebsht\u00eb shkruar plot\u00ebsisht. Compactor fillon ta lexoj\u00eb at\u00eb. Ai e lexon blokun jo n\u00eb form\u00eb t\u00eb plot\u00eb dhe ndalon s\u00eb funksionuari. Shih detajet <noindex><a rel=\"nofollow\" href=\"https:\/\/thanos.io\/proposals\/201901-read-write-operations-bucket.md\/\">k\u00ebtu<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/7fd00e243009763781b54043dec1e94b.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Store Gateway mund t\u00eb jap\u00eb t\u00eb dh\u00ebna t\u00eb pasakt\u00eb p\u00ebr shkak t\u00eb race'ave midis Compactor'it dhe Sidecar'\u00ebve. K\u00ebtu ndodh gjithashtu, sepse Store Gateway nuk \u00ebsht\u00eb aspak i sinkronizuar me Compactor'it dhe Sidecar'\u00ebt. Si rezultat, mund t\u00eb ndodhin gjendje gara, kur Store Gateway nuk sheh nj\u00eb pjes\u00eb t\u00eb t\u00eb dh\u00ebnave, ose sheh t\u00eb dh\u00ebna t\u00eb tep\u00ebrta.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/85fcc811173dda1a42ac8d4e3b212f5e.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Komponenti Query n\u00eb Thanos n\u00eb m\u00ebnyr\u00eb t\u00eb paracaktuar jep rezultate parciale, n\u00ebse disa Sidecar-\u00eb ose Store Gateway nuk jan\u00eb t\u00eb disponueshme n\u00eb at\u00eb moment. Ju do t\u00eb merrni nj\u00eb pjes\u00eb t\u00eb dh\u00ebnash, dhe madje nuk do ta dini q\u00eb nuk keni marr\u00eb t\u00eb gjitha t\u00eb dh\u00ebnat. K\u00ebshtu funksionon ai me p\u00ebrpar\u00ebsi. N\u00eb nj\u00eb situat\u00eb t\u00eb ngjashme, VictoriaMetrics kthen t\u00eb dh\u00ebnat e shenuara si parciale. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/a9e5a70bdcafae9b98545514ca7a7ff3.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>N\u00eb kund\u00ebrshtim me Thanos, VictoriaMetrics rrall\u00eb humb t\u00eb dh\u00ebna. Edhe n\u00ebse lidhja nga Prometheus n\u00eb VictoriaMetrics \u00ebsht\u00eb ndalur, nuk \u00ebsht\u00eb problem, sepse Prometheus vazhdon t\u00eb regjistroj\u00eb t\u00eb dh\u00ebnat e reja q\u00eb vijn\u00eb n\u00eb Write Ahead Log, i cili ka nj\u00eb madh\u00ebsi prej 2 or\u00ebsh. N\u00ebse brenda dy or\u00ebve riktheni lidhjen me VictoriaMetrics, t\u00eb dh\u00ebnat nuk do t\u00eb humbasin. Prometheus <noindex><a rel=\"nofollow\" href=\"https:\/\/grafana.com\/blog\/2019\/03\/25\/whats-new-in-prometheus-2.8-wal-based-remote-write\/\">mund t\u00eb shkruaj\u00eb t\u00eb dh\u00ebna pas rikthimit t\u00eb lidhjes me VictoriaMetrics<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/fa4be02056f7338416029bfd8f9d0214.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Ndryshe nga Thanos, i cili regjistron t\u00eb dh\u00ebnat n\u00eb object storage vet\u00ebm pas dy or\u00ebsh, Prometheus automatikisht riplikon t\u00eb dh\u00ebnat p\u00ebrmes protokollit remote write n\u00eb remote storage, si\u00e7 \u00ebsht\u00eb VictoriaMetrics. Nuk keni frik\u00eb nga humbja e local storage n\u00eb Prometheus. N\u00ebse ndodhin t\u00eb humbas\u00eb local storage, n\u00eb rastin m\u00eb t\u00eb keq do t\u00eb humbni vet\u00ebm t\u00eb dh\u00ebnat e fundit t\u00eb sekondave, q\u00eb nuk arrit\u00ebn t\u00eb regjistroheshin n\u00eb remote storage.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/a6e9b2322eb9b3e145603a6b9db1002d.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Kubernetes automatikisht menaxhon klorin e saj, ndryshe nga Thanos. T\u00eb gjitha komponent\u00ebt e Thanos jan\u00eb t\u00eb komplikuar p\u00ebr t'u vendosur n\u00eb nj\u00eb Kubernetes cluster, ndryshe nga komponent\u00ebt e klastrit VictoriaMetrics.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/5b3d1586fe461a0c6f34de09fdd12845.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>VictoriaMetrics ka nj\u00eb p\u00ebrdit\u00ebsim shum\u00eb t\u00eb thjesht\u00eb n\u00eb versionin e ri. Thjesht ndalni VictoriaMetrics, p\u00ebrdit\u00ebsoni binaret dhe rifilloni. Kur ndaloni p\u00ebrmes sinjalit SIGINT, t\u00eb gjitha binaret e VictoriaMetrics b\u00ebjn\u00eb nj\u00eb gracefull shutdown. Ato ruajn\u00eb sakt\u00ebsisht t\u00eb dh\u00ebnat e nevojshme, mbyllin sakt\u00ebsisht lidhjet hyr\u00ebse p\u00ebr t\u00eb mos humbur asgj\u00eb. Prandaj, nuk do t\u00eb humbni asgj\u00eb gjat\u00eb p\u00ebrdit\u00ebsimit. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/96a52e2f0696172159919536efb68ad3.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Me VictoriaMetrics \u00ebsht\u00eb shum\u00eb e thjesht\u00eb t\u00eb zgjerohet klori. Thjesht shtoni komponent\u00ebt e nevojsh\u00ebm dhe vazhdoni t\u00eb punoni. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/5f5e6ef78b322bb278e618a526f05e26.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>P\u00ebr pengesat n\u00eb Thanos dhe VictoriaMetrics.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/17808bc76a16e571b7e4fa1655964201.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Thanos ka k\u00ebto pengesa. Prometheus duhet t\u00eb ruaj\u00eb t\u00eb dh\u00ebnat p\u00ebr dy or\u00ebt e fundit. N\u00ebse ato humbasin, do t'i humbni plot\u00ebsisht, pasi ato nuk kan\u00eb arritur ende t\u00eb regjistrohen n\u00eb Object Storage, si S3. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/81ca9135d2d97b95e9731dd1f5501859.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Komponenti Store Gateway dhe komponenti compactori mund t\u00eb k\u00ebrkojn\u00eb shum\u00eb memorie p\u00ebr t\u00eb punuar me nj\u00eb Object Storage t\u00eb madh, n\u00ebse atje ruhet shum\u00eb skedar\u00eb t\u00eb vegj\u00ebl. Sa m\u00eb shum\u00eb t\u00eb jen\u00eb numri dhe volumi i skedar\u00ebve, aq m\u00eb shum\u00eb k\u00ebrkohet memorie operative nga Store Gateway dhe compactori p\u00ebr t\u00eb ruajtur metainformacionin. Thanos ka shum\u00eb probleme n\u00eb lidhje me k\u00ebt\u00eb. <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/thanos-io\/thanos\/issues\/448\">Store Gateway dhe compactori bien kur ka sasi mesatare t\u00eb t\u00eb dh\u00ebnave t\u00eb regjistruara.<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/cf75315535439843c9bb32cf1175391b.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Thanos reklamohet se mund t\u00eb skalohet pafund\u00ebsisht me numrin e Prometheus tuaj. N\u00eb t\u00eb v\u00ebrtet\u00eb, kjo nuk \u00ebsht\u00eb e v\u00ebrtet\u00eb. Sepse t\u00eb gjitha k\u00ebrkesat kalojn\u00eb p\u00ebrmes komponenti Query, i cili duhet t\u00eb pyet n\u00eb m\u00ebnyr\u00eb paralele t\u00eb gjith\u00eb komponent\u00ebt e Store Gateway dhe t\u00eb gjith\u00eb komponent\u00ebt e Sidecar, t\u00eb nxjerr\u00eb t\u00eb dh\u00ebnat atje dhe pastaj t'i p\u00ebrpunoj\u00eb ato. Sidomos, shpejt\u00ebsia e k\u00ebrkesave \u00ebsht\u00eb e kufizuar nga pika m\u00eb e dob\u00ebt, Store Gateway m\u00eb i ngadalsh\u00ebm ose Sidecar m\u00eb i ngadalsh\u00ebm. <\/p>\n<p><\/p>\n<p>K\u00ebto komponent\u00eb mund t\u00eb jen\u00eb t\u00eb ngarkuara n\u00eb m\u00ebnyr\u00eb uniforme. P\u00ebr shembull, keni nj\u00eb Prometheus q\u00eb mbledh miliona metrika n\u00eb sekond\u00eb. Dhe ka nj\u00eb Prometheus, n\u00eb t\u00eb cilin mblidhen mij\u00ebra metrika n\u00eb sekond\u00eb. Prometheus q\u00eb mbledh miliona metrika n\u00eb sekond\u00eb ngarkon shum\u00eb m\u00eb tep\u00ebr serverin, mbi t\u00eb cilin funksionon. P\u00ebr rrjedhoj\u00eb, Sidecar atje funksionon m\u00eb ngadal\u00eb. Dhe n\u00eb p\u00ebrgjith\u00ebsi, gjith\u00e7ka aty punon ngadal\u00eb. Komponenti Query do t\u00eb nxjerr\u00eb t\u00eb dh\u00ebna shum\u00eb ngadal\u00eb nga aty. P\u00ebr rrjedhoj\u00eb, performanca e t\u00ebr\u00eb klasterit tuaj do t\u00eb jet\u00eb e kufizuar nga ky Sidecar i ngadalt\u00eb.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/68070f629821a54bfd8ed934d67344fd.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Sipas parazgjedhjes, Thanos jep t\u00eb dh\u00ebna t\u00eb pjesshme, n\u00ebse disa Sidecar'\u00eb ose Store Gateway nuk jan\u00eb t\u00eb disponuesh\u00ebm. P\u00ebr shembull, n\u00ebse keni Sidecar'\u00eb t\u00eb shp\u00ebrndar\u00eb n\u00eb t\u00eb gjith\u00eb bot\u00ebn n\u00eb qendra t\u00eb ndryshme t\u00eb t\u00eb dh\u00ebnave, probabiliteti i nd\u00ebrprerjes s\u00eb lidhjes dhe i t\u00eb qenit t\u00eb paqassh\u00ebm t\u00eb komponent\u00ebve rritet ndjesh\u00ebm. Si rezultat, n\u00eb shumic\u00ebn e rasteve, do t\u00eb merrni t\u00eb dh\u00ebna t\u00eb pjesshme, ndoshta pa e ditur k\u00ebt\u00eb.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/6a1dea50e739314c23b4370c569b44a4.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>VictoriaMetrics gjithashtu ka kap\u00ebrcime t\u00eb fshehura. Kap\u00ebrcimi i par\u00eb \u00ebsht\u00eb opsioni q\u00eb kufizon sasin\u00eb e memories operative t\u00eb p\u00ebrdorur nga cache VictoriaMetrics. N\u00eb parazgjedhje, ai \u00ebsht\u00eb 60% e memories operative n\u00eb pajisjen ku \u00ebsht\u00eb e instaluar VictoriaMetrics ose 60% e RAM-it t\u00eb pods-ve t\u00eb VictoriaMetrics n\u00eb Kubernetes.<\/p>\n<p><\/p>\n<p>N\u00ebse nd\u00ebrroni k\u00ebt\u00eb vler\u00eb n\u00eb m\u00ebnyr\u00eb t\u00eb gabuar, mund t\u00eb d\u00ebmtoni performanc\u00ebn e VictoriaMetrics. P\u00ebr shembull, n\u00ebse vendosni nj\u00eb vler\u00eb shum\u00eb t\u00eb ul\u00ebt, t\u00eb dh\u00ebnat mund t\u00eb mos ken\u00eb hap\u00ebsir\u00eb n\u00eb cache-in e VictoriaMetrics. Kjo do ta b\u00ebj\u00eb at\u00eb t\u00eb kryej\u00eb pun\u00eb t\u00eb tep\u00ebrt dhe t\u00eb ngarkoj\u00eb procesorin me skedarin. N\u00ebse e vendosni k\u00ebt\u00eb opsion shum\u00eb t\u00eb lart\u00eb, kjo rrit, s\u00eb pari, probabilitetin q\u00eb VictoriaMetrics t\u00eb d\u00ebshtoj\u00eb me gabimin e out of memory, dhe s\u00eb dyti, do t\u00eb sjell\u00eb n\u00ebnkuptimin q\u00eb sistemi operativ do t\u00eb ket\u00eb shum\u00eb pak memorie operative p\u00ebr cache-in e skedar\u00ebve. Dhe VictoriaMetrics mb\u00ebshtetet n\u00eb cache-in e skedar\u00ebve p\u00ebr performanc\u00ebn. N\u00ebse \u00ebsht\u00eb e pamjaftueshme, ngarkesa mbi disk mund t\u00eb rritet ndjesh\u00ebm. Pra, k\u00ebshilla \u00ebsht\u00eb: mos e ndryshoni parametrin pa nevoj\u00eb t\u00eb madhe.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/f145833dcbe42c2b62545358cfb204e5.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Opsioni i dyt\u00eb. Ky \u00ebsht\u00eb retentionPeriod \u2014 periudha q\u00eb n\u00eb parazgjedhje \u00ebsht\u00eb e vendosur n\u00eb 1 muaj. Ky \u00ebsht\u00eb koha gjat\u00eb s\u00eb cil\u00ebs VictoriaMetrics ruan t\u00eb dh\u00ebnat. Pas p\u00ebrfundimit t\u00eb k\u00ebsaj periudhe, VictoriaMetrics i fshin t\u00eb dh\u00ebnat.<\/p>\n<p><\/p>\n<p>Shum\u00eb p\u00ebrdorues e fillojn\u00eb VictoriaMetrics pa k\u00ebt\u00eb parametr, regjistrojn\u00eb t\u00eb dh\u00ebna p\u00ebr nj\u00eb muaj. Pastaj pyesin: pse t\u00eb dh\u00ebnat humb\u00ebn p\u00ebr muajin e kaluar? Sepse retentionPeriod n\u00eb m\u00ebnyr\u00eb t\u00eb paracaktuar \u00ebsht\u00eb 1 muaj. Prandaj, duhet t\u00eb dini dhe t\u00eb p\u00ebrcaktoni nj\u00eb retentionPeriod t\u00eb sakt\u00eb. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/377e4e19b7dc5648dd16bff39f4f1651.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Le t\u00eb kalojm\u00eb n\u00eb mund\u00ebsit\u00eb unike.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/bca5529a95e94ada650e67dba063ada6.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Thanos ka nj\u00eb ve\u00e7ori, si\u00e7 \u00ebsht\u00eb downsampling: intervale 5-minut\u00ebshe dhe nj\u00ebor\u00ebshe, t\u00eb cilat shpesh <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/thanos-io\/thanos\/issues?utf8=%E2%9C%93&amp;q=is%3Aissue+is%3Aopen+downsampling\">nuk funksionojn\u00eb si\u00e7 duhet<\/a><\/noindex>. N\u00ebse e k\u00ebrkoni n\u00eb Google dhe shikoni \u00e7\u00ebshtjet e tyre n\u00eb GitHub, ka shum\u00eb probleme q\u00eb lidhen me k\u00ebt\u00eb downsampling, se ai ndonj\u00ebher\u00eb nuk funksionon si\u00e7 pritet, ose nuk funksionon ashtu si\u00e7 e presin p\u00ebrdoruesit.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/84f116767826d1174286b45ccf60dfe7.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Thanos ka deduplication t\u00eb t\u00eb dh\u00ebnave p\u00ebr \u00e7iftet HA t\u00eb Prometheus. Kur dy Prometheuse mbledhin t\u00eb nj\u00ebjtat metrika nga t\u00eb nj\u00ebjtat target dhe Thanos i bashkon ato n\u00eb Object Storage. Thanos di si t\u00eb deduplicohet si\u00e7 duhet k\u00ebto t\u00eb dh\u00ebna, ndryshe nga VictoriaMetrics.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/efd797cafcb339a4900f4d2cddd04638.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Thanos ka komponentin e alarmit, i cili ishte n\u00eb skem\u00ebn Thanos. Por <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/thanos-io\/thanos\/blob\/master\/docs\/components\/rule.md\">nuk rekomandohet t\u00eb p\u00ebrdoret n\u00eb production.<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/87d12ff7b3c33dae9a8eda7a2a95bce1.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Avantazhi i Thanos \u00ebsht\u00eb se kodi i Thanos dhe Prometheus \u00ebsht\u00eb i p\u00ebrbashk\u00ebt. Thanos dhe Prometheus jan\u00eb zhvilluar nga e nj\u00ebjta ekip zhvilluesish. Kur p\u00ebrmir\u00ebsohet Thanos, ose Prometheus fiton edhe pala tjet\u00ebr.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/92435f15d58e83eb4d548a8bf5256c30.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Ve\u00e7oria kryesore e VictoriaMetrics \u00ebsht\u00eb MetricsQL. Kjo \u00ebsht\u00eb nj\u00eb zgjerim i VictoriaMetrics p\u00ebr PromQL, p\u00ebr t\u00eb cilat fol\u00ebm n\u00eb takimin e m\u00ebparsh\u00ebm t\u00eb madhe p\u00ebr monitorim.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/43a1618a397badc3df9d4eded19be1ec.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>VictoriaMetrics mb\u00ebshtet ngarkimin e t\u00eb dh\u00ebnave p\u00ebrmes shum\u00eb protokollesh t\u00eb ndryshme. VictoriaMetrics jo vet\u00ebm q\u00eb mund t\u00eb pranoj\u00eb t\u00eb dh\u00ebna nga Prometheus, por gjithashtu p\u00ebrmes protokolleve Influx, OpenTSDB dhe Graphite.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/b4bca4b255990f1af11a6ceaf42f46ef.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>T\u00eb dh\u00ebnat e VictoriaMetrics zakonisht z\u00ebn\u00eb shum\u00eb m\u00eb pak hap\u00ebsir\u00eb krahasuar me Thanos dhe Prometheus. <\/p>\n<p><\/p>\n<p>N\u00ebse regjistrohen t\u00eb dh\u00ebna reale, p\u00ebrdoruesit flasin p\u00ebr nj\u00eb reduktim t\u00eb madh\u00ebsis\u00eb s\u00eb t\u00eb dh\u00ebnave n\u00eb disk nga 2-5 her\u00eb krahasuar me Prometheus dhe Thanos.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/6aeab3c42b45dbd620d328fc43ce4bec.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Nj\u00eb avantazh tjet\u00ebr i VictoriaMetrics \u00ebsht\u00eb se ajo \u00ebsht\u00eb e optimizuar p\u00ebr shpejt\u00ebsi. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/89010a913f0d7b1388b6c62007c7835b.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Le t\u00eb kalojm\u00eb n\u00eb kostot e infrastruktur\u00ebs. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/65bd322bb2a64ac4188e29b79e54763a.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Nj\u00eb nga avantazhet e Thanos \u00ebsht\u00eb se ai ruan t\u00eb dh\u00ebnat n\u00eb object storage, i cili \u00ebsht\u00eb relativisht i lir\u00eb.<\/p>\n<p><\/p>\n<p>Kur ruani t\u00eb dh\u00ebna n\u00eb object storage, ju duhet t\u00eb paguani p\u00ebr operacionet e regjistrimit dhe leximin e t\u00eb dh\u00ebnave ($10 p\u00ebr milion operacione). Kur regjistroni t\u00eb dh\u00ebna n\u00eb object storage, ju paguani p\u00ebr shpenzimet e hostit tuaj p\u00ebr ngarkimin e t\u00eb dh\u00ebnave n\u00eb internet, n\u00ebse klusteri juaj nuk ndodhet n\u00eb AWS \u2014 atje \u00ebsht\u00eb falas. Kur lexoni t\u00eb dh\u00ebna, ju paguani nga $10 deri n\u00eb $230 p\u00ebr 1TB. Kjo mund t\u00eb jet\u00eb e r\u00ebnd\u00ebsishme, n\u00ebse shpesh k\u00ebrkoni t\u00eb dh\u00ebna historike nga klusteri Thanos.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/7f1b32c75d49efa082201fa55b43f6bb.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>P\u00ebr klasterin Thanos, nevojiten server\u00eb p\u00ebr komponent\u00ebt Compact, Store Gateway, dhe Query, t\u00eb cil\u00ebt k\u00ebrkojn\u00eb shum\u00eb memorje dhe CPU p\u00ebr volume t\u00eb m\u00ebdha t\u00eb dh\u00ebnash.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/19c90f30760e77f57a658e67507f4f98.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Shpenzimet p\u00ebr VictoriaMetrics jan\u00eb k\u00ebshtu. N\u00ebse ruani t\u00eb dh\u00ebnat n\u00eb disk\u00ebt GCE HDD, del $40 p\u00ebr 1TB. P\u00ebr VictoriaMetrics mjaftojn\u00eb disk\u00ebt e zakonsh\u00ebm HDD, nuk nevojiten SSD q\u00eb kushtojn\u00eb pes\u00eb her\u00eb m\u00eb shum\u00eb. VictoriaMetrics \u00ebsht\u00eb optimizuar p\u00ebr HDD.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/c7e922b4d97f353218d6edad7cdea584.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>P\u00ebr VictoriaMetrics nevojiten server\u00eb p\u00ebr komponent\u00ebt: ose Single-node ose p\u00ebr komponent\u00ebt e klasterit, t\u00eb cil\u00ebt, ndryshe nga komponent\u00ebt Thanos, k\u00ebrkojn\u00eb shum\u00eb m\u00eb pak CPU dhe RAM \u2014 prandaj do t\u00eb jet\u00eb m\u00eb e lir\u00eb. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/aaf63cad75238ba19efb825376cf356c.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Shembuj t\u00eb zbatimit. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/53ce0a68724c339d88ad769c18a2e5f9.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Nj\u00eb shembull zbatimi p\u00ebr Thanos \u00ebsht\u00eb Gitlab. Gitlab funksionon plot\u00ebsisht mbi Thanos. Por, nuk \u00ebsht\u00eb gjith\u00e7ka aq e leht\u00eb. N\u00ebse shikoni n\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/gitlab.com\/gitlab-com\/gl-infra\/infrastructure\/issues\/8647\">issues<\/a><\/noindex>, do t\u00eb shihni se ata p\u00ebrballen vazhdimisht me ndonj\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/gitlab.com\/gitlab-com\/gl-infra\/infrastructure\/issues\/8413\">probleme operative me Thanos<\/a><\/noindex>: u mungon memorja p\u00ebr komponent\u00ebt Store Gateway ose Query. Ata duhet t\u00eb rrisin vazhdimisht kapacitetin e memorjes. <\/p>\n<p><\/p>\n<p>P\u00ebr k\u00ebt\u00eb arsye, shpenzimet p\u00ebr zgjidhjen e k\u00ebtyre problemeve rriten. <\/p>\n<p><\/p>\n<p>Zbatimi i dyt\u00eb, i cili mund t\u00eb jet\u00eb m\u00eb i suksessh\u00ebm \u2014 \u00ebsht\u00eb kompania Improbable, e cila filloi zhvillimin e Thanos. Ata publikuan kodin burimor t\u00eb Thanos. Improbable \u2014 nj\u00eb kompani q\u00eb merret me zhvillimin e motor\u00ebve t\u00eb loj\u00ebrave.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/3a1279cae3cfc7e94c2eccfc0972f06e.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Shembuj publik t\u00eb zbatimit t\u00eb VictoriaMetrics jan\u00eb:<\/p>\n<p><\/p>\n<ul>\n<li>wix.com ndihm\u00ebs p\u00ebr nd\u00ebrtimin e faqeve<\/li>\n<li>Adidas po p\u00ebrdor VictoriaMetrics dhe madje b\u00ebri nj\u00eb prezantim n\u00eb PromCon 2019 t\u00eb fundit<\/li>\n<li>TrafficStars \u2014 rrjet reklamash<\/li>\n<li>Seznam.cz \u2014 nj\u00eb motor k\u00ebrkimi popullor \u00e7ek.<\/li>\n<\/ul>\n<p><\/p>\n<p>M\u00eb pas, ka kompani pa em\u00ebr q\u00eb nuk mund t'i p\u00ebrmend tani. Ata nuk e dhan\u00eb lejen. <\/p>\n<p><\/p>\n<ul>\n<li>Nj\u00eb zhvillues i madh loj\u00ebrash. M\u00eb i madh se ata t\u00eb Improbable.<\/li>\n<li>Nj\u00eb zhvillues i madh i softuerit grafik.<\/li>\n<li>Nj\u00eb bank\u00eb e madhe ruse.<\/li>\n<li>Nj\u00eb prodhues evropian i turbinave me er\u00eb, i cili testoi me sukses VictoriaMetrics. Ky prodhues e zbaton VictoriaMetrics p\u00ebr monitorimin e t\u00eb dh\u00ebnave t\u00eb marra nga turbinat me er\u00eb me nj\u00eb shpejt\u00ebsi prej 50 mostrash n\u00eb sekond\u00eb p\u00ebr secil\u00ebn sensor. N\u00eb secil\u00ebn turbin\u00eb ka disa qindra sensor\u00eb. Ata kan\u00eb disa qindra turbina me er\u00eb.<\/li>\n<li>Kompania ajrore ruse, e cila d\u00ebshiron t\u00eb zbatoj\u00eb VictoriaMetrics, por ende nuk po ia del. Ne jemi n\u00eb faz\u00ebn e kontrat\u00ebs me ta.<\/li>\n<\/ul>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/040affc4d56712783db61ee3b0ec509e.jpg\" style=\"display:block;margin: 0 auto;\" \/>P\u00ebrfundime.<\/p>\n<p><\/p>\n<p>VictoriaMetrics dhe Thanos zgjidhin probleme t\u00eb ngjashme, por me m\u00ebnyra t\u00eb ndryshme:<\/p>\n<p><\/p>\n<ul>\n<li>Pamja globale e pyetjeve<\/li>\n<li>shkall\u00ebzimi horizontal <\/li>\n<li>ruajtje e rast\u00ebsishme<\/li>\n<\/ul>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/af6285e8f6f68f373da1ebc552104f51.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p><\/p>\n<p>Faleminderit.<\/p>\n<p><\/p>\n<p>Ju presim n\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/t.me\/VictoriaMetrics_ru1\">telegram<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhim magazin\u00ebn e t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics\" src=\"\/wp-content\/uploads\/2019\/12\/c45b2a3b6e541e7e6cd580629e418c35.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/p>\n<p class=\"for_users_only_msg\">Vet\u00ebm p\u00ebrdoruesit e regjistruar mund t\u00eb marrin pjes\u00eb n\u00eb anket\u00eb. <noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/auth\/login\/\">Hyni<\/a><\/noindex>, ju lutem.<\/p>\n<h2 class=\"default-block__polling-title\">\u00c7far\u00eb p\u00ebrdorni si ruajtje afatgjat\u00eb p\u00ebr Prometheus?<\/h2>\n<ul class=\"poll-result\">\n<li class=\"poll-result__item\">\n<p>                <strong class=\"poll-result__data-percent\">35,3%<\/strong>Thanos6<\/p>\n<\/li>\n<li class=\"poll-result__item\">\n<p>                <strong class=\"poll-result__data-percent\">0,0%<\/strong>Cortex0<\/p>\n<\/li>\n<li class=\"poll-result__item\">\n<p>                <strong class=\"poll-result__data-percent\">0,0%<\/strong>M3DB0<\/p>\n<\/li>\n<li class=\"poll-result__item\">\n<p>                <strong class=\"poll-result__data-percent  poll-result__data-percent_winner\">41,2%<\/strong>VictoriaMetrics7<\/p>\n<\/li>\n<li class=\"poll-result__item\">\n<p>                <strong class=\"poll-result__data-percent\">23,5%<\/strong>tjet\u00ebr4<\/p>\n<\/li>\n<\/ul>\n<p>    17 p\u00ebrdorues kan\u00eb votuar. 16 p\u00ebrdorues jan\u00eb abstenuar.<br \/>\n<br \/>Burimi: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/482272\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442. \u041d\u0438\u0436\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u0435\u043d\u0430 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0430 \u0434\u043e\u043a\u043b\u0430\u0434\u0430 \u0441 Big Monitoring Meetup 4. Prometheus \u2013 \u0441\u0438\u0441\u0442\u0435\u043c\u0430 \u043c\u043e\u043d\u0438\u0442\u043e\u0440\u0438\u043d\u0433\u0430 \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u0438 \u0441\u0435\u0440\u0432\u0438\u0441\u043e\u0432, \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043a\u043e\u0442\u043e\u0440\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u044b \u043c\u043e\u0433\u0443\u0442 \u0441\u043e\u0431\u0438\u0440\u0430\u0442\u044c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u043e \u0442\u0435\u043a\u0443\u0449\u0438\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430\u0445 \u0441\u0438\u0441\u0442\u0435\u043c \u0438 \u043d\u0430\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u0442\u044c \u043e\u043f\u043e\u0432\u0435\u0449\u0435\u043d\u0438\u044f \u0434\u043b\u044f \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u0438\u044f \u0443\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0439 \u043e\u0431 \u043e\u0442\u043a\u043b\u043e\u043d\u0435\u043d\u0438\u044f\u0445 \u0432 \u0440\u0430\u0431\u043e\u0442\u0435 \u0441\u0438\u0441\u0442\u0435\u043c. \u0412 \u0434\u043e\u043a\u043b\u0430\u0434\u0435 \u0431\u0443\u0434\u0435\u0442 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u0435 Thanos \u0438 VictoriaMetrics \u2014 \u043f\u0440\u043e\u0435\u043a\u0442\u043e\u0432 \u0434\u043b\u044f \u0434\u043e\u043b\u0433\u043e\u0441\u0440\u043e\u0447\u043d\u043e\u0433\u043e \u0445\u0440\u0430\u043d\u0435\u043d\u0438\u044f \u043c\u0435\u0442\u0440\u0438\u043a [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-54601","post","type-post","status-publish","format-standard","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/vybiraem-hranilishhe-dannyh-dlya-prometheus-thanos-vs-victoriametrics\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f Prometheus: Thanos vs VictoriaMetrics | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/vybiraem-hranilishhe-dannyh-dlya-prometheus-thanos-vs-victoriametrics\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-12-29T21:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-02-18T11:02:38+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Zgjedhja e ruajtjes s\u00eb t\u00eb dh\u00ebnave p\u00ebr Prometheus: Thanos vs VictoriaMetrics | ProHoster","description":"P\u00ebrsh\u00ebndetje t\u00eb gjith\u00ebve.","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/vybiraem-hranilishhe-dannyh-dlya-prometheus-thanos-vs-victoriametrics","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0412\u044b\u0431\u0438\u0440\u0430\u0435\u043c \u0445\u0440\u0430\u043d\u0438\u043b\u0438\u0449\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 \u0434\u043b\u044f Prometheus: Thanos vs VictoriaMetrics | ProHoster","og:description":"\u0412\u0441\u0435\u043c \u043f\u0440\u0438\u0432\u0435\u0442.","og:url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/vybiraem-hranilishhe-dannyh-dlya-prometheus-thanos-vs-victoriametrics","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-12-29T21:00:00+00:00","article:modified_time":"2020-02-18T11:02:38+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"54601","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-24 12:01:24","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 20:02:45","updated":"2026-01-24 12:01:24","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/54601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=54601"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/54601\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=54601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=54601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=54601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}