public class ShardSlowLogSearchService extends AbstractIndexShardComponent
Modifier and Type | Class and Description |
---|---|
static class |
ShardSlowLogSearchService.SlowLogSearchContextPrinter |
Modifier and Type | Field and Description |
---|---|
static String |
INDEX_SEARCH_SLOWLOG_LEVEL |
static String |
INDEX_SEARCH_SLOWLOG_REFORMAT |
static String |
INDEX_SEARCH_SLOWLOG_THRESHOLD_FETCH_DEBUG |
static String |
INDEX_SEARCH_SLOWLOG_THRESHOLD_FETCH_INFO |
static String |
INDEX_SEARCH_SLOWLOG_THRESHOLD_FETCH_TRACE |
static String |
INDEX_SEARCH_SLOWLOG_THRESHOLD_FETCH_WARN |
static String |
INDEX_SEARCH_SLOWLOG_THRESHOLD_QUERY_DEBUG |
static String |
INDEX_SEARCH_SLOWLOG_THRESHOLD_QUERY_INFO |
static String |
INDEX_SEARCH_SLOWLOG_THRESHOLD_QUERY_TRACE |
static String |
INDEX_SEARCH_SLOWLOG_THRESHOLD_QUERY_WARN |
componentSettings, indexSettings, logger, shardId
Constructor and Description |
---|
ShardSlowLogSearchService(ShardId shardId,
Settings indexSettings,
IndexSettingsService indexSettingsService) |
Modifier and Type | Method and Description |
---|---|
void |
onFetchPhase(SearchContext context,
long tookInNanos) |
void |
onQueryPhase(SearchContext context,
long tookInNanos) |
indexSettings, nodeName, shardId
public static final String INDEX_SEARCH_SLOWLOG_THRESHOLD_QUERY_WARN
public static final String INDEX_SEARCH_SLOWLOG_THRESHOLD_QUERY_INFO
public static final String INDEX_SEARCH_SLOWLOG_THRESHOLD_QUERY_DEBUG
public static final String INDEX_SEARCH_SLOWLOG_THRESHOLD_QUERY_TRACE
public static final String INDEX_SEARCH_SLOWLOG_THRESHOLD_FETCH_WARN
public static final String INDEX_SEARCH_SLOWLOG_THRESHOLD_FETCH_INFO
public static final String INDEX_SEARCH_SLOWLOG_THRESHOLD_FETCH_DEBUG
public static final String INDEX_SEARCH_SLOWLOG_THRESHOLD_FETCH_TRACE
public static final String INDEX_SEARCH_SLOWLOG_REFORMAT
public static final String INDEX_SEARCH_SLOWLOG_LEVEL
@Inject public ShardSlowLogSearchService(ShardId shardId, @IndexSettings Settings indexSettings, IndexSettingsService indexSettingsService)
public void onQueryPhase(SearchContext context, long tookInNanos)
public void onFetchPhase(SearchContext context, long tookInNanos)
Copyright © 2009–2015. All rights reserved.