Skip to content

Commit

Permalink
Closes elastic#59784. Sets xpack.apm.serviceMapEnabled default value …
Browse files Browse the repository at this point in the history
…true. (elastic#60153)

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
  • Loading branch information
ogupte and elasticmachine committed Mar 13, 2020
1 parent ff820cb commit 79ba640
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/apm/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const apm: LegacyPluginInitializer = kibana => {
autocreateApmIndexPattern: Joi.boolean().default(true),

// service map
serviceMapEnabled: Joi.boolean().default(false)
serviceMapEnabled: Joi.boolean().default(true)
}).default();
},

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import { ServiceOverview } from '../ServiceOverview';
import { TraceOverview } from '../TraceOverview';

function getHomeTabs({
serviceMapEnabled = false
serviceMapEnabled = true
}: {
serviceMapEnabled: boolean;
}) {
Expand Down
2 changes: 1 addition & 1 deletion x-pack/legacy/plugins/apm/public/utils/testHelpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ const mockCore = {

const mockConfig: ConfigSchema = {
indexPatternTitle: 'apm-*',
serviceMapEnabled: false,
serviceMapEnabled: true,
ui: {
enabled: false
}
Expand Down
2 changes: 1 addition & 1 deletion x-pack/plugins/apm/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const config = {
},
schema: schema.object({
enabled: schema.boolean({ defaultValue: true }),
serviceMapEnabled: schema.boolean({ defaultValue: false }),
serviceMapEnabled: schema.boolean({ defaultValue: true }),
autocreateApmIndexPattern: schema.boolean({ defaultValue: true }),
ui: schema.object({
enabled: schema.boolean({ defaultValue: true }),
Expand Down

0 comments on commit 79ba640

Please sign in to comment.