grafana/public/app/plugins/datasource/tempo/SearchTraceQLEditor
Andre Pereira 541a03f33b
Tempo: TraceQL Configurable static fields (#65284)
* TraceQL - configurable static fields for new UI

* TraceQL - filter out static fields from Tags section. Added tooltip to static fields

* Add more units to duration validation. Improve duration field tooltip with accepted units

* Better control of delete button on SearchField

* Move new config behind feature toggle

* Special title for intrinsic "name"

* Fix tests

* Move static fields not in the datasource to the Tags section

* Start using the useAsync hook in the Tempo TraceQL configuration page to retrieve the tags and datasource

* Fix tests

* Fix test. Use useAsync to retrieve options in SearchField

* Remove ability to set a default value in filter configuration.
Removed type from filter, dynamic filters are now any filters not present in the datasource config

* Updated the static filters tooltip

* Replace useState + useEffect with useMemo for scopedTag
2023-03-31 10:35:37 +01:00
..
DurationInput.tsx Tempo: TraceQL Configurable static fields (#65284) 2023-03-31 10:35:37 +01:00
InlineSearchField.tsx Tempo: TraceQL Configurable static fields (#65284) 2023-03-31 10:35:37 +01:00
SearchField.test.tsx Tempo: TraceQL Configurable static fields (#65284) 2023-03-31 10:35:37 +01:00
SearchField.tsx Tempo: TraceQL Configurable static fields (#65284) 2023-03-31 10:35:37 +01:00
TagsInput.tsx Tempo: TraceQL Configurable static fields (#65284) 2023-03-31 10:35:37 +01:00
TraceQLSearch.test.tsx Tempo: TraceQL Configurable static fields (#65284) 2023-03-31 10:35:37 +01:00
TraceQLSearch.tsx Tempo: TraceQL Configurable static fields (#65284) 2023-03-31 10:35:37 +01:00
utils.test.ts Tempo: TraceQL Configurable static fields (#65284) 2023-03-31 10:35:37 +01:00
utils.ts Tempo: TraceQL Configurable static fields (#65284) 2023-03-31 10:35:37 +01:00