Kevin Yu
1be45d1ed9
Azure Monitor: reset resource uri when resource changes ( #48235 )
2022-04-26 07:36:37 -07:00
Connor Lindsey
4e6c3be7ab
Tracing: Add string unit to trace search results to prevent Infinity bug ( #48206 )
2022-04-26 07:09:40 -06:00
Gábor Farkas
c73b9d1818
Loki: do not use the old labels-api ( #48185 )
...
* loki: do not use old labels-api
* adjust allowed-url-list
* fixed tests
2022-04-26 11:51:26 +02:00
Ivana Huckova
c0ee94a04d
Update grafana/experimental and fix Cloudwatch components ( #48132 )
...
* Update grafana/experimental and fix components
* Simplify
2022-04-26 11:28:34 +02:00
Adam Simpson
6c0a5b121e
CloudWatch: prevent log groups from being removed on query change. ( #47994 )
...
* CloudWatch: prevent log groups from being removed on query change.
Previously when a query was changed the existing log groups for that query were "dropped". The fix is to combine the
new query with the existing query object in memory to preserve the log groups.
fixes #33626
* CloudWatch: fix typos in runWithRetry documentation
* chore: fix eslint issue
2022-04-25 17:59:52 +00:00
Isabella Siu
801a2a240a
Cloudwatch: fix template variables in variable queries ( #48140 )
2022-04-25 10:33:49 -04:00
Gábor Farkas
d8a754c4a0
loki: send metadata requests through backend ( #48063 )
2022-04-25 13:16:14 +02:00
Andres Martinez Gotor
7cfab77650
AzureMonitor: Remove workaround in Logs editor ( #48104 )
2022-04-25 12:34:12 +02:00
Erik Sundell
cb2c6fe6bc
AzureMonitor: Remove unused angular code ( #48110 )
...
* remove unsued code
* fix import
2022-04-25 12:30:33 +02:00
Nathan Marrs
2b2f275a08
Canvas: Support scale + center constraints ( #48085 )
2022-04-22 14:02:36 -07:00
Josh Hunt
3c6e0e8ef8
Chore: ESlint import order ( #44959 )
...
* Add and configure eslint-plugin-import
* Fix the lint:ts npm command
* Autofix + prettier all the files
* Manually fix remaining files
* Move jquery code in jest-setup to external file to safely reorder imports
* Resolve issue caused by circular dependencies within Prometheus
* Update .betterer.results
* Fix missing // @ts-ignore
* ignore iconBundle.ts
* Fix missing // @ts-ignore
2022-04-22 14:33:13 +01:00
Ivana Huckova
28665a869b
Prometheus: Add report interaction for editor modes ( #47940 )
...
* Prometheus: Add report interaction for editor modes
* Add new query
* Fix test
* Update public/app/plugins/datasource/prometheus/querybuilder/components/PromQueryEditorSelector.tsx
* Add app to feature tracking
* Update
2022-04-22 10:46:16 +02:00
Gábor Farkas
f2814046d1
loki: logrowcontext: explicitly name fields ( #48043 )
2022-04-22 08:43:33 +02:00
Ivana Huckova
ce6aed21a7
Loki: Show raw query and patterns only in query builder ( #48049 )
2022-04-21 14:23:03 +02:00
Ashley Harrison
d832bde270
Upgrade @testing-library/user-event to v14 ( #47898 )
...
* Update dependency @testing-library/user-event to v14
* everything is async...
* everything is async pt.2
* Fix cascader tests
* hack the yarn.lock file to remove the old version of @testing-library/dom
* some more fixes!
* MOAR FIXES
* more fixes
* remove a bunch of places where we're wrapping in act()
* down to 7 failing tests...
* Fix arrow tests
* Fix rest of NavBarItem tests
* Fix last tests
* Use {Enter} instead of {enter}
* Revert "Use {Enter} instead of {enter}"
This reverts commit e72453bb52 .
* remove some unused act imports
* Fix LibraryPanelsSearch tests
* more stable test
* More consistent test...
Co-authored-by: Renovate Bot <bot@renovateapp.com >
2022-04-21 13:15:21 +01:00
Andrej Ocenas
ff5aef194c
Prometheus: Highlight operations added in the query builder ( #47961 )
...
* Highlight newly added operations
* Better diff for the operations change
* Changed the highlight style
2022-04-21 10:26:27 +02:00
Ryan McKinley
72b5af8d9b
Testdata: add basic tank simulation ( #47990 )
2022-04-20 12:01:09 -07:00
Nathan Marrs
d442608eb9
Canvas: Implement new constraint system ( #47911 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2022-04-20 09:59:49 -07:00
Gilles De Mey
459c64fd44
Alerting: adds variable replacement to panel filters ( #47962 )
2022-04-20 16:29:55 +02:00
Torkel Ödegaard
68aac0bd90
Prometheus/Loki: Fixes the query type option when multiple queries present ( #47846 )
2022-04-20 14:01:01 +02:00
Kevin Yu
01c22ee366
Azure Monitor: Migrate metrics queries to use a resource URI ( #47696 )
...
* migrate old query to new query
* remove new prefixed data fetchers
* fix lint
* add test cases for v7 and v8 query versions
* add mock ids in test
* add clarifying comment
* add types for azure monitor api data fetchers
* add additional comment to explain the types
2022-04-20 05:00:39 -07:00
Gábor Farkas
79c06fdddc
Loki: add backend-forward mode to queries, update log-row-context ( #47726 )
...
* loki: add helper function to sort dataframe by time
* loki: add direction-attribute to queries
* loki: make log-row-context code backward-compatible
* better comment
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* fixed test
* simplified code
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2022-04-20 13:52:15 +02:00
Ivana Huckova
5c4459a723
Prometheus: Remove running of query on raw query toggle ( #47938 )
2022-04-20 13:33:59 +02:00
kay delaney
c48d8d1d48
Frontend: Add notification persistence behind feature flag ( #47871 )
2022-04-20 10:42:32 +01:00
Leon Sorokin
aa98123e72
TimeSeries: always try to detect & fix reverse-sorted time field ( #47906 )
2022-04-19 23:20:09 -05:00
Ryan McKinley
89fa35a53f
Testdata: introduce basic simulation framework ( #47863 )
2022-04-20 02:42:29 +02:00
Ryan McKinley
f4e285b8b4
Timeseries: add zoom to data button ( #47862 )
2022-04-19 17:24:54 -07:00
Ivana Huckova
677327ea07
Show error when operations, but no stream selector ( #47890 )
2022-04-19 16:54:08 +02:00
Isabella Siu
992c0604f9
CloudWatch: add dimensions component to variable editor ( #47596 )
2022-04-19 10:50:18 -04:00
Andres Martinez Gotor
2d8d9bc137
AzureMonitor: Fix Microsoft.ClassicCompute/domainNames namespace ( #47877 )
2022-04-19 16:23:52 +02:00
Ivana Huckova
a068712ac2
Loki: Updates to raw query and run query button ( #47874 )
...
* Loki: Create toggle-able raw query
* Update name
2022-04-19 15:29:40 +02:00
Ivana Huckova
2aa6f4d17b
Loki: Fix showing of default visual query only if no expression ( #47764 )
...
* AutoSizeInput: Fix updating of value
* Update
* Revert "Update"
This reverts commit a3b527e0c6 .
* Revert "AutoSizeInput: Fix updating of value"
This reverts commit d4b4ae0a10 .
* Fix showing of default visual query only if no expression
* Update public/app/plugins/datasource/loki/querybuilder/components/LokiQueryBuilderContainer.tsx
* Update public/app/plugins/datasource/loki/querybuilder/components/LokiQueryBuilderContainer.tsx
* Update
* Update
2022-04-19 15:29:27 +02:00
Shirley
4f26129aa4
CloudWatch: Run query on blur in logs query field ( #47454 )
...
* Cloudwatch: add test to ensure RunQuery is fired onBlur of LogQuery
Also remove the `onBlur` prop for the `QueryField` in `LogsQueryField` since `QueryField` is configured to re-run
queries `onBlur` by default.
Co-authored-by: Sarah Zinger <sarah.zinger@grafana.com >
Co-authored-by: Isabella Siu <isabella.siu@grafana.com >
Co-authored-by: Adam Simpson <adam@adamsimpson.net >
2022-04-18 18:05:10 +00:00
Adela Almasan
858a1bd24e
Geomap: Add color scale in legend ( #47803 )
...
Added color scale in geomap legend
2022-04-18 09:19:20 -05:00
Florian Cassayre
d4f7ea9f01
Chore: Fix typos ( #47816 )
2022-04-15 14:10:34 +02:00
Torkel Ödegaard
057ff5bcf5
Prometheus: Query builder UX tweaks and feedback link ( #47655 )
...
* Prometheus: Query builder UX tweaks and feedback link
* Remove .
* Fixed link
* added option to hide feedback links
* feedback link setting name change
* move config check
* fixed ts issue
2022-04-14 15:18:03 +02:00
Torkel Ödegaard
6f31a69bfd
QueryEditorRow: Show query errors next to query in a consistent way across Grafana ( #47613 )
...
* Show query errors under each query row
* Testing a more plain error box
* Font size
* Make it green
* Nit UI
* Slight simplification of condition
* New design
* Update
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2022-04-14 12:57:56 +02:00
Ivana Huckova
5df05e31bb
Loki: Use single string expr as a state for the visual editor ( #47566 )
...
* Loki: Use expr as state for visual editor
* Loki: Use query with line filter as default for visual editor
* Refactor based on feedback
* fix background for query text row
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2022-04-14 10:59:39 +02:00
Torkel Ödegaard
e3590e1a9b
Panels: Use the No value option when showing the no data message ( #47675 )
...
* Performance: Create separate div for portal root to limit reflow -> recalc style
* refactoring
* NoData: Use field config No value option as text when display no data message
* Use PanelDataErrorView in TabelPanel
* Add PanelDataErrorView to PieChart
* Updated
2022-04-14 10:10:03 +02:00
Ryan McKinley
17e44c306c
Heatmap: hover legend regardless of tooltip state ( #47600 )
2022-04-13 20:45:30 -07:00
Leon Sorokin
dfdfe3f428
TimeSeries & BarChart: refactor stacking ( #47373 )
...
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2022-04-13 10:29:03 -05:00
Connor Lindsey
939a778111
NodeGraph: Detect dataframes more accurately based on fields ( #47213 )
...
* NodeGraph: Detect dataframes more accurately based on fields
* Make get fields case insensitive
* Update node graph docs
2022-04-13 17:18:40 +02:00
Andres Martinez Gotor
a57716f868
AzureMonitor: Include macros and template variables as suggestions ( #47689 )
2022-04-13 15:56:32 +02:00
Gábor Farkas
a15c2021fe
Loki: improve backend-compatibility ( #47579 )
...
* loki: annotation queries: make them ready for the backend-mode
* removed unused code
2022-04-12 18:23:19 +02:00
Andres Martinez Gotor
35f52aee55
AzureMonitor: Fix Kusto editor schema ( #47576 )
2022-04-12 16:42:33 +02:00
Andres Martinez Gotor
6592ac537a
AzureMonitor: Skip App Insights check for v9 ( #47624 )
2022-04-12 16:20:32 +02:00
Andrej Ocenas
95009995e4
Prometheus: Move count_values from function to aggregation ( #47260 )
...
* Move count_values from function to aggregation
* Fix typos
* Fix loki operations
* Fix error that change the aggregation variant on blur
* Fix loki ops
2022-04-12 16:08:50 +02:00
Andrej Ocenas
c449aadc1b
Prometheus: Fix executing query onBlur in Explore ( #47561 )
2022-04-12 14:55:57 +02:00
Gábor Farkas
8db35b9b0b
loki: backend-mode: allow for dashboards too ( #47578 )
2022-04-12 12:16:05 +02:00
Gábor Farkas
eca61e6dd7
loki: removed unused fields, params, attributes ( #47571 )
...
* loki: refactor: removed unused param
* loki: removed unused attribute
* loki: removed unused fields
* loki: remove unused query.format
* loki: removed unused prop
2022-04-12 12:09:47 +02:00