You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two steps required: featureUsage.register to register the feature (happens during setup lifecycle), and featureUsage.notifyUsage which should be called whenever the feature is actively used.
publicasyncsetup(core: CoreSetup,{ licensing }: PluginSetupDependencies){licensing.featureUsage.register('Foo feature','gold');}publicasyncstart(core: CoreSetup,{ licensing }: PluginStartDependencies){// elsewhere where license checking is done prior to a feature being consumedif(check.isValid){licensing.featureUsage.notifyUsage('Foo feature');}}}
Gold+ features in APM which are tracked:
Service Maps
Machine learning (notify when a new job is added)
Custom Links (notify when a new link is added)
The text was updated successfully, but these errors were encountered:
On Cloud we want to register which Gold+ features are being used. We already do this for the Service Map:
Register:
kibana/x-pack/plugins/apm/server/plugin.ts
Lines 129 to 132 in 6c3b900
Notify:
kibana/x-pack/plugins/apm/server/routes/service_map.ts
Line 39 in 61d12a1
There are two steps required:
featureUsage.register
to register the feature (happens during setup lifecycle), andfeatureUsage.notifyUsage
which should be called whenever the feature is actively used.Gold+ features in APM which are tracked:
The text was updated successfully, but these errors were encountered: