Torkel Ödegaard
3a469f6ca2
MoveDashboard: Fix for moving dashboard caused all variables to be lost ( #25005 )
...
* MoveDashboard: Fix moving caused all variables to be lost
* fix typescript issue
2020-05-25 13:33:44 +02:00
Lukas Siatka
60e7b63c33
Loki/Prometheus: updates addLabelToQuery method to prevent it from adding labels outside of selector when using Loki datasource ( #25059 )
...
* Chore: updates add label to query method in prometheus datasource to fix loki label insert
* Chore: adds addLabelToQuery test covering differences between adding label to loki vs non-loki queries
* Chore: adds an additional comment to addLabelToQuery
* Chore: renames isLokiDatasource to hasNoMetrics in addLabelToQuery
2020-05-25 12:23:35 +02:00
Sofia Papagiannaki
a1ee62877e
Stackdriver: Fix creating Service Level Objectives (SLO) datasource query variable ( #25023 )
...
* Fetch SLOs on SLO service change
* Prevent querying for SLOs if SLO service is empty
Co-authored-by: Daniel Lee <dan.limerick@gmail.com>
2020-05-25 12:34:44 +03:00
Ryan McKinley
81d1f6653f
Download CSV: format the dates ( #24992 )
...
* export formatted dates
* remove if(true)
* display processor
2020-05-25 11:12:53 +02:00
Tobias Skarhed
84031649e3
LoginPage: Fix hover color for service buttons ( #25009 )
...
* Set explicit hover color
* Use cx
2020-05-22 16:20:28 +02:00
Ivana Huckova
4d18bda2e1
Prometheus: Fix recording rules expansion ( #24977 )
...
* First pass solution
* Refactor solution
* Add test coverage, update tests
* Fix behaviour for multiple labels, add test for this
* Add recordin rules to devenv prometheus
* Update devenv/prometheus2 instead of devenv/prometheus
* Add newlines
* Fix label matching if labels include comma, add test coverage
* Refactor
* Refactor, simplify
2020-05-22 15:16:01 +02:00
kay delaney
e1f4287f70
Datasource/CloudWatch: Better handling of stats grouping ( #24789 )
...
* Datasource/CloudWatch: Better handling of stats grouping
2020-05-21 15:18:09 +01:00
Ivana Huckova
44ca05272a
Query history: Add keyboard shortcut support for commenting ( #24736 )
...
* Shorten filter history label
* Add keyboard shortcuts for update comment in Query history
* Add test coverage for new keyboard shortcuts
* Update changed aria-label in tests
* Add test scenario for enter and ctr key
2020-05-21 14:51:18 +02:00
Zoltán Bedi
77633db00e
Dashboard: Render PanelChrome on refresh ( #24940 )
...
Fixes #23306
2020-05-21 09:55:58 +02:00
d10n
0681729e92
Docs: Fix grammar where your should be you're ( #24966 )
2020-05-21 09:43:31 +02:00
Torkel Ödegaard
8aedf81133
Graph: Legend decimals now work as expected ( #24931 )
...
* Graph: Legend decimals now work as expected
* removed new test that I could not get green
2020-05-20 17:28:41 +02:00
Hugo Häggmark
0b5d818771
PanelInspector: hides unsupported data display options for Panel type ( #24918 )
2020-05-20 14:15:06 +02:00
Hugo Häggmark
460847f3ed
Panel: shows correct panel menu items in view mode ( #24912 )
2020-05-20 13:56:28 +02:00
Dominik Prokop
bb099cb141
PanelEditor Fix missing labels and description if there is only single option in category ( #24905 )
2020-05-20 13:54:42 +02:00
kay delaney
0f174de760
Datasource/CloudWatch: Field suggestions no longer limited to prefix-only ( #24855 )
2020-05-20 12:25:21 +01:00
Marcus Andersson
731deb9628
Fix: adding missing icons in the elastic query editor and the single stat editor. ( #24914 )
...
* fixed issue that the icon was missing in es group by.
* fixed missing icon in the single stat value mappings.
2020-05-20 12:04:48 +02:00
Ivana Huckova
4f6fb2d46e
LogsPanel: Fix scrollbar ( #24850 )
...
* Fix scrolling, besides context (wip)
* Remove autoHide
* Revert "Remove autoHide"
This reverts commit 3572718cab
.
* Revert "Fix scrolling, besides context (wip)"
This reverts commit 8e11d89612
.
* Fix scrolling in Logs Panel
* Rename passed prop to disableCustomHorizontalScroll
2020-05-20 11:20:45 +02:00
Hugo Häggmark
5a6026a8c0
PanelInspect: makes sure Data display options are shown ( #24902 )
2020-05-20 10:07:35 +02:00
Kamal Galrani
e2368e623e
Dashboard/Links: Fixes dashboard links by tags not working ( #24773 )
...
* Fixes dashboard links by tags not working
* removes code duplication
2020-05-20 09:54:04 +02:00
Ryan McKinley
793299af14
Transformations: Allow numbers ( #24752 )
2020-05-20 09:31:00 +02:00
Zoltán Bedi
29afc2feb8
Explore: fix undo in query editor ( #24797 )
...
* Explore: fix undo in query editor
* Add e2e test for regression
2020-05-19 15:41:52 +02:00
kay delaney
2f01f1320f
Datasource/CloudWatch: Makes CloudWatch Logs query history more readable ( #24795 )
...
Now just displays query expression rather than stringified JSON
2020-05-19 11:43:43 +01:00
Tobias Skarhed
54ee4f4f72
Migration: Select org ( #24739 )
...
* Add SelectoOrgPage
* Remove old code
* Remove import
2020-05-19 09:55:04 +02:00
Torkel Ödegaard
b709f6ad71
TablePanel: Adding sort order persistance ( #24705 )
...
* TablePanel: Adding sort order persistance
* adds panel test dashboard for table panel
2020-05-19 09:23:25 +02:00
Boyko
1e74037eae
React: refactor away from unsafe lifecycle methods ( #21291 )
...
* refactor aliasBy and PopoverCtrl components
* refactor Aggregations component
* refactor MetricSelect component
* refactor UserProvider
* popoverCtr: remove redundant logic
* simplified the MetricsSelect a bit.
* skipping testing of internal component logic.
* changed to componentWillMount.
* changed elapsed time to a functional component.
* rewrote the tests.
* fixed missing test title.
* fixed a tiny issue with elapsed time.
* rename of field.
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2020-05-18 18:03:29 +02:00
Alex Khomenko
7b6deef46d
Search: make anchor full-height ( #24783 )
2020-05-18 11:31:10 +03:00
Ryan McKinley
9622536a98
Dashboard: Remove isTimezoneUtc ( #24754 )
2020-05-18 10:21:21 +02:00
Kamal Galrani
7b18b101b4
Dashboard/Links: Fixes open in new window for dashboard link ( #24772 )
...
* fixes target in dashboard link
* Update DashboardLinks.tsx
* Revert "Update DashboardLinks.tsx"
This reverts commit 2b23db8dc4
.
2020-05-18 09:36:31 +02:00
Torkel Ödegaard
7fcf2615e1
Metrictank: Fixed updated schema and dedupe strategy ( #24685 )
...
* Metrictank: Fixed updated schema and dedupe strategy
* revert schema change
* fix
2020-05-15 07:42:29 +02:00
Marcus Andersson
98d5633601
Fix: changing so we are using date/time values in UTC during test. ( #24707 )
2020-05-14 20:59:42 +02:00
Marcus Andersson
96f26cbd5b
Transform: fixes so we match the field based on the proper name. ( #24659 )
...
* fixes so we match the transformer based on name properly.
* changed the signature on the FieldMatcher.
* introduced a names option so you can filter in name specificly.
* changed so the matcher UI uses the new options format.
* moved the exported functions together.
* changing editors a bit.
* made the filter by name work with both regex and name filtering.
* fixed failing tests and make sure we always parse regex the same way.
* removed unused code.
* simplified to make the existing field overrides still working.
* fixed issue reported by hugo.
* added tests for the name matcher.
* added tests for filter by name.
* added more tests.
2020-05-14 20:48:43 +02:00
kay delaney
0e8638ec92
Datasource/CloudWatch: Allows a user to search for log groups that aren't there initially ( #24695 )
...
Closes #24554
2020-05-14 19:41:38 +01:00
Peter Holmberg
bf1e5aa16c
PanelInspect: Make header names reflect the field name in the exported CSV file ( #24624 )
...
* fix header names and filename
* use panel title as filename
* add frame argument
* escaping double quotes
* wrapping header name in quotes
* Fix replace
* Add test for csv double quotes escaping
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2020-05-14 20:14:23 +02:00
kay delaney
1b29d3460e
Datasource/CloudWatch: Handle invalidation of log groups when switching datasources ( #24703 )
2020-05-14 20:06:20 +02:00
Lukas Siatka
ee12f5e742
Strict null fixes: updates return type of getMessageFromError, fixes QueryOperationAction props ( #24690 )
...
* Chore: updates getMessageFromError return type
* Chore: updates the position of incorrectly placed bang operator
* Chore: updates typing on dropdown typeahead directive
* Chore: updates QueryOperationAction props to require title
* Revert "Chore: updates QueryOperationAction props to require title"
2020-05-14 17:08:52 +02:00
David
25e1238022
Logs: Fix total bytes process calculation ( #24691 )
...
- log stats for Loki are per query
- this change tracks the query stats by refId, preventing the summing of
the same stats across multiple series of the same response.
2020-05-14 16:27:26 +02:00
Agnès Toulet
7fbed90b89
Datasources: fix pre styles ( #24687 )
2020-05-14 16:04:53 +02:00
Torkel Ödegaard
c59f5436c0
TablePanel: Do not include angular options in options when switching from angular panel ( #24684 )
2020-05-14 16:03:27 +02:00
Andrej Ocenas
2b9cc8ba30
CloudWatch/Logs: Fix autocomplete after by keyword ( #24644 )
2020-05-14 15:52:47 +02:00
David
01bbcf4eea
Editor: New line on Enter, run query on Shift+Enter ( #24654 )
...
* Editor: New line on Enter, run query on Shift+Enter
- default Enter behavior on query editor fields should be a new line
- special behavior should require a special key: running a query is now
done on Shift-Enter
- Plugins order had to be changed because when typeahead is shown, Enter
is accepting the suggestion
* Run with ctrl-enter, hint in query placeholder
* Fix Kusto field behavior for Enter
* Fix Kusto field behavior for default suggestion
2020-05-14 15:13:45 +02:00
Lukas Siatka
e11504dcd2
Datasources: fixes async mount errors ( #24579 )
...
* Chore: updates Elasticsearch DataLinks test async wrapper mount
* Chore: updates Loki DervidedFields test async wrapper mount
* Chore: fixes typecheck issues
* Chore: small strict-null fix
2020-05-14 14:25:52 +02:00
Andrej Ocenas
e754bcdcf9
CloudWatch: Unify look of query mode select between dashboard and explore ( #24648 )
2020-05-14 14:12:11 +02:00
Dominik Prokop
cfac591234
SaveDashboard: Allow editing provisioned dashboard JSON and add confirmation when JSON is copied to dashboard ( #24680 )
2020-05-14 13:45:26 +02:00
Torkel Ödegaard
2f22781cd8
Orgs: Add future deprecation notice ( #24502 )
...
* Orgs: Fist draft of orgs deprecation infobox
* adds warning about potentially deprecating orgs (#24512 )
* Updates
* Fixed ts issue
Co-authored-by: Carl Bergquist <carl@grafana.com>
2020-05-14 12:16:26 +02:00
Hugo Häggmark
9481b7bcf2
Datasource Config: adds back correct styles for autofill fields ( #24671 )
2020-05-14 11:56:00 +02:00
Tobias Skarhed
37a2ac20c3
Search: Fix select item pressing enter 404 ( #24634 )
...
* Remove appSubUrl for navigation
* stripBaseFromUrl
* Remove unused imports
2020-05-14 11:17:09 +02:00
Dominik Prokop
f769ed035d
PanelEdit: Make sure side pane is displayed with tabs by default ( #24636 )
...
* Make sure side pane is displayed with tabs by default
* Update e2e tests for
2020-05-14 09:55:40 +02:00
Hugo Häggmark
083a2ce220
Templating: fixes filtering options with more than 1000 entries ( #24614 )
...
* Templating: fixes filtering options with more then 1000 entries
* Chore: reduces strict null errors by 2
2020-05-14 08:09:21 +02:00
Hugo Häggmark
622246d56d
Templating: fixes so Textbox variables get value from url ( #24623 )
2020-05-14 07:41:42 +02:00
Andrej Ocenas
0f964c0214
Zipkin: Fix error when span contains remoteEndpoint ( #24524 )
2020-05-13 19:32:45 +02:00