Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jul 5, 2024

Conversation

frittentheke
Copy link
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
17 checks passed
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>
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