IIS and Windows: quick monitoring with Grafana, Telegraf and InfluxDB
Introduction
IIS often sits in front of a SQL Server backend. Here is a compact metrics-and-logs pipeline for Grafana.
Telegraf: performance counters
| |
Telegraf: IIS logs (tail and grok)
| |
Grafana
- Panels:
HTTP 5xx,Average time_taken,Requests/sec. - Alert when the 5xx rate exceeds 1% for five minutes.
Pro tip
Synchronize clocks with NTP; otherwise correlating logs and metrics becomes painful.