Prometheus notes (01) - environment construction, docker installation prometheus/node-exporter/alertmanager/granafa

PrometheusOfficial website: https://prometheus.io/
Prometheus Advantages:

  • It Kubernetessupports very well, so far, Prometheusit is the standard configuration for Kubernetesmonitoring .
  • The ecology is huge, there are various types Exporter, and it supports various timing libraries as back-end Backendstorage , and it also supports a variety of different languages SDK​​for business code embedding.

PrometheusShortcomings:

  • The usability is poor. For example, the alarm strategy needs to modify the configuration file, which is troublesome to coordinate. Of course, for companies with better implementation of IaC, they think this is better. However, in the current domestic environment, they cannot go so far. Everyone still prefers to use the web interface to view monitoring data and manage alarm rules.
  • ExporterUneven, usually one monitoring target Exporter, the cost of management is relatively high.
  • Due to capacity issues, Prometheusonly stand-alone timing libraries are provided by default, and cluster solutions need to rely on other timing libraries.

1. Binary installation

PrometheusDownload address: https://prometheus.io/download/

Guess you like

Origin blog.csdn.net/wohu1104/article/details/128737085