This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| nms:prometheus [2021/06/29 16:39] – ` jotasandoku | nms:prometheus [2023/11/02 14:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| Example of query for total traffic (sum all servers in a site with In/Out traffic): | Example of query for total traffic (sum all servers in a site with In/Out traffic): | ||
| - | # prometheus.XX.grapeshot.co.uk:9090 from Cam | + | # prometheus.XX.mycompany1.co.uk:9090 from Cam |
| - | sum(irate(node_netstat_IpExt_InOctets{instance=~" | + | sum(irate(node_netstat_IpExt_InOctets{instance=~" |
| | | ||
| \\ | \\ | ||
| - | * Exporter (in the server/ | + | * Exporter (in the server/ |
| * node exporter (linux box) | * node exporter (linux box) | ||
| * snmp exporter (really anything) | * snmp exporter (really anything) | ||
| Line 14: | Line 14: | ||
| \\ | \\ | ||
| '' | '' | ||
| + | \\ | ||
| + | prometheus stores its data in a time series database | ||