Module org.elasticsearch.server
Class SearchResponseMetrics
java.lang.Object
org.elasticsearch.rest.action.search.SearchResponseMetrics
Container class for aggregated metrics about search responses.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidincrementResponseCount(SearchResponseMetrics.ResponseCountTotalStatus responseCountTotalStatus) longrecordTookTime(long tookTime)
-
Field Details
-
RESPONSE_COUNT_TOTAL_STATUS_ATTRIBUTE_NAME
- See Also:
-
TOOK_DURATION_TOTAL_HISTOGRAM_NAME
- See Also:
-
RESPONSE_COUNT_TOTAL_COUNTER_NAME
- See Also:
-
-
Constructor Details
-
SearchResponseMetrics
-
-
Method Details
-
recordTookTime
public long recordTookTime(long tookTime) -
incrementResponseCount
public void incrementResponseCount(SearchResponseMetrics.ResponseCountTotalStatus responseCountTotalStatus)
-