Created
October 28, 2014 22:31
-
-
Save akhenakh/39e1950bf95859878748 to your computer and use it in GitHub Desktop.
Grafana demo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define(['settings'], | |
function (Settings) { | |
return new Settings({ | |
datasources: { | |
influx: { | |
type: 'influxdb', | |
url: 'http://localhost:8086/db/test', | |
username: 'root', | |
password: 'root', | |
}, | |
grafana: { | |
type: 'influxdb', | |
url: 'http://localhost:8086/db/grafana', | |
username: 'root', | |
password: 'root', | |
grafanaDB: true | |
}, | |
}, | |
// specify the limit for dashboard search results | |
search: { | |
max_results: 20 | |
}, | |
// default start dashboard | |
default_route: '/dashboard/file/default.json', | |
// set to false to disable unsaved changes warning | |
unsaved_changes_warning: true, | |
// set the default timespan for the playlist feature | |
// Example: "1m", "1h" | |
playlist_timespan: "1m", | |
// If you want to specify password before saving, please specify it bellow | |
// The purpose of this password is not security, but to stop some users from accidentally changing dashboards | |
admin: { | |
password: '' | |
}, | |
// Add your own custom pannels | |
plugins: { | |
panels: [] | |
} | |
}); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment