Skip to content

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

Merged
simon-mo merged 1 commit into
vllm-project:mainfrom
frittentheke:templateDS_4700
Jul 5, 2024
Merged

simon-mo merged 1 commit into
vllm-project:mainfrom
frittentheke:templateDS_4700

Conversation

@frittentheke

Copy link
Copy Markdown
Contributor

Use templated datasource in grafana.json to allow automatic imports

This is somewhat of a followup to #4711 which introducted a input variable to allow setting the datasource on import. Unfortunately this only works when the dashboard is imported via the Grafana UI.
It's common to e.g. import dashboard JSON files via ConfigMaps on Kubernetes, so there is no manual step to set the datasource name.

Switching to a template var for the datasource also should cover the issue #4711 fixed, but also works in setting the datasource when using automatic dashboard provisioning.

FIX #4700 (reply in thread)
(^ rather improve on the previous fix ^)

…imports

This is somewhat of a followup to vllm-project#4711 which introducted a input variable to
allow setting the datasource on import. Unfortunately this only works when
the dashboard is imported via the Grafana UI.
It's common to e.g. import dashboard JSON files via ConfigMaps on Kubernetes,
so there is no manual step to set the datasource name.

Switching to a template var for the datasource also should cover the issue vllm-project#4711
fixed, but also works in setting the datasource when using automatic dashboard
provisioning.

Signed-off-by: Christian Rohmann <christian.rohmann@inovex.de>
@simon-mo
simon-mo merged commit 0097bb1 into vllm-project:main Jul 5, 2024
robertgshaw2-redhat pushed a commit to neuralmagic/nm-vllm that referenced this pull request Jul 7, 2024
…imports (vllm-project#6136)

Signed-off-by: Christian Rohmann <christian.rohmann@inovex.de>
xjpang pushed a commit to xjpang/vllm that referenced this pull request Jul 8, 2024
…imports (vllm-project#6136)

Signed-off-by: Christian Rohmann <christian.rohmann@inovex.de>
xjpang pushed a commit to xjpang/vllm that referenced this pull request Jul 24, 2024
…imports (vllm-project#6136)

Signed-off-by: Christian Rohmann <christian.rohmann@inovex.de>
Alvant pushed a commit to compressa-ai/vllm that referenced this pull request Oct 26, 2024
…imports (vllm-project#6136)

Signed-off-by: Christian Rohmann <christian.rohmann@inovex.de>
Signed-off-by: Alvant <alvasian@yandex.ru>
LeiWang1999 pushed a commit to LeiWang1999/vllm-bitblas that referenced this pull request Mar 26, 2025
…imports (vllm-project#6136)

Signed-off-by: Christian Rohmann <christian.rohmann@inovex.de>
Signed-off-by: LeiWang1999 <leiwang1999@outlook.com>
plasticchris pushed a commit to plasticchris/vllm that referenced this pull request Jul 19, 2026
…imports (vllm-project#6136)

Signed-off-by: Christian Rohmann <christian.rohmann@inovex.de>
michael-gpu pushed a commit to practical-inference/vllm-ampere-extended that referenced this pull request Oct 20, 2026
…imports (vllm-project#6136)

Signed-off-by: Christian Rohmann <christian.rohmann@inovex.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants