{"id":56206,"date":"2020-02-07T00:00:00","date_gmt":"2020-02-06T21:00:00","guid":{"rendered":"https:\/\/prohoster.info\/blog\/blog_prohoster\/loki-sbor-logov-ispolzuya-podhod-prometheus"},"modified":"2021-02-01T11:41:00","modified_gmt":"2021-02-01T09:41:00","slug":"loki-sbor-logov-ispolzuya-podhod-prometheus","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/loki-sbor-logov-ispolzuya-podhod-prometheus","title":{"rendered":"Loki \u2014 mbledhja e logjeve duke p\u00ebrdorur qasje Prometheus","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p><i>P\u00ebrsh\u00ebndetje, an\u00ebtar\u00eb t\u00eb Habra! N\u00eb prag t\u00eb fillimit t\u00eb nj\u00eb kursi t\u00eb ri <noindex><a rel=\"nofollow\" href=\"https:\/\/otus.pw\/P37L\/\">\u00abPraktikat dhe mjetet DevOps\u00bb<\/a><\/noindex> kemi p\u00ebrgatitur p\u00ebr ju p\u00ebrkthimin e nj\u00eb materiali interesante.<\/i><\/p>\n<p>Ky artikull \u00ebsht\u00eb nj\u00eb hyrje e shkurt\u00ebr n\u00eb Loki. Projekti Loki <noindex><a rel=\"nofollow\" href=\"https:\/\/grafana.com\/oss\/loki\/\">mb\u00ebshtetet nga Grafana<\/a><\/noindex> dhe \u00ebsht\u00eb i fokusuar n\u00eb mbledhjen qendrore t\u00eb logeve (nga serverat ose kontejner\u00ebt).<\/p>\n<p>Burimi kryesor i frym\u00ebzimit p\u00ebr Loki ishte <noindex><a rel=\"nofollow\" href=\"http:\/\/prometheus.io\/\">Prometheus<\/a><\/noindex> ideja e aplikimit t\u00eb qasjeve t\u00eb tij n\u00eb menaxhimin e logeve:<\/p>\n<ul>\n<li>p\u00ebrdorimi i etiketave (labels) p\u00ebr ruajtjen e t\u00eb dh\u00ebnave<\/li>\n<li>konsumimi i nj\u00eb sasi t\u00eb vog\u00ebl t\u00eb burimeve<\/li>\n<\/ul>\n<p>Ne do t\u00eb kthehemi p\u00ebrs\u00ebri te parimet e funksionimit t\u00eb Prometheus dhe do t\u00eb japim disa shembuj t\u00eb p\u00ebrdorimit t\u00eb tij n\u00eb kontekstin e Kubernetes.<\/p>\n<h3>Disa fjal\u00eb p\u00ebr Prometheus<\/h3>\n<p>P\u00ebr t\u00eb kuptuar plot\u00ebsisht se si funksionon Loki, \u00ebsht\u00eb e r\u00ebnd\u00ebsishme t\u00eb b\u00ebjm\u00eb nj\u00eb hap prapa dhe t\u00eb kujtojm\u00eb pak Prometheus.<\/p>\n<p>Nj\u00eb nga karakteristikat dalluese t\u00eb Prometheus \u00ebsht\u00eb nxjerrja e metrikeve nga pik\u00ebt e mbledhjes (n\u00ebp\u00ebrmjet eksporter\u00ebve) dhe ruajtja e tyre n\u00eb TSDB (Time Series Data Base, baza e t\u00eb dh\u00ebnave t\u00eb serive t\u00eb koh\u00ebs) me shtimin e metadatave n\u00eb form\u00ebn e etiketave.<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><\/p>\n<h3>P\u00ebrse \u00ebsht\u00eb e nevojshme kjo?<\/h3>\n<p>Koh\u00ebve t\u00eb fundit, Prometheus \u00ebsht\u00eb b\u00ebr\u00eb standardi de-fakto n\u00eb bot\u00ebn e konteiner\u00ebve dhe Kubernetes: instalimi i tij \u00ebsht\u00eb shum\u00eb i thjesht\u00eb, dhe n\u00eb klasterin Kubernetes fillimisht ekziston nj\u00eb endpoint p\u00ebr Prometheus. Prometheus gjithashtu mund t\u00eb nxjerr\u00eb metrika nga aplikacionet e angazhuara n\u00eb konteiner, duke ruajtur disa etiketa. Prandaj, monitorimi i aplikacioneve \u00ebsht\u00eb shum\u00eb i thjesht\u00eb p\u00ebr t'u realizuar.<\/p>\n<p>Fatkeq\u00ebsisht, nuk ka ende nj\u00eb zgjidhje \u201ct\u00eb gatshme\u201d p\u00ebr menaxhimin e logeve, dhe ju duhet ta gjeni zgjidhjen p\u00ebr vete:<\/p>\n<ul>\n<li>sh\u00ebrbim i menaxhuar n\u00eb re p\u00ebr centralizimin e logeve (AWS, Azure ose Google)<\/li>\n<li>sh\u00ebrbim monitorimi \u00abmonitorim si sh\u00ebrbim\u00bb (monitoring as a service) (p.sh., Datadog)<\/li>\n<li>krijimi i sh\u00ebrbimit tuaj p\u00ebr mbledhjen e logeve.<\/li>\n<\/ul>\n<p>P\u00ebr opsionin e tret\u00eb, kam p\u00ebrdorur tradicionalisht Elasticsearch, megjith\u00ebse nuk kam qen\u00eb gjithmon\u00eb i k\u00ebnaqur me t\u00eb (sidomos p\u00ebr pesh\u00ebn dhe kompleksitetin e konfigurimit).<\/p>\n<p>Loki \u00ebsht\u00eb projektuar me q\u00ebllimin p\u00ebr t\u00eb thjeshtuar implementimin sipas k\u00ebtyre parimeve:<\/p>\n<ul>\n<li>t\u00eb jet\u00eb i thjesht\u00eb p\u00ebr t\u00eb filluar<\/li>\n<li>t\u00eb konsumoj\u00eb pak burime<\/li>\n<li>t\u00eb punoj\u00eb autonomisht pa ndihm\u00eb t\u00eb ve\u00e7ant\u00eb<\/li>\n<li>t\u00eb sh\u00ebrbej\u00eb si nj\u00eb shtes\u00eb p\u00ebr Prometheus p\u00ebr ndihm\u00eb n\u00eb hetimin e bug-eve<\/li>\n<\/ul>\n<p>Megjithat\u00eb, kjo thjesht\u00ebsi arrihet me disa kompromise. Nj\u00eb nga to \u00ebsht\u00eb q\u00eb p\u00ebrmbajtja nuk indeksohet. Prandaj, k\u00ebrkimi n\u00eb tekst nuk \u00ebsht\u00eb shum\u00eb efektiv ose i pasur dhe nuk lejon mbledhjen e statistikave mbi p\u00ebrmbajtjen e tekstit. Por, duke qen\u00eb se Loki do t\u00eb jet\u00eb ekuivalent me grep dhe nj\u00eb shtes\u00eb p\u00ebr Prometheus, kjo nuk \u00ebsht\u00eb nj\u00eb mang\u00ebsi.<\/p>\n<h3>Hulumtimi i incidenteve<\/h3>\n<p>P\u00ebr t\u00eb kuptuar m\u00eb mir\u00eb pse Loki nuk ka nevoj\u00eb p\u00ebr indeksim, le t\u00eb kthehemi te metoda e hulumtimit t\u00eb incidenteve q\u00eb p\u00ebrdor\u00ebn zhvilluesit e Loki:<\/p>\n<p><img decoding=\"async\" alt=\"Loki \u2014 mbledhja e logjeve duke p\u00ebrdorur qasje Prometheus\" src=\"\/wp-content\/uploads\/2020\/02\/2f9ba72d68ccafbe44ab1700d08e3a33.jpg\" style=\"display:block;margin: 0 auto;\"><br \/>\n<i>1 Alarm \u2192 2 Paneli i kontrollit \u2192 3 K\u00ebrkimi i Adhoc \u2192 4 Grumbullimi i Logjeve \u2192 5 Nd\u00ebrgjegj\u00ebsimi i Shp\u00ebrndar\u00eb \u2192 6 Rregullo!<br \/>\n(1 Alarm \u2192 2 Paneli i kontrollit \u2192 3 K\u00ebrkimi i Adhoc \u2192 4 Grumbullimi i Logjeve \u2192 5 Nd\u00ebrgjegj\u00ebsimi i Shp\u00ebrndar\u00eb \u2192 6 Rregullo!)<\/i><\/p>\n<p>Ideja \u00ebsht\u00eb q\u00eb ne marrim nj\u00eb alarm (Njoftim n\u00eb Slack, SMS etj.) dhe pastaj:<\/p>\n<ul>\n<li>shikojm\u00eb panelin e kontrollit t\u00eb Grafana<\/li>\n<li>shikojm\u00eb metrikat e sh\u00ebrbimeve (p\u00ebr shembull, n\u00eb Prometheus)<\/li>\n<li>shikojm\u00eb sh\u00ebnimet e logeve (p\u00ebr shembull, n\u00eb Elasticsearch)<\/li>\n<li>ndoshta, shohim ndjekjet e shp\u00ebrndara (Jaeger, Zipkin etj.)<\/li>\n<li>dhe, n\u00eb fund, rregullojm\u00eb problemin fillestar.<\/li>\n<\/ul>\n<p>K\u00ebtu, n\u00eb rastin e stack-ut Grafana + Prometheus + Elasticsearch + Zipkin, do t\u00eb duhet t\u00eb p\u00ebrdoren kat\u00ebr mjete t\u00eb ndryshme. P\u00ebr t\u00eb shkurtuar koh\u00ebn, do t\u00eb ishte mir\u00eb t\u00eb kishim mund\u00ebsin\u00eb t\u00eb realizonim t\u00eb gjitha k\u00ebto etapa me nj\u00eb mjet: Grafana. Duhet t\u00eb theksohet se ky qasje ndaj hetimin \u00ebsht\u00eb realizuar n\u00eb Grafana q\u00eb nga versioni 6. K\u00ebshtu, b\u00ebhet e mundur t\u00eb b\u00ebhet referenc\u00eb ndaj t\u00eb dh\u00ebnave t\u00eb Prometheus drejtp\u00ebrdrejt nga Grafana.<\/p>\n<p><img decoding=\"async\" alt=\"Loki \u2014 mbledhja e logjeve duke p\u00ebrdorur qasje Prometheus\" src=\"\/wp-content\/uploads\/2020\/02\/eefc5a599a23abeb0624f4e3265a31e6.jpg\" style=\"display:block;margin: 0 auto;\"><br \/>\n<i>Ekrani Explorer \u00ebsht\u00eb i ndar\u00eb midis Prometheus dhe Loki<\/i><\/p>\n<p>N\u00eb k\u00ebt\u00eb ekran mund t\u00eb shihni log-et n\u00eb Loki q\u00eb lidhen me metrikat e Prometheus, duke p\u00ebrdorur konceptin e ndarjes s\u00eb ekranit. Duke filluar nga versioni 6.5, Grafana lejon p\u00ebrpunimin e identifikuesit t\u00eb gjurmimit (trace id) n\u00eb regjistrat e log-eve t\u00eb Loki p\u00ebr lidhje me instrumentet tuaj t\u00eb preferuar t\u00eb gjurmimit t\u00eb shp\u00ebrndar\u00eb (Jaeger).<\/p>\n<h3>Testi lokal i Loki<\/h3>\n<p>M\u00ebnyra m\u00eb e thjesht\u00eb p\u00ebr testimin lokal t\u00eb Loki \u00ebsht\u00eb t\u00eb p\u00ebrdorni docker-compose. Skedari docker-compose ndodhet n\u00eb depozitarin e Loki. T\u00eb merrni depozitarin mund t\u00eb b\u00ebhet me komand\u00ebn e m\u00ebposhtme <code>git<\/code>:<\/p>\n<pre><code class=\"go\">$ git clone https:\/\/github.com\/grafana\/loki.git<\/code><\/pre>\n<p>M\u00eb pas duhet t\u00eb kaloni n\u00eb katalogun production:<\/p>\n<pre><code class=\"go\">$ cd production<\/code><\/pre>\n<p>Pas k\u00ebsaj, mund t\u00eb merrni versionin m\u00eb t\u00eb fundit t\u00eb imazheve Docker:<\/p>\n<pre><code class=\"go\">$ docker-compose pull<\/code><\/pre>\n<p>S\u00eb fundi, staku Loki niset me komand\u00ebn e m\u00ebposhtme:<\/p>\n<pre><code class=\"go\">$ docker-compose up<\/code><\/pre>\n<h3>Arkitektura e Loki<\/h3>\n<p>Ja nj\u00eb diagram\u00eb e vog\u00ebl me arkitektur\u00ebn e Loki:<\/p>\n<p><img decoding=\"async\" alt=\"Loki \u2014 mbledhja e logjeve duke p\u00ebrdorur qasje Prometheus\" src=\"\/wp-content\/uploads\/2020\/02\/fc5703bcebc1391e719640e99544f909.jpg\" style=\"display:block;margin: 0 auto;\"><br \/>\n<i>Principet e arkitektur\u00ebs s\u00eb Loki<\/i><\/p>\n<p>Klienti n\u00eb web nis aplikacione n\u00eb server, Promtail mbledh log-et dhe i d\u00ebrgon ato n\u00eb Loki, klienti n\u00eb web gjithashtu d\u00ebrgon metadatat n\u00eb Loki. Loki i agregon dhe i kalon n\u00eb Grafana.<br \/>\nLoki \u00ebsht\u00eb nisur. P\u00ebr t\u00eb par\u00eb komponent\u00ebt e pranish\u00ebm, kryeni komand\u00ebn e m\u00ebposhtme:<\/p>\n<pre><code class=\"go\">$ docker ps<\/code><\/pre>\n<p>N\u00eb rast t\u00eb nj\u00eb Docker-i t\u00eb instaluar rishtazi, komanda duhet t\u00eb kthej\u00eb rezultatin e m\u00ebposht\u00ebm:<\/p>\n<pre><code class=\"go\">IMAGE               PORTS                  NAMES\ngrafana\/promtail:                          production_promtail_1\ngrafana\/grafana: m  0.0.0.0:3000-&gt;3000\/tcp production_grafana_1\ngrafana\/loki: late  80\/tcp,0.0.0.0:3100... production_loki_1<\/code><\/pre>\n<p>Ne shohim komponent\u00ebt e m\u00ebposht\u00ebm:<\/p>\n<ul>\n<li>Promtail: agjenti q\u00eb \u00ebsht\u00eb p\u00ebrgjegj\u00ebs p\u00ebr centralizimin e log-eve<\/li>\n<li>Grafana: nj\u00eb mjet i njohur p\u00ebr panellet e kontrollit<\/li>\n<li>Loki: demon p\u00ebr centralizimin e t\u00eb dh\u00ebnave<\/li>\n<\/ul>\n<p>N\u00eb kuad\u00ebr t\u00eb infrastruktur\u00ebs klasike (p\u00ebr shembull, e bazuar n\u00eb makina virtuale), n\u00eb \u00e7do makin\u00eb duhet t\u00eb jet\u00eb instaluar agjenti Promtail. Grafana dhe Loki mund t\u00eb instalohen n\u00eb t\u00eb nj\u00ebjt\u00ebn makin\u00eb.<\/p>\n<h3>Deployimi n\u00eb Kubernetes<\/h3>\n<p>Instalimi i komponent\u00ebve t\u00eb Loki n\u00eb Kubernetes do t\u00eb p\u00ebrfshij\u00eb:<\/p>\n<ul>\n<li>daemonSet p\u00ebr vendosjen e agjentit Promtail n\u00eb secil\u00ebn nga makinat n\u00eb grumbullin e server\u00ebve<\/li>\n<li>vendosja (Deployment) e Loki<\/li>\n<li>dhe n\u00eb fund \u2014 vendosja e Grafana.<\/li>\n<\/ul>\n<p>P\u00ebr fat t\u00eb mir\u00eb, Loki \u00ebsht\u00eb n\u00eb dispozicion si nj\u00eb paket\u00eb Helm, q\u00eb e b\u00ebn vendosjen e tij m\u00eb t\u00eb leht\u00eb.<\/p>\n<h3>Instalimi p\u00ebrmes Helm<\/h3>\n<p>Helm duhet t\u00eb jet\u00eb tashm\u00eb i instaluar. Ai mund t\u00eb shkarkohet nga depoja GitHub e projektit. Ai instalohet duke shkarkuar arkiv\u00ebn, p\u00ebrkat\u00ebsisht p\u00ebr arkitektur\u00ebn tuaj, dhe duke e shtuar helm n\u00eb <code>$PATH<\/code>.<\/p>\n<blockquote><p><i><b>Sh\u00ebnim:<\/b> versioni 3.0.0 i Helm u l\u00ebshua rishtazi. Duke pasur parasysh se kishte shum\u00eb ndryshime, lexuesit rekomandohet t\u00eb presin pak para se ta p\u00ebrdorin at\u00eb.<\/i>.<\/p><\/blockquote>\n<h3>Shtimi i burimit p\u00ebr Helm<\/h3>\n<p>Hapi i par\u00eb do t\u00eb jet\u00eb shtimi i depozit\u00ebs \u201cloki\u201d duke p\u00ebrdorur komand\u00ebn e m\u00ebposhtme:<\/p>\n<pre><code class=\"go\">$ helm add loki https:\/\/grafana.github.io\/loki\/charts<\/code><\/pre>\n<p>Pas k\u00ebtij hapi, mund t\u00eb k\u00ebrkoni paketat me emrin \u201cloki\u201d:<\/p>\n<pre><code class=\"go\">$ helm search loki<\/code><\/pre>\n<p>Rezultati:<\/p>\n<pre><code class=\"go\">loki\/loki       0.17.2 v0.4.0 Loki: si Prometheus, por p\u00ebr logjet.\nloki\/loki-stack 0.19.1 v0.4.0 Loki: si Prometheus, por p\u00ebr logjet.\nloki\/fluent-bit 0.0.2  v0.0.1 P\u00ebrdor pluginin e lokit fluent-bit p\u00ebr...\nloki\/promtail   0.13.1 v0.4.0 P\u00ebrdoret p\u00ebr mbledhjen e logjeve dhe...<\/code><\/pre>\n<p>K\u00ebto paketa kan\u00eb funksionet e m\u00ebposhtme:<\/p>\n<ul>\n<li>paketa <b>loki\/loki<\/b> p\u00ebrputhet vet\u00ebm me serverin Loki<\/li>\n<li>paketa <b>loki\/fluent-bit<\/b> ju lejon t\u00eb vendosni DaemonSet, duke p\u00ebrdorur fluent-bit p\u00ebr mbledhjen e logjeve n\u00eb vend t\u00eb Promtail<\/li>\n<li>paketa <b>loki\/promtail<\/b> p\u00ebrmban agjentin e grumbullimit t\u00eb regjistrave<\/li>\n<li>paketa <b>loki\/loki-stack<\/b>, lejon menj\u00ebher\u00eb vendosjen e Loki s\u00eb bashku me Promtail.<\/li>\n<\/ul>\n<h3>Instalimi i Loki<\/h3>\n<p>P\u00ebr t\u00eb vendosur Loki n\u00eb Kubernetes, ekzekutoni komand\u00ebn n\u00eb hap\u00ebsir\u00ebn e emrave \"monitoring\":<\/p>\n<pre><code class=\"go\">$ helm upgrade --install loki loki\/loki-stack --namespace monitoring<\/code><\/pre>\n<p>P\u00ebr t\u00eb ruajtur n\u00eb disk, shtoni paramet\u00ebr <code>--set loki.persistence.enabled=true:<\/code><\/p>\n<pre><code class=\"go\">$ helm upgrade --install loki loki\/loki-stack \n              --namespace monitoring \n              --set loki.persistence.enabled=true<\/code><\/pre>\n<blockquote><p><i><b>Sh\u00ebnim:<\/b> n\u00ebse d\u00ebshironi t\u00eb vendosni gjithashtu Grafana, shtoni paramet\u00ebr <code>--set grafana.enabled=true<\/code><\/i><\/p><\/blockquote>\n<p>Duke ekzekutuar k\u00ebt\u00eb komand\u00eb, duhet t\u00eb merrni rezultatin e m\u00ebposht\u00ebm:<\/p>\n<pre><code class=\"go\">DEPOLLIMI I FUNDIT: Mar 19 N&euml;ntor 15:56:54 2019\nNAMESPACE: monitoring\nSTATUS: I DEPOLLIMIT\nRESURSET:\n==&amp;gt; v1\/ClusterRole\nEMRI MOSHA\nloki-promtail-clusterrole 189d\n&hellip;\nSHENIME:\nGrumbulli Loki &euml;sht&euml; vendosur n&euml; gril&euml;n tuaj. Loki tani mund t&euml; shtohet si nj&euml; burim t&euml; dh&euml;nash n&euml; Grafana.\nShih &lt;a href=&quot;http:\/\/docs.grafana.org\/features\/datasources\/loki\/&quot;&gt;http:\/\/docs.grafana.org\/features\/datasources\/loki\/&lt;\/a&gt; p&euml;r m&euml; shum&euml; detaje.<\/code><\/pre>\n<p>Duke par\u00eb gjendjen e pod\u00ebve n\u00eb hap\u00ebsir\u00ebn e emrave \"monitoring\", do t\u00eb shohim se t\u00eb gjitha jan\u00eb vendosur:<\/p>\n<pre><code class=\"go\">$ kubectl -n monitoring get pods -l release=loki<\/code><\/pre>\n<p>Rezultati:<\/p>\n<pre><code class=\"go\">EMRI                 GATI  STATUS   RIKTHESET  MOSHA\nloki-0               1\/1    PoFunksionon  0         147m\nloki-promtail-9zjvc  1\/1    PoFunksionon  0         3h25m\nloki-promtail-f6brf  1\/1    PoFunksionon  0         11h\nloki-promtail-hdcj7  1\/1    PoFunksionon  0         3h23m\nloki-promtail-jbqhc  1\/1    PoFunksionon  0         11h\nloki-promtail-mj642  1\/1    PoFunksionon  0         62m\nloki-promtail-nm64g  1\/1    PoFunksionon  0         24m<\/code><\/pre>\n<p>T\u00eb gjitha pod\u00ebt jan\u00eb nisur. Tani \u00ebsht\u00eb koha p\u00ebr disa teste!<\/p>\n<h3>Lidhja me Grafana<\/h3>\n<p>P\u00ebr t'u lidhur me Grafana n\u00eb Kubernetes, duhet t\u00eb hapni nj\u00eb tunel p\u00ebr podin e tij. M\u00eb posht\u00eb \u00ebsht\u00eb komanda p\u00ebr hapjen e portit 3000 p\u00ebr podin Grafana:<\/p>\n<pre><code class=\"go\">$ kubectl -n port-forward monitoring svc\/loki-grafana 3000:80<\/code><\/pre>\n<p>Nj\u00eb moment tjet\u00ebr i r\u00ebnd\u00ebsish\u00ebm \u00ebsht\u00eb nevoja p\u00ebr t\u00eb rikuperuar fjal\u00ebkalimin e administratorit t\u00eb Grafana. Fjal\u00ebkalimi ruhet n\u00eb sekret <code>loki-grafana<\/code> n\u00eb fush\u00ebn <code>.data.admin-user<\/code> n\u00eb formatin base64.<\/p>\n<p>P\u00ebr ta rikuperuar, duhet t\u00eb ekzekutoni komand\u00ebn n\u00eb vijim:<\/p>\n<pre><code class=\"go\">$ kubectl -n monitoring get secret loki-grafana \n --template '{{index .data \"admin-password\" | base64decode}}'; echo<\/code><\/pre>\n<p>P\u00ebrdorni k\u00ebt\u00eb fjal\u00ebkalim s\u00eb bashku me llogarin\u00eb e administratorit t\u00eb paracaktuar (admin).<\/p>\n<h3>P\u00ebrkufizimi i burimit t\u00eb t\u00eb dh\u00ebnave Loki n\u00eb Grafana<\/h3>\n<p>S\u00eb pari, sigurohuni q\u00eb burimi i t\u00eb dh\u00ebnave Loki t\u00eb jet\u00eb krijuar (Configuration \/ Datasource).<br \/>\nJa nj\u00eb shembull:<\/p>\n<p><img decoding=\"async\" alt=\"Loki \u2014 mbledhja e logjeve duke p\u00ebrdorur qasje Prometheus\" src=\"\/wp-content\/uploads\/2020\/02\/3b670a4b1a8b4db74b1e1f525fd03129.jpg\" style=\"display:block;margin: 0 auto;\"><br \/>\n<i>Shembulli i konfigurimit t\u00eb burimit t\u00eb t\u00eb dh\u00ebnave p\u00ebr Loki<\/i><\/p>\n<p>Duke klikuar n\u00eb \"Test\", mund t\u00eb kontrolloni lidhjen me Loki.<\/p>\n<h3>B\u00ebni k\u00ebrkesa n\u00eb Loki<\/h3>\n<p>Tani kaloni n\u00eb Grafana n\u00eb seksionin \"Explore\". Kur merrni log-et nga kontejner\u00ebt, Loki shton metadatat nga Kubernetes. K\u00ebshtu, \u00ebsht\u00eb e mundur t\u00eb shihni log-et e nj\u00eb kontejneri t\u00eb caktuar.<\/p>\n<p>P\u00ebr shembull, p\u00ebr t\u00eb zgjedhur log-et e kontejnerit promtail, mund t\u00eb p\u00ebrdorni k\u00ebrkes\u00ebn e m\u00ebposhtme: <code>{container_name = \"promtail\"}<\/code>.<br \/>\nK\u00ebtu gjithashtu nuk duhet t\u00eb harroni t\u00eb zgjidhni burimin e t\u00eb dh\u00ebnave Loki.<\/p>\n<p>Kjo k\u00ebrkes\u00eb do t\u00eb kthej\u00eb aktivitetin e kontejner\u00ebve n\u00eb k\u00ebt\u00eb form\u00eb:<\/p>\n<p><img decoding=\"async\" alt=\"Loki \u2014 mbledhja e logjeve duke p\u00ebrdorur qasje Prometheus\" src=\"\/wp-content\/uploads\/2020\/02\/ed2baebd374b9a6242cfc397776fa65f.jpg\" style=\"display:block;margin: 0 auto;\"><br \/>\n<i>Rezultati i k\u00ebrkes\u00ebs n\u00eb Grafana <\/i><\/p>\n<h3>Shtimi n\u00eb panelin e kontrollit<\/h3>\n<p>Me Grafana 6.4, \u00ebsht\u00eb e mundur t\u00eb vendosni informacionin p\u00ebr log\u00ebt direkt n\u00eb dashboard. Pas k\u00ebsaj, p\u00ebrdoruesi mund t\u00eb kaloj\u00eb shpejt midis numrit t\u00eb k\u00ebrkesave n\u00eb faqen e tij dhe gjurm\u00ebve t\u00eb aplikacionit.<\/p>\n<p>M\u00eb posht\u00eb \u00ebsht\u00eb nj\u00eb shembull i nj\u00eb dashboardi q\u00eb realizon k\u00ebt\u00eb nd\u00ebrveprim:<\/p>\n<p><img decoding=\"async\" alt=\"Loki \u2014 mbledhja e logjeve duke p\u00ebrdorur qasje Prometheus\" src=\"\/wp-content\/uploads\/2020\/02\/d76c5345d543579eb3768fcdb0a2567b.jpg\" style=\"display:block;margin: 0 auto;\"><br \/>\n<i>Shembulli i nj\u00eb dashboardi me metrika Prometheus dhe log\u00eb Loki<\/i><\/p>\n<h3>E ardhmja e Loki<\/h3>\n<p>Kam filluar ta p\u00ebrdor Loki q\u00eb n\u00eb maj\/qershor me versionin 0.1. Sot \u00ebsht\u00eb l\u00ebshuar versioni 1, madje edhe 1.1 dhe 1.2.<\/p>\n<p>Duhet pranuar se versioni 0.1 nuk ishte mjaft stabil. Por 0.3 tregoi tashm\u00eb shenja reale t\u00eb pjekuris\u00eb, dhe versionet pasuese (0.4, pastaj 1.0) vet\u00ebm e forcuan k\u00ebt\u00eb p\u00ebrshtypje.<\/p>\n<p>Pas 1.0.0, askush nuk mund t\u00eb ket\u00eb m\u00eb justifikime p\u00ebr t\u00eb mos p\u00ebrdorur k\u00ebt\u00eb mjet t\u00eb mrekulluesh\u00ebm.<\/p>\n<p>P\u00ebrmir\u00ebsimet e m\u00ebtejshme duhet t\u00eb prekin jo Loki, por m\u00eb shum\u00eb integrimin e tij me Grafana t\u00eb shk\u00eblqyer. N\u00eb t\u00eb v\u00ebrtet\u00eb, n\u00eb Grafana 6.4 tashm\u00eb ka nj\u00eb integrim t\u00eb mir\u00eb me dashboardet.<\/p>\n<p>Grafana 6.5, e cila u l\u00ebshua recently, e p\u00ebrmir\u00ebson edhe m\u00eb shum\u00eb k\u00ebt\u00eb integrim, duke njohur automatikisht p\u00ebrmbajtjen e log\u00ebve n\u00eb formatin JSON.<\/p>\n<p>M\u00eb posht\u00eb n\u00eb video \u00ebsht\u00eb nj\u00eb shembull i vog\u00ebl i k\u00ebsaj mekanizmi:<\/p>\n<p><img decoding=\"async\" alt=\"Loki \u2014 mbledhja e logjeve duke p\u00ebrdorur qasje Prometheus\" src=\"\/wp-content\/uploads\/2020\/02\/1e0a5269f21e401f349a35788672aec1.jpg\" style=\"display:block;margin: 0 auto;\"><br \/>\n<i>P\u00ebrdorimi i rreshtave Loki, t\u00eb shfaqura n\u00eb Grafana<\/i><\/p>\n<p>\u00cbsht\u00eb e mundur t\u00eb p\u00ebrdorni nj\u00eb nga fushat JSON, p\u00ebr shembull, p\u00ebr:<\/p>\n<ul>\n<li>linke n\u00eb mjetet e jashtme<\/li>\n<li>filtrimin e p\u00ebrmbajtjes s\u00eb logjeve<\/li>\n<\/ul>\n<p>P\u00ebr shembull, mund t\u00eb klikoni n\u00eb traceId p\u00ebr t\u00eb kaluar n\u00eb Zipkin ose Jaeger.<\/p>\n<p>Tradicionalisht, presim komentet tuaja dhe ju ftojm\u00eb n\u00eb <noindex><a rel=\"nofollow\" href=\"https:\/\/otus.pw\/P37L\/\">webinari t\u00eb hapur<\/a><\/noindex>, ku do t\u00eb flasim rreth zhvillimit t\u00eb industris\u00eb DevOps gjat\u00eb vitit 2019 dhe do t\u00eb diskutojm\u00eb mund\u00ebsit\u00eb p\u00ebr zhvillimin n\u00eb vitin 2020.<\/p>\n<p>Burimi: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/company\/otus\/blog\/487118\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0421\u0430\u043b\u044e\u0442, \u0445\u0430\u0431\u0440\u043e\u0432\u0447\u0430\u043d\u0435! \u0412 \u043f\u0440\u0435\u0434\u0434\u0432\u0435\u0440\u0438\u0438 \u0441\u0442\u0430\u0440\u0442\u0430 \u043d\u043e\u0432\u043e\u0433\u043e \u043d\u0430\u0431\u043e\u0440\u0430 \u043d\u0430 \u043a\u0443\u0440\u0441 \u00abDevOps \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438 \u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b\u00bb \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0438 \u0434\u043b\u044f \u0432\u0430\u0441 \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430. \u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u2014 \u043a\u0440\u0430\u0442\u043a\u043e\u0435 \u0432\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 Loki. \u041f\u0440\u043e\u0435\u043a\u0442 Loki \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f Grafana \u0438 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u043d\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u0431\u043e\u0440 \u043b\u043e\u0433\u043e\u0432 (\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0438\u043b\u0438 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432). \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0435\u043d\u0438\u044f \u0434\u043b\u044f Loki \u0431\u044b\u043b Prometheus \u0441 \u0438\u0434\u0435\u0435\u0439 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0435\u0433\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u043e\u0432 \u043a \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u043b\u043e\u0433\u0430\u043c\u0438: [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-56206","post","type-post","status-publish","format-standard","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0421\u0430\u043b\u044e\u0442, \u0445\u0430\u0431\u0440\u043e\u0432\u0447\u0430\u043d\u0435! \u0412 \u043f\u0440\u0435\u0434\u0434\u0432\u0435\u0440\u0438\u0438 \u0441\u0442\u0430\u0440\u0442\u0430 \u043d\u043e\u0432\u043e\u0433\u043e \u043d\u0430\u0431\u043e\u0440\u0430 \u043d\u0430 \u043a\u0443\u0440\u0441 \u00abDevOps \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438 \u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b\u00bb \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0438 \u0434\u043b\u044f \u0432\u0430\u0441 \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430. \u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u2014 \u043a\u0440\u0430\u0442\u043a\u043e\u0435 \u0432\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 Loki. \u041f\u0440\u043e\u0435\u043a\u0442 Loki \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f Grafana \u0438 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u043d\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u0431\u043e\u0440 \u043b\u043e\u0433\u043e\u0432 (\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0438\u043b\u0438 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432). \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0435\u043d\u0438\u044f \u0434\u043b\u044f Loki \u0431\u044b\u043b Prometheus \u0441 \u0438\u0434\u0435\u0435\u0439 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0435\u0433\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u043e\u0432 \u043a \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u043b\u043e\u0433\u0430\u043c\u0438:\" \/>\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\/loki-sbor-logov-ispolzuya-podhod-prometheus\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\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\udd47Loki \u2014 \u0441\u0431\u043e\u0440 \u043b\u043e\u0433\u043e\u0432, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043f\u043e\u0434\u0445\u043e\u0434 Prometheus | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0421\u0430\u043b\u044e\u0442, \u0445\u0430\u0431\u0440\u043e\u0432\u0447\u0430\u043d\u0435! \u0412 \u043f\u0440\u0435\u0434\u0434\u0432\u0435\u0440\u0438\u0438 \u0441\u0442\u0430\u0440\u0442\u0430 \u043d\u043e\u0432\u043e\u0433\u043e \u043d\u0430\u0431\u043e\u0440\u0430 \u043d\u0430 \u043a\u0443\u0440\u0441 \u00abDevOps \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438 \u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b\u00bb \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0438 \u0434\u043b\u044f \u0432\u0430\u0441 \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430. \u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u2014 \u043a\u0440\u0430\u0442\u043a\u043e\u0435 \u0432\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 Loki. \u041f\u0440\u043e\u0435\u043a\u0442 Loki \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f Grafana \u0438 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u043d\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u0431\u043e\u0440 \u043b\u043e\u0433\u043e\u0432 (\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0438\u043b\u0438 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432). \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0435\u043d\u0438\u044f \u0434\u043b\u044f Loki \u0431\u044b\u043b Prometheus \u0441 \u0438\u0434\u0435\u0435\u0439 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0435\u0433\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u043e\u0432 \u043a \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u043b\u043e\u0433\u0430\u043c\u0438:\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/loki-sbor-logov-ispolzuya-podhod-prometheus\" \/>\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=\"2020-02-06T21:00:00+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2021-02-01T09:41:00+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\udd47Loki \u2014 mbledhja e logeve duke p\u00ebrdorur qasjen e Prometheus | ProHoster","description":"P\u00ebrsh\u00ebndetje, komunitet i Habrahabr! N\u00eb prag t\u00eb fillimit t\u00eb nj\u00eb grupi t\u00eb ri p\u00ebr kursin \"Praktikat dhe mjetet DevOps\", kemi p\u00ebrgatitur p\u00ebr ju nj\u00eb p\u00ebrkthim t\u00eb materialeve interesante. Ky artikull \u00ebsht\u00eb nj\u00eb hyrje e shkurt\u00ebr n\u00eb Loki. Projekti Loki mb\u00ebshtetet nga Grafana dhe ka p\u00ebr q\u00ebllim grumbullimin e p\u00ebrqendruar t\u00eb logjeve (nga serverat ose konteiner\u00ebt). Burimi kryesor i frym\u00ebzimit p\u00ebr Loki ishte Prometheus me iden\u00eb p\u00ebr t\u00eb p\u00ebrdorur qasjet e tij n\u00eb menaxhimin e logeve:","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/loki-sbor-logov-ispolzuya-podhod-prometheus","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\udd47Loki \u2014 \u0441\u0431\u043e\u0440 \u043b\u043e\u0433\u043e\u0432, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u044f \u043f\u043e\u0434\u0445\u043e\u0434 Prometheus | ProHoster","og:description":"\u0421\u0430\u043b\u044e\u0442, \u0445\u0430\u0431\u0440\u043e\u0432\u0447\u0430\u043d\u0435! \u0412 \u043f\u0440\u0435\u0434\u0434\u0432\u0435\u0440\u0438\u0438 \u0441\u0442\u0430\u0440\u0442\u0430 \u043d\u043e\u0432\u043e\u0433\u043e \u043d\u0430\u0431\u043e\u0440\u0430 \u043d\u0430 \u043a\u0443\u0440\u0441 \u00abDevOps \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0438 \u0438 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u044b\u00bb \u043f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u0438\u043b\u0438 \u0434\u043b\u044f \u0432\u0430\u0441 \u043f\u0435\u0440\u0435\u0432\u043e\u0434 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0433\u043e \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0430. \u042d\u0442\u0430 \u0441\u0442\u0430\u0442\u044c\u044f \u2014 \u043a\u0440\u0430\u0442\u043a\u043e\u0435 \u0432\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 Loki. \u041f\u0440\u043e\u0435\u043a\u0442 Loki \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442\u0441\u044f Grafana \u0438 \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d \u043d\u0430 \u0446\u0435\u043d\u0442\u0440\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u0431\u043e\u0440 \u043b\u043e\u0433\u043e\u0432 (\u0441 \u0441\u0435\u0440\u0432\u0435\u0440\u043e\u0432 \u0438\u043b\u0438 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u043e\u0432). \u041e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u0432\u0434\u043e\u0445\u043d\u043e\u0432\u0435\u043d\u0438\u044f \u0434\u043b\u044f Loki \u0431\u044b\u043b Prometheus \u0441 \u0438\u0434\u0435\u0435\u0439 \u043f\u0440\u0438\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0435\u0433\u043e \u043f\u043e\u0434\u0445\u043e\u0434\u043e\u0432 \u043a \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044e \u043b\u043e\u0433\u0430\u043c\u0438:","og:url":"https:\/\/prohoster.info\/sq\/blog\/administrirovanie\/loki-sbor-logov-ispolzuya-podhod-prometheus","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":"2020-02-06T21:00:00+00:00","article:modified_time":"2021-02-01T09:41:00+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"56206","title":null,"description":"","keywords":"","keyphrases":null,"primary_term":null,"canonical_url":"","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":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 19:29:18","updated":"2022-09-28 02:03:48"},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/56206","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=56206"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/56206\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=56206"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=56206"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=56206"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}