MCPcopy Index your code
hub / github.com/ember-cli/ember-cli / isInstrumentationConfigEnabled

Function isInstrumentationConfigEnabled

lib/utilities/instrumentation.js:9–12  ·  view source on GitHub ↗
(configOverride)

Source from the content-addressed store, hash-verified

7}
8
9function isInstrumentationConfigEnabled(configOverride) {
10 let config = getConfig(configOverride);
11 return !!config.get('enableInstrumentation');
12}
13
14function instrumentationEnabled(config) {
15 return vizEnabled() || process.env.EMBER_CLI_INSTRUMENTATION === '1' || isInstrumentationConfigEnabled(config);

Callers 1

instrumentationEnabledFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…