In anticipation of the start of the "DevOps Practices and Tools" course, we invite you to sign up for a free demo lesson on the topic: "Alice in the Cloud: Adventures with Terraform and Ansible".
And right now, we are traditionally sharing a useful translation.
The guidelines in this article will help you implement Prometheus monitoring and improve your performance.
Prometheus is one of the basic building blocks of a cloud-native architecture. It has already become the de facto standard for monitoring Kubernetes. However, many third-party and cloud applications do not natively provide metrics in Prometheus format. For example, Linux does not provide such metrics. This is what exporters like node exporter are for . It's easy to download, run, and get hundreds of operating system metrics.
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").