Prometheus: Difference between revisions

From wikinotes
Line 54: Line 54:
|-
|-
| [[prometheus install]]
| [[prometheus install]]
|-
| [[prometheus exporters]]
|-
|-
| [[prometheus configuration]]
| [[prometheus configuration]]
|-
| [[prometheus exporters]]
|-
|-
|}
|}
Line 65: Line 65:
|-
|-
| [[prometheus usage]]
| [[prometheus usage]]
|-
| [[prometheus web ui]]
|-
| [[prometheus http api]]
|-
|-
| [[prometheus promql]]
| [[prometheus promql]]

Revision as of 01:34, 18 February 2022

A system monitoring tool

Documentation

home https://prometheus.io/

Tutorials

FreeBSD prometheus/grafana https://blog.andreev.it/?p=5289

Locations

http://${IP_ADDR}:9090 web-ui
http://${IP_ADDR}:9090/targets web-gui (health of queried metrics)
${PREFIX}/etc/prometheus.yml main configuration

Ports

9090 default

Overview

  • prometheus polls HTTP endpoints for collected metrics
  • these endpoints are called exporters, and they are generated/exposed using clients
  • you can configure alerts when a metric fails

Notes

Setup

prometheus install
prometheus exporters
prometheus configuration

Usage

prometheus usage
prometheus web ui
prometheus http api
prometheus promql
prometheus alerts

Dashboards

prometheus grafana