Prometheus on Windows Powered by GlobalSolutions
Prometheus

Powered by GS
Prometheus is an open-source system monitoring and alerting application.It is a multi-dimensional data model with time series data identified
by metric name and key/value pairs. We have made it easy for our customers to subscribe to our AMI start collecting
the metrics. We have installed and configured Prometheus, WMI exporter, and Grafana. The user can subscribe to our service
and start using it.
You can learn more about our PatchManagement solution from
https://patchawscloud.com/saasconsole.
Usage instructionsWe have installed Prometheus, Grafana and the windows node exporter. This solutions helps you to get going right away with no time to spent on installing configuring all the applications. All the applications have been configured as a service. Once you start the instance all that you have to do is go to the prometheus.yml file and start adding your targets. As you add the targets the metrics will start coming and you can see it in Prometheus or Grafana.
Below are the location of the application and a simple step to configure a target. Few key definitions.
- Target - The resource you want to monitor.
- Exporter - A Prometheus client that will will emit metrics to as an end point to Prometheus.
- Prometheus.yml - The configuration file where you specify the targets you want to monitor.
- Grafana - Reads the metrics from promtheus to graph your data.
Installation Location
- Promtheus installation location - C:\prometheus
- Promtheus.yml location - C:\prometheus\prometheus.yml
- Grafana location - C:\grafana
We have created a Dashboard in Grafana to graph the following metric the metric of Prometheus and the Ec2 instance where the Prometheus is running. We have installed the windows node exporter on the Ec2 instance. This will emit metrics on port 9182. If you look at the prometheus.yml file we have added this as a scrapping endpoint. The below section in the prometheus.yml file refers to this configuration.
- job_name: 'EC2_Instance'
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: ['localhost:9182']
As we collect this metric we have created a Dashboard in Grafana called to show these metrics. The Grafana Dashboard shows the following metrics. Uptime of the server, CPU, Memory, Network, Disk Usage, System load and more. As we have shown the sample you can install the appropriate exporter for different targets and have Prometheus Scarpe it.
Prometheus -
http://localhost:9090
Grafana-
http://localhost:3000
Login with the user as
admin and password as
grafana. Make sure to change your password after logging in for the first time.Go to the Manage dashboard on the left and select Windows Metric Dashboard. You will see the metrics.