Skip to content

Commit

Permalink
APM index settings import/export in saved-object management (#82784) (#…
Browse files Browse the repository at this point in the history
…84122)

* APM index settings import/export in saved-object management

* i18n'ing the title

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
kobelb and kibanamachine authored Nov 23, 2020
1 parent 36fe8e4 commit d9a2162
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions x-pack/plugins/apm/server/saved_objects/apm_indices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* you may not use this file except in compliance with the Elastic License.
*/
import { SavedObjectsType } from 'src/core/server';
import { i18n } from '@kbn/i18n';

export const apmIndices: SavedObjectsType = {
name: 'apm-indices',
Expand Down Expand Up @@ -32,4 +33,12 @@ export const apmIndices: SavedObjectsType = {
},
},
},
management: {
importableAndExportable: true,
icon: 'apmApp',
getTitle: () =>
i18n.translate('xpack.apm.apmSettings.index', {
defaultMessage: 'APM Settings - Index',
}),
},
};

0 comments on commit d9a2162

Please sign in to comment.