Skip to content

Commit 5a78dab

Browse files
committed
Pull feedback
1 parent e484f09 commit 5a78dab

File tree

2 files changed

+30
-30
lines changed

2 files changed

+30
-30
lines changed

docs/reference/cluster/stats.asciidoc

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1308,90 +1308,90 @@ Each repository type may also include other statistics about the repositories of
13081308
====
13091309

13101310
`ccs`::
1311-
(object) Contains information relating to <<modules-cross-cluster-search, cross-cluster search>> settings and activity in the cluster.
1311+
(object) Contains information relating to <<modules-cross-cluster-search, {ccs}>> settings and activity in the cluster.
13121312
+
13131313
.Properties of `ccs`
13141314
[%collapsible%open]
13151315
=====
13161316
13171317
13181318
`_search`:::
1319-
(object) Contains telemetry information about the <<modules-cross-cluster-search, cross-cluster searches>> in the cluster.
1319+
(object) Contains the telemetry information about the <<modules-cross-cluster-search, {ccs}>> usage in the cluster.
13201320
+
13211321
.Properties of `_search`
13221322
[%collapsible%open]
13231323
======
13241324
`total`:::
1325-
(integer) The total number of cross-cluster search requests that have been executed by the cluster.
1325+
(integer) The total number of {ccs} requests that have been executed by the cluster.
13261326

13271327
`success`:::
1328-
(integer) The total number of cross-cluster search requests that have been successfully executed by the cluster.
1328+
(integer) The total number of {ccs} requests that have been successfully executed by the cluster.
13291329

13301330
`skipped`:::
1331-
(integer) The total number of cross-cluster search requests that had at least one remote cluster skipped.
1331+
(integer) The total number of {ccs} requests (successful or failed) that had at least one remote cluster skipped.
13321332

13331333
`took`:::
1334-
(object) Contains statistics about the time taken to execute cross-cluster search requests.
1334+
(object) Contains statistics about the time taken to execute {ccs} requests.
13351335
+
13361336
.Properties of `took`
13371337
[%collapsible%open]
13381338
=======
13391339
`max`:::
1340-
(integer) The maximum time taken to execute a cross-cluster search request, in milliseconds.
1340+
(integer) The maximum time taken to execute a {ccs} request, in milliseconds.
13411341
13421342
`avg`:::
1343-
(integer) The median time taken to execute a cross-cluster search request, in milliseconds.
1343+
(integer) The median time taken to execute a {ccs} request, in milliseconds.
13441344
13451345
`p90`:::
1346-
(integer) The 90th percentile of the time taken to execute cross-cluster search requests, in milliseconds.
1346+
(integer) The 90th percentile of the time taken to execute {ccs} requests, in milliseconds.
13471347
=======
13481348

13491349
`took_mrt_true`::
1350-
(object) Contains statistics about the time taken to execute cross-cluster search requests for which the
1350+
(object) Contains statistics about the time taken to execute {ccs} requests for which the
13511351
<<ccs-minimize-roundtrips,`ccs_minimize_roundtrips`>> setting was set to `true`.
13521352
+
13531353
.Properties of `took_mrt_true`
13541354
[%collapsible%open]
13551355
=======
13561356
`max`:::
1357-
(integer) The maximum time taken to execute a cross-cluster search request, in milliseconds.
1357+
(integer) The maximum time taken to execute a {ccs} request, in milliseconds.
13581358
13591359
`avg`:::
1360-
(integer) The median time taken to execute a cross-cluster search request, in milliseconds.
1360+
(integer) The median time taken to execute a {ccs} request, in milliseconds.
13611361
13621362
`p90`:::
1363-
(integer) The 90th percentile of the time taken to execute cross-cluster search requests, in milliseconds.
1363+
(integer) The 90th percentile of the time taken to execute {ccs} requests, in milliseconds.
13641364
=======
13651365

13661366
`took_mrt_false`::
1367-
(object) Contains statistics about the time taken to execute cross-cluster search requests for which the
1367+
(object) Contains statistics about the time taken to execute {ccs} requests for which the
13681368
<<ccs-minimize-roundtrips,`ccs_minimize_roundtrips`>> setting was set to `false`.
13691369
+
13701370
.Properties of `took_mrt_false`
13711371
[%collapsible%open]
13721372
=======
13731373
`max`:::
1374-
(integer) The maximum time taken to execute a cross-cluster search request, in milliseconds.
1374+
(integer) The maximum time taken to execute a {ccs} request, in milliseconds.
13751375
13761376
`avg`:::
1377-
(integer) The median time taken to execute a cross-cluster search request, in milliseconds.
1377+
(integer) The median time taken to execute a {ccs} request, in milliseconds.
13781378
13791379
`p90`:::
1380-
(integer) The 90th percentile of the time taken to execute cross-cluster search requests, in milliseconds.
1380+
(integer) The 90th percentile of the time taken to execute {ccs} requests, in milliseconds.
13811381
=======
13821382

13831383
`remotes_per_search_max`::
1384-
(integer) The maximum number of remote clusters that were queried in a single cross-cluster search request.
1384+
(integer) The maximum number of remote clusters that were queried in a single {ccs} request.
13851385

13861386
`remotes_per_search_avg`::
1387-
(float) The average number of remote clusters that were queried in a single cross-cluster search request.
1387+
(float) The average number of remote clusters that were queried in a single {ccs} request.
13881388

13891389
`failure_reasons`::
1390-
(object) Contains statistics about the reasons for cross-cluster search request failures.
1390+
(object) Contains statistics about the reasons for {ccs} request failures.
13911391
The keys are the failure reason names and the values are the number of requests that failed for that reason.
13921392

13931393
`features`::
1394-
(object) Contains statistics about the features used in cross-cluster search requests. The keys are the names of the search feature,
1394+
(object) Contains statistics about the features used in {ccs} requests. The keys are the names of the search feature,
13951395
and the values are the number of requests that used that feature. Single request can use more than one feature
13961396
(e.g. both `async` and `wildcard`). Known features are:
13971397

@@ -1402,24 +1402,24 @@ and the values are the number of requests that used that feature. Single request
14021402
* `wildcard` - <<api-multi-index,Multi-target syntax>> for indices with wildcards was used in the search request.
14031403

14041404
`clients`::
1405-
(object) Contains statistics about the clients that executed cross-cluster search requests.
1405+
(object) Contains statistics about the clients that executed {ccs} requests.
14061406
The keys are the names of the clients, and the values are the number of requests that were executed by that client.
14071407
Only known clients (such as `kibana` or `elasticsearch`) are counted.
14081408

14091409
`clusters`::
1410-
(object) Contains statistics about the clusters that were queried in cross-cluster search requests.
1410+
(object) Contains statistics about the clusters that were queried in {ccs} requests.
14111411
The keys are cluster names, and the values are per-cluster telemetry data.
14121412
This also includes the local cluster itself, which uses the name `(local)`.
14131413
+
14141414
.Properties of per-cluster data:
14151415
[%collapsible%open]
14161416
=======
14171417
`total`:::
1418-
(integer) The total number of successful (not skipped) cross-cluster search requests that were executed against this cluster.
1418+
(integer) The total number of successful (not skipped) {ccs} requests that were executed against this cluster.
14191419
This may include requests where partial results were returned, but not requests in which the cluster has been skipped entirely.
14201420
14211421
`skipped`:::
1422-
(integer) The total number of cross-cluster search requests for which this cluster was skipped.
1422+
(integer) The total number of {ccs} requests for which this cluster was skipped.
14231423
14241424
`took`:::
14251425
(object) Contains statistics about the time taken to execute requests against this cluster.
@@ -1428,13 +1428,13 @@ This may include requests where partial results were returned, but not requests
14281428
[%collapsible%open]
14291429
========
14301430
`max`:::
1431-
(integer) The maximum time taken to execute a cross-cluster search request, in milliseconds.
1431+
(integer) The maximum time taken to execute a {ccs} request, in milliseconds.
14321432

14331433
`avg`:::
1434-
(integer) The median time taken to execute a cross-cluster search request, in milliseconds.
1434+
(integer) The median time taken to execute a {ccs} request, in milliseconds.
14351435

14361436
`p90`:::
1437-
(integer) The 90th percentile of the time taken to execute cross-cluster search requests, in milliseconds.
1437+
(integer) The 90th percentile of the time taken to execute {ccs} requests, in milliseconds.
14381438
========
14391439
14401440
=======

server/src/main/java/org/elasticsearch/action/admin/cluster/stats/TransportClusterStatsAction.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ protected ClusterStatsNodeResponse nodeOperation(ClusterStatsNodeRequest nodeReq
251251
final SearchUsageStats searchUsageStats = searchUsageHolder.getSearchUsageStats();
252252

253253
final RepositoryUsageStats repositoryUsageStats = repositoriesService.getUsageStats();
254-
final CCSTelemetrySnapshot ccsUsage = ccsUsageHolder.getCCSTelemetrySnapshot();
254+
final CCSTelemetrySnapshot ccsTelemetry = ccsUsageHolder.getCCSTelemetrySnapshot();
255255

256256
return new ClusterStatsNodeResponse(
257257
nodeInfo.getNode(),
@@ -261,7 +261,7 @@ protected ClusterStatsNodeResponse nodeOperation(ClusterStatsNodeRequest nodeReq
261261
shardsStats.toArray(new ShardStats[shardsStats.size()]),
262262
searchUsageStats,
263263
repositoryUsageStats,
264-
ccsUsage
264+
ccsTelemetry
265265
);
266266
}
267267

0 commit comments

Comments
 (0)