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
Gábor Farkas
68511e7712
loki: use single-dataframe format on the backend ( #47069 )
2022-04-12 11:58:48 +02:00
jcolladokuri
7a8437020d
Azure Monitor: Bug Fix for for template variables ( #47478 )
2022-04-11 19:36:51 -04:00
Connor Lindsey
1ed83eb9b2
Tracing: Add README files for tracing datasource plugins
2022-04-11 18:16:38 +02:00
Kevin Yu
ebe5f3646f
AzureMonitor: Use Resource Picker in Metrics Query Editor ( #47164 )
...
* wip: new metrics query editor
* prepend subscriptions to url path
* remove duplicated setQueryValue file
* add tests for new metrics query editor
* wip start extracting resource field into a shared component
* fix query editor test
* fix up backend tests
* move azure monitor specific getters to azure_monitor_datasource
* use existing useAsyncState hook
* extract useAsyncState into separate file
* add datahooks tests
* extract resource field component
* cleanup
* clarify variable names
* remove logs query specific resource field component
* add url_builder test
* add azure_monitor_datasources tests
* address comments
* add types
* pass resourceUri to resource field component
* add test to check we reset the query fields when changing resources
2022-04-08 08:49:46 -07:00
Gábor Farkas
beed3fd5de
loki: remove unused reverse-attribute ( #47494 )
2022-04-08 12:24:09 +03:00
Gábor Farkas
9574f447bb
grafana-data: removed DataQueryRequest.reverse ( #47487 )
2022-04-08 12:00:16 +03:00
Gábor Farkas
e1438990ae
Loki: use the same dataframe-format for both live and normal queries ( #47153 )
...
* loki: use single dataframe-format for both live and normal queries
* better comment
* better function-name
* simplified code
* logs_model: added test
2022-04-08 09:57:06 +02:00
Stephanie Closson
222325c7f1
Fix: Parse exemplars before parsing heatmap data ( #47463 )
...
* parse exemplars before parsing the heatmap. Exemplars are overlayed. Not part of the main heatmap
* added tests
2022-04-07 13:49:54 -03:00
Josh Hunt
b857f8339e
TestData: Interpolate variables in more fields ( #47158 )
...
* TestData: Interpolate variables in more fields
* only interpolate variables if the field is set
* Correctly type scenarioId which can be undefined
2022-04-07 14:45:14 +01:00
Josh Hunt
41642fd5f4
Modify the Server Error scenario to return frontend errors ( #47157 )
2022-04-07 10:59:49 +01:00
Timur Olzhabayev
25235b3167
Removing plugin list panel ( #46914 )
...
The core plugin named plugin list panel is removed
2022-04-07 09:54:27 +02:00
Gábor Farkas
6e0826a986
loki: do not convert NaN to null ( #45389 )
2022-04-07 09:44:04 +02:00
Andrej Ocenas
0d3879d1c1
Prometheus: Add beta tag to mode switch for Builder mode ( #47376 )
...
* Add beta tag to mode switch
* Fix selectors
2022-04-06 11:50:12 +02:00
Ivana Huckova
caa82a124d
Loki,Prometheus: Fix of showing error message for empty query ( #47379 )
...
* Loki,Prometheus: Dont show error on empty query
* Add tests
2022-04-06 11:17:49 +02:00
Andrej Ocenas
ad4fcfd69b
Prometheus: Set default mode to Code ( #47342 )
...
* Set default to Code
* Fix tests
2022-04-06 10:07:11 +02:00
Isabella Siu
05b1edb4a7
CloudWatch: re-add filter to handleMetricQueries ( #47341 )
2022-04-06 09:02:34 +02:00
Ivana Huckova
82aa31df36
Loki: Add missing functions to query builder ( #47333 )
2022-04-05 19:15:22 +02:00
Ivana Huckova
6938d5b975
Loki: Show error when parsing nodes not supported in visual query builder ( #47321 )
...
* Show error when parsing nodes not supported in visual query builder
* Refactor, simplify
* Spell fix
* Spell fix
2022-04-05 17:07:13 +02:00
Josh Hunt
2fe6eca7a0
NewsPanel: Remove Use Proxy option and update documentation with recommendations ( #47189 )
...
* NewsPanel: Remove CORS proxy and update documentation with recommendations
* Updated generated model
* Update news-panel.md
* Update docs/sources/visualizations/news-panel.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/visualizations/news-panel.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update news-panel.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2022-04-05 15:16:28 +02:00
Ivana Huckova
c5ac19d499
Loki: Add all supported parsers to query builder ( #47304 )
...
* Loki: Add all supported parsers to query builderr
* Update test
* Add tests for new parsers
2022-04-05 14:52:06 +02:00
Ezequiel Victorero
6a059dcb4d
Access Control: hiding add annotation button without permissions ( #47223 )
...
* Access Control: hiding add annotation button without permissions
2022-04-05 08:20:10 -03:00
Cat Perry
b5f2f3e710
Tempo: Traces to Logs - From viewing Tempo traces to displaying Splunk logs ( #46855 )
...
* Add functionality to see splunk logs via tempo trace view
2022-04-04 13:24:33 -07:00
Konrad Lalik
6992d17924
Alerting: Add support to distinguish Prometheus datasource subtypes (Mimir, Cortex and Vanilla Prometheus) ( #46771 )
...
* Add basic UI for custom ruler URL
* Add build info fetching for alerting data sources
* Add keeping data sources build info in the store
* Use data source build info to construct data source urls
* Remove unused code
* Add custom ruler support in prometheus api calls
* Migrate actions
* Use thunk condition to prevent multiple data source buildinfo fetches
* Unify prom and ruler rules loading
* Upgrade RuleEditor tests
* Upgrade RuleList tests
* Upgrade PanelAlertTab tests
* Upgrade actions tests
* Build info refactoring
* Get rid of lotex ruler support action
* Add prom ruler availability checking when the buildinfo is not available
* Add rulerUrlBuilder tests
* Improve prometheus data source validation, small build info refactoring
* Change prefix based on Prometheus subtype
* Use the correct path
* Revert config routing
* Add deprecation notice for /api/prom prefix
* Add tests to the datasource subtype
* Remove custom ruler support
* Remove deprecation notice
* Prevent fetching ruler rules when ruler api is not available
* Add build info tests
* Unify naming of ruler methods
* Fix test
* Change buildinfo data source validation
* Use strings for subtype params and unveil mimir
* organise imports
* frontend changes and wordsmithing
* fix test suite
* add a nicer verbose message for prometheus datasources
* detect Mimir datasource
* fix test
* fix buildinfo test for Mimir
* shrink vectors
* add some code documentation
* DRY prepareRulesFilterQueryParams
* clarify that Prometheus does not support managing rules
* Improve buildinfo error handling
Co-authored-by: gotjosh <josue.abreu@gmail.com>
Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>
2022-04-04 18:30:17 +01:00
Ivana Huckova
4c6d2ce618
Loki: Parse query with unwrap ( #47282 )
...
* Loki: Parse simple unwrap
* Update public/app/plugins/datasource/loki/querybuilder/parsing.ts
* Simplify
2022-04-04 18:44:23 +02:00
Ivana Huckova
f8b9bf543b
Loki: Replace auto with ( #47283 )
2022-04-04 18:43:37 +02:00
Ivana Huckova
24cf70dd29
Loki: Add parsing for vector aggregations with grouping ( #47257 )
...
* Parse aggregations with grouping
* Move getByType to shared parsing utils
2022-04-04 18:11:15 +02:00
Isabella Siu
b1c68b5a12
CloudWatch: filter alert queries ( #47222 )
2022-04-04 12:06:31 -04:00
Ezequiel Victorero
76b221e9d5
Access Control: hiding annotation edition and deletion without permissions ( #46904 )
...
* Access Control: disabling annotation edition without FGAC permissions
2022-04-04 11:57:43 -03:00
Isabella Siu
f8d11fbef9
CloudWatch: use custom variable editor ( #46943 )
2022-04-04 10:39:31 -04:00
Ivana Huckova
5ba9ccb5a7
Loki: Add label_replace option to query builder ( #47247 )
...
* Add label_replace operation
* Update
2022-04-04 16:20:19 +02:00
Gábor Farkas
fdb7bab41a
Loki: do not special-case __name__ label ( #47251 )
...
* loki: do not mutate the caller's data
* Update public/app/plugins/datasource/loki/result_transformer.ts
better comment
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* Update public/app/plugins/datasource/loki/result_transformer.ts
no need to handle __name__
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* simplify code
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-04-04 13:52:55 +02:00
CommanderRoot
d29b8e8858
Chore: Replace deprecated String.prototype.substr() ( #46763 )
...
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-04-04 11:08:06 +02:00
Leon Sorokin
ed140906de
HeatmapNG: implement zooming & fix heatmap-buckets rendering ( #47231 )
2022-04-01 21:54:44 -06:00
Ryan McKinley
4c89c8c468
Heatmap: make x axis a time field ( #47168 )
2022-04-01 13:54:16 -07:00
Andrej Ocenas
1110666b6b
Loki: Fix parsing chained and scalar binary queries ( #47132 )
...
* Fix bin parsing for more cases
* Add test for some utils
* Removing console.log
* Simplify some code and fix typing
* Rename function
2022-04-01 18:33:09 +02:00
Andrej Ocenas
ba2332eb96
Prometheus: bool bin op improvements ( #47198 )
...
* Change param order
* Align tooltip icon styling
2022-04-01 17:51:50 +02:00
Yaelle Chaudy
00ec99a8a1
Added button type to avoid trigger on enter ( #47147 )
2022-03-31 21:05:05 +02:00
Gábor Farkas
a246381879
loki: backend-mode: add stats support ( #46526 )
...
* loki: backend-mode: add stats support
* refactor: rename variable
2022-03-31 17:50:27 +02:00
Connor Lindsey
5a87d12e8c
Tempo: Download span references in data inspector ( #47074 )
...
* Tempo: Download span references in data inspector
2022-03-31 08:30:22 -06:00
Ashley Harrison
3d23722b30
Update @types/lodash
everywhere ( #47020 )
...
* Update @types/lodash everywhere
* Update @grafana/e2e as well
2022-03-31 10:19:33 +01:00
Ivana Huckova
554492ec4e
Loki: Add parsing of query to visual query ( #46700 )
...
* Create parser
* Add parsing
* Update comment
* Remove operations that we don't support
* Resolve type errors
* Update test
* Handle backticks
* Handle backticks
* Remove copied test, update test
* Parsing for binary operations
* Remove error about setting state after unmount
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
2022-03-31 10:51:49 +02:00
Torkel Ödegaard
4d0204d012
Prometheus: Highlight run query after changing query ( #47043 )
...
* Prometheus: Highlight run query after changing query
* fixed ts issue
* Updated
2022-03-31 10:14:13 +02:00
Zoltán Bedi
15b48fc188
Table: Add enable pagination option ( #45732 )
...
* Table: Add page size option / pagination
* Update docs/sources/visualizations/table/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* FIx packages build
* Move pagination below footer
* Move styles to tableStyles
* Fix typecheck in jaeger-ui
* Set footer to hide onChange
* Styling tweaks
* Center paging
* Tweaks
* Change pageSize to enablePagination
* Move header and footer options to a separate category
* Fix performance and styling issue for the pagination
* Some more styling and tweaking
* Fix tests
* Update docs/sources/visualizations/table/_index.md
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
* Update docs/sources/visualizations/table/_index.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2022-03-31 09:36:04 +02:00
Adela Almasan
dea9b51a0f
Resize map on changing browser size ( #47084 )
2022-03-30 17:39:28 -05:00
Adela Almasan
851c54b3b1
Call optionsChanged when props options have changed ( #47031 )
2022-03-30 11:15:42 -05:00
Adela Almasan
118b87ee8f
Geomap: Display legend ( #46886 )
...
* Display legend for fixed colors and field; Hide tooltip on base layer;
2022-03-30 09:41:13 -05:00
kay delaney
f1c3177e79
Chore: Add type info for grafana boot data ( #45322 )
...
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2022-03-30 10:48:58 +01:00
Torkel Ödegaard
21fd9dd056
Loki: Adds line format operation ( #47015 )
2022-03-30 09:11:36 +02:00
Leon Sorokin
475a027562
Prometheus: make JS heatmap response a single-frame (field-per-bucket) ( #46611 )
2022-03-29 22:23:08 -06:00
Torkel Ödegaard
feaa4a5c64
Loki: Support binary operations and nested queries in new builder ( #47012 )
...
* Binary ops support
* Add support for nested expressions in loki
* Nested queries working
* Fixing tests
* Share more code between loki and prometheus query modellers
2022-03-29 18:50:07 +02:00
Andrej Ocenas
10d8ccc8ff
Loki: Return false from isMetricsQuery if query is empty ( #47024 )
2022-03-29 18:18:43 +02:00
Torkel Ödegaard
5f9cd7b875
Loki: Add aggregate by label support ( #46965 )
...
* Loki: Add aggregate by label support
* Label lookups now work for loki
* Fixed ts issue
* review comment fixed
2022-03-29 17:49:21 +02:00
Piotr Jamróz
bf977ac245
Explore: Fix time interpolation ( #46737 )
...
* Ensure TemplateService is updated with new time range on each time range change.
* Fix linting errors
* Fix explorePane.test.ts
* Reuse createDefaultInitialState
* Remove unused imports
* Add a test for left/right split
* Silence console.error in tests
* Silence console.error in tests
2022-03-29 15:10:40 +02:00
myml
23a1dbc264
feat: Bar Gauge Support scrolling ( #46819 )
...
* feat: Bar Gauge Support scrolling
* Update public/app/plugins/panel/bargauge/module.tsx
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>
* Update public/app/plugins/panel/bargauge/module.tsx
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>
* docs: Bar gauge add 'min-width' and 'min-height'
Co-authored-by: Ashley Harrison <ashharrison90@gmail.com>
2022-03-29 11:21:45 +01:00
Fabien Pelletier
51396d5363
enable logs for postgres data source ( #39496 )
...
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com>
2022-03-26 11:08:00 +01:00
Sarah Zinger
d5f40b63bb
Azure Monitor: Add support for multiple template variables in resource picker ( #46215 )
2022-03-25 14:12:52 -04:00
Andrej Ocenas
20b4112b3b
Prometheus: Report error when parens are used and switching to visual builder ( #46899 )
2022-03-25 14:03:30 +01:00
Torkel Ödegaard
1c648cb52c
Loki: Adds options to the new query builder ( #46783 )
...
* Initial commit for loki builder options
* Loki query options
* Added some basic tests
* Update public/app/plugins/datasource/loki/querybuilder/components/LokiQueryBuilderOptions.test.tsx
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
* Updated options
* All option changes should trigger query
* Fixed ts issue
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-03-25 13:13:55 +01:00
Yaelle Chaudy
c00f488f89
Azure Monitor : Add support for the resource picker to be configurable to only select some entry types ( #46735 )
...
Co-authored-by: Kevin Yu <kevinwcyu@users.noreply.github.com>
Co-authored-by: Andres Martinez Gotor <andres.mgotor@gmail.com>
Co-authored-by: Isabella Siu <isabella.siu@grafana.com>
Co-authored-by: Sarah Zinger <sarah.zinger@grafana.com>
2022-03-25 12:22:28 +01:00
Andres Martinez Gotor
987afeee38
Chore: Cover CloudMonitoring function utils with tests ( #46878 )
2022-03-24 09:47:59 +01:00
Ivana Huckova
7839fadf00
Loki: Fix fetching of second label set for the streams selector ( #46898 )
...
* Fix fetching of labels
* Add test
2022-03-23 17:59:48 +00:00
matt abrams
562a25ad99
increase label width on TLS info ( #46816 )
2022-03-23 17:22:08 +00:00
Joey Tawadrous
aabafee90a
InfluxDB: annotations migration to backend ( #45635 )
...
* Annotations backend migration
* Response parser checks
* Moved parse to response parser
* Removed unused imports
* Update type
* response_parser test
* response_parser test for text
* Removed from ctx
* Use vars in annotationQuery
* Tags and tests
* Removed import
2022-03-23 16:02:29 +00:00
Sarah Zinger
dd49f9d182
Azure Monitor: Small bug fixes for Resource Picker ( #46665 )
...
- fixes issue with checkbox styling
- fixes issue with selecting subscriptions
2022-03-23 09:38:46 -04:00
Torkel Ödegaard
76c9ad2d9b
Loki: Improve operation ordering when adding new operations ( #46598 )
2022-03-23 07:42:25 +01:00
Kevin Yu
ba62f5ad5d
Chore: clean up console warning from SQL Builder Editor tests ( #46779 )
...
* Chore: clean up console warning from SQL Builder Editor tests
* Re-add test for checking dimensions filter
2022-03-22 09:39:51 -07:00
Kevin Yu
54d4a69e91
Chore: clean up console warning from Metrics Query Editor tests ( #46747 )
...
* Chore: clean up console warning from Metrics Query Editor tests
* Chore: remove type assertions
2022-03-21 12:21:04 -07:00
Kevin Yu
7480ba0226
Chore: clean up console warning from SQL Group By tests ( #46733 )
2022-03-21 12:20:48 -07:00
Shirley
499445a5f9
Azure Monitor: Bump core plugin version ( #46776 )
...
* Azure Monitor: Bump core plugin version
* Remove updated, update learn more link
2022-03-21 19:01:26 +01:00
jcolladokuri
237ca1660f
AzureMonitor: Add Links to Azure Portal for VM Insights dashboards ( #46482 )
2022-03-21 12:59:14 +01:00
jcolladokuri
0dc4db0a94
AzureMonitor: Update curated dashboards ( #46745 )
2022-03-21 12:01:22 +01:00
Andres Martinez Gotor
788fde7ead
AzureMonitor: Update China regions ( #46695 )
2022-03-21 09:36:26 +01:00
Gábor Farkas
890a7cdd7c
loki: add id-field ( #46519 )
...
* loki: add id-field
* fixed test
2022-03-21 09:15:52 +01:00
Adela Almasan
bb8304c838
Heatmap: Color scale improvements ( #46751 )
...
* Updated color scale tooltip and added follower
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-03-18 21:03:06 -05:00
Adela Almasan
576b73ed48
Updated bucket size/offeset settings; Check for negative values in bucket size ( #46754 )
2022-03-18 18:47:34 -05:00
Pierre Baumard
1dbfbc0e96
GeoMap: support setting view based on map data ( #44852 )
2022-03-18 11:13:55 -07:00
Ashley Harrison
6eecd021a4
Chore: Fix a couple more console errors in jest tests ( #46732 )
...
* Chore: Fix a couple more console errors in jest tests
* remove console.errors
* better spy
* Fix linting
2022-03-18 17:25:59 +01:00
renovate[bot]
644e7e7c19
Update dependency lru-cache to v7.7.1 ( #46675 )
...
* Update dependency lru-cache to v7.7.1
* update snapshot
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-03-18 11:30:15 +00:00
Nathan Marrs
7589b83c5b
Icon: Fix default icon color mismatch with default fill color ( #46602 )
2022-03-17 14:52:32 -07:00
Connor Lindsey
0da40b7f09
Tempo: Separate trace to logs and loki search datasource config ( #46655 )
...
* Tempo: Separate trace to logs and loki search datasource config
* Add getLokiSearchDS util and tests
2022-03-17 11:23:15 -06:00
Kevin Yu
fb17b9f545
Chore: clean up console warning from Annotation Query Editor tests ( #46660 )
2022-03-17 07:00:42 -07:00
Kevin Yu
56b750dc42
Chore: clean up console warning from Cloudwatch Dimensions tests ( #46661 )
2022-03-17 06:59:55 -07:00
Kevin Yu
7c255f190c
Chore: clean up console warning from Query Header tests ( #46663 )
2022-03-17 06:57:43 -07:00
Kevin Yu
cffa52d906
Chore: clean up console warning from Metric Stat Editor tests ( #46662 )
2022-03-17 06:57:23 -07:00
Kevin Yu
50bbbbf376
Chore: clean up console warning from Resource Picker tests ( #46664 )
2022-03-17 06:55:14 -07:00
Piotr Jamróz
ed155e47c4
Graphite: Fallback to hardcoded list of functions when no functions are returned ( #46681 )
2022-03-17 14:26:08 +01:00
Torkel Ödegaard
60af3af92c
Prometheus/Loki: Allow custom value in operation selects ( #46679 )
...
* Prometheus/Loki: Allow custom value in operation selects
* Add missing operator
2022-03-17 12:55:47 +01:00
Andrej Ocenas
22a4c5f086
Prometheus: Add optional param tooltip for visual builder ( #46644 )
2022-03-17 10:51:42 +01:00
Andrej Ocenas
ee87ed3b51
Prometheus: Parsing for vector matching and UI changes ( #46668 )
2022-03-17 10:50:49 +01:00
Joao Silva
00c93fff8c
Grafana-UI: Fix use of Fragments as children of InlineField ( #46326 )
2022-03-15 17:50:29 +00:00
Andrej Ocenas
ecdbcd4941
Prometheus: Fix support of AdHoc filters for specific queries ( #46547 )
...
* Use parser to deal with ad hoc filters
* Add comment
* Fix variable naming
* Fix tests
2022-03-15 17:37:20 +01:00
Andrej Ocenas
a2cec62fa2
Prometheus: Fix parsing of binary operations ( #46549 )
2022-03-15 17:00:29 +01:00
Nathan Marrs
11aa6a3e8f
Value mapping/add icon support ( #44503 )
...
Co-authored-by: Ryan McKinley <ryantxu@users.noreply.github.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-03-15 08:51:12 -07:00
Alexander Kubyshkin
5cf0906622
Add unpack to Loki Log Browser ( #44623 ). ( #46573 )
2022-03-15 14:17:36 +01:00
Dominik Prokop
f452e068f0
TimeSeries: Add migration for Graph panel's transform series override ( #46577 )
2022-03-15 14:29:15 +02:00
Sarah Zinger
275f33cf37
Azure Monitor: Add feature gating for new MetricsQueryEditor with resource picker ( #46124 )
...
* Azure Monitor: Use feature toggle for dev of new UI for Metrics Queries.
* Fixes after CR
2022-03-14 15:07:45 -04:00
Andrej Ocenas
04409799fb
Prometheus: Allow boolean params on operations and add bool modifier parsing ( #46448 )
...
* Allow boolean params on operations and add bool modifier parsing
* Allow float number literals
2022-03-14 17:36:25 +01:00
Andrej Ocenas
b3f8079f4f
Prometheus: Add title to metrics in the metric select with metric help text ( #46406 )
...
* Add title to metrics in the select
* Add some comments
* Fix tests
2022-03-10 16:58:25 +01:00
Torkel Ödegaard
c952c9c90a
Loki: Adds more options to make line filter UX better ( #46324 )
...
* Loki: Adds more options to make line filter UX better
* Sync wording
* Tweak width
* More tweaks
* Added descriptions as well
2022-03-10 10:12:54 +01:00
Torkel Ödegaard
806b0e3b23
Prometheus/Loki: Improve operations header UX ( #46346 )
...
* Prometheus/Loki: Improve operations header UX
* More tweaks
* Rename file to match compponent
2022-03-10 09:38:53 +01:00
jcolladokuri
ce543037f1
Azure Monitor: Add 2 more Curated Dashboards for VM Insights ( #45187 )
...
Some fixes to the App Insights Curated Dashboard for Azure Monitor as well.
2022-03-09 09:02:59 -05:00
Torkel Ödegaard
79e5e5c024
DataSource: Default data source is no longer a persisted state but just the default data source for new panels ( #45132 )
...
* PanelEdit: Change the meaning of default data source to be just that the default for new panels
* Added migration, and also migration for annotation datasource prop to data source refs
* fix
* Fixing tests
* Fixes to annotation
* Fixing unit test
2022-03-08 08:56:12 +01:00
Leon Sorokin
a9ee446de4
HeatmapNG: fix Prometheus frame-per-bucket heatmap response rendering ( #46309 )
2022-03-07 20:51:11 -06:00
Leon Sorokin
0ee552dd65
LegacyBrowser: fix Safari 13.1 (lacks logical nullish assignent) ( #46260 )
2022-03-07 09:21:28 -06:00
Andrej Ocenas
1604e09549
Prometheus: Add text to Add operation button ( #46249 )
2022-03-04 15:59:11 +01:00
Andrej Ocenas
5aa1713941
Prometheus: Support more binary operations in visual builder ( #46241 )
...
* Add definitions and code to parse more binary ops
* Add alternativesKey
* Add signs to nested query
* Change label
2022-03-04 15:04:09 +01:00
Jack Westbrook
9b5a42845d
Chore: Remove prettier-plugin from ESLint ( #45910 )
...
* chore(eslint): remove prettier-plugin
* chore(eslint): test changes by using grafana/eslint 3.0.0-alpha
* chore(prettier): add js,ts,tsx when checking / writing
* chore(prettier): dont check js files
* chore(linting): align prettier and eslint ignore files
* style: run prettier:write on FE codebase
* chore(eslint): use grafana/eslint-config@3.0.0
2022-03-04 10:49:50 +01:00
matt abrams
52629fbc4e
Postgres: Return tables with hyphenated schemes ( #45754 )
...
* add basic test for buildSchemaConstraint function
* wrap table schema in quote_ident function
* fix type error in meta_query.test
* swap test for inline comment
* make comment more readable
2022-03-04 09:56:55 +01:00
Gábor Farkas
c4404982dc
loki: backend-mode: add nanosecond-timestamps ( #45963 )
2022-03-04 09:42:18 +01:00
Leon Sorokin
3e3a657343
BarChart: fix hovered series highlight in tooltip ( #44882 )
2022-03-03 10:57:54 -06:00
Ashley Harrison
b1125c0ba3
TextPanel: Sanitize after markdown has been rendered to html ( #46166 )
...
* Sanitize after markdown has been rendered to html
* Update e2e test
2022-03-03 16:50:09 +00:00
Andres Martinez Gotor
cfbf58fb92
AzureMonitor: Move rest of deprecated code ( #46109 )
2022-03-03 17:16:10 +01:00
Connor Lindsey
cb1649e9b8
NodeGraph: Include frames with name edges or nodes in node graph ( #46047 )
...
* Include frames with name edges or nodes in node graph
2022-03-03 06:42:08 -07:00
Torkel Ödegaard
3b487c2661
Loki: Initial loki builder tests ( #46076 )
2022-03-03 14:30:17 +01:00
Andrej Ocenas
6dea7275a6
Prometheus: Improved the function selector with search ( #46084 )
...
* Change to cascader with search
* Don't change to select on backspace
* Fix error on group select
* Simplify getOperationDef
* Set cascader wrapper to fixed width
* Add placeholder
* Fix tests and type errors
* Fix props for backward compatibility
* Add comments
2022-03-03 10:24:33 +01:00
renovate[bot]
52568c7af1
Update dependency ol to v6.13.0 ( #45949 )
...
* Update dependency ol to v6.13.0
* fix types
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-03-03 09:45:33 +01:00
matt abrams
c863676b65
Postgres: Fix aggregate dropdown when TimescaleDB is enabled ( #45993 )
...
* add timescaleDB checker function
* use existing fn findAggregateIndex
* build options from empty list
* refactor fn and handle state for existing elem
* remove newline
2022-03-03 09:29:37 +01:00
Leon Sorokin
89140c8353
Graph (old): fix null interval insertion, again (follow-up to #46069 ) ( #46139 )
2022-03-03 00:02:18 -08:00
Leon Sorokin
854f872b40
StateTimeline: insert trailing null value at +interval ( #45997 )
2022-03-02 18:21:12 -06:00