Diana Payton
aa8fb1ae98
MS SQL: Fix MS SQL add data source UI issues ( #29832 )
...
* Update config.html
* Update mssql.md
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2020-12-15 08:17:21 -08:00
Ivana Huckova
2a76195aed
Loki: Remove unnecessary deduplication ( #29421 )
...
* Remove unnecessary deduplication
* Remove dedup test as we are not doing dedup on all logs anymore
* Create unique ids in Loki
* Fix comment
* Fix comment
* Store prev response uids in usedUids
* Revert "Store prev response uids in usedUids"
This reverts commit 05c496e2a8 .
* Add comment
2020-12-15 15:18:12 +01:00
Hugo Häggmark
dd326d296e
Varibles: Fixes so clicking on Selected will not include All ( #29844 )
2020-12-15 15:04:34 +01:00
Dominik Prokop
683ce69347
Link suppliers: getLinks API update ( #29757 )
...
* ContextMenuPlugin WIP
* Remove Add annotations menu item from graph context menu
* ts ifx
* WIP
* Tests updates
* ts check fix
* Fix rebase
* Use replace function in angular graph data links
2020-12-15 13:29:37 +01:00
Hugo Häggmark
5f4b528122
Select: Changes default menu placement for Select from auto to bottom ( #29837 )
...
* Select: Changes default menuPlacement from auto to bottom
* Tests: Fixes snapshot
2020-12-15 12:46:31 +01:00
Alex Khomenko
b1a57c6f77
Chore: Automatically infer types for dashgrid connected components ( #29818 )
...
* Refactor DashboardPanel
* Refactor PanelEditor
* Fix missing initializer
* Update public/app/features/dashboard/components/PanelEditor/PanelEditor.tsx
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
* Simplify type
* Remove unused type
* Move prop connectors on top
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
2020-12-15 13:18:40 +02:00
Ivana Huckova
dbf0470994
Chore: Remove unused Loki and Cloudwatch syntax providers ( #29686 )
...
* Remove syntax provider in Cloudwatch
* Remove syntax provider and refactor useLokiLabels
2020-12-15 12:17:29 +01:00
Ivana Huckova
854f6229f7
Pass row ( #29839 )
2020-12-15 12:16:52 +01:00
Dominik Prokop
69b05aae46
GraphNG: Context menu ( #29745 )
...
* Refactor Context menu and add Menu component to grafana/ui
* ContextMenuPlugin WIP
* Fix docs issues
* Remove Add annotations menu item from graph context menu
* ts ifx
2020-12-15 10:53:04 +01:00
Dominik Prokop
92527c2647
GraphNG: Enable scale distribution configuration ( #29684 )
...
* Enable scale distribution configuration
* use uPlot's rangeLog() instead of rangeNum() for log scales
* merge master
* Remove unsupported log bases
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2020-12-15 10:18:30 +01:00
Ivana Huckova
3ee2e49d9a
Explore: Improve Explore performance but removing unnecessary re-renders ( #29752 )
...
* Fix Explore and Logs rerenders
* Create ReturnToDashboardButton
* Add test for new component
* Remove queryKeys change on keystroke
* Move rendering conditions to Button
* Remove redundant logic
2020-12-15 10:12:53 +01:00
Hugo Häggmark
681cefbb18
DashboardDS: Fixes display of long queries ( #29808 )
2020-12-15 10:08:02 +01:00
Ryan McKinley
530e0f86e4
QueryEditor: do not auto refresh on every update ( #29762 )
2020-12-14 12:22:21 -08:00
Giordano Ricci
93649e1fb5
Elasticsearch: ensure query model has timeField configured in datasource settings ( #29807 )
2020-12-14 14:36:07 +00:00
Torkel Ödegaard
98c0b09564
Sliders: Update behavior and style tweak ( #29795 )
...
* Sliders: Update behavior and style tweak
* More style tweaks, and changed new graph opacity option from 0 - 1 to 1 to 100
* Updated point size max
* Fixed hooks useCallback dependency issue
* Update test
2020-12-14 11:34:12 +01:00
Andrej Ocenas
f7ebb10dc5
Explore: Fix remounting of query row ( #29771 )
...
* Use passed data source in init
* Dummy commit
2020-12-11 15:50:59 +01:00
Peter Holmberg
edbde6c06b
Expressions: Add placeholders to hint on input ( #29773 )
...
* math placeholder
* resample changes
2020-12-11 15:19:24 +01:00
Peter Holmberg
6118ab415d
Alerting: Next gen Alerting page ( #28397 )
...
* create page and sidebar entry
* add components for query editor and definition
* split pane things
* add reducer and action
* implement split pane and update ui actions
* making things pretty
* Unify toolbar
* minor tweak to title prefix and some padding
* can create definitions
* fix default state
* add notificaion channel
* add wrappers to get correct spacing between panes
* include or exclude description
* implement query editor
* start on query result component
* update from master
* some cleanup and remove expressions touch ups
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2020-12-11 14:49:14 +01:00
David Boslee
d0f52d5334
AlertListPanel: Add options to sort by Time(asc) and Time(desc) ( #29764 )
...
This also makes all the sortOrderOptions available when using
the "changes" showOption.
Resolves : #29156
2020-12-11 06:57:08 +01:00
Zoltán Bedi
b3838d372e
Tracing: Release trace to logs feature ( #29443 )
...
* Remove feature flag
* Add data source setting for Jaeger
* Refactor trace to logs settings
* Fix tests
* Get ds settings in two steps
* Add info to settings
* Update docs for trace to logs
* Update yarn.lock
* Apply suggestions from code review
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update TraceToLogsSettings after merge with master
* Add config for tags
* Add tags to check for keys
* Apply suggestions from code review
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update docs
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2020-12-10 19:42:43 +01:00
Chris Cowan
491a4dc967
Elasticsearch: View in context feature for logs ( #28764 )
...
* Elasticsearch: View in context feature for logs
* Fixing unused type
* Limit show context to esVersion > 5
* Fixing scope for showContextToggle; removing console.log
* Fix typing; adding check for lineField
* Update test to reflect new sorting keys for logs
* Removing sort from metadata fields
* Adding comment for clarity
* Fixing scenerio where the data is missing
* remove export & use optional chaining
Co-authored-by: Elfo404 <gio.ricci@grafana.com >
2020-12-10 11:19:14 +00:00
Uchechukwu Obasi
4ea2c7d2b1
ChangePassword: improved keyboard navigation ( #29567 )
...
* ChangePassword: improved keyboard navigation
* updated skip button with appropriate tag
* applied box shadow to skip button
2020-12-10 09:41:44 +01:00
Torkel Ödegaard
955c96ffd8
GrafanaDataSource: Fix selecting -- Grafana -- data source, broken after recent changes ( #29737 )
2020-12-10 09:26:28 +01:00
Domas
7d9a528184
Logging: rate limit fronted logging endpoint ( #29272 )
...
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com >
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2020-12-09 16:22:24 +01:00
Giordano Ricci
7f0802a9c9
Elasticsearch: Deprecate browser access mode ( #29649 )
...
* Elasticsearch: Show deprecation warning when selecting browser access mode
* Docs: Show deprecation warning for Elasticsearch Browser access mode
2020-12-09 13:27:40 +00:00
Giordano Ricci
58b63a1678
Elasticsearch: Fix query initialization action ( #29652 )
2020-12-09 12:53:59 +00:00
Chris Cowan
82b21fe35e
Transformer: Rename metrics based on regex ( #29281 )
...
* Grafana: Rename By Regex Transformer
* Removing unused deps
* Add scrollIntoView() to TranformTab.content()
* Exporting RenameByRegexTransformerOptions
* Add doc block to renameByRegex transformer
* Adding doc block for RenameByRegexTransformerOptions
* removing scrollIntoView() for transform tab
* Adding back in scrollIntoView() for transform panel
* Tests: fixes e2e tests
* Apply to displayName instead of just the name of the frame
* Rewrite docblock to match new functionality
* Adding documentation
* Changing TLD to domain name
* Fixing typo
* Update docs/sources/panels/transformations/types-options.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
* Update docs/sources/panels/transformations/types-options.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
* Update docs/sources/panels/transformations/types-options.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
Co-authored-by: Hugo Häggmark <hugo.haggmark@grafana.com >
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com >
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2020-12-09 11:31:13 +01:00
Hugo Häggmark
3f2b28975c
Variables: Fixes upgrade of legacy Prometheus queries ( #29704 )
...
* Variables: Fixes upgrade of legacy queries
* Chore: changes after PR comments
2020-12-09 11:18:58 +01:00
Ryan McKinley
7974972d49
GraphNG: fix bars migration and support color and linewidth ( #29697 )
2020-12-08 12:50:18 -08:00
Ryan McKinley
e8ae6fd01f
GraphNG: simple settings migration from flot panel ( #29599 )
2020-12-08 08:13:39 -08:00
Ryan McKinley
3ce93050e0
GraphNG: replace bizcharts with uPlot for sparklines ( #29632 )
2020-12-08 08:13:12 -08:00
Torkel Ödegaard
a7afab4b8a
Typescript: Fixing typescript strict error, and separate check from publishing ( #29679 )
...
* Typescript: Fixing typescript string error, and seperate check from publishing
* now should pass
2020-12-08 12:56:37 +01:00
Leon Sorokin
fee0d44e5c
GraphNG: rename "points" to "showPoints" ( #29635 )
...
* rename "points" to "showPoints"
* rename ShowPoints enum to PointVisibility
2020-12-07 09:29:34 -06:00
Torkel Ödegaard
874f2fafb2
Expressions: Restore showing expression query editor even if main data source is not mixed ( #29656 )
2020-12-07 15:37:30 +01:00
Ivana Huckova
589b5e110c
Loki: Retry web socket connection when connection is closed abnormally ( #29438 )
...
* Add retryWhen to Loki socket
* Refactor,
* Add info message after 10 reconnections, remove console log
* Add test
* Specify response in tests
* Check specific lines for content
* Remove unused imports
* Replace AppEvents with console.warn
* Add limit of re-connections
2020-12-07 10:13:57 +01:00
Dominik Prokop
56e7ce6f16
GraphNG: Fix annotations and exemplars plugins ( #29613 )
2020-12-07 09:16:13 +01:00
Leon Sorokin
2d156a385b
GraphNG: fix and optimize spanNulls ( #29633 )
...
* fix and optimize spanNulls
* AsZero implies spanNulls = true, to prevent null-scanning
* move spanNulls toggle below fillOpacity
2020-12-06 19:26:00 -06:00
Leon Sorokin
2f92794c94
GraphNG: rename GraphMode to DrawStyle ( #29623 )
2020-12-04 13:08:25 -06:00
Ryan McKinley
a36bd89581
GraphNG: add spanNulls config option ( #29512 )
2020-12-04 10:38:45 -08:00
Ryan McKinley
716117b7da
Stat/Gauge: expose explicit font sizing ( #29476 )
2020-12-04 10:03:59 -08:00
Ivana Huckova
3018c6a1b1
Prometheus: Fix link to Prometheus graph in dashboard ( #29543 )
...
* Fix Promlink to have href after componentDidMount
* Refactor to hooks and react testing library
* Update
* Update snapshot test
2020-12-04 17:01:43 +01:00
Giordano Ricci
bb45f5fedc
Elasticsearch: Migrate queryeditor to React ( #28033 )
...
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2020-12-04 14:29:40 +00:00
Torkel Ödegaard
3d6380a0aa
QueryGroup & DataSourceSrv & DataSourcePicker changes simplify usage, error handling and reduce duplication, support for uid ( #29542 )
...
* Starting moving more stuff into data source picker
* WIP progress
* Progress on datasource picker rethink
* Things are working now some details to figure out
* Removed commented part
* Complex work on getting data source lists
* Fixed variable support showing correct data sources
* Tried fixing dashboard import but failed
* Fixes
* Fixed import dashboard
* Fixed unit test
* Fixed explore test
* Fixed test
* Fix
* fixed more tests
* fixed more tests
* fixed showing which option is default in picker
* Changed query variable to use data source picker, updated tests and e2e
* Fixed more tests
* Updated snapshots, had wrong typescript version
2020-12-04 14:24:55 +01:00
Torkel Ödegaard
c62a0aa4d0
Elastic: Fixes config UI issues ( #29608 )
...
* Elastic: Fixes config UI issues
* Fixed index name input issue
2020-12-04 13:12:14 +01:00
Dominik Prokop
563478ece7
GraphNG: Fix issues with plugins not retrieving plot instance ( #29585 )
...
* Fix issues with plugins not retrieving plot instance
* Review
2020-12-04 12:44:46 +01:00
Mathieu Rollet
985c7934d9
Login: Fixes typo in tooltip ( #29604 )
...
See "log in" (verb) vs "login" (noun) : https://english.stackexchange.com/a/5304/354852
2020-12-04 10:06:01 +01:00
Marcus Andersson
de395f24e4
Panel: making sure we support all versions of chrome when detecting position of click event. ( #29544 )
...
* making sure we are always using int value when compairing coordinates.
* removed unused import.
* Using Math.floor instead.
* removed unused dep.
2020-12-04 09:42:45 +01:00
JoeyLemur
1f466f3a64
Add Microsoft.Network/natGateways ( #29479 )
...
Adds Microsoft.Network/natGateways to the supported namespaces in Azure Monitor Datasource (issue #29383 )
2020-12-03 19:59:46 +01:00
kay delaney
56db402d0f
Chore: Upgrade typescript to 4.1 ( #29493 )
...
* Chore: Upgrade typescript to 4.1
2020-12-03 15:05:59 +00:00
Ryan McKinley
3c9310e93c
GraphNG: support auto and explicit axis width ( #29553 )
...
* auto axis
* auto axis
* expand everyhting with the same scale/unit
* expand everyhting with the same scale/unit
2020-12-03 09:30:40 +01:00