mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
change(elasticsearch): changed min_doc_count to zero in query to get buckets for missing values, fixes #3131
This commit is contained in:
@@ -126,7 +126,7 @@ function (angular) {
|
||||
esAgg["date_histogram"] = {
|
||||
"interval": this.getInterval(aggDef),
|
||||
"field": this.timeField,
|
||||
"min_doc_count": 1,
|
||||
"min_doc_count": 0,
|
||||
"extended_bounds": { "min": "$timeFrom", "max": "$timeTo" }
|
||||
};
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user