Explore: Tag and Values for Influx are filtered by the selected measurement (#17539)

* Fix: Filters Tags and Values depending on options passed
Fixes: #17507

* Fix: Makes sure options is not undefined

* Fix: Fixes tests and small button refactor

* Chore: PR comments
This commit is contained in:
Hugo Häggmark
2019-06-14 10:13:06 +02:00
committed by GitHub
parent 37e9988e95
commit 51c6b50582
5 changed files with 277 additions and 71 deletions

View File

@@ -217,7 +217,7 @@ export abstract class DataSourceApi<
/**
* Get tag values for adhoc filters
*/
getTagValues?(options: { key: any }): Promise<MetricFindValue[]>;
getTagValues?(options: any): Promise<MetricFindValue[]>;
/**
* Set after constructor call, as the data source instance is the most common thing to pass around