Package org.apache.solr.handler.admin
Class MetricsHandler
java.lang.Object
org.apache.solr.handler.RequestHandlerBase
org.apache.solr.handler.admin.MetricsHandler
- All Implemented Interfaces:
AutoCloseable,ApiSupport,SolrInfoBean,NestedRequestHandler,SolrMetricProducer,SolrRequestHandler,PermissionNameProvider
Request handler to return metrics
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.solr.handler.RequestHandlerBase
RequestHandlerBase.HandlerMetricsNested classes/interfaces inherited from interface org.apache.solr.security.PermissionNameProvider
PermissionNameProvider.NameNested classes/interfaces inherited from interface org.apache.solr.core.SolrInfoBean
SolrInfoBean.Category, SolrInfoBean.Group -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class org.apache.solr.handler.RequestHandlerBase
aggregateNodeLevelMetricsEnabled, appends, defaults, httpCaching, initArgs, invariants, metrics, publishCpuTime, REQUEST_CPU_TIMER_CONTEXT, solrMetricsContext, SOURCE_ATTRFields inherited from interface org.apache.solr.security.PermissionNameProvider
ANY, NULL, valuesFields inherited from interface org.apache.solr.metrics.SolrMetricProducer
CATEGORY_ATTR, HANDLER_ATTR, NAME_ATTR, OPERATION_ATTR, PLUGIN_NAME_ATTR, RESULT_ATTR, TYPE_ATTRFields inherited from interface org.apache.solr.request.SolrRequestHandler
TYPE -
Constructor Summary
ConstructorsConstructorDescriptionMetricsHandler(CoreContainer coreContainer) MetricsHandler(SolrMetricManager metricManager) -
Method Summary
Modifier and TypeMethodDescriptionCategory of this componentSimple one or two line descriptiongetPermissionName(AuthorizationContext request) voidbooleanMethods inherited from class org.apache.solr.handler.RequestHandlerBase
getApis, getInitArgs, getMetricsForThisRequest, getName, getPluginInfo, getRequestHandler, getSolrMetricsContext, getSolrParamsFromNamedList, getSubHandler, handleRequest, init, initializeMetrics, isInternalShardRequest, processErrorMetricsOnException, processReceivedException, setPluginInfoMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.api.ApiSupport
getJerseyResources, registerV1, registerV2Methods inherited from interface org.apache.solr.metrics.SolrMetricProducer
close
-
Field Details
-
COMPACT_PARAM
- See Also:
-
PREFIX_PARAM
- See Also:
-
REGEX_PARAM
- See Also:
-
PROPERTY_PARAM
- See Also:
-
REGISTRY_PARAM
- See Also:
-
GROUP_PARAM
- See Also:
-
KEY_PARAM
- See Also:
-
EXPR_PARAM
- See Also:
-
TYPE_PARAM
- See Also:
-
CATEGORY_PARAM
- See Also:
-
CORE_PARAM
- See Also:
-
COLLECTION_PARAM
- See Also:
-
SHARD_PARAM
- See Also:
-
REPLICA_TYPE_PARAM
- See Also:
-
METRIC_NAME_PARAM
- See Also:
-
PROMETHEUS_METRICS_WT
- See Also:
-
OPEN_METRICS_WT
- See Also:
-
ALL
- See Also:
-
-
Constructor Details
-
MetricsHandler
-
MetricsHandler
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
getPermissionName
- Specified by:
getPermissionNamein interfacePermissionNameProvider
-
handleRequestBody
- Specified by:
handleRequestBodyin classRequestHandlerBase- Throws:
Exception
-
getDescription
Description copied from interface:SolrInfoBeanSimple one or two line description- Specified by:
getDescriptionin interfaceSolrInfoBean- Specified by:
getDescriptionin classRequestHandlerBase
-
getCategory
Description copied from interface:SolrInfoBeanCategory of this component- Specified by:
getCategoryin interfaceSolrInfoBean- Overrides:
getCategoryin classRequestHandlerBase
-