mirror of
https://github.com/grafana/grafana.git
synced 2024-11-26 19:00:54 -06:00
use typeahead value in graphite find requests
This commit is contained in:
parent
ff759b0ef7
commit
7c1be021ac
@ -106,7 +106,10 @@ export class GraphiteQueryCtrl extends QueryCtrl {
|
||||
}
|
||||
|
||||
getAltSegments(index, prefix) {
|
||||
var query = index === 0 ? '*' : this.queryModel.getSegmentPathUpTo(index) + '.*';
|
||||
var query = '*' + prefix + '*';
|
||||
if (index > 0) {
|
||||
query = this.queryModel.getSegmentPathUpTo(index) + '.' + query;
|
||||
}
|
||||
var options = {
|
||||
range: this.panelCtrl.range,
|
||||
requestId: 'get-alt-segments',
|
||||
|
Loading…
Reference in New Issue
Block a user