# Performance Evaluation Method Wrapper

- deploy as:
```
tfs@tfs-vm:~/tfs-ctrl$ source src/common/perf_eval_method_wrapper/tests/deploy_specs.sh 
tfs@tfs-vm:~/tfs-ctrl$ ./deploy.sh 
```

- expose prometheus and grafana
terminal 1 (prometheus UI):
```
kubectl port-forward -n monitoring service/prometheus-k8s --address 0.0.0.0 9090:9090
```

terminal 2 (prometheus internal grafana):
```
kubectl port-forward -n monitoring service/grafana --address 0.0.0.0 3000:3000
```

terminal 3 (alertmanager):
```
kubectl port-forward -n monitoring service/alertmanager-main --address 0.0.0.0 9093:9093
```

- log into grafana:
  - 127.0.0.1:3000
  - admin/admin
  - upload dashboard_prometheus_histogram.json
  - watch in real time the dashboard

- upload topology through WebUI and navigate
  - should see histogram changing in Grafana
