@tduncan / Nvidia-Optimization-Stack-VLLM Mirror · read-only / commits / 0097bb1829
Fork 0

A high-throughput and memory-efficient inference and serving engine for LLMs

Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git

Synced Nov 16, 22:00 UTC

[Bugfix] Use templated datasource in grafana.json to allow automatic imports (#6136)

Signed-off-by: Christian Rohmann <christian.rohmann@inovex.de>

Christian Rohmann committed Jul 5, 2024 at 18:49 UTC 0097bb1829310577262e2a79ae8b498765b39225
1 file changed +15 -12
examples/production_monitoring/grafana.json
+15 -12
@@ -1,13 +1,5 @@
1 {
2 "__inputs": [
3 - {
4 - "name": "DS_PROMETHEUS",
5 - "label": "prometheus",
6 - "description": "",
7 - "type": "datasource",
8 - "pluginId": "prometheus",
9 - "pluginName": "Prometheus"
10 - }
3 ],
4 "__elements": {},
5 "__requires": [
@@ -1215,11 +1207,21 @@
1207 "templating": {
1208 "list": [
1209 {
1210 + "type": "datasource",
1211 + "name": "DS_PROMETHEUS",
1212 + "label": "datasource",
1213 "current": {},
1219 - "datasource": {
1220 - "type": "prometheus",
1221 - "uid": "${DS_PROMETHEUS}"
1222 - },
1214 + "hide": 0,
1215 + "includeAll": false,
1216 + "multi": false,
1217 + "options": [],
1218 + "query": "prometheus",
1219 + "queryValue": "",
1220 + "refresh": 1,
1221 + "regex": "",
1222 + "skipUrlSync": false
1223 + },
1224 + {
1225 "definition": "label_values(model_name)",
1226 "hide": 0,
1227 "includeAll": false,
@@ -1250,3 +1252,4 @@
1252 "version": 1,
1253 "weekStart": ""
1254 }
1255 +