Refactor reporting of RA metrics to not to be done in TransportShardBulkAction (#108449)

previously DocumentSizeReporter was reporting upon indexing being completed in TransportShardBulkAction#onComplete
This commit renames the method to onIndexingCompleted and moves that reporting to IndexEngine in serverless plugin.
This will be followed up in a separate PR that will be reporting in an Engine#index subclass (serverless)
This commit is contained in:
Przemyslaw Gomulka 2024-05-16 13:57:06 +02:00 committed by GitHub
parent 34293131b8
commit 437e7db499
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 173 additions and 100 deletions

View file

@ -392,6 +392,7 @@ module org.elasticsearch.server {
exports org.elasticsearch.plugins.internal
to
org.elasticsearch.metering,
org.elasticsearch.stateless,
org.elasticsearch.settings.secure,
org.elasticsearch.serverless.constants,
org.elasticsearch.serverless.apifiltering,