Class CCSUsageStats
java.lang.Object
co.elastic.clients.elasticsearch.cluster.stats.CCSUsageStats
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<CCSUsageStats>
Json deserializer forCCSUsageStats
-
Method Summary
Modifier and TypeMethodDescriptionclients()
Required - Statistics about the clients that executed cross-cluster search requests.final Map<String,
CCSUsageClusterStats> clusters()
Required - Statistics about the clusters that were queried in cross-cluster search requests.Required - Statistics about the reasons for cross-cluster search request failures.features()
Required - The keys are the names of the search feature, and the values are the number of requests that used that feature.static CCSUsageStats
final double
Required - The average number of remote clusters that were queried in a single cross-cluster search request.final int
Required - The maximum number of remote clusters that were queried in a single cross-cluster search request.void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final int
skipped()
Required - The total number of cross-cluster search requests (successful or failed) that had at least one remote cluster skipped.final int
success()
Required - The total number of cross-cluster search requests that have been successfully executed by the cluster.final CCSUsageTimeValue
took()
Required - Statistics about the time taken to execute cross-cluster search requests.final CCSUsageTimeValue
Statistics about the time taken to execute cross-cluster search requests for which theccs_minimize_roundtrips
setting was set tofalse
.final CCSUsageTimeValue
Statistics about the time taken to execute cross-cluster search requests for which theccs_minimize_roundtrips
setting was set totrue
.toString()
final int
total()
Required - The total number of cross-cluster search requests that have been executed by the cluster.
-
Field Details
-
_DESERIALIZER
Json deserializer forCCSUsageStats
-
-
Method Details
-
of
-
total
public final int total()Required - The total number of cross-cluster search requests that have been executed by the cluster.API name:
total
-
success
public final int success()Required - The total number of cross-cluster search requests that have been successfully executed by the cluster.API name:
success
-
skipped
public final int skipped()Required - The total number of cross-cluster search requests (successful or failed) that had at least one remote cluster skipped.API name:
skipped
-
took
Required - Statistics about the time taken to execute cross-cluster search requests.API name:
took
-
tookMrtTrue
Statistics about the time taken to execute cross-cluster search requests for which theccs_minimize_roundtrips
setting was set totrue
.API name:
took_mrt_true
-
tookMrtFalse
Statistics about the time taken to execute cross-cluster search requests for which theccs_minimize_roundtrips
setting was set tofalse
.API name:
took_mrt_false
-
remotesPerSearchMax
public final int remotesPerSearchMax()Required - The maximum number of remote clusters that were queried in a single cross-cluster search request.API name:
remotes_per_search_max
-
remotesPerSearchAvg
public final double remotesPerSearchAvg()Required - The average number of remote clusters that were queried in a single cross-cluster search request.API name:
remotes_per_search_avg
-
failureReasons
Required - Statistics about the reasons for cross-cluster search request failures. The keys are the failure reason names and the values are the number of requests that failed for that reason.API name:
failure_reasons
-
features
Required - The keys are the names of the search feature, and the values are the number of requests that used that feature. Single request can use more than one feature (e.g. bothasync
andwildcard
).API name:
features
-
clients
Required - Statistics about the clients that executed cross-cluster search requests. The keys are the names of the clients, and the values are the number of requests that were executed by that client. Only known clients (such askibana
orelasticsearch
) are counted.API name:
clients
-
clusters
Required - Statistics about the clusters that were queried in cross-cluster search requests. The keys are cluster names, and the values are per-cluster telemetry data. This also includes the local cluster itself, which uses the name(local)
.API name:
clusters
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupCCSUsageStatsDeserializer
-