Skip to content

Conversation

@Gati0
Copy link
Contributor

@Gati0 Gati0 commented Jan 10, 2024

Migration of all elasticsearch detectors to generated mode with the gen_detectors module.

@@ -0,0 +1,19 @@
module: ElasticSearch
name: "cluster status"
aggregation: true
Copy link
Contributor

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')"
Copy link
Contributor

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
Copy link
Contributor

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')"
Copy link
Contributor

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
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants