X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Felasticsearch.git;a=blobdiff_plain;f=elasticsearch%2Ffiles%2Fgrafana_dashboards%2Felasticsearch_prometheus.json;h=f490248bf9616e89a6dd4dc8368a361124625e57;hp=ec77ba15eca3cd90ac182b21e69d4ecbaa08c00b;hb=c570739e782951a549f76f0d89cd1c3198a608f6;hpb=499d23fcab90c871333c7200832d7a5d98c656c5 diff --git a/elasticsearch/files/grafana_dashboards/elasticsearch_prometheus.json b/elasticsearch/files/grafana_dashboards/elasticsearch_prometheus.json index ec77ba1..f490248 100644 --- a/elasticsearch/files/grafana_dashboards/elasticsearch_prometheus.json +++ b/elasticsearch/files/grafana_dashboards/elasticsearch_prometheus.json @@ -688,7 +688,7 @@ "tableColumn": "", "targets": [ { - "expr": "max(elasticsearch_clusterstats_indices_docs_count)", + "expr": "max(elasticsearch_indices_docs_count{host=\"$host\"})", "format": "time_series", "intervalFactor": 2, "refId": "A", @@ -739,7 +739,7 @@ "steppedLine": false, "targets": [ { - "expr": "sum without(status)(irate (elasticsearch_clusterstats_indices_docs_count{host=\"$host\"}[1m]) ) ", + "expr": "sum without(status)(irate (elasticsearch_indices_docs_count{host=\"$host\"}[1m]) ) ", "format": "time_series", "hide": false, "intervalFactor": 2, @@ -1863,11 +1863,11 @@ "multi": false, "name": "host", "options": [], - "query": "query_result(elasticsearch_os_load_average)", + "query": "query_result(elasticsearch_up)", "refresh": 1, "refresh_on_load": true, - "regex": ".*,host=\"(.+?\\d+)\".*", - "sort": 0, + "regex": ".*host=\"(.+?\\d+)\".*", + "sort": 1, "tagValuesQuery": "", "tags": [], "tagsQuery": "", @@ -1907,5 +1907,5 @@ }, "timezone": "browser", "title": "Elasticsearch", - "version": 23 + "version": 24 }