wu-sheng commented on code in PR #10801:
URL: https://github.com/apache/skywalking/pull/10801#discussion_r1193281821


##########
oap-server/server-starter/src/main/resources/otel-rules/elasticsearch/elasticsearch-cluster.yaml:
##########
@@ -34,39 +34,39 @@ metricPrefix: meter_elasticsearch_cluster
 metricsRules:
   # cluster health
   - name: health_status
-    exp: elasticsearch_cluster_health_status.valueEqual(1).sum(['cluster' , 
'color'])
+    exp: 
elasticsearch_cluster_health_status.tagNotEqual('cluster','unknown_cluster').valueEqual(1).sum(['cluster'
 , 'color'])

Review Comment:
   Attaching the source codes of the exporter, just FYI to others
   
   
![image](https://github.com/apache/skywalking/assets/5441976/b71eb157-ff78-42d9-860b-764a933a9fed)
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to