Skip to content

Commit 51cad60

Browse files
authored
Fixes a number of issues to Solr Mixin. (#1360)
Fixes issue with Resource Monitoring Dashboard where '~' was missing in query. Change custom allValues for solr_collection variable in Cluster Overview Dashboard which was causing an issue in panels when collection label was not present in metrics. Change custom allValues for solr_collection variable in Query Performance Dashboard which was causing issue in panels when collection label was not present in metrics.
1 parent 0f7e335 commit 51cad60

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

apache-solr-mixin/dashboards/apache-solr-cluster-overview.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,7 @@ local getMatcher(cfg) = '%(solrSelector)s, solr_cluster=~"$solr_cluster"' % cfg;
16531653
refresh=2,
16541654
includeAll=true,
16551655
multi=true,
1656-
allValues='.+',
1656+
allValues='.*',
16571657
sort=1
16581658
),
16591659
template.new(

apache-solr-mixin/dashboards/apache-solr-query-performance.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1578,7 +1578,7 @@ local getMatcher(cfg) = '%(solrSelector)s, solr_cluster=~"$solr_cluster", base_u
15781578
refresh=2,
15791579
includeAll=true,
15801580
multi=true,
1581-
allValues='.+',
1581+
allValues='.*',
15821582
sort=1
15831583
),
15841584
template.new(

apache-solr-mixin/dashboards/apache-solr-resource-monitoring.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ local dispatchesPanel(matcher) = {
10591059
},
10601060
};
10611061

1062-
local getMatcher(cfg) = '%(solrSelector)s, solr_cluster="$solr_cluster", base_url=~"$base_url"' % cfg;
1062+
local getMatcher(cfg) = '%(solrSelector)s, solr_cluster=~"$solr_cluster", base_url=~"$base_url"' % cfg;
10631063

10641064
{
10651065
grafanaDashboards+:: {

0 commit comments

Comments
 (0)