-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rework smart agent elasticsearch #542
base: master
Are you sure you want to change the base?
Conversation
@@ -0,0 +1,19 @@ | |||
module: ElasticSearch | |||
name: "cluster status" | |||
aggregation: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you have multiple clusters, this will do the transformation on all clusters 😃
module: ElasticSearch | ||
name: "cluster status" | ||
aggregation: true | ||
transformation: ".mean(over='5m')" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do a mean on 5 minutes since thresholds are strict comparison and lasting is already set ?
@@ -0,0 +1,21 @@ | |||
module: ElasticSearch | |||
name: "cluster initializing shards" | |||
aggregation: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you have multiple clusters, this will do the transformation on all clusters 😃
module: ElasticSearch | ||
name: "cluster initializing shards" | ||
aggregation: true | ||
transformation: ".min(over='15m')" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Already managed by triggering rule
|
||
signals: | ||
signal: | ||
metric: elasticsearch.cluster.number-of-nodes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should use elasticsearch.process.cpu.percent
because current metric is not present if clusterHealthStatsMasterOnly: true
Migration of all elasticsearch detectors to generated mode with the gen_detectors module.