grafana/public/app/plugins/datasource
Matias Chomicki 4be99c56f6
Loki Query Editor: Autocompletion and suggestions improvements (unwrap, parser, extracted labels) (#59103)
* Chore: refactor test to improve internal categorization of scenarios

* feat(loki-monaco-unwrap): add unwrap situation support

* Chore: remove redundant path from aggregation situation

* feat(loki-monaco-unwrap): add unwrap suggestions

* feat(loki-monaco-autocomplete): rename IN_DURATION and add missing tests

* feat(loki-monaco-autocomplete): detect parser and line filter

* feat(loki-monaco-autocomplete): optionally suggest line filters and parsers

* feat(loki-monaco-autocomplete): improve suggestions and update completions tests

* feat(loki-monaco-autocomplete): allow for multiple line filters suggestions

* Chore: update situations test

* Chore: add test case for AFTER_UNWRAP completion

* feat(loki-monaco-autocomplete): use logs query instead of labels for data sample

* Chore: improve getParser function name and add tests

* Chore: update test mock data

* Update public/app/plugins/datasource/loki/components/monaco-query-field/monaco-completion-provider/situation.test.ts

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

* feat(loki-monaco-autocomplete): improve after unwrap detection

* feat(loki-monaco-autocomplete): remove leftover parser detection

* Chore: completely remove parser suggestion exclusion implementation

It was correct to have more than one parser, so we don't need to exclude parsers if one is present.

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-12-14 11:37:08 -05:00
..
alertmanager Alerting: Remove url based external alertmanagers config (#57918) 2022-11-10 16:34:13 +01:00
cloud-monitoring Update jest monorepo to v29 (#58261) 2022-11-24 14:00:41 +00:00
cloudwatch Cloudwatch: Define and use getDefaultquery instead of calling onChange on mount (#60221) 2022-12-14 12:21:36 +01:00
dashboard Update jest monorepo to v29 (#58261) 2022-11-24 14:00:41 +00:00
elasticsearch Loki: Usage for queries not from dashboards (#60017) 2022-12-08 13:04:05 +01:00
grafana Snapshots: Use the grafana datasource to render snapshot (#54870) 2022-09-09 13:16:24 -07:00
grafana-azure-monitor-datasource AzureMonitor: Fix filter query for empty queryType (#60252) 2022-12-14 09:54:19 +01:00
graphite Update jest monorepo to v29 (#58261) 2022-11-24 14:00:41 +00:00
influxdb Influx: Query segment menus now position correctly near the bottom of the screen (#60087) 2022-12-14 09:51:04 +00:00
jaeger Jaeger: Add cheat sheet (#54521) 2022-09-20 12:48:17 +01:00
loki Loki Query Editor: Autocompletion and suggestions improvements (unwrap, parser, extracted labels) (#59103) 2022-12-14 11:37:08 -05:00
mixed Explore: Add Mixed Datasource (#53429) 2022-08-31 09:24:20 -05:00
mssql SQL Datasources: Move database setting to jsonData (#58649) 2022-12-13 09:56:52 +01:00
mysql SQL Datasources: Move database setting to jsonData (#58649) 2022-12-13 09:56:52 +01:00
opentsdb Accessibility: enable rule jsx-a11y/label-has-associated-control (#57964) 2022-11-01 14:37:58 +00:00
parca Parca: Logo image fixed with theme agnostic colors (#59835) 2022-12-09 11:01:39 +01:00
phlare Remove fire text in Phlare ds (#59484) 2022-11-30 17:22:47 +00:00
postgres SQL Datasources: Move database setting to jsonData (#58649) 2022-12-13 09:56:52 +01:00
prometheus Tempo: Merge Trace ID and TraceQL tabs (#60180) 2022-12-13 08:27:45 -05:00
tempo Tempo: Merge Trace ID and TraceQL tabs (#60180) 2022-12-13 08:27:45 -05:00
testdata TestDatasource: Add scenario for generating trace data (#59299) 2022-11-29 22:50:01 +01:00
zipkin Chore: Change JSON file to JSON File for consistency with other tabs (#54453) 2022-09-01 09:09:13 +01:00