For supervised models, we should track the feature usage through the new licensed feature tracking in: #76476
This should be done in org.elasticsearch.xpack.ml.inference.loadingservice.ModelLoadingService and in org.elasticsearch.xpack.ml.inference.allocation.TrainedModelAllocationNodeService.
Start feature tracking when the mode is loaded. Stop the tracking when the model is unloaded.
For supervised models, we should track the feature usage through the new licensed feature tracking in: #76476
This should be done in
org.elasticsearch.xpack.ml.inference.loadingservice.ModelLoadingServiceand inorg.elasticsearch.xpack.ml.inference.allocation.TrainedModelAllocationNodeService.Start feature tracking when the mode is loaded. Stop the tracking when the model is unloaded.