Sync portfolio laboratory source
This commit is contained in:
parent
ace531dace
commit
24203e1f78
3 changed files with 67 additions and 1 deletions
|
|
@ -324,4 +324,69 @@
|
|||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
<diagram id="metrics" name="Сбор метрик">
|
||||
<mxGraphModel grid="1" gridSize="10" guides="1" page="1" pageWidth="1280" pageHeight="740" background="#ffffff">
|
||||
<root>
|
||||
<mxCell id="0" />
|
||||
<mxCell id="1" parent="0" />
|
||||
<mxCell id="title" value="<b>Сбор метрик</b><br><font style="font-size:14px">От источников до временных рядов, дашбордов и правил оповещений</font>" style="rounded=1;html=1;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=15;spacingRight=10;fontSize=20;fillColor=#142b40;fontColor=#ffffff;strokeColor=#8496aa;" vertex="1" parent="1">
|
||||
<mxGeometry x="42" y="28" width="1196" height="68" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="host" value="<b>Telegraf на гипервизоре</b><br>CPU, память, диски, сеть и метрики libvirt" style="rounded=1;html=1;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=15;spacingRight=10;fontSize=15;fillColor=#e7eff9;fontColor=#142b40;strokeColor=#8496aa;" vertex="1" parent="1">
|
||||
<mxGeometry x="42" y="136" width="248" height="91" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="exporters" value="<b>Экспортёры сервисов</b><br>Состояние Kubernetes, CNPG, MinIO, Trivy и сам Collector" style="rounded=1;html=1;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=15;spacingRight=10;fontSize=15;fillColor=#e7eff9;fontColor=#142b40;strokeColor=#8496aa;" vertex="1" parent="1">
|
||||
<mxGeometry x="42" y="285" width="248" height="105" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="worker" value="<b>Воркеры и kubelet</b><br>ОС, Pod, контейнеры и тома" style="rounded=1;html=1;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=15;spacingRight=10;fontSize=15;fillColor=#e7eff9;fontColor=#142b40;strokeColor=#8496aa;" vertex="1" parent="1">
|
||||
<mxGeometry x="42" y="463" width="248" height="91" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="gateway" value="<b>OTel Collector Gateway</b><br>Принимает OTLP, опрашивает Prometheus-экспортёры, пакетирует метрики" style="rounded=1;html=1;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=15;spacingRight=10;fontSize=15;fillColor=#fff1dc;fontColor=#142b40;strokeColor=#8496aa;" vertex="1" parent="1">
|
||||
<mxGeometry x="353" y="205" width="250" height="125" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="daemon" value="<b>OTel на воркерах</b><br>hostmetrics и kubeletstats, метка источника и пакетирование" style="rounded=1;html=1;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=15;spacingRight=10;fontSize=15;fillColor=#fff1dc;fontColor=#142b40;strokeColor=#8496aa;" vertex="1" parent="1">
|
||||
<mxGeometry x="353" y="450" width="250" height="115" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="metrics" value="<b>VictoriaMetrics</b><br>Хранилище временных рядов на постоянном томе" style="rounded=1;html=1;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=15;spacingRight=10;fontSize=15;fillColor=#dff1e9;fontColor=#142b40;strokeColor=#8496aa;" vertex="1" parent="1">
|
||||
<mxGeometry x="668" y="295" width="246" height="100" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="grafana" value="<b>Grafana</b><br>Панели ресурсов и сервисов" style="rounded=1;html=1;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=15;spacingRight=10;fontSize=15;fillColor=#e7eff9;fontColor=#142b40;strokeColor=#8496aa;" vertex="1" parent="1">
|
||||
<mxGeometry x="980" y="144" width="258" height="88" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="alert" value="<b>vmalert</b><br>Выполняет правила по временным рядам" style="rounded=1;html=1;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=15;spacingRight=10;fontSize=15;fillColor=#e7eff9;fontColor=#142b40;strokeColor=#8496aa;" vertex="1" parent="1">
|
||||
<mxGeometry x="980" y="320" width="258" height="88" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="notify" value="<b>Alertmanager</b><br>Группирует и направляет оповещения" style="rounded=1;html=1;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=15;spacingRight=10;fontSize=15;fillColor=#e7eff9;fontColor=#142b40;strokeColor=#8496aa;" vertex="1" parent="1">
|
||||
<mxGeometry x="980" y="488" width="258" height="90" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="host-gateway" value="OTLP" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;strokeColor=#425e73;strokeWidth=1.5;fontSize=12;labelBackgroundColor=#ffffff;exitX=1;exitY=0.6;entryX=0;entryY=0.28;" edge="1" parent="1" source="host" target="gateway">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="exporters-gateway" value="Scrape" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;strokeColor=#425e73;strokeWidth=1.5;fontSize=12;labelBackgroundColor=#ffffff;exitX=1;exitY=0.45;entryX=0;entryY=0.77;" edge="1" parent="1" source="exporters" target="gateway">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="worker-daemon" value="" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;strokeColor=#425e73;strokeWidth=1.5;fontSize=12;labelBackgroundColor=#ffffff;exitX=1;exitY=0.5;entryX=0;entryY=0.5;" edge="1" parent="1" source="worker" target="daemon">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="gateway-metrics" value="OTLP" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;strokeColor=#425e73;strokeWidth=1.5;fontSize=12;labelBackgroundColor=#ffffff;exitX=1;exitY=0.65;entryX=0;entryY=0.27;" edge="1" parent="1" source="gateway" target="metrics">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="daemon-metrics" value="OTLP" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;strokeColor=#425e73;strokeWidth=1.5;fontSize=12;labelBackgroundColor=#ffffff;exitX=1;exitY=0.35;entryX=0;entryY=0.75;" edge="1" parent="1" source="daemon" target="metrics">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="metrics-grafana" value="PromQL" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;strokeColor=#425e73;strokeWidth=1.5;fontSize=12;labelBackgroundColor=#ffffff;exitX=1;exitY=0.28;entryX=0;entryY=0.5;" edge="1" parent="1" source="metrics" target="grafana">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="metrics-alert" value="PromQL" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;strokeColor=#425e73;strokeWidth=1.5;fontSize=12;labelBackgroundColor=#ffffff;exitX=1;exitY=0.75;entryX=0;entryY=0.5;" edge="1" parent="1" source="metrics" target="alert">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="alert-notify" value="алерты" style="edgeStyle=orthogonalEdgeStyle;rounded=1;html=1;endArrow=block;strokeColor=#425e73;strokeWidth=1.5;fontSize=12;labelBackgroundColor=#ffffff;exitX=0.5;exitY=1;entryX=0.5;entryY=0;" edge="1" parent="1" source="alert" target="notify">
|
||||
<mxGeometry relative="1" as="geometry" />
|
||||
</mxCell>
|
||||
<mxCell id="note" value="Стрелки показывают движение данных. Коллекторы отправляют метрики в VictoriaMetrics по OTLP/HTTP, а Grafana и vmalert читают их через Prometheus-совместимый API." style="rounded=1;html=1;whiteSpace=wrap;align=left;verticalAlign=middle;spacingLeft=15;spacingRight=10;fontSize=15;fillColor=#eef3f8;fontColor=#142b40;strokeColor=#8496aa;" vertex="1" parent="1">
|
||||
<mxGeometry x="42" y="622" width="1196" height="65" as="geometry" />
|
||||
</mxCell>
|
||||
</root>
|
||||
</mxGraphModel>
|
||||
</diagram>
|
||||
</mxfile>
|
||||
Loading…
Add table
Add a link
Reference in a new issue