mirror of
https://github.com/grafana/grafana.git
synced 2024-11-28 11:44:26 -06:00
OpenTSDB: better matching for query -> query result series
This commit is contained in:
parent
c07d48d930
commit
1bd238191c
@ -183,7 +183,9 @@ function (angular, _, kbn) {
|
||||
return _.map(metrics, function(metricData) {
|
||||
return _.findIndex(targets, function(target) {
|
||||
return target.metric === metricData.metric &&
|
||||
_.all(target.tags, function(tagV, tagK) { return metricData.tags[tagK] !== void 0; });
|
||||
_.all(target.tags, function(tagV, tagK) {
|
||||
return metricData.tags[tagK] === tagV || tagV === "*";
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user