This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
sw:grafana:intro [2020/05/10 09:13] – created Frank Fegert | sw:grafana:intro [2023/01/06 08:25] (current) – Frank Fegert | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Introduction ====== | ====== Introduction ====== | ||
- | FIXME | + | Grafana allows you to query, visualize, alert on and understand your metrics no matter where they are stored. Grafana has pluggable data source model and comes bundled with rich support for many of the most popular time series databases like Graphite, Prometheus, Elasticsearch, |
+ | |||
+ | Create, explore, and share dashboards with your team and foster a data driven culture: | ||
+ | |||
+ | * Visualize: Fast and flexible client side graphs with a multitude of options. Panel plugins for many different way to visualize metrics and logs. < | ||
+ | * Dynamic Dashboards: Create dynamic & reusable dashboards with template variables that appear as dropdowns at the top of the dashboard. < | ||
+ | * Explore Metrics: Explore your data through ad-hoc queries and dynamic drilldown. Split view and compare different time ranges, queries and data sources side by side. < | ||
+ | * Explore Logs: Experience the magic of switching from metrics to logs with preserved label filters. Quickly search through all your logs or streaming them live. < | ||
+ | * Alerting: Visually define alert rules for your most important metrics. Grafana will continuously evaluate and send notifications to systems like Slack, PagerDuty, VictorOps, OpsGenie. < | ||
+ | * Mixed Data Sources: Mix different data sources in the same graph! You can specify a data source on a per-query basis. This works for even custom datasources. < | ||
====== Links ====== | ====== Links ====== | ||
- | |||
- | FIXME | ||
===== General ===== | ===== General ===== | ||
- | FIXME | + | [[https:// |
+ | [[https:// | ||
- | [[https:// | + | ===== Dashboards ===== |
- | /* [[]]\\ | + | |
+ | [[https:// | ||
====== Docs ====== | ====== Docs ====== | ||
- | FIXME | + | [[https:// |
+ | [[https:// | ||
====== Files and Directories ====== | ====== Files and Directories ====== | ||
- | |||
- | FIXME | ||
===== General Files and Directories ===== | ===== General Files and Directories ===== | ||
- | FIXME | + | ^ File or Directory |
+ | | ''/ | ||
+ | | ''/ | ||
+ | | ''/ | ||
+ | | ''/ | ||
+ | | ''/ | ||
+ | | ''/ | ||
+ | | ''/ | ||
===== Configuration Files ===== | ===== Configuration Files ===== | ||
- | FIXME | + | ^ File or Directory |
+ | | ''/ | ||
+ | | ''/ | ||
====== Getting Help ====== | ====== Getting Help ====== | ||
Line 43: | Line 60: | ||
To install //Grafana// on Debian: | To install //Grafana// on Debian: | ||
+ | |||
+ | <note important> | ||
+ | If installing //Grafana// on a Raspberry consider this: The '' | ||
+ | </ | ||
<cli> | <cli> | ||
root@host: | root@host: | ||
root@host: | root@host: | ||
- | root@host: | + | root@host: |
root@host: | root@host: | ||
root@host: | root@host: | ||
</ | </ | ||
+ | |||
+ | If a local IPTables firewall is active on the system running //Grafana// open the TCP port '' | ||
+ | |||
+ | <file config iptables.conf> | ||
+ | # Allow access to Grafana from local networks | ||
+ | -A INPUT -p tcp -s < | ||
+ | </ | ||
+ | |||
+ | and reload the IPTables rules: | ||
+ | |||
+ | <cli> | ||
+ | root@host: | ||
+ | </ | ||
+ | |||
====== Configuration ====== | ====== Configuration ====== | ||
- | FIXME | + | ===== Initial ===== |
+ | |||
+ | - Navigate to [[http:// | ||
+ | - Log into //Grafana// with the default credentials. User '' | ||
+ | - You will be prompted to change the password for the '' | ||
+ | |||
+ | ===== Adding Prometheus to Grafana ===== | ||
+ | |||
+ | - Navigate to [[http:// | ||
+ | - Log into //Grafana// with the default credentials. User '' | ||
+ | - Click on the " | ||
+ | - Click on "Data Sources" | ||
+ | - Click on "Add data source" | ||
+ | - Select " | ||
+ | - Set the appropriate Prometheus server URL (for example, '' | ||
+ | - Adjust other data source settings as desired (for example, choosing the right Access method). < | ||
+ | - Click "Save & Test" to save the new data source. < | ||
====== Usage ====== | ====== Usage ====== | ||
Line 60: | Line 111: | ||
FIXME | FIXME | ||
- | ===== Status Check ===== | + | ===== Start ===== |
- | FIXME | + | To start // |
+ | |||
+ | < | ||
+ | root@host: | ||
+ | root@host: | ||
+ | </ | ||
+ | |||
+ | ===== Stop ===== | ||
+ | |||
+ | To stop // | ||
+ | |||
+ | < | ||
+ | root@host: | ||
+ | </ | ||
+ | |||
+ | ===== Status Check ===== | ||
- | To check the status of ////: | + | To check the status of //Grafana//: |
<cli> | <cli> | ||
- | root@host: | + | root@host: |
</ | </ | ||