Merge pull request #8528 from elastic/jasper/backport/8513/5.0

[backport] PR #8513 to 5.0 - timelion: Mark third party services as experimental
This commit is contained in:
Court Ewing 2016-10-03 17:37:45 -04:00 committed by GitHub
commit 9db2fc1c7b
5 changed files with 16 additions and 12 deletions

View file

@ -12,7 +12,7 @@ module.exports = new Datasource ('graphite', {
help: 'Graphite metric to pull, eg _test-data.users.*.data'
}
],
help: 'Pull data from graphite. Configure your graphite server in Kibana\'s Advanced Settings',
help: `[experimental] Pull data from graphite. Configure your graphite server in Kibana's Advanced Settings`,
fn: function graphite(args, tlConfig) {
var config = args.byName;

View file

@ -23,8 +23,9 @@ module.exports = new Datasource ('quandl', {
}
],
help: `
Pull data from quandl.com using the quandl code. Set "timelion:quandl.key" to your free API key in Kibana\'s Advanced Settings.
The API has a really low rate limit without a key`,
[experimental]
Pull data from quandl.com using the quandl code. Set "timelion:quandl.key" to your free API key in Kibana's
Advanced Settings. The API has a really low rate limit without a key.`,
fn: function quandlFn(args, tlConfig) {
var intervalMap = {
'1d': 'daily',

View file

@ -14,10 +14,11 @@ module.exports = new Datasource ('worldbank', {
}
],
aliases: ['wb'],
help: 'Pull data from http://data.worldbank.org/ using path to series.' +
' The worldbank provides' +
' mostly yearly data, and often has no data for the current year. Try offset=-1y if you get no data for recent' +
' time ranges.',
help: `
[experimental]
Pull data from http://data.worldbank.org/ using path to series.
The worldbank provides mostly yearly data, and often has no data for the current year.
Try offset=-1y if you get no data for recent time ranges.`,
fn: function worldbank(args, tlConfig) {
// http://api.worldbank.org/en/countries/ind;chn/indicators/DPANUSSPF?date=2000:2006&MRV=5

View file

@ -21,9 +21,11 @@ module.exports = new Datasource ('worldbank_indicators', {
}
],
aliases: ['wbi'],
help: 'Pull data from http://data.worldbank.org/ using the country name and indicator. The worldbank provides' +
' mostly yearly data, and often has no data for the current year. Try offset=-1y if you get no data for recent' +
' time ranges.',
help: `
[experimental]
Pull data from http://data.worldbank.org/ using the country name and indicator. The worldbank provides
mostly yearly data, and often has no data for the current year. Try offset=-1y if you get no data for recent
time ranges.`,
fn: function worldbankIndicators(args, tlConfig) {
var config = _.defaults(args.byName, {
country: 'wld',

View file

@ -276,11 +276,11 @@ export default function defaultSettingsProvider() {
},
'timelion:graphite.url': {
value: 'https://www.hostedgraphite.com/UID/ACCESS_KEY/graphite',
description: 'The URL of your graphite host'
description: '<em>[experimental]</em> The URL of your graphite host'
},
'timelion:quandl.key': {
value: 'someKeyHere',
description: 'Your API key from www.quandl.com'
description: '<em>[experimental]</em> Your API key from www.quandl.com'
},
'state:storeInSessionStorage': {
value: false,