mirror of https://github.com/apache/lucene.git
SOLR-13847: Fix docs for Metrics Trigger
This commit is contained in:
parent
a939c08dba
commit
d91152e113
|
@ -218,8 +218,8 @@ The metric trigger can be used to monitor any metric exposed by the <<metrics-re
|
|||
|
||||
In addition to the parameters described at <<Trigger Configuration>>, this trigger supports the following parameters:
|
||||
|
||||
`metric`::
|
||||
(string, required) The metric property name to be watched in the format metric:__group__:__prefix__, e.g., `metric:solr.node:CONTAINER.fs.coreRoot.usableSpace`.
|
||||
`metrics`::
|
||||
(string, required) The metric property name to be watched in the format metrics:__group__:__prefix__, e.g., `metrics:solr.node:CONTAINER.fs.coreRoot.usableSpace`.
|
||||
|
||||
`below`::
|
||||
(double, optional) The lower threshold for the metric value. The trigger produces a metric breached event if the metric's value falls below this value.
|
||||
|
@ -247,7 +247,7 @@ In addition to the parameters described at <<Trigger Configuration>>, this trigg
|
|||
"name": "metric_trigger",
|
||||
"event": "metric",
|
||||
"waitFor": "5s",
|
||||
"metric": "metric:solr.node:CONTAINER.fs.coreRoot.usableSpace",
|
||||
"metrics": "metric:solr.node:CONTAINER.fs.coreRoot.usableSpace",
|
||||
"below": 107374182400,
|
||||
"collection": "mycollection"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue