3.03 Accessing Prometheus web interface - MartinWong06/grafana GitHub Wiki

Access Prometheus via http://localhost:9090 or http://public_ip:9090

Prometheus Graph

By using PromQL, user can queries data from TSDB and generate simple graph.

Premetheus Status

  • Build information - Prometheus instance info
  • TSDB - Prometheus time series DB info
  • Command-Line Flag - Prometheus is through the use of command-line flags, which are parameters that can be passed to the Prometheus binary at runtime
  • Configuration - Prometheus instance configuration settings
  • Rules - A rules menu that allows users to define and manage alerting and recording rules. E.g. Alerting rules, recording rules
  • Targets - Managing the collection of metrics data from target machines and services
  • Service Discovery - Configuring and managing the automatic discovery of targets.

Prometheus Configuration

A yaml configuration show a list of job that execute by the Prometheus server

prometheus.yml
image

Targets

UI page that show list of targets. Prometheus collects metrics from monitored targets by scraping metrics HTTP endpoints on these targets image

Prometheus Node Exporter

Metrics page show all the metrics that can be collect by the Prometheus server

⚠️ **GitHub.com Fallback** ⚠️