
as we will use distinct Influx and Grafana instances for the different stages/environments.
15 lines
304 B
Python
15 lines
304 B
Python
from grafanalib.core import Template
|
|
|
|
from utils.utils import read_query
|
|
|
|
environment_variable = Template(
|
|
dataSource="Flux",
|
|
label="Environment IDs",
|
|
name="environment_ids",
|
|
query=read_query("environment-ids"),
|
|
refresh=1,
|
|
includeAll=True,
|
|
multi=True,
|
|
default="$__all",
|
|
)
|