Skip to content
This repository has been archived by the owner on Mar 22, 2023. It is now read-only.

Datasource variables

Collignon-Ducret Rémi edited this page Nov 1, 2018 · 2 revisions

Grafana allow custom fields in datasource configuration

You can easily add strings and numbers.

Since WarpScript doesn't easily manage multi-line strings, you (actually) can't have multi-line strings in a variable.

If you choose foo as variable name in datasource configuration, this variable is availables as $foo on your WarpScript query

You can also store macros in variables, make sure the content of the variable starts with <% and ends with %>

Clone this wiki locally