Varun Thacker created SOLR-12465: ------------------------------------ Summary: Triggers should look at metrics less often Key: SOLR-12465 URL: https://issues.apache.org/jira/browse/SOLR-12465 Project: Solr Issue Type: Improvement Security Level: Public (Default Security Level. Issues are Public) Components: AutoScaling Reporter: Varun Thacker
As soon as I create a search rate trigger I see that the metrics endpoint is being queried every 1 second . As discussed on SOLR-12463 we should change the default to be 10 seconds Example trigger {code:java} curl -X POST -H 'Content-type:application/json' --data-binary '{ "set-trigger": { "name" : "search_rate_trigger", "event" : "searchRate", "collection" : "test_rate_trigger", "rate" : 1.0, "waitFor" : "1m", "enabled" : true, "actions" : [ { "name" : "compute_plan", "class": "solr.ComputePlanAction" }, { "name" : "execute_plan", "class": "solr.ExecutePlanAction" } ] } }' http://localhost:8983/solr/admin/autoscaling {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org