You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ct...@apache.org on 2019/10/25 18:59:11 UTC

[lucene-solr] branch branch_8x updated: SOLR-13847: Fix docs for Metrics Trigger

This is an automated email from the ASF dual-hosted git repository.

ctargett pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_8x by this push:
     new 3a7bf3b  SOLR-13847: Fix docs for Metrics Trigger
3a7bf3b is described below

commit 3a7bf3b3af0c34fe4ddb5e8216d547c00a35cda3
Author: Cassandra Targett <ca...@lucidworks.com>
AuthorDate: Fri Oct 25 13:56:53 2019 -0500

    SOLR-13847: Fix docs for Metrics Trigger
---
 solr/solr-ref-guide/src/solrcloud-autoscaling-triggers.adoc | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/solr/solr-ref-guide/src/solrcloud-autoscaling-triggers.adoc b/solr/solr-ref-guide/src/solrcloud-autoscaling-triggers.adoc
index de346d8..860b1f9 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"
   }