Giordano Ricci
eaca54a9f2
Elasticsearch: change terms default min_doc_count to 1 ( #38632 )
2021-08-27 14:22:12 +01:00
Olof Bourghardt
458bced826
Jaeger: fix bug where query is executed twice ( #38550 )
...
* Jaeger: add empty callback to QueryField onBlur to stop query from being run twice
* Jaeger: add wait call on 500ms to accomodate for debouncing by the QueryField component
2021-08-27 10:36:18 +02:00
Alex Khomenko
a15e33e693
Admin: remove Redux from ServerStats ( #38581 )
...
* Admin: remove Redux from ServerStats
* Admin: Fix import
2021-08-27 11:09:17 +03:00
Jack Westbrook
2cb141d4ec
Plugins: Refactor installation buttons component ( #37642 )
...
* refactor(catalog): split out installcontrols into multiple components
* test(catalog): update tests for plugindetails page
* refactor(catalog): rename installcontrols -> index
* refactor(catalog): remove redundant curlies
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* tests(plugindetails): fix assertions and naming of tests
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* refactor(installcontrols): prefer enum over duplicate union type, rename disabled prop
* refactor(installcontrols): use PluginStatus enum for installcontrols pluginStatus
* refactor(installcontrols): remove redundant curlies
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2021-08-26 17:15:43 +02:00
Domas
2847f25781
Alerting: UI to edit cortex/loki namespace & group names, group eval interval ( #38543 )
2021-08-26 16:40:27 +03:00
Ashley Harrison
a583f7e160
Sidemenu: Refactor SideMenuDropDown ( #38554 )
...
* SideMenuDropDown: Refactor to be more component-ey + rewrite tests in RTL
* SideMenuDropDown: Rename childLinks -> items
* Rename mockChildLinks -> mockItems as well
2021-08-26 14:08:27 +01:00
Torkel Ödegaard
d5ed4e9c8c
Geomap: Minor style fixes ( #38532 )
...
* Fixed hover font-weight, option casing, and added simple test dashboard with 3 panels
* Update theme colors
* Style tweaks to legend
* Updated
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2021-08-26 10:17:03 +02:00
Ryan McKinley
9267014a45
Schema: export existing types in @grafana/data|ui ( #38518 )
2021-08-25 09:59:03 -07:00
Connor Lindsey
76ade24f2f
Add catch around JSON trace upload for more error handling ( #38520 )
2021-08-25 10:08:46 -06:00
Ivana Huckova
d1b6132302
Loki: Fix ad-hoc filter when used with parser ( #38542 )
...
* Fix ad hoc filter when used with parser
* Update
2021-08-25 16:08:41 +02:00
Patrick O'Carroll
2e772d41a7
Themes: align hover and focus opacity ( #38498 )
...
* new warning and success color in light theme, slight tweak to primary text
* changed hover opacity to the same as focues opacity
* Updated generated files
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2021-08-25 15:34:19 +02:00
Ashley Harrison
b30882bd2b
Sidemenu: Refactor DropDownChild ( #38509 )
...
* DropDownChild: Refactor DropDownChild to be more component-like
* Rewrite tests in RTL
* Let's not do this just yet...
2021-08-25 14:27:04 +01:00
sam boyer
e61bc33163
Move dashboard scuemata to grafana-schema ( #38470 )
...
* Relocate dashboard scuemata to grafana-schema
* Update assorted tests, vars with dashboard path
* Remove crufty commented var
* Not sure...why that failed
* Remove prefix from base dashboard path var
* Move cue/ui remnants into grafana-schema
* Update import paths in plugin models
* Remove mudball, add package statements
* Remove cuegen.sh
Wooooo we ain't got no codegen
* Revert "Remove mudball, add package statements"
This reverts commit 9bed3098f1 .
* Tidy up all the cue files
* Move dashboard scuemata into scuemata/ subdir
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2021-08-25 06:55:04 -04:00
Olof Bourghardt
a19ad25eaa
Jaeger: support running queries with keyboard shortcut ( #37958 )
...
* Jaeger: add QueryField component
* Remove unused imports
* Fix e2e test so that it checks for QueryField component
* Remove comments
* Fix failing e2e test
2021-08-25 11:30:32 +02:00
Ashley Harrison
7c97b9d03f
QueryEditor: Don't use _.defaults as it mutates the query prop directly ( #37965 )
...
* QueryEditor: Don't use _.defaults as it mutates the query prop directly
* QueryEditor: Update the query type on mount if none exists
* QueryEditor: Mutate in the constructor instead of render
* Apply defaults immutably in render
2021-08-25 10:19:02 +01:00
Alex Khomenko
6e639f3c72
Admin: Update stats page UI ( #38014 )
...
* Add StatCard
* Style cards
* Update types
* Add tests
* Move stats tab into licencing
* Prevent UI jumps when loading stats
* Fix merge conflicts
* Revert docs format
2021-08-24 19:13:48 +03:00
Ryan McKinley
fcceb5716d
Schema: move existing grafana/ui models into schema ( #38469 )
2021-08-24 08:22:34 -07:00
Patrick O'Carroll
8fb4882a01
Light theme palette update ( #38487 )
...
* new warning and success color in light theme, slight tweak to primary text
* Update generated light theme scss
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2021-08-24 13:23:01 +02:00
Domas
9d8f61c738
Alerting: allow creating/editing recording rules for Loki and Cortex ( #38064 )
2021-08-24 10:31:56 +02:00
Vicky Lee
c5f384c654
docs: update cloud data sources README links ( #37820 )
...
* docs: update cloud data sources README links
* Update public/app/plugins/datasource/cloudwatch/README.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* Update public/app/plugins/datasource/grafana-azure-monitor-datasource/README.md
* Update public/app/plugins/datasource/cloud-monitoring/README.md
Co-authored-by: Daniel Lee <dan.limerick@gmail.com >
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2021-08-24 10:11:07 +02:00
Olof Bourghardt
05b0df2254
Zipkin: support running queries with keyboard shortcut ( #37960 )
...
* Zipkin: replace input field with QueryField component
* Fix failing tests
* Remove console.log
* Partially migrate test to react
* Zipkin: finish migration from enzyme to react
* Remove comments
2021-08-24 09:52:34 +02:00
Villena Guillaume
4cb87b6b60
Annotations Panel: Show annotations end time if present ( #38425 )
...
* Annotation Panel: Show annotation end time if present
* Added hyphen between dates
2021-08-23 20:57:44 -07:00
Travis Patterson
6548cd89af
Add honeycomb plugin logo ( #38461 )
2021-08-23 14:33:55 -06:00
Ryan McKinley
425ec7ca9e
Schema: create a new schema package for basic models ( #38409 )
2021-08-23 13:03:41 -07:00
Tharun Rajendran
2156980edb
Datasource: add button to navigate to explore from settings ( #36119 )
...
Fixes #13737
2021-08-23 09:23:49 -06:00
Connor Lindsey
a2525005e5
Manually set query type in Tempo explore on component mount ( #38408 )
...
* Manually set query type in Tempo explore on component mount
2021-08-23 07:51:45 -06:00
Peter Holmberg
eba21f3145
Alerting: Append appSubUrl to links if present ( #38069 )
...
* append appSubUrl if present
* remove null check
2021-08-23 14:57:30 +02:00
Villena Guillaume
1b3eecddcd
Annotation Panel: Fix annotation with end time not being centered ( #38423 )
...
* Annotation Panel: Fix annotation with end time not being centered
* Update public/app/plugins/panel/annolist/AnnoListPanel.tsx
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2021-08-23 12:03:27 +01:00
Ryan McKinley
8c4c05493b
Dashboard: keep live timeseries moving left (v2) ( #37769 )
2021-08-20 14:48:55 -07:00
Ryan McKinley
b88f8bacf3
DataFrame: add frame type key to DataFrame structure ( #38092 )
2021-08-20 09:26:40 -07:00
Will Browne
ae17cce316
Plugins: Add Hide OAuth Forward config option ( #36306 )
...
* add prop
* add angular conf
* invert naming
* undo md changes
* fix wording
* y u fail 4 me
* refactor(datasourcesettings): rename hideForwardOAuthIdentityOption prop
* refactor(datasourcesettings): rename scope.hideForwardOAuthIdentityOption
* Update contribute/style-guides/e2e.md
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
* feat(datasourcehttpsettings): add showForwardOAuthIdentityOption to angular wrappers & template
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
Co-authored-by: achatterjee-grafana <70489351+achatterjee-grafana@users.noreply.github.com >
2021-08-20 15:53:54 +02:00
Olof Bourghardt
5231660627
Explore: use GrafanaTheme2 (LiveLogs component) ( #37452 )
...
* Explore: use GrafanaTheme2
* Explore: add correct style values. Add theme.v1 to the styles that were uncertain
* Logs: add use of GrafanaTheme2 in varioius log components
* Styles: add some of the correct values recieved via feedback
* Add correct style values
* Update public/app/features/dashboard/components/AddPanelWidget/AddPanelWidget.tsx
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
* Update public/app/features/dashboard/components/AddPanelWidget/AddPanelWidget.tsx
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
* Update public/app/plugins/panel/dashlist/styles.ts
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
* Explore: fix failing tests
* Explore: add styling values from v2
* Fix small type error
* Replace v1 styles with v2 styles
* Remove forgotten v1 values
* Remove more v1 style values
* Apply correct style value to LogRowMessage
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
Co-authored-by: Torkel Ödegaard <torkel@grafana.org >
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2021-08-20 14:53:03 +02:00
Hugo Häggmark
a0773b290b
Dashboard: Prevents folder change when navigating to general settings ( #38103 )
...
* Dashboard: Prevents folder change when navigating to general settings
* Tests: fixes broken tests
* Chore: changes from PR feedback
2021-08-20 11:53:48 +02:00
Nathan Rodman
df791ae2af
Alerting: Add custom grouping for alert groups ( #37378 )
...
* Group alertmangaer alerts by custom grouping
* Filter am groups
* Style filter components
* Style filter bar and add clear functionality
* rename components to alert group
* use query params for group filters
* filter style improvements
* add tests for group by
* Add grouping banner to better highlight groupings
* clean up hook logic
2021-08-19 09:22:52 -07:00
Connor Lindsey
6ed60c0bec
Tempo: Use echo endpoint when testing Tempo datasource ( #38018 )
...
* Use echo endpoint when testing Tempo datasource
* Remove unreachable error message
* Null check response
2021-08-19 09:56:03 -06:00
Connor Lindsey
76b891b001
Tempo: Add Tempo search behind feature flag ( #37765 )
...
* Add Tempo search behind feature flag
* Add query fields for Tempo search
* Only show loki search if a logs-to-traces datasource is set up
* Refactor tempo search to use separate fields for service name, span name, and tags
* Add tests to buildSearchQuery
* Move search to separate component and rename type to native search
* Improve Tempo tokenizer syntax
2021-08-19 09:15:46 -06:00
Josh Hunt
17306217aa
AzureMonitor: Support PostgreSQL and MySQL Flexible Servers ( #38075 )
2021-08-19 16:56:58 +02:00
Tobias Skarhed
1f091c448f
Template variables: Keyboard navigation improvements ( #38001 )
...
* Fix variable labels
* Add proper labeling for input
* Add ids to PickerRenderer
* Fix tests
* Update PR feedback
* OptionsPicker: Change to id
* Inherit aria attributes
* Add checkbox role
* Fix typo
* Add proper label reference
* Update role and label
* Prevent spreadng non-DOM attributes
* Move form layout to other component
* Remove haspopup
* Add testid to selector
* Add HTMLProps extension
* Use list
* Move styles outside of class
* Add cx
2021-08-19 16:28:25 +02:00
Olof Bourghardt
28cf93e42c
Explore: use GrafanaTheme2 (LiveTailButton component) ( #37516 )
...
* Explore: use GrafanaTheme2 in LiveTailsButton
* Remove unused theme
2021-08-19 16:17:28 +02:00
Ivana Huckova
7f8576ee37
Postgres: For template queries return [] and not error ( #38060 )
...
* Postgres: For template queries return [] and not error
* remove the console error
* update mssql and mysql
Co-authored-by: Ying WANG <ying.wang@grafana.com >
2021-08-19 13:43:41 +02:00
Leon Sorokin
ecfa32c8cb
AnnotationEditor: simplify plugin ( #37463 )
2021-08-19 06:40:40 -05:00
Hugo Häggmark
4ba2636aba
Dashboard: Fix so panels are rendered correctly on SoloPanelPage ( #38050 )
...
* Dashboard: Fix so panels are rendered correctly on SoloPanelPage
* Refactor: narrows down the path
2021-08-19 08:47:37 +02:00
Hugo Häggmark
dba15190af
Chore: Upgrades rxjs to 7.3.0 ( #37913 )
...
* Chore: upgrades rxjs to 7.3.0
* Chore: replaces toPromise with lastValueFrom
* Chore: removes unused mock that caused test error
* Chore: fixes build error in PieChartPanel
* Chore: fixed build error in requestAllIndices
* Chore: fixes comment
* Chore: trying to reduce docs errors
* Chore: searches for explicit api extractor warnings
* Chore: updates rxjs-spy to 8.0.0
* Chore: reverts to main
* Chore: upgrade rxjs and rxjs-spy
2021-08-19 06:38:31 +02:00
Villena Guillaume
646d95b8fb
TimeSeries: Support Ctrl key for marking annotations ( #38034 )
2021-08-18 16:38:02 -05:00
Leon Sorokin
49b129b110
GraphNG: fix mem leaks & avoid plot re-inits ( #38017 )
...
* State timeline: fix mem leak caused by excessive plot re-init
* Update PlotTooltipInterpolator type
* Do not reference config object in the setCursor hook
* fix excessive BarChart re-init caused by shallow diff of text config
* one less error
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2021-08-18 13:43:53 -05:00
Ole Ernst
c0d6fc0255
avoid duplicate log in development environment ( #36609 )
...
avoid logging performance metrics in production environment
2021-08-18 19:45:54 +02:00
Oscar Kilhed
21f45d4927
Postgres UUID group issue ( #37999 )
...
* Add UUID to types that can be grouped by
* Remove noop switch
2021-08-18 16:17:30 +02:00
Peter Holmberg
a7b22a73b6
Alerting: Add Copy link to Alert on View rule page ( #37967 )
...
* add button to page
* add url to getText
* reorder imports
* build url function
* remove log
* encode
2021-08-18 14:25:56 +02:00
Domas
cb9912ec0a
Alerting: button to test contact point ( #37475 )
2021-08-18 10:16:35 +03:00
Ryan McKinley
16b1922cdc
Devenv: remove unused options from timeseries panel ( #37980 )
2021-08-17 16:29:15 -07:00