{"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":"Zgjedhja e depozit\u00ebs s\u00eb 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 p\u00ebrshkrimi <noindex><a rel=\"nofollow\" href=\"https:\/\/www.youtube.com\/watch?v=HyOXAdQE0Pk\">i referatit n\u00eb 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, me ndihm\u00ebn e t\u00eb cilit administrator\u00ebt e sistemeve mund t\u00eb mbledhin informacione mbi parametrat aktual\u00eb t\u00eb sistemeve dhe t\u00eb konfigurojn\u00eb njoftime p\u00ebr t\u00eb marr\u00eb lajm\u00ebrime n\u00eb rast t\u00eb shkallimeve n\u00eb funksionimin e sistemeve.<\/p>\n<p><\/p>\n<p>N\u00eb referat do t\u00eb ket\u00eb nj\u00eb krahasim <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=\"Zgjedhja e depozit\u00ebs s\u00eb 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=\"Zgjedhja e depozit\u00ebs s\u00eb 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>S\u00eb pari do t\u00eb flas p\u00ebr Prometheus. Ky \u00ebsht\u00eb nj\u00eb sistem monitorimi q\u00eb mbledh metrika nga target\u00ebt e caktuar dhe i ruan ato n\u00eb nj\u00eb skedar lokal. Prometheus mund t\u00eb regjistroj\u00eb metrika n\u00eb nj\u00eb ruajtje t\u00eb larg\u00ebt, mund t\u00eb gjeneroj\u00eb alarme dhe rregulla regjistrimi. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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>Nuk ka pamje globale t\u00eb pyetjeve. Ky \u00ebsht\u00eb kur keni disa instanca t\u00eb pavarura t\u00eb Prometheus. Ato mbledhin metrika. Dhe d\u00ebshironi t\u00eb b\u00ebni pyetje sip\u00ebr t\u00eb gjitha k\u00ebtyre metrikeve t\u00eb mbledhura nga instanca t\u00eb ndryshme t\u00eb Prometheus. Prometheus nuk e lejon k\u00ebt\u00eb.<\/li>\n<li>Me prometheus, performanca \u00ebsht\u00eb e kufizuar vet\u00ebm nga nj\u00eb server. Prometheus nuk mund t\u00eb skalohet automatikisht n\u00eb disa server\u00eb. Ju mund t\u00eb ndani manualisht target\u00ebt tuaj midis disa Prometheus-eve.<\/li>\n<li>V\u00ebllimi i metrikave n\u00eb Prometheus \u00ebsht\u00eb i kufizuar vet\u00ebm nga nj\u00eb server p\u00ebr t\u00eb nj\u00ebjt\u00ebn arsye p\u00ebr t\u00eb cil\u00ebn ai nuk mund t\u00eb shkall\u00ebzohet automatikisht n\u00eb disa server\u00eb.<\/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=\"Zgjedhja e depozit\u00ebs s\u00eb 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\/t\u00eb drejta?<\/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 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 rreth <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\">kjo lidhje<\/a><\/noindex>. Aty p\u00ebrshkruhet arkitektura <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/thanos-io\/thanos\">Thanos<\/a><\/noindex> dhe m\u00ebnyra si funksionon.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 q\u00eb ka ruajtur Prometheus 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 objektesh.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 pyetjeve. Mund t\u00eb b\u00ebni pyetje p\u00ebr t\u00eb dh\u00ebnat e ruajtura n\u00eb ruajtjen e objekteve nga disa instance t\u00eb Prometheus.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 pyetjes Prometheus.<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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=\"Zgjedhja e depozit\u00ebs s\u00eb 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 \u00ebsht\u00eb zhvilluar nga t\u00eb nj\u00ebjtit zhvillues si 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 p\u00ebr her\u00eb t\u00eb par\u00eb fol\u00ebm 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=\"Zgjedhja e depozit\u00ebs s\u00eb 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\u00ebna 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=\"Zgjedhja e depozit\u00ebs s\u00eb 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 siguron pamjen globale t\u00eb pyetjeve, pasi disa instance t\u00eb Prometheus mund t\u00eb shkruajn\u00eb t\u00eb dh\u00ebna n\u00eb nj\u00eb VictoriaMetrics. K\u00ebshtu, mund t\u00eb b\u00ebni pyetje p\u00ebr t\u00eb gjitha k\u00ebto t\u00eb dh\u00ebna.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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, si\u00e7 \u00ebsht\u00eb Thanos \u2014 PromQL dhe API-n\u00eb e pyetjes Prometheus.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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>Ndryshe nga Thanos, kodi burimor i VictoriaMetrics \u00ebsht\u00eb shkruar nga zero dhe \u00ebsht\u00eb optimizuar p\u00ebr shpejt\u00ebsi dhe burime t\u00eb nevojshme. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 n\u00eb m\u00ebnyr\u00eb vertikale ashtu edhe horizontale. Ka <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/VictoriaMetrics\/VictoriaMetrics\/blob\/master\/README.md\">Versionin me nj\u00eb nyje<\/a><\/noindex>, i cili shkall\u00ebzohet vertikalisht. Mund t\u00eb filloni me nj\u00eb procesor dhe 1 GB memorie dhe t\u00eb rriteni gradualisht deri n\u00eb qindra procesor\u00eb dhe 1 TB memorie. VictoriaMetrics mund t\u00eb p\u00ebrdor\u00eb t\u00eb gjith\u00eb k\u00ebto burime. Performanca e saj do t\u00eb rritet rreth 100 her\u00eb n\u00eb krahasim me sistemin me nj\u00eb nyje. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 shfaq komiti i par\u00eb publik. Para k\u00ebsaj Thanos \u00ebsht\u00eb zhvilluar 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=\"Zgjedhja e depozit\u00ebs s\u00eb 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, ishte nj\u00eb version t\u00ebrheq\u00ebs 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\">gossip<\/a><\/noindex> protokolli. E hoq\u00ebn nga Thanos, sepse ai u tregua me rezultate t\u00eb dob\u00ebta. Shum\u00eb her\u00eb klasteri i Thanos nuk funksiononte si\u00e7 duhet, nyjet e tij nuk lidhej si\u00e7 duhet p\u00ebr shkak t\u00eb protokollit t\u00eb gossip-it. Prandaj vendos\u00ebn ta hiqnin at\u00eb. Un\u00eb besoj se kjo \u00ebsht\u00eb nj\u00eb vendim i drejt\u00eb. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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\u00ebjt\u00ebn qershor 2019 d\u00ebrguan aplikimin num\u00ebr <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=\"Zgjedhja e depozit\u00ebs s\u00eb 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 pranuar n\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/www.cncf.io\/\">Cloud Native Computing Foundation<\/a><\/noindex>, ku p\u00ebrfshihet Prometheus, Kubernetes dhe projekte t\u00eb tjera t\u00eb njohura.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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=\"Zgjedhja e depozit\u00ebs s\u00eb 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 e p\u00ebrmenda p\u00ebr her\u00eb t\u00eb par\u00eb publikisht VictoriaMetrics.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 publikuan versionin me nj\u00eb nyje.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 publikuan<\/a><\/noindex> kodet burimore si p\u00ebr versionin me nj\u00eb nyje ashtu edhe p\u00ebr versionin me klaster. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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, po ashtu si Thanos, ne dor\u00ebzuam aplikimin n\u00eb fondacionin CNCF me num\u00ebr <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/cncf\/toc\/pull\/255\">255<\/a><\/noindex>. Ne dor\u00ebzuam aplikimin nj\u00eb dit\u00eb m\u00eb her\u00ebt se sa Thanos. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 pranuan aty. Kemi nevoj\u00eb p\u00ebr ndihm\u00ebn e komunitetit.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 q\u00eb tregojn\u00eb arkitektur\u00ebn e Thanos dhe VictoriaMetrics.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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>T\u00eb fillojm\u00eb me Thanos. Komponent\u00ebt e verdh\u00eb jan\u00eb komponent\u00eb t\u00eb Prometheus. T\u00eb gjitha t\u00eb tjerat jan\u00eb komponent\u00eb t\u00eb Thanos. Le t\u00eb fillojm\u00eb me komponentin kryesor. Thanos Sidecar \u2014 \u00ebsht\u00eb komponenti q\u00eb vendoset pran\u00eb secilit Prometheus. Ai merret me ngarkimin e t\u00eb dh\u00ebnave t\u00eb Prometheus nga ruajtja lokale n\u00eb S3 ose n\u00eb nj\u00eb Ruajtje tjet\u00ebr objektesh. <\/p>\n<p><\/p>\n<p>Ka\u00e7 komponenti ka Thanos Store Gateway, i cili di t\u00eb lexoj\u00eb k\u00ebto t\u00eb dh\u00ebna nga Object Storage kur merr k\u00ebrkesa nga Thanos Query. Thanos Query implementon PromQL dhe Prometheus API. Pra, nga jasht\u00eb duket si Prometheus. Pranoni k\u00ebrkesat PromQL, i d\u00ebrgon ato n\u00eb Thanos Store Gateway, Thanos Store Gateway merr t\u00eb dh\u00ebnat e nevojshme nga Object Storage dhe i kthen mbrapsht.<\/p>\n<p><\/p>\n<p>Por ne n\u00eb Object Storage kemi ruajtur t\u00eb dh\u00ebnat pa or\u00ebt e fundit dy p\u00ebr shkak t\u00eb ve\u00e7orive t\u00eb implementimit t\u00eb Thanos Sidecar, i cili nuk mund t\u00eb ngarkoj\u00eb or\u00ebt e fundit dy 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 kemi zgjidhur k\u00ebt\u00eb problem? Thanos Query, p\u00ebrve\u00e7 k\u00ebrkesave n\u00eb Thanos Store Gateway, d\u00ebrgon gjithashtu k\u00ebrkesa paralelisht n\u00eb \u00e7do Thanos Sidecar q\u00eb ndodhet af\u00ebr Prometheus. <\/p>\n<p><\/p>\n<p>Dhe Thanos Sidecar, nga ana e tij, i proksionon k\u00ebrkesat m\u00eb tej n\u00eb Prometheus dhe merr t\u00eb dh\u00ebnat p\u00ebr dy or\u00ebt e fundit.<\/p>\n<p><\/p>\n<p>P\u00ebrve\u00e7 k\u00ebtyre komponenteve, ka edhe nj\u00eb komponent opsional, pa t\u00eb cilin Thanos do t\u00eb ket\u00eb probleme. 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 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 t\u00eb jen\u00eb k\u00ebta skedar\u00eb, aq m\u00eb shum\u00eb memorie k\u00ebrkon Thanos Store Gateway, aq m\u00eb shum\u00eb burime nevojiten p\u00ebr transmetimin e t\u00eb dh\u00ebnave p\u00ebrmes rrjetit, metadatat. Puna e Thanos Store Gateway b\u00ebhet e pasuksesshme. Prandaj \u00ebsht\u00eb e nevojshme t\u00eb filloni patjet\u00ebr Thanos Compact, i cili bashkon skedar\u00ebt e vegj\u00ebl n\u00eb m\u00eb t\u00eb m\u00ebdhenj, p\u00ebr t\u00eb reduktuar numrin e k\u00ebtyre skedar\u00ebve dhe p\u00ebr t\u00eb ulur ngarkes\u00ebn mbi Thanos Store Gateway.<\/p>\n<p><\/p>\n<p>Ka nj\u00eb komponent si Thanos Ruler. Ai realizon rregullat e alarmeve t\u00eb Prometheus dhe mund t\u00eb llogaris\u00eb rregullat e regjistrimit t\u00eb Prometheus, p\u00ebr t\u00eb regjistruar t\u00eb dh\u00ebnat p\u00ebrs\u00ebri 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 i prirur t\u00eb kthej\u00eb t\u00eb dh\u00ebna t\u00eb paplota.<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p>Kjo \u00ebsht\u00eb skema e thjesht\u00eb e Thanos. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 versionin klaster. Single-node punon n\u00eb nj\u00eb kompjuter. N\u00eb Single-node nuk ka k\u00ebto komponent\u00eb, vet\u00ebm nj\u00eb binar. Ky binar n\u00eb slide duket si ky katror. \u00c7do gj\u00eb brenda katrorit \u00ebsht\u00eb p\u00ebrmbajtja e skedarit binar p\u00ebr versionin Single-node. Nuk \u00ebsht\u00eb e nevojshme t\u00eb dini p\u00ebr t\u00eb. Thjesht e aktivizoni binarin dhe gjith\u00e7ka funksionon. <\/p>\n<p><\/p>\n<p>Versioni i klasterit \u00ebsht\u00eb m\u00eb i komplikuar. Brenda tij ka tre komponent\u00eb t\u00eb ndrysh\u00ebm: vmselect, vminsert dhe vmstorage. Nga emrat e tyre duhet t\u00eb jet\u00eb e qart\u00eb se \u00e7far\u00eb b\u00ebn secili nga ata. Komponenti i Insert pranonte t\u00eb dh\u00ebnat n\u00eb forma 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 t\u00eb storage t\u00eb disponuesh\u00ebm, ku t\u00eb dh\u00ebnat ruajn\u00eb. Komponenti Select, nga ana e tij, merr k\u00ebrkesat PromQL. Ai implementon <noindex><a rel=\"nofollow\" href=\"https:\/\/medium.com\/@valyala\/promql-tutorial-for-beginners-9ab455142085\">PromQL<\/a><\/noindex>, si dhe Prometheus querying API, dhe mund t\u00eb p\u00ebrdoret si z\u00ebvend\u00ebsues i Prometheus n\u00eb Grafana ose n\u00eb klient\u00eb t\u00eb tjer\u00eb t\u00eb API-t t\u00eb Prometheus. Select merr k\u00ebrkesat promql, i parse, lexon t\u00eb dh\u00ebnat e nevojshme p\u00ebr kryerjen e k\u00ebsaj k\u00ebrkese nga nodet e storage, i proceson k\u00ebto t\u00eb dh\u00ebna dhe kthen nj\u00eb p\u00ebrgjigje.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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=\"Zgjedhja e depozit\u00ebs s\u00eb 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, n\u00eb m\u00ebnyr\u00eb q\u00eb Thanos Sidecar t\u00eb mund t\u00eb shkruaj\u00eb t\u00eb dh\u00ebnat atje. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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>Pastaj, p\u00ebr \u00e7do Prometheus, duhet t\u00eb instaloni Thanos Sidecar. Para k\u00ebsaj, mos harroni t\u00eb \u00e7aktivizoni shkrimin e t\u00eb dh\u00ebnave n\u00eb Prometheus. Shkrimi i t\u00eb dh\u00ebnave p\u00ebrfiqet periodikisht t\u00eb dh\u00ebnat n\u00eb ruajtjen lokale t\u00eb Prometheus p\u00ebr t\u00eb reduktuar konsumin e burimeve.<\/p>\n<p><\/p>\n<p>Kur instaloni Thanos Sidecar n\u00eb Prometheus-et tuaj, duhet t\u00eb \u00e7aktivizoni k\u00ebt\u00eb kompresim t\u00eb t\u00eb dh\u00ebnave, sepse Thanos Sidecar nuk funksionon si\u00e7 duhet kur \u00ebsht\u00eb aktivizuar kompresimi i t\u00eb dh\u00ebnave. Kjo do t\u00eb thot\u00eb se 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. Si rezultat, n\u00ebse b\u00ebni k\u00ebrkesa q\u00eb tejkalojn\u00eb q\u00ebndrueshm\u00ebrin\u00eb e dy or\u00ebve t\u00eb fundit, ato nuk do t\u00eb funksionojn\u00eb aq efikas sa do t\u00eb mund t\u00eb funksiononin, n\u00ebse do t\u00eb ishte aktivizuar kompresimi i t\u00eb dh\u00ebnave.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 ruajtjen lokale n\u00eb 6-8 or\u00eb, p\u00ebr t\u00eb reduktuar k\u00ebt\u00eb overhead t\u00eb numrit t\u00eb madh t\u00eb blloqeve t\u00eb vegj\u00ebl.<\/p>\n<p><\/p>\n<p>Pas instalimit t\u00eb Thanos Sidecar, duhet t\u00eb instaloni dy komponent\u00eb p\u00ebr \u00e7do Bucket t\u00eb Object Storage. K\u00ebto jan\u00eb Thanos Compactor dhe Thanos Store Gateway. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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, n\u00eb m\u00ebnyr\u00eb q\u00eb t\u00eb mund t\u00eb lidhet me t\u00eb gjith\u00eb Thanos Store Gateway q\u00eb keni, si dhe 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=\"Zgjedhja e depozit\u00ebs s\u00eb 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 nevojitet t\u00eb konfiguroni nj\u00eb lidhje t\u00eb sigurt dhe t\u00eb mbrojtur nga Thanos Query n\u00eb k\u00ebto komponente. Dhe n\u00ebse Prometheus-at tuaj jan\u00eb n\u00eb qendra t\u00eb ndryshme t\u00eb t\u00eb dh\u00ebnave, ose n\u00eb VPC t\u00eb ndryshme, at\u00ebher\u00eb lidhjet nga jasht\u00eb jan\u00eb t\u00eb ndaluara. Por p\u00ebr funksionimin e Thanos Query ju duhen nj\u00ebfar\u00eb lidhje, dhe ju duhet t\u00eb mendoni p\u00ebr nj\u00eb m\u00ebnyr\u00eb.<\/p>\n<p><\/p>\n<p>N\u00ebse keni shum\u00eb qendra t\u00eb tilla t\u00eb t\u00eb dh\u00ebnave, at\u00ebher\u00eb, p\u00ebr pasoj\u00eb, besueshm\u00ebria e sistemit t\u00ebr\u00eb zvog\u00eblohet. Kjo sepse Thanos Query duhet t\u00eb mbaj\u00eb vazhdimisht lidhjet me t\u00eb gjitha Thanos Sidecars, t\u00eb vendosura n\u00eb qendra t\u00eb ndryshme t\u00eb t\u00eb dh\u00ebnave. Me \u00e7do k\u00ebrkes\u00eb hyr\u00ebse, ai do t\u00eb drejtoj\u00eb k\u00ebrkesat n\u00eb t\u00eb gjitha Thanos Sidecars. N\u00ebse lidhja nd\u00ebrpritet, do t\u00eb merrni ose nj\u00eb grup t\u00eb dh\u00ebnash jo t\u00eb plot\u00eb, ose do t\u00eb merrni p\u00ebrgjigjen \u00abklastri nuk funksionon\u00bb. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 p\u00ebr gjith\u00e7ka \u00ebsht\u00eb pak m\u00eb e thjesht\u00eb. P\u00ebr versionin Single-node, mjafton t\u00eb ekzekutoni nj\u00eb binar dhe gjith\u00e7ka funksionon. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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, \u00ebsht\u00eb mjaft t\u00eb ekzekutoni t\u00eb gjith\u00eb tre llojet e p\u00ebrmendura m\u00eb sip\u00ebr 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 automatizimin e nisjes s\u00eb komponent\u00ebve n\u00eb Kubernetes. Ne gjithashtu planifikojm\u00eb t\u00eb b\u00ebjm\u00eb nj\u00eb operator Kubernetes. Helm chart nuk mbulon disa raste dhe mund t'ju sjell\u00eb probleme. P\u00ebr shembull, ai lejon t\u00eb pak\u00ebsohet numri i node-ve t\u00eb ruajtjes, gj\u00eb q\u00eb do t\u00eb \u00e7oj\u00eb n\u00eb humbjen e t\u00eb dh\u00ebnave.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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>Pasi t\u00eb keni nisur nj\u00eb binar apo versionin e klasterit, ju 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 remote write url<\/a><\/noindex>, p\u00ebr ta b\u00ebr\u00eb at\u00eb t\u00eb filloj\u00eb t\u00eb regjistroj\u00eb t\u00eb dh\u00ebnat paralel n\u00eb storage lokal dhe n\u00eb storage t\u00eb larg\u00ebt. Si\u00e7 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 kemi nevoj\u00eb t\u00eb mbajm\u00eb lidhjen nga VictoriaMetrics me t\u00eb gjith\u00eb Prometheus-t, sepse Prometheus-t vet\u00eb lidhin me VictoriaMetrics dhe transferojn\u00eb t\u00eb dh\u00ebnat. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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>T\u00eb shqyrtojm\u00eb mb\u00ebshtetjes Thanos dhe VictoriaMetrics.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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>Me Thanos, duhet t\u00eb monitoroni Sidecar-t, q\u00eb ata t\u00eb mos ndalin ngarkimin e t\u00eb dh\u00ebnave n\u00eb Object Storage. Ata mund ta ndalin k\u00ebt\u00eb proces p\u00ebr shkak t\u00eb problemeve me ngarkimin, p\u00ebr shembull, n\u00ebse ju ndalohet p\u00ebrkoh\u00ebsisht lidhja rrjet t\u00eb Object Storage, ose Object Storage b\u00ebhet p\u00ebrkoh\u00ebsisht i pap\u00ebrshkuesh\u00ebm. Thanos Sidecar n\u00eb k\u00ebt\u00eb moment do ta v\u00ebrej\u00eb dhe do t\u00eb raportoj\u00eb p\u00ebr gabimin, mund t\u00eb d\u00ebshtoj\u00eb dhe m\u00eb pas do t\u00eb ndaloj\u00eb t\u00eb funksionoj\u00eb. N\u00ebse nuk e monitoroni, t\u00eb dh\u00ebnat do t\u00eb ndalojn\u00eb s\u00eb transferuari n\u00eb Object Storage. N\u00ebse kalon koha e ruajtjes (6-8 or\u00eb e rekomanduar), do t\u00eb filloni 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=\"Zgjedhja e depozit\u00ebs s\u00eb 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 compactors mund t\u00eb ndalin s\u00eb punuari p\u00ebr shkak t\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/thanos-io\/thanos\/issues\/1919\">ndarjeve me Sidecar<\/a><\/noindex>. Kompaktor\u00ebt marrin t\u00eb dh\u00ebnat nga Object Storage dhe i bashkojn\u00eb ato n\u00eb pjes\u00eb m\u00eb t\u00eb m\u00ebdha t\u00eb t\u00eb dh\u00ebnave. Duke qen\u00eb se kompaktor\u00ebt nuk jan\u00eb t\u00eb sinkronizuar me Sidecar-at, mund t\u00eb ndodhi kjo: Sidecar ende nuk e ka p\u00ebrfunduar bllokun e t\u00eb dh\u00ebnave, Kompaktori vendos se ky bllok \u00ebsht\u00eb plot\u00ebsisht i regjistruar. Kompaktori fillon ta lexoj\u00eb. Ai lexon bllokun n\u00eb nj\u00eb format jo t\u00eb plot\u00eb dhe ndalon s\u00eb funksionuari. Shihni 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=\"Zgjedhja e depozit\u00ebs s\u00eb 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 jo konsistente p\u00ebr shkak t\u00eb ndarjeve midis Kompaktorit dhe Sidecar-\u00ebve. K\u00ebtu \u00ebsht\u00eb nj\u00eblloj, sepse Store Gateway nuk \u00ebsht\u00eb aspak i sinkronizuar me Kompaktor\u00ebt dhe Sidecar-at. Prandaj, mund t\u00eb krijohen gjendje ndarjeje, ku 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=\"Zgjedhja e depozit\u00ebs s\u00eb 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 rezultat t\u00eb pjessh\u00ebm, n\u00ebse disa Sidecar apo Store Gateway nuk jan\u00eb t\u00eb aksesuesh\u00ebm n\u00eb at\u00eb moment. Do t\u00eb merrni nj\u00eb pjes\u00eb t\u00eb t\u00eb dh\u00ebnave, dhe madje nuk do t\u00eb dini q\u00eb nuk keni marr\u00eb t\u00eb gjitha t\u00eb dh\u00ebnat. K\u00ebshtu \u00ebsht\u00eb e paracaktuar. N\u00eb situata t\u00eb ngjashme, VictoriaMetrics kthen t\u00eb dh\u00ebnat e caktuara si t\u00eb pjesshme. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 te VictoriaMetrics nd\u00ebrpritet, nuk ka problem, sepse Prometheus vazhdon t\u00eb shkruaj\u00eb t\u00eb dh\u00ebnat e reja q\u00eb arrijn\u00eb n\u00eb Write Ahead Log, e cila ka nj\u00eb madh\u00ebsi prej 2 or\u00ebsh. N\u00ebse brenda dy or\u00ebsh 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\/\">di t\u00eb shtoj\u00eb t\u00eb dh\u00ebnat pas rikthimit t\u00eb lidhjes me VictoriaMetrics.<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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>N\u00eb kund\u00ebrshtim me Thanos, i cili regjistron t\u00eb dh\u00ebnat n\u00eb Object Storage vet\u00ebm pas dy or\u00ebsh, Prometheus automatikisht riprodhon t\u00eb dh\u00ebnat p\u00ebrmes protokollit remote write n\u00eb ruajtjen e larg\u00ebt, si VictoriaMetrics. Nuk keni p\u00ebr \u00e7far\u00eb t\u00eb shqet\u00ebsoheni p\u00ebr humbjen e ruajtjes lokale n\u00eb Prometheus. N\u00ebse ndonj\u00ebher\u00eb humbni ruajtjen lokale, n\u00eb rastin m\u00eb t\u00eb keq, do t\u00eb humbni disa sekonda t\u00eb fundit t\u00eb t\u00eb dh\u00ebnave q\u00eb nuk jan\u00eb regjistruar n\u00eb ruajtjen e larg\u00ebt.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 menaxhon automatikisht klasterin n\u00eb ndryshim nga Thanos. T\u00eb gjith\u00eb komponent\u00ebt e Thanos-it \u00ebsht\u00eb e v\u00ebshtir\u00eb t'i vendosni n\u00eb nj\u00eb klaster Kubernetes, n\u00eb krahasim me komponent\u00ebt e klastrit t\u00eb VictoriaMetrics.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 proces shum\u00eb t\u00eb thjesht\u00eb p\u00ebr t\u00eb p\u00ebrdit\u00ebsuar n\u00eb versionin e ri. Thjesht e ndaloni VictoriaMetrics, p\u00ebrdit\u00ebsoni binar\u00ebt dhe e aktivizoni s\u00ebrish. Kur ndalohet p\u00ebrmes sinjalit SIGINT, t\u00eb gjith\u00eb binar\u00ebt e VictoriaMetrics b\u00ebjn\u00eb nj\u00eb mbyllje t\u00eb but\u00eb. Ata ruajn\u00eb t\u00eb dh\u00ebnat e nevojshme n\u00eb m\u00ebnyr\u00eb t\u00eb sakt\u00eb dhe mbyllin lidhjet e ardhshme 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=\"Zgjedhja e depozit\u00ebs s\u00eb 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>VictoriaMetrics \u00ebsht\u00eb shum\u00eb i leht\u00eb p\u00ebr t\u00eb zgjeruar kltrin. Thjesht shtoni komponent\u00ebt e nevojsh\u00ebm dhe vazhdoni pun\u00ebn. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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>Rreth \u00e7\u00ebshtjeve t\u00eb fshehura n\u00eb Thanos dhe VictoriaMetrics.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 disa \u00e7\u00ebshtje t\u00eb tilla. 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 pasur koh\u00eb t\u00eb shkruhen n\u00eb Object Storage, si S3. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 compactor mund t\u00eb k\u00ebrkojn\u00eb shum\u00eb memorie p\u00ebr t\u00eb punuar me Object Storage t\u00eb madh, n\u00ebse ka shum\u00eb skedar\u00eb t\u00eb vegj\u00ebl. Sa m\u00eb shum\u00eb t\u00eb jet\u00eb numri dhe volumi i skedar\u00ebve, aq m\u00eb shum\u00eb memorie operative k\u00ebrkojn\u00eb Store Gateway dhe compactor p\u00ebr t\u00eb ruajtur metainformacionin. Thanos ka shum\u00eb probleme lidhur me k\u00ebt\u00eb. <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/thanos-io\/thanos\/issues\/448\">Store Gateway dhe compactor ndodhin t\u00eb bien me volume t\u00eb mesme t\u00eb t\u00eb dh\u00ebnave t\u00eb shkruara.<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 shkallej pafund\u00ebsisht n\u00eb numrin e Prometheus-eve tuaj. N\u00eb t\u00eb v\u00ebrtet\u00eb, kjo nuk \u00ebsht\u00eb e v\u00ebrtet\u00eb. T\u00eb gjitha k\u00ebrkesat kalojn\u00eb p\u00ebrmes komponentit Query, i cili duhet t\u00eb ekzekutoj\u00eb paralelisht t\u00eb gjitha komponent\u00ebt Store Gateway dhe t\u00eb gjith\u00eb komponent\u00ebt Sidecar, t\u00eb nxjerr\u00eb t\u00eb dh\u00ebna nga aty dhe pastaj t'i p\u00ebrpunoj\u00eb ato. \u00cbsht\u00eb e qart\u00eb se shpejt\u00ebsia e k\u00ebrkesave \u00ebsht\u00eb e kufizuar nga elementi m\u00eb i ngadalsh\u00ebm, komponenti m\u00eb i ngadalt\u00eb Store Gateway ose m\u00eb i ngadalt\u00eb Sidecar. <\/p>\n<p><\/p>\n<p>K\u00ebto komponent\u00eb mund t\u00eb jen\u00eb t\u00eb ngarkuar n\u00eb m\u00ebnyr\u00eb t\u00eb paekuilibruar. P\u00ebr shembull, keni nj\u00eb Prometheus q\u00eb mbledh miliona metrike n\u00eb sekond\u00eb. Dhe ndodhet nj\u00eb Prometheus tjet\u00ebr q\u00eb mbledh mij\u00ebra metrike n\u00eb sekond\u00eb. Prometheus-i q\u00eb mbledh miliona metrike n\u00eb sekond\u00eb shkarkon shum\u00eb m\u00eb tep\u00ebr serverin ku punon. Prandaj, Sidecar atje punon m\u00eb ngadal\u00eb. Dhe gjith\u00e7ka punohet ngadal\u00eb atje. Komponenti Query do t\u00eb nxjerr\u00eb t\u00eb dh\u00ebnat ngadal\u00eb prej aty. Prandaj, performanca e t\u00ebr\u00eb kltrit tuaj do t\u00eb jet\u00eb e kufizuar nga ky Sidecar i ngadalsh\u00ebm.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 dhe\/ose Store Gateway nuk jan\u00eb t\u00eb disponuesh\u00ebm. P\u00ebr shembull, n\u00ebse keni Sidecar t\u00eb shp\u00ebrndara n\u00eb t\u00eb gjith\u00eb bot\u00ebn n\u00eb qendra t\u00eb ndryshme t\u00eb t\u00eb dh\u00ebnave, shkalla e nd\u00ebrprerjes s\u00eb lidhjeve dhe e pamund\u00ebsis\u00eb s\u00eb komponenteve rritet ndjesh\u00ebm. Prandaj, n\u00eb shumic\u00ebn e rasteve, do t\u00eb merrni t\u00eb dh\u00ebna t\u00eb pjesshme, pa e ditur k\u00ebt\u00eb.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 \u00e7\u00ebshtje t\u00eb fshehura. \u00c7\u00ebshtja e par\u00eb \u00ebsht\u00eb opsioni q\u00eb kufizon volumet e memories operative t\u00eb p\u00ebrdorura p\u00ebr cache t\u00eb VictoriaMetrics. N\u00eb m\u00ebnyr\u00eb t\u00eb parazgjedhur, ai \u00ebsht\u00eb nj\u00ebsoj me 60% t\u00eb memories operative n\u00eb makin\u00ebn ku \u00ebsht\u00eb aktivizuar VictoriaMetrics ose 60% t\u00eb RAM-it t\u00eb pod-it t\u00eb VictoriaMetrics n\u00eb Kubernetes.<\/p>\n<p><\/p>\n<p>N\u00ebse ky vler\u00eb ndryshohet gabimisht, mund t\u00eb d\u00ebmtoj\u00eb 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. K\u00ebshtu do t'i duhet t\u00eb b\u00ebj\u00eb pun\u00eb t\u00eb tep\u00ebrt dhe t\u00eb ngarkoj\u00eb procesorin dhe diskun. N\u00ebse e vendosni k\u00ebt\u00eb opsion shum\u00eb t\u00eb lart\u00eb, at\u00ebher\u00eb kjo rrit, s\u00eb pari, probabilitetin q\u00eb VictoriaMetrics t\u00eb dal\u00eb me nj\u00eb gabim out of memory, dhe s\u00eb dyti, do t\u00eb b\u00ebj\u00eb q\u00eb sistemi operativ t\u00eb ket\u00eb shum\u00eb pak kujtes\u00eb operative p\u00ebr cache-in e skedar\u00ebve. VictoriaMetrics mb\u00ebshtetet n\u00eb cache-in e skedar\u00ebve p\u00ebr performanc\u00ebn. N\u00ebse nuk ka mjaftuesh\u00ebm, at\u00ebher\u00eb mund t\u00eb rritet shum\u00eb ngarkesa n\u00eb disk. Prandaj, k\u00ebshilla: mos e ndryshoni k\u00ebt\u00eb parameter pa nevoj\u00eb t\u00eb madhe.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 m\u00ebnyr\u00eb t\u00eb parazgjedhur vendoset n\u00eb 1 muaj. Ky \u00ebsht\u00eb gjithashtu koha gjat\u00eb s\u00eb cil\u00ebs VictoriaMetrics ruan t\u00eb dh\u00ebnat. Pas k\u00ebtij afati, VictoriaMetrics fshin t\u00eb dh\u00ebnat.<\/p>\n<p><\/p>\n<p>Shum\u00eb e aktivizojn\u00eb VictoriaMetrics pa k\u00ebt\u00eb parameter, regjistruan t\u00eb dh\u00ebnat p\u00ebr nj\u00eb muaj. Dhe pastaj pyesin: pse t\u00eb dh\u00ebnat u humb\u00ebn p\u00ebr muajin e kaluar? Sepse retentionPeriod \u00ebsht\u00eb n\u00eb m\u00ebnyr\u00eb t\u00eb parazgjedhur 1 muaj. Prandaj, duhet t\u00eb dini dhe t\u00eb vendosni retentionPeriod-in e duhur. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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=\"Zgjedhja e depozit\u00ebs s\u00eb 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 funktion, si downsampling: intervalet 5-minut\u00eb dhe orare, 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\">punojn\u00eb gabimisht.<\/a><\/noindex>N\u00ebse k\u00ebrkoni n\u00eb Google dhe shikoni \u00e7\u00ebshtjet e tyre n\u00eb github, ka shum\u00eb \u00e7\u00ebshtje lidhur me k\u00ebt\u00eb downsampling, kur ai ndonj\u00ebher\u00eb punon gabimisht, ose punon ndryshe nga sa presin p\u00ebrdoruesit.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 dedupikimin e t\u00eb dh\u00ebnave p\u00ebr \u00e7iftet e Prometheus HA. Kur dy Prometheus 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 dedupikoj\u00eb sakt\u00ebsisht k\u00ebto t\u00eb dh\u00ebna, ndryshe nga VictoriaMetrics.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 nj\u00eb komponent alarmi, i cili ishte n\u00eb diagramin e Thanos. Por ai <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/thanos-io\/thanos\/blob\/master\/docs\/components\/rule.md\">nuk i rekomandohet t\u00eb p\u00ebrdoret n\u00eb production<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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>Thanos ka avantazhin q\u00eb kodi i Thanos dhe i Prometheus \u00ebsht\u00eb i nj\u00ebjt\u00eb. Thanos dhe Prometheus jan\u00eb zhvilluar nga t\u00eb nj\u00ebjt\u00ebt programues. Kur p\u00ebrmir\u00ebsohet Thanos, ose Prometheus fiton edhe pala tjet\u00ebr.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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>Karakteristika kryesore e VictoriaMetrics \u00ebsht\u00eb MetricsQL. Kjo \u00ebsht\u00eb nj\u00eb zgjerim i VictoriaMetrics p\u00ebr PromQL, p\u00ebr t\u00eb cilin kam folur n\u00eb takimin e fundit t\u00eb madhe p\u00ebr monitorimin.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 n\u00eb shum\u00eb protokolle t\u00eb ndryshme. VictoriaMetrics jo vet\u00ebm q\u00eb mund t\u00eb pranoj\u00eb t\u00eb dh\u00ebna nga Prometheus, por gjithashtu nga protokollet Influx, OpenTSDB dhe Graphite.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 zvog\u00eblim t\u00eb 2-5-fish t\u00eb madh\u00ebsis\u00eb s\u00eb t\u00eb dh\u00ebnave n\u00eb disk krahasuar me Prometheus dhe Thanos.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 tjet\u00ebr avantazh i VictoriaMetrics \u00ebsht\u00eb se ajo \u00ebsht\u00eb e optimizuar p\u00ebr shpejt\u00ebsi. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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>T\u00eb shohim kostot e infrastruktur\u00ebs. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 ruajtje objektesh, e cila \u00ebsht\u00eb relativisht e lir\u00eb.<\/p>\n<p><\/p>\n<p>Kur ruani t\u00eb dh\u00ebna n\u00eb ruajtjen e objekteve, duhet t\u00eb paguani p\u00ebr operacionet e regjistrimit dhe leximit t\u00eb t\u00eb dh\u00ebnave ($10 p\u00ebr milion operacione). Kur regjistroni t\u00eb dh\u00ebna n\u00eb ruajtjen e objekteve, paguani kostot e hostimit tuaj p\u00ebr ngarkimin e t\u00eb dh\u00ebnave n\u00eb internet, n\u00ebse klasteri juaj nuk ndodhet n\u00eb AWS - atje \u00ebsht\u00eb falas. Kur lexoni t\u00eb dh\u00ebna, paguani nga $10 deri n\u00eb $230 p\u00ebr 1TB. Kjo mund t\u00eb jet\u00eb e r\u00ebnd\u00ebsishme n\u00ebse k\u00ebrkoni shpesh t\u00eb dh\u00ebna historike nga klasteri Thanos.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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, duhet t\u00eb paguani p\u00ebr serverat p\u00ebr komponent\u00ebt Compact, Store Gateway, Query, t\u00eb cil\u00ebt k\u00ebrkojn\u00eb shum\u00eb memorie, CPU p\u00ebr sasi t\u00eb m\u00ebdha t\u00eb dh\u00ebnash.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 t\u00eb tilla. N\u00ebse ruani t\u00eb dh\u00ebnat n\u00eb disqet GCE HDD, at\u00ebher\u00eb del $40 p\u00ebr 1TB. P\u00ebr VictoriaMetrics mjaftojn\u00eb disqet HDD t\u00eb zakonshme, nuk ka nevoj\u00eb p\u00ebr ndonj\u00eb SSD, q\u00eb kushtojn\u00eb pes\u00eb her\u00eb m\u00eb shum\u00eb. VictoriaMetrics \u00ebsht\u00eb e optimizuar p\u00ebr HDD.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 nj\u00eb Single-node ose p\u00ebr komponent\u00eb klasteri, t\u00eb cil\u00ebt n\u00eb dallim nga komponent\u00ebt Thanos, k\u00ebrkojn\u00eb shum\u00eb m\u00eb pak CPU, RAM - p\u00ebr rezultatin do t\u00eb jet\u00eb m\u00eb e lir\u00eb. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 implementimeve. <\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 implementimi p\u00ebr Thanos \u00ebsht\u00eb Gitlab. Gitlab funksionon plot\u00ebsisht mbi Thanos. Por atje nuk \u00ebsht\u00eb gjith\u00e7ka kaq e thjesht\u00eb. N\u00ebse e shqyrtoni at\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/gitlab.com\/gitlab-com\/gl-infra\/infrastructure\/issues\/8647\">issues<\/a><\/noindex>, mund t\u00eb shihni se ata vazhdimisht kan\u00eb ndonj\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/gitlab.com\/gitlab-com\/gl-infra\/infrastructure\/issues\/8413\">probleme operative me Thanos<\/a><\/noindex>: nuk kan\u00eb mjaftuesh\u00ebm memorie p\u00ebr komponent\u00ebt Store Gateway ose Query. Ata vazhdimisht duhet t\u00eb rrisin sasin\u00eb e memories. <\/p>\n<p><\/p>\n<p>P\u00ebr k\u00ebt\u00eb arsye, rriten shpenzimet p\u00ebr zgjidhjen e k\u00ebtyre problemeve. <\/p>\n<p><\/p>\n<p>Implementimi i dyt\u00eb, i cili mund t\u00eb jet\u00eb m\u00eb i suksessh\u00ebm - \u00ebsht\u00eb kompania Improbable, e cila filloi zhvillimin e Thanos. Ata publikuan kodet burimore t\u00eb Thanos. Improbable - \u00ebsht\u00eb 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=\"Zgjedhja e depozit\u00ebs s\u00eb 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>Shembujt publik\u00eb t\u00eb implementimit t\u00eb VictoriaMetrics jan\u00eb:<\/p>\n<p><\/p>\n<ul>\n<li>wix.com ndihm\u00ebs krijimi i faqeve<\/li>\n<li>Adidas po implementon VictoriaMetrics dhe madje b\u00ebri nj\u00eb prezantim n\u00eb PromCon 2019 t\u00eb fundit<\/li>\n<li>TrafficStars - rrjeti i reklamave<\/li>\n<li>Seznam.cz - motor i njohur k\u00ebrkimi \u00e7ek.<\/li>\n<\/ul>\n<p><\/p>\n<p>Dhe m\u00eb tej erdh\u00ebn kompani t\u00eb panjohura q\u00eb nuk mund t'i p\u00ebrmend tani. Ata nuk dhan\u00eb p\u00eblqimin. <\/p>\n<p><\/p>\n<ul>\n<li>Nj\u00eb zhvillues i madh loj\u00ebrash. M\u00eb i madh se Improbable.<\/li>\n<li>Nj\u00eb zhvillues i madh i programeve grafike.<\/li>\n<li>Nj\u00eb bank\u00eb e madhe ruse.<\/li>\n<li>Nj\u00eb prodhues europian i turbinave me er\u00eb, i cili testoi me sukses VictoriaMetrics. Ky prodhues implementon VictoriaMetrics p\u00ebr monitorimin e t\u00eb dh\u00ebnave t\u00eb marra nga turbinat me er\u00eb me nj\u00eb p\u00ebrshpejtim prej 50 kampion\u00ebve n\u00eb sekond\u00eb p\u00ebr \u00e7do sensor. N\u00eb \u00e7do turbin\u00eb me er\u00eb ka disa qindra sensor\u00eb. Ata kan\u00eb disa qindra turbina me er\u00eb.<\/li>\n<li>Linjat ajrore ruse q\u00eb duan t\u00eb implementojn\u00eb VictoriaMetrics, por asnj\u00ebher\u00eb nuk mundin. Ne jemi n\u00eb faz\u00ebn e kontrat\u00ebs me ta.<\/li>\n<\/ul>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 n\u00eb m\u00ebnyra t\u00eb ndryshme:<\/p>\n<p><\/p>\n<ul>\n<li>Pamja globale e pyetjeve<\/li>\n<li>shkall\u00ebzim horizontal <\/li>\n<li>ruajtje e pritshme e rast\u00ebsishme<\/li>\n<\/ul>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 kanal ton\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/t.me\/VictoriaMetrics_ru1\">telegram<\/a><\/noindex>.<\/p>\n<p><\/p>\n<p><img decoding=\"async\" alt=\"Zgjedhja e depozit\u00ebs s\u00eb 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 lutemi.<\/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 votuan. 16 p\u00ebrdor\u00ebs u abstenuan.<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.0.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.0.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\udd47Zgjidhni ruajtjen e 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}]}}