« All deprecation guides

Deprecation Guide for Ember.instrument

until: 6.0.0
id: deprecate-import-instrument-from-ember

Previously, instrument could be accessed via the Ember import:

import Ember from 'ember';

Ember.instrument

instrument is also private.

If needed, instrument can be imported:

import { instrument } from '@ember/instrumentation';

However, due to instrument being private, it is not recommended, nor supported.