Monitoring and observability

Hi everyone,

I have a Windows virtual machine running IIS, and I want to monitor the individual websites listed under “Websites” in IIS Manager. My goal is to track not only performance metrics like request count and uptime but also to identify potential issues or bugs, such as:

HTTP 4xx/5xx errors
Failed requests
Application pool crashes
Unhandled exceptions (if possible)

I’m using the following stack:

Grafana** for visualization
Prometheus** for scraping metrics
windows_exporter** (formerly wmi_exporter) to expose IIS metrics

Hi @mani3,

I think you’re on the right track with Grafana, Prometheus. What problem would you like to solve?

Hii , currently I want to monitor the sites continues but when the server gets down and start again the wmi_exporter stop capture the data from IIS and I want to monitor the sites one by one in Grafanna with I was not able to do so is there any way to capture the sites module by module

Hi @mani3,

To fix the issue, make sure the windows_exporter service is set to start automatically after a reboot. You can do this in the Windows Services settings. Also, configure it to wait for IIS to start first before it begins, so it captures the IIS data correctly. Finally, double-check that the IIS collector is enabled in the exporter settings. This should ensure everything runs smoothly after a restart.

Hii, I have set the wmi_exporter in automatically start and I have created a scheduler for performing the task and I want to separate data according to the websites separating the data is where I am getting the issues so I want all the websites data like module by module is it possible so that when the issue arrive on the website I get to know the issues by module and where the issues gets so it get easy to resolve the issue

Yeah, that’s a great approach. Everything is on track, right? Do you face any issue?

See the issues is I want to implement APM level monitoring which helps to track internal all the modules and functions so in case of any issues I can just see the dashboard to resolve the issues

Problems

1 . Can’t able to separate data according to sites since it giving all the data in a combine form

  1. Want to implement Application level monitoring

So I there any way to perform this activity

Hi,

Have you tried using Telegraf to collect IIS metrics? It can help you track things like request count, errors, and response times, then send the data to Prometheus. From there, you can view it in Grafana.