Marcus Andersson
1ded9a37c1
Alerting: rename type to make it obvious what part of the code base it belongs to. ( #34714 )
...
* renamed grafana query to grafana alert query.
* renamed according to feedback in PR.
2021-05-27 12:29:10 +02:00
Torkel Ödegaard
ca79d08dd8
PanelChrome: Fix issue with empty panel after adding a non data panel and coming back from panel edit ( #34765 )
...
* PanelChrome: Fix issue with empty panel after adding a non data panel and coming back from panel edit
* Removed the console.log
2021-05-27 12:19:06 +02:00
Ryan McKinley
67028af99e
Live: check schema equality between push messages ( #34548 )
2021-05-27 12:55:42 +03:00
ying-jeanne
c59a2e1bcf
remove feature toggle + add libraryPaneldefinition ( #34488 )
...
* remove feature toggle + add libraryPaneldefinition
* update doc
* update comments
* Apply suggestions from code review
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* fix typo
* remove post trim
* update api doc
* solve comments and retrigger the test
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-05-27 11:14:58 +02:00
Peter Holmberg
23cf31a567
Alerting: Move Visualization to QueryRow ( #34658 )
...
* move visualization to queryeditorrow
* add prop to hide disable query
* move panel plugin state outside the vizwrapper
2021-05-27 10:46:06 +02:00
Dominik Prokop
811704fd2e
PanelEdit: Allow standard field config properties extensions without altering order of standard options ( #34669 )
...
* Render tooltip options in correct category
* Allow custom field config properties that extend standard categories
2021-05-27 10:36:45 +02:00
Torkel Ödegaard
6394a60a08
Dashboard: Fixes issue with title or folder change has no effect after exiting settings view ( #34677 )
...
* Dashboard: Fixes issue with title or folder change has no effect after existing settings view
* Updates snapshot
2021-05-27 10:07:51 +02:00
Andi Pabst
29be741f26
MySQL Datasource: Add timezone parameter ( #27535 )
...
* Add MySQL timezone parameter
* Reword docs/sources/features/datasources/mysql.md
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
* update documentation
* fix formatting mistake from merge
* enhance documentation with reason for parameter usage
* enhance documentation with reason for parameter usage
Co-authored-by: Diana Payton <52059945+oddlittlebird@users.noreply.github.com>
2021-05-27 10:03:03 +02:00
Hugo Häggmark
3a68409e5d
Plugins: Adds back getMappedValue to @grafana/data ( #34746 )
...
* Plugins: Adds back getMappedValue to @grafana/data
* Chore: fixes doc errors
* Tests: fixes snapshot
* Tests: dummy change to restart Drone
* Tests: tries to fix snapshot
2021-05-27 09:29:22 +02:00
Kevin Minehart
3aba08f708
hide caching settings when its disabled ( #34756 )
2021-05-26 12:27:28 -05:00
Leon Sorokin
1dd5d6ffb0
GraphNG: uPlot 1.6.10 ( #34759 )
2021-05-26 11:46:24 -05:00
Maria Alexandra
cebe67ab01
Explore: Fix Browser title not updated on Navigation to Explore ( #34651 )
...
- Update document.title on Explore page
- Add unit test and snapshot for Wrapper component
2021-05-26 18:44:16 +02:00
Jack Westbrook
515c73d8e6
Transformations: Prevent FilterByValue transform crashing panel edit ( #34747 )
2021-05-26 17:30:34 +02:00
Andrej Ocenas
9dafd4f863
NodeGraph: Show node graph collapsed by default with trace view ( #34491 )
...
* Show node graph collapsed by default with trace view
* Fix rename variable
* Change the message
* Add test
* Fix e2e test
* Remove expect in exemplars test
* Align icon
* review fixes
2021-05-26 15:11:47 +02:00
Torkel Ödegaard
6fb0560a84
TestData: Some simple small test data and first draft of what's new in v8 demo dashboard ( #34731 )
...
* TestData: More test data
* Added v8 demo dashboard
2021-05-26 14:11:57 +02:00
Jack Westbrook
bcc7bd9dd3
VisualisationPicker: allow scrolling in Safari ( #34717 )
2021-05-26 11:45:50 +02:00
Jack Westbrook
ad3b0b2272
PageToolbar: add bottom padding ( #34602 )
...
* fix(pagetoolbar): pad elements top and bottom to keep vertical align and wrapper padding
* fix(sidemenu): prevent mobile sidemenu squashing dashboard, vertically align mobile sidemenu icon
* fix(dashboardsettings): prevent subheader overlap
* fix(pagetoolbar): center align all toolbar elements vertically
* refactor(pagetoolbar): combine vertical paddings to bring back original padding values
* refactor: update padding values for components that use PageToolbar
* fix(playlists): update Empty cta link route to prevent 404
* test(dashboard): update snapshot
2021-05-26 10:49:39 +02:00
Torkel Ödegaard
987bffe482
TestData: Support for csv files & csv content ( #34674 )
...
* initial implementation of csv support for test data source
* CSV file & content scenarios working
* Removing categorical data
* fixing handler names
* Update pkg/tsdb/testdatasource/csv_data.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/tsdb/testdatasource/csv_data.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/tsdb/testdatasource/csv_data.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/tsdb/testdatasource/csv_data.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/tsdb/testdatasource/csv_data.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/tsdb/testdatasource/csv_data.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Update pkg/tsdb/testdatasource/csv_data.go
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
* Fixed lint issues
* updated so it uses the same parsing
* more CSV tests
* lint fixes
* more lint
* lint
* support time field
* migrate manual entry to csv
* more test output
* more test output
* missing file
Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2021-05-26 10:42:42 +02:00
Josh Hunt
b4ce068f0e
AzureMonitor: Display variables in Logs resource picker ( #34648 )
...
* AzureMonitor: Display variables in Resource Picker
* tests
* hide template variable group when there's no template variables
2021-05-26 09:42:17 +01:00
Marcus Andersson
70efaa5582
Alerting: making sure we use the updated queries when querying for data. ( #34631 )
2021-05-26 10:07:20 +02:00
Marcus Andersson
e19b3df1a9
Alerting: added possibility to preview grafana managed alert rules. ( #34600 )
...
* starting to add eval logic.
* wip
* first version of test rule.
* reverted file.
* add info colum to result to show error or (with CC evalmatches)
* fix labels in evalmatch
* fix be test
* refactored using observables.
* moved widht/height div to outside panel rendere.
* adding docs api level.
* adding container styles to error div.
* increasing size of preview.
Co-authored-by: kyle <kyle@grafana.com>
2021-05-26 10:06:28 +02:00
Torkel Ödegaard
ec33bae8d4
PanelEdit: Add data source label to data source picker dropdown ( #34605 )
...
* PanelEdit: Add data source label to data source picker dropdown
* Updated based on ux feedback
2021-05-26 08:59:49 +02:00
Ivana Huckova
93c5c8345c
Prometheus: Update default HTTP method to POST for existing data sources ( #34599 )
...
* Change default method to POST
* Update comment
* Add tests
* Update Whats new
* Update docs/sources/whatsnew/whats-new-in-v8-0.md
Co-authored-by: Julien Pivotto <roidelapluie@inuits.eu>
* Update docs/sources/whatsnew/whats-new-in-v8-0.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
* Update docs/sources/whatsnew/whats-new-in-v8-0.md
Co-authored-by: Julien Pivotto <roidelapluie@inuits.eu>
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com>
2021-05-25 18:56:46 +02:00
Hugo Häggmark
881abb3af8
Admin: Fixes infinite loading edit profile page ( #34627 )
...
* UserProfile: Fixes infinite loading spinner
* Refactor: some clean up
* Refactor: some more cleanup
* Tests: Adds tests for UserProfileEditPage
* Chore: updates after PR comments
* Refactor: removes unnecessary unmount/mount
2021-05-25 14:48:16 +02:00
Simon Podlipsky
2f14ef9235
Chore: Remove console.log() from AngularApp ( #34641 )
2021-05-25 13:10:54 +02:00
Peter Holmberg
dcef87fd79
Alerting: Move query components to unified folder ( #34587 )
2021-05-25 11:34:19 +02:00
Domas
d666defaea
Alerting: misc ui fixes volume 4 ( #34503 )
2021-05-25 10:26:10 +03:00
Josh Hunt
1d3bcb0e90
AzureMonitor: ResourceMonitor children refactor ( #34591 )
...
* AzureMonitor: Refactor children to be an arrayu
* Add some resourcePickerData tests
* update tests
* some quick NestedResourceTable tests
2021-05-25 07:51:48 +01:00
Torkel Ödegaard
888683a8ad
RowOptions: Fix enter key updating row options ( #34586 )
2021-05-24 16:21:54 +02:00
Gábor Farkas
0afc4c0361
InfluxDB: InfluxQL query editor: better handling of slow queries ( #34507 )
...
* InfluxDB: InfluxQL query editor: better handling of slow queries
* adjusted message to be similar to other messages
* simplify code
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2021-05-24 15:58:59 +02:00
Uchechukwu Obasi
395d7eb74c
DashboardRow: fixes time variable not updating when used in row title ( #34523 )
...
* DashboardRow: fixes time variable not updating when used in row title
* adds test cases for subscribe event
2021-05-24 14:28:26 +01:00
Peter Holmberg
a0b78313f3
Alerting: Remove unused NGAlerting components ( #34568 )
2021-05-24 14:20:11 +02:00
Alex Khomenko
e9e438ee2f
Form: Expose all return values from useForm ( #34380 )
2021-05-24 15:09:33 +03:00
Ivana Huckova
247bdc2f9b
Explore: Add caching for queries run from logs navigation ( #34297 )
...
* WIP: Implement simple caching
* If results are cached, don't run new query and use those results
* Add duplicate key check
* Clean up
* Clean up
* Add tests for caching
* Remove unused variables
* Update public/app/features/explore/state/query.test.ts
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
* Update public/app/features/explore/state/query.test.ts
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
* Use decorateData to apply all decorators
* Remove unused variables
* Change loading stte to Done
* Clear cache when running query from navigation
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2021-05-24 13:56:48 +02:00
mmenbawy
6796a89e9d
Loki: Bring back processed bytes as meta info ( #34092 )
...
* Loki: Bring back processed bytes as meta info
* style: Lint
2021-05-24 12:28:10 +02:00
Gábor Farkas
e21b90681f
influxdb: influxql: make measurement-autocomplete case insensitive ( #34563 )
2021-05-24 12:24:42 +02:00
Piotr Jamróz
8d05df83ed
CustomScrollbar: Invoke setScrollTop callback only after scrolling finishes ( #34263 )
...
* Invoke setScrollTop callback only after scrolling finishes
When the state is updated while scroll events are being dispatched (like in QueryGroup) it may cause resetting the scroll position to the first emitted event because setting the scroll happens only after render (useEffect).
* Memoize onScrollStop callback
2021-05-24 10:34:37 +02:00
Ryan McKinley
11b2f0ee4d
Timeline: use full row height with one series ( #34532 )
2021-05-20 16:03:23 -07:00
Torkel Ödegaard
d0769397b2
Histogram: Fix crash when state was undefined (when combine was enabled) ( #34514 )
2021-05-20 17:36:20 +02:00
Gábor Farkas
d95cc4a08f
InfluxDB: InfluxQL query editor: generate better HTML ( #34467 )
2021-05-20 16:46:08 +02:00
Torkel Ödegaard
dbe281530c
Timeline: Fix y-axis being cropped ( #34508 )
2021-05-20 16:43:19 +02:00
Torkel Ödegaard
fd6e338651
Timeline: Fixes crash when there was only 1 threshold step ( #34471 )
2021-05-20 14:09:19 +02:00
Torkel Ödegaard
649d36e66a
Plugins: Fix data source plugins list test failure ( #34477 )
2021-05-20 11:36:28 +02:00
Mitch Seaman
fc8f913761
Docs: Add SAP HANA to Enterprise plugins list ( #34273 )
...
* Add SAP HANA to Enterprise plugins list
* adding sap hana plugin details
Co-authored-by: Sriram <yesoreyeram@gmail.com>
2021-05-20 10:52:28 +02:00
Ryan McKinley
a91edd7267
Plugin Admin App: make the catalog look like internal component ( #34341 )
...
* Allow Route component usage in app plugins
* i tried
* fix catalog app
* fix catalog app
* fix catalog app
* cleanup imports
* plugin catalog enabled to plugin admin
* rename plugin catalog to plugin admin
* expose catalog url
* update text
* import from react-router-dom
* fix imports -- add logging
* merge changes
* avoid onNavUpdate
* Fixed onNavChange issues
* fix library imports
* more links
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2021-05-20 10:42:26 +02:00
Domas
f166b22b52
use existing queryparams prop in AppRootPage ( #34464 )
2021-05-20 10:24:56 +02:00
Sarah Zinger
1d7595374a
Azure Monitor: Fix Resource Picker UI overflow ( #34442 )
...
* Truncate text
* Replace HorizontalGroup.
* Add loading spinner
* increase modal width
Co-authored-by: joshhunt <josh@trtr.co>
2021-05-20 10:20:01 +02:00
Josh Hunt
cf94410e59
AzureMonitor: Update Logs workspace() template variable query to return resource URIs ( #34445 )
...
* Migrate template variables straight into resource field,
Display error if unable to migrate
* Update workspace() template variable query function to return a resource URI
* update backend to support resource uris in workspace field
* don't load resource names for variables
* throw error when workspace migration returns no results
* update testDatasource to work with either resource URI or workspace GUID
* fix tests
* cleanup types just a little bit, as a treat
2021-05-20 10:16:29 +02:00
Gábor Farkas
fc04a1ae00
InfluxDB: InfluxQL: handle empty tag values when generating query ( #34463 )
2021-05-20 10:13:15 +02:00
Andrej Ocenas
615de9bf34
Zipkin: Add node graph view to trace response ( #34414 )
...
* Add graph transform
* Add tests
* Refactor code
* Update test
* Fix zipkin block
Co-authored-by: David Kaltschmidt <david.kaltschmidt@gmail.com>
2021-05-20 10:01:28 +02:00