Hi,
Is there a possibility to define JS related configuration is some file?
I mean configuration visible inside https://github.com/grafana/grafana/blob/master/public/app/core/settings.js file. I know I can override that file with my custom configuration options e.g. changing window_title_prefix
to something else or define default datasources
but it’s not very future proof. Is there any external JS/JSON file similar to the general options described in the docs?
all frontend options are defined in the backend server configuration file (http://docs.grafana.org/installation/configuration/)
window title prefix is not one of them
Thanks for your help. So anything that is not listed on http://docs.grafana.org/installation/configuration/ is not available for easy configuration (without changing App files)?
I found HTTP api way of changing things e.g.
curl 'http://admin:admin@community.grafana.com/api/datasources' \
-X POST -H "Content-Type: application/json" \
--data-binary <<DATASOURCE \
'{
"name":"influx",
"type":"influxdb",
"url":"http://localhost:8086",
"access":"proxy",
"isDefault":true,
"database":"inforad",
"user":"n/a","password":"n/a"
}'
But it doesn’t provide a window_title_prefix
option (only datasources).