Skip to content

Commit

Permalink
Deprecate xpack.telemetry.* instead of removing it (#51117)
Browse files Browse the repository at this point in the history
While telemetry plugin has moved and its configurations no longer have
the xpack prefix, for the time being we should only warn when we
encounter the existing config names rather than blocking startup
entirely.
  • Loading branch information
epixa authored Nov 19, 2019
1 parent e46f977 commit 7fddc23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/legacy/server/config/transform_deprecations.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ const deprecations = [
rename('optimize.lazyHost', 'optimize.watchHost'),
rename('optimize.lazyPrebuild', 'optimize.watchPrebuild'),
rename('optimize.lazyProxyTimeout', 'optimize.watchProxyTimeout'),
rename('xpack.telemetry.enabled', 'telemetry.enabled'),
rename('xpack.telemetry.config', 'telemetry.config'),
rename('xpack.telemetry.banner', 'telemetry.banner'),
rename('xpack.telemetry.url', 'telemetry.url'),
savedObjectsIndexCheckTimeout,
rewriteBasePath,
configPath,
Expand Down

0 comments on commit 7fddc23

Please sign in to comment.