mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Update changelog and config sample
This commit is contained in:
parent
586399a814
commit
d6814587ad
@ -8,6 +8,7 @@
|
|||||||
- [Issue #610](https://github.com/grafana/grafana/issues/610). InfluxDB: Support for InfluxdB v0.8 list series response schemea (series typeahead)
|
- [Issue #610](https://github.com/grafana/grafana/issues/610). InfluxDB: Support for InfluxdB v0.8 list series response schemea (series typeahead)
|
||||||
- [Issue #525](https://github.com/grafana/grafana/issues/525). InfluxDB: Enhanced series aliasing (legend names) with pattern replacements
|
- [Issue #525](https://github.com/grafana/grafana/issues/525). InfluxDB: Enhanced series aliasing (legend names) with pattern replacements
|
||||||
- [Issue #266](https://github.com/grafana/grafana/issues/266). Graphite: New option cacheTimeout to override graphite default memcache timeout
|
- [Issue #266](https://github.com/grafana/grafana/issues/266). Graphite: New option cacheTimeout to override graphite default memcache timeout
|
||||||
|
- [Issue #344](https://github.com/grafana/grafana/issues/344). Graphite: Annotations can now be fetched from non default datasources
|
||||||
- [Issue #606](https://github.com/grafana/grafana/issues/606). General: New global option in config.js to specify admin password (useful to hinder users from accidentally make changes)
|
- [Issue #606](https://github.com/grafana/grafana/issues/606). General: New global option in config.js to specify admin password (useful to hinder users from accidentally make changes)
|
||||||
- [Issue #201](https://github.com/grafana/grafana/issues/201). Annotations: Elasticsearch datasource support for events
|
- [Issue #201](https://github.com/grafana/grafana/issues/201). Annotations: Elasticsearch datasource support for events
|
||||||
- [Issue #631](https://github.com/grafana/grafana/issues/631). Search: max_results config.js option & scroll in search results (To show more or all dashboards)
|
- [Issue #631](https://github.com/grafana/grafana/issues/631). Search: max_results config.js option & scroll in search results (To show more or all dashboards)
|
||||||
|
@ -9,31 +9,71 @@ function (Settings) {
|
|||||||
|
|
||||||
return new Settings({
|
return new Settings({
|
||||||
|
|
||||||
// datasources
|
/* Data sources
|
||||||
// Delete the ones you do not want, you can add multiple of the same type
|
* ========================================================
|
||||||
// grafanaDB: true marks the datasource for use as dashboard storage (only supported by elasticsearch and influxdb datasources)
|
* Datasources are used to fetch metrics, annotations, and serve as dashboard storage
|
||||||
|
* - You can have multiple of the same type.
|
||||||
|
* - grafanaDB: true marks it for use for dashboard storage
|
||||||
|
* - default: true marks the datasource as the default metric source (if you have multiple)
|
||||||
|
* - basic authentication: use url syntax http://username:password@domain:port
|
||||||
|
*/
|
||||||
|
|
||||||
|
// InfluxDB example setup (the InfluxDB databases specified need to exist)
|
||||||
|
/*
|
||||||
datasources: {
|
datasources: {
|
||||||
graphite: {
|
|
||||||
type: 'graphite',
|
|
||||||
url: "http://my.graphite.server.com:8080",
|
|
||||||
default: true
|
|
||||||
},
|
|
||||||
influxdb: {
|
influxdb: {
|
||||||
type: 'influxdb',
|
type: 'influxdb',
|
||||||
url: "http://my_influxdb_server:8086/db/database_name",
|
url: "http://my_influxdb_server:8086/db/database_name",
|
||||||
username: 'admin',
|
username: 'admin',
|
||||||
password: 'admin'
|
password: 'admin',
|
||||||
|
},
|
||||||
|
grafana: {
|
||||||
|
type: 'influxdb',
|
||||||
|
url: "http://my_influxdb_server:8086/db/grafana",
|
||||||
|
username: 'admin',
|
||||||
|
password: 'admin',
|
||||||
|
grafanaDB: true
|
||||||
|
},
|
||||||
|
},
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Graphite & Elasticsearch example setup
|
||||||
|
/*
|
||||||
|
datasources: {
|
||||||
|
graphite: {
|
||||||
|
type: 'graphite',
|
||||||
|
url: "http://my.graphite.server.com:8080",
|
||||||
},
|
},
|
||||||
// elasticsearch, used for storing and loading dashboards, annotations
|
|
||||||
// For Basic authentication use: http://username:password@domain.com:9200
|
|
||||||
elasticsearch: {
|
elasticsearch: {
|
||||||
type: 'elasticsearch',
|
type: 'elasticsearch',
|
||||||
url: "http://"+window.location.hostname+":9200",
|
url: "http://my.elastic.server.com:9200",
|
||||||
index: 'grafana-dash', // index for storing dashboards
|
index: 'grafana-dash',
|
||||||
grafanaDB: true,
|
grafanaDB: true,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
*/
|
||||||
|
|
||||||
|
// OpenTSDB & Elasticsearch example setup
|
||||||
|
/*
|
||||||
|
datasources: {
|
||||||
|
opentsdb: {
|
||||||
|
type: 'opentsdb',
|
||||||
|
url: "http://opentsdb.server:4242",
|
||||||
|
},
|
||||||
|
elasticsearch: {
|
||||||
|
type: 'elasticsearch',
|
||||||
|
url: "http://my.elastic.server.com:9200",
|
||||||
|
index: 'grafana-dash',
|
||||||
|
grafanaDB: true,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Global configuration options
|
||||||
|
* ========================================================
|
||||||
|
*/
|
||||||
|
|
||||||
|
// specify the limit for dashboard search results
|
||||||
search: {
|
search: {
|
||||||
max_results: 20
|
max_results: 20
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user