Skip to content

Instantly share code, notes, and snippets.

@tisba
Created March 10, 2014 09:36
Show Gist options
  • Save tisba/9462045 to your computer and use it in GitHub Desktop.
Save tisba/9462045 to your computer and use it in GitHub Desktop.
Grafana 1.5.0 config.js for InfluxDB
define(['settings'],
function (Settings) {
return new Settings({
datasources: {
influx: {
type: 'influxdb',
url: 'http://localhost:8086/db/test',
username: 'user',
password: 'user',
}
},
default_route: '/dashboard/file/default.json',
timezoneOffset: null,
grafana_index: "grafana-dash",
panel_names: [
'text',
'graphite'
]
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment