Skip to content

Apache Lucene open-source search software

SOLR-13847: Fix docs for Metrics Trigger

Cassandra Targettd91152e11319
diff --git a/solr/solr-ref-guide/src/solrcloud-autoscaling-triggers.adoc b/solr/solr-ref-guide/src/solrcloud-autoscaling-triggers.adoc
index de346d846b4..860b1f969bb 100644
--- a/solr/solr-ref-guide/src/solrcloud-autoscaling-triggers.adoc
+++ b/solr/solr-ref-guide/src/solrcloud-autoscaling-triggers.adoc
@@ -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"
}