Antecipando o início do curso "DevOps Practices and Tools", convidamos você a se inscrever em uma aula de demonstração gratuita sobre o tema: "Alice na nuvem: Aventuras com Terraform e Ansible".
E agora, estamos tradicionalmente compartilhando uma tradução útil.
As diretrizes neste artigo irão ajudá-lo a implementar o monitoramento do Prometheus e melhorar seu desempenho.
Prometheus é um dos principais blocos de construção de uma arquitetura nativa da nuvem. Já se tornou o padrão de fato para monitorar Kubernetes. No entanto, muitos aplicativos de terceiros e de nuvem não fornecem nativamente métricas no formato Prometheus. Por exemplo, o Linux não fornece essas métricas. É para isso que existem exportadores como o exportador de nós . É fácil baixar, executar e obter centenas de métricas para o sistema operacional.
Secure DevOps, DevSecOps, : . , . DevOps-, , .
Prometheus.
: " , , , Prometheus , ".
Prometheus , . . , , .
1.
Prometheus, , . .
— - , . , , PR / issue / Github, , , .
Prometheus , .
Exporters and Integrations Prometheus. , , , , , , .
, PromCat.io, Sysdig, , .
PromCat , , . Sysdig , . :
2.
. , . OpenMetrics, , type, info, unit.
, , — (label).
: " - ?", " ?", " ?". , MySQL. , , ( ) .
3.
. , . , , .
Prometheus-. DevOps (Service Level Indicators) (Service Level Objectives) " " (golden signals) , . Kubernetes .
, PromQL, , , . , promtool PromQL ( ).
, PromQL. , , Slack, Pagerduty, Service Now ..
4. ( )
, Prometheus, , , .
— . PromCat.io , Grafana Sysdig Monitor.
? , , , DevOps-. . , (View Only Collaborator ).
. RBAC, , . , , — .
PromQL — , Prometheus. PromQL , .
PromQL , , , . , , , -. PromQL- . , , .
5.
Prometheus , . — .
Prometheus (Global Prometheus Visibility): .
: Kubernetes, Prometheus'. Prometheus . , .
: Prometheus . , . , , .
, Grafana, Thanos, Cortex , Sysdig. , , SaaS-, SaaS- , . , , “Challenges using Prometheus at scale.” ( Prometheus).
Prometheus, cloud-native-, - Kubernetes. . , , . , , .
. Sysdig Prometheus, . Prometheus, MTTR, .
, “So Many Metrics, So Little Time: 5 Prometheus Exporter Best Practices“ (" : Prometheus").