Prometheus: Difference between revisions

From wikinotes
No edit summary
Line 1: Line 1:
A system monitoring tool.<br>
A system monitoring tool.<br>
Metrics are polled/persisted over REST,  
Metrics are polled/persisted over REST,


= Documentation =
= Documentation =
Line 86: Line 86:
|-
|-
|}
|}
</blockquote><!-- Notes -->


= Integrations =
<blockquote>
Dashboards
Dashboards
{| class="wikitable"
{| class="wikitable"
Line 96: Line 99:
|}
|}


Apps
Notifications
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 102: Line 105:
|-
|-
|}
|}
</blockquote><!-- Notes -->
</blockquote><!-- Integrations -->

Revision as of 15:33, 19 February 2022

A system monitoring tool.
Metrics are polled/persisted over REST,

Documentation

home https://prometheus.io/

Tutorials

overview https://sbcode.net/prometheus/

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 web-ui

Quickstart

  • prometheus polls HTTP endpoints for collected metrics
  • these endpoints are called exporters, and they are generated/exposed using clients
  • you can configure rules to persist data, or emit alerts when a metric fails
xdg-open localhost:9090                          # prometheus-ui
promtool check rules /path/to/example.rules.yml  # syntax-check rules

Notes

Setup

prometheus install
prometheus exporters
prometheus alerters

Configuration

prometheus configuration
prometheus rules

Usage

prometheus web ui
prometheus http api
prometheus promql

Integrations

Dashboards

prometheus grafana metric/graph dashboards
prometheus alerta alerts dashboard

Notifications

pagerduty android/ios push notifications on alerts