Prometheus: Difference between revisions

From wikinotes
Line 50: Line 50:
= Notes =
= Notes =
<blockquote>
<blockquote>
Setup
{| class="wikitable"
{| class="wikitable"
|-
|-

Revision as of 01:28, 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 configuration
prometheus exporters

Usage

prometheus usage
prometheus promql

Dashboards

prometheus grafana