mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[APM] Make service group saved objects exportable (#163569)
- Makes the saved objects used by service groups exportable / importable - Adds a link from the saved object to the service group page - Renames the saved objects from `APM Service Groups` to `Service Group:
This commit is contained in:
parent
33ace32c3d
commit
290bf1d978
1 changed files with 9 additions and 5 deletions
|
@ -52,12 +52,16 @@ export const apmServiceGroups: SavedObjectsType = {
|
|||
},
|
||||
},
|
||||
management: {
|
||||
importableAndExportable: false,
|
||||
importableAndExportable: true,
|
||||
icon: 'apmApp',
|
||||
getTitle: () =>
|
||||
i18n.translate('xpack.apm.apmServiceGroups.title', {
|
||||
defaultMessage: 'APM Service Groups',
|
||||
}),
|
||||
getTitle: (savedObject) =>
|
||||
`${i18n.translate('xpack.apm.apmServiceGroups.title', {
|
||||
defaultMessage: 'Service Group',
|
||||
})}: ${savedObject.attributes.groupName}`,
|
||||
getInAppUrl: (savedObject) => ({
|
||||
path: `/app/apm/services?serviceGroup=${savedObject.id}`,
|
||||
uiCapabilitiesPath: 'apm.show',
|
||||
}),
|
||||
},
|
||||
modelVersions: {
|
||||
'1': {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue