Skip to content

Commit c04839a

Browse files
[7.x] Closes #59784. Sets xpack.apm.serviceMapEnabled default… (#60175)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
1 parent cd1e182 commit c04839a

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

x-pack/legacy/plugins/apm/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const apm: LegacyPluginInitializer = kibana => {
7171
autocreateApmIndexPattern: Joi.boolean().default(true),
7272

7373
// service map
74-
serviceMapEnabled: Joi.boolean().default(false)
74+
serviceMapEnabled: Joi.boolean().default(true)
7575
}).default();
7676
},
7777

x-pack/legacy/plugins/apm/public/components/app/Home/__snapshots__/Home.test.tsx.snap

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

x-pack/legacy/plugins/apm/public/components/app/Home/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { ServiceOverview } from '../ServiceOverview';
2727
import { TraceOverview } from '../TraceOverview';
2828

2929
function getHomeTabs({
30-
serviceMapEnabled = false
30+
serviceMapEnabled = true
3131
}: {
3232
serviceMapEnabled: boolean;
3333
}) {

x-pack/legacy/plugins/apm/public/utils/testHelpers.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ const mockCore = {
206206

207207
const mockConfig: ConfigSchema = {
208208
indexPatternTitle: 'apm-*',
209-
serviceMapEnabled: false,
209+
serviceMapEnabled: true,
210210
ui: {
211211
enabled: false
212212
}

x-pack/plugins/apm/server/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export const config = {
1616
},
1717
schema: schema.object({
1818
enabled: schema.boolean({ defaultValue: true }),
19-
serviceMapEnabled: schema.boolean({ defaultValue: false }),
19+
serviceMapEnabled: schema.boolean({ defaultValue: true }),
2020
autocreateApmIndexPattern: schema.boolean({ defaultValue: true }),
2121
ui: schema.object({
2222
enabled: schema.boolean({ defaultValue: true }),

0 commit comments

Comments
 (0)