Skip to content

Commit

Permalink
Merge pull request #119 from sitloboi2012/feat/update-prom-dashboard
Browse files Browse the repository at this point in the history
Feat: Router observability (Current QPS, router-side queueing delay, etc) Part 1
  • Loading branch information
YuhanLiu11 authored Feb 19, 2025
2 parents 5e32442 + 03cf9a9 commit 3275cf0
Show file tree
Hide file tree
Showing 11 changed files with 1,057 additions and 598 deletions.
16 changes: 15 additions & 1 deletion observability/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,34 @@ The observability stack is based on [kube-prom-stack](https://github.com/prometh

To launch the observability stack:

Make sure to have:

- A running Kubernetes (K8s) environment with GPUs
- Run `cd utils && bash install-minikube-cluster.sh`
- Or follow our [tutorial](tutorials/00-install-kubernetes-env.md)

After that you can run:

```bash
sudo bash install.sh
```

After installing, the dashboard can be accessed through the service `service/kube-prom-stack-grafana` in the `monitoring` namespace.

## Access the Grafana dashboard
## Access the Grafana & Prometheus dashboard

Forward the Grafana dashboard port to the local node-port

```bash
sudo kubectl --namespace monitoring port-forward svc/kube-prom-stack-grafana 3000:80 --address 0.0.0.0
```

Forward the Prometheus dashboard

```bash
sudo kubectl --namespace monitoring port-forward prometheus-kube-prom-stack-kube-prome-prometheus-0 9090:9090
```

Open the webpage at `http://<IP of your node>:3000` to access the Grafana web page. The default user name is `admin` and the password can be configured in `values.yaml` (default is `prom-operator`).

Import the dashboard using the `vllm-dashboard.json` in this folder.
2 changes: 1 addition & 1 deletion observability/install.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm install kube-prom-stack prometheus-community/kube-prometheus-stack \
helm upgrade --install kube-prom-stack prometheus-community/kube-prometheus-stack \
--namespace monitoring \
--create-namespace \
-f values.yaml
Loading

0 comments on commit 3275cf0

Please sign in to comment.