java.lang.Object
org.elasticsearch.usage.UsageService
A service to monitor usage of Elasticsearch features.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRestHandler
(BaseRestHandler handler) Add a REST handler to this service.Get the current usage statistics for this node.Returns the search usage holder
-
Constructor Details
-
UsageService
public UsageService()
-
-
Method Details
-
addRestHandler
Add a REST handler to this service.- Parameters:
handler
- theBaseRestHandler
to add to the usage service.
-
getRestUsageStats
Get the current usage statistics for this node.- Returns:
- the
NodeUsage
representing the usage statistics for this node
-
getSearchUsageHolder
Returns the search usage holder -
getCcsUsageHolder
-
getEsqlUsageHolder
-