This guide explains how to install Grafana on Windows, start it, stop it, and run it locally.
- Download Grafana from the official website:
- Choose Windows Installer (64-bit)
- Run the
.msiinstaller. - During setup:
- ✅ Keep Grafana Enterprise selected
This installs Grafana locally. No license or cloud usage is required.
- ⬜ Optional: Uncheck Run Grafana as a Service if you want to control start/stop manually.
- ✅ Keep Grafana Enterprise selected
- Complete the installation.
If you installed Grafana as a service:
- Press Win + R
- Type:
services.msc
- Find Grafana or Grafana Server
- Right-click → Start
Open in browser:
http://localhost:3000
- Open PowerShell
- Run:
cd "C:\Program Files\GrafanaLabs\grafana\bin"
.\grafana-server.exeKeep the terminal open.
Open in browser:
http://localhost:3000
Default credentials:
Username: admin
Password: admin
You will be prompted to change the password.
Press:
CTRL + C
Using Services UI:
- Press Win + R
- Type:
services.msc
- Find Grafana
- Right-click → Stop
Using Command Line (Admin):
net stop grafana- Press Win + R
- Type:
services.msc
- Find Grafana
- Right-click → Start
net start grafanaOpen browser:
http://localhost:3000
If the page loads, Grafana is running successfully.
- Grafana runs completely locally.
- No Grafana Cloud account is required.
- Enterprise features remain inactive unless a license is added.
- Default port used is 3000.
This guide explains how to install Prometheus on Windows, configure it using a YAML file, and run it locally.
- Go to the official Prometheus download page.
- Download Windows (64-bit) ZIP file:
prometheus-<version>.windows-amd64.zip
- Right-click the downloaded ZIP file → Extract All
- Move the extracted folder to:
C:\prometheus\
Folder structure should look like:
C:\prometheus
├── prometheus.exe
├── promtool.exe
├── prometheus.yml
└── consoles\
Open the file:
C:\prometheus\prometheus.yml
global:
scrape_interval: 15s
scrape_configs:
- job_name: "prometheus"
static_configs:
- targets: ["localhost:9090"]Save the file.
Navigate to Prometheus folder:
cd C:\prometheusStart Prometheus:
.\prometheus.exe --config.file=prometheus.ymlOpen browser:
http://localhost:9090
Before running Prometheus, you can validate the YAML file:
.\promtool.exe check config prometheus.ymlPress:
CTRL + C
in the PowerShell window.
Prometheus does not provide a built-in Windows service.
To run as a service:
- Use tools like NSSM (Non-Sucking Service Manager)
- Prometheus runs fully locally
- Default port is 9090
- Configuration changes require Prometheus restart
- Data is stored in the data directory inside Prometheus folder
| Metric | Value |
|---|---|
| Total requests | 130 |
| Successful calls | 130 |
| Failures | 0 |
| Average latency | 0.703s |
| P95 latency | 1.158s |
| Max latency | 1.279s |