Torkel Ödegaard
10b3c0787a
CSSTransition fixes warnings ( #55340 )
2022-09-20 11:47:31 +02:00
Marcos Vinicius
c088f2be50
Elasticsearch: Rename public/app/plugins/datasource/elasticsearch/language_provider.ts to follow convention ( #55430 )
2022-09-20 11:34:07 +02:00
Sonia Aguilar
4270e5606c
Alerting: Fix enter key 'clicking' first button on form ( #55222 )
...
* Add type='button' in button used in Heading component to prevent having the default value ='submit'
* Add type='button' for buttons used in form when grafana-managed alert type is selected
* Add type='button' for buttons used in form when mimir-or-loki alert type is selected
2022-09-20 11:02:41 +02:00
Konrad Lalik
20e6e0d593
Alerting: Fix default query's data source when no default datasource specified ( #55435 )
2022-09-20 10:43:39 +02:00
Erik Sundell
caba98590d
Cloudwatch: Break out resource requests from datasource file ( #55358 )
...
* break out resource requests from datasource file
* fix lint issues
2022-09-20 07:50:54 +02:00
Guilherme Caulada
3b1fc18692
PublicDashboards: Ignore time range input and changes on public dashboard ( #55412 )
...
* Ignore time range input and changes on public dashboard
* Use config instead of getConfig to access boot config
2022-09-19 15:16:27 -03:00
Torkel Ödegaard
d5e4b08a3a
DashNav: Fixes missing key warning caused by public dashboard tag ( #55336 )
2022-09-19 17:01:14 +02:00
Jack Westbrook
db17a88193
Plugins: Expose emotion/react to plugins to prevent load failures ( #55297 )
2022-09-19 16:54:13 +02:00
Kristina
273ff02dde
Explore: Add error handling function when retrieving datasource ( #55055 )
...
* Use datasource function with error handling
* Check datasource exists when validating query, add test
* Add mock to test that now requires it
* Add comment explaining verbose validity logic
2022-09-19 09:43:16 -05:00
Sonia Aguilar
e677afabdf
Use GrafanaAlertStateDecision.Error instead of Error string in RuleEditor test ( #55385 )
2022-09-19 15:04:24 +02:00
Torkel Ödegaard
2916b483eb
Update a few more pages to use navId instead of navModel from store ( #55342 )
2022-09-19 13:21:41 +02:00
kay delaney
64bbb7a7ce
Chore: Update and enforce usage of typed react-redux hooks ( #55349 )
...
* Chore: Update and enforce usage of typed react-redux hooks
2022-09-19 10:49:35 +01:00
Sven Grossmann
a3ff758874
ElasticSearch: Fix dispatching queries at a wrong time ( #55225 )
...
* Loki: Fix running queries without an `expr`
* rever previous change
* only dispatch `initQuery` if the DS is uninitialized
* moved `isUninitialized` to static var
2022-09-19 11:45:21 +02:00
George Robinson
4a1ca7e32f
Alerting: Change default alert state to Error on execution error or timeout ( #55345 )
2022-09-19 10:42:04 +01:00
Gábor Farkas
1ee6a1f7c2
Logs: move logs-components from grafana-ui to grafana-main ( #55041 )
...
* logs: added a copy of the grafana-ui logs-files
* fix: added the ansicolor package to the main grafana package
* logs-components: import things from grafana-ui
* import from local files
* logs-components: other fixes
* add betterer-exceptions
* apply updates from grafana-ui package
2022-09-19 10:51:46 +02:00
Yaelle Chaudy
1e9f5a5080
Azure Monitor: Fix migration issue with MetricDefinitionsQuery template variable query types ( #55262 )
...
* updated imported dashboards
* Adds check for MetricDefinitionsQuery in migration
* Removed delete from migratio
* switched back to const for migratedQ
* Added depreacted to MetricDefinitionQuery
2022-09-19 10:32:27 +02:00
Erik Sundell
469f915b8c
CloudWatch: Enable feature adoption tracking in the plugin ( #54299 )
...
* improve typing for DashboardLoadedEvent
* cleanup
* add cloudwatch tracking event
* add test
* revert test change
* fix typo
* remove optional
* pr feedback
* reactor test
* revert changes to api and azure
* cleanup
* refactoring test
* pr feedback
2022-09-19 08:53:42 +02:00
Erik Sundell
7bca193ecd
CloudWatch: Refactoring - decouple logs and metrics in datasource file ( #55079 )
...
* break out query execution related logic
* betterer fixes
* remove unused
* cleanup
* remove unused variables
* remove not used file
* fix broken test
* pr feedback
* add comments
2022-09-19 08:50:41 +02:00
Leo
1a0cbdeabe
Navigation: Add help menu to top search bar ( #55062 )
...
* add help menu to top search bar
* fixes
* handle preventDefault in node graph specifically
* use icon prop of MenuItem
* undo changes to ContextMenuPlugin/DataLinksContextMenu
* remove unused component
* revert storybook changes
* Tweaks
* remove unused style
* stop propagation on the header so version can be highlighted
* make sure useContextMenu has the exact same logic as before
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-09-17 18:17:00 +02:00
Ryan McKinley
17b2fb04e8
DashboardQuery: Expand query options ( #53998 )
2022-09-16 13:28:47 -04:00
Joao Silva
bf5b21563c
StatPanel: Add padding between horizontal name and value ( #55299 )
2022-09-16 17:53:09 +01:00
Ryan McKinley
0c4d181d1e
SupportSnapshots: Rename to "Get help" ( #55206 )
2022-09-16 08:51:14 -07:00
GitStart
46f0672215
Loki: Remove hardcoded values for parsed query parts ( #54755 )
...
Co-authored-by: Nitesh Singh <nitesh.singh@gitstart.dev>
Co-authored-by: gitstart <gitstart@users.noreply.github.com>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>
Co-authored-by: Murilo Amaral <87545137+MuriloAmarals@users.noreply.github.com>
Co-authored-by: gitstart <gitstart@gitstart.com>
Co-authored-by: Matheus Benini Ferreira <88898100+MatheusBeniniF@users.noreply.github.com>
Co-authored-by: Matheus Benini <matheus_benini@hotmail.com>
Co-authored-by: Rubens Rafael <70234898+RubensRafael@users.noreply.github.com>
Co-authored-by: Júlio Piubello da Silva Cabral <julio.piubello@gitstart.dev>
Co-authored-by: gitstart <gitstart@users.noreply.github.com>
Co-authored-by: Nitesh Singh <nitesh.singh@gitstart.dev>
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com>
Co-authored-by: Murilo Amaral <87545137+MuriloAmarals@users.noreply.github.com>
Co-authored-by: gitstart <gitstart@gitstart.com>
Co-authored-by: Matheus Benini Ferreira <88898100+MatheusBeniniF@users.noreply.github.com>
Co-authored-by: Matheus Benini <matheus_benini@hotmail.com>
Co-authored-by: Rubens Rafael <70234898+RubensRafael@users.noreply.github.com>
Co-authored-by: Júlio Piubello da Silva Cabral <julio.piubello@gitstart.dev>
2022-09-16 15:35:20 +02:00
Piotr Jamróz
9b4cdfe652
Correlations: Hide Correlations Page behind a feature toggle ( #55224 )
...
* Hide Correlations Page behind a toggle
* Remove redundant defaults
* Ensure top nav is rendered when correlations are disabled
This is for the case when:
[feature_toggles]
topnav = true
2022-09-16 15:14:27 +02:00
Gareth Dawson
5c66c41220
Loki: Remove any type from logsModel.test.ts ( #55287 )
...
* Remove any type from logsModel.test.ts
* Remove duplicate type checks
2022-09-16 12:56:35 +01:00
Ivana Huckova
82a6872f0f
Loki, Prometheus: Remove beta tag from query builder ( #55150 )
2022-09-16 12:31:33 +02:00
GitStart
f26babf484
Loki: Rename public/app/plugins/datasource/loki/query_utils.ts file to follow convention ( #55180 )
2022-09-16 10:16:54 +02:00
Leo
e7ae71a5cc
Navigation: use pagenav and subtitle to the new team page ( #55200 )
...
* added pageNav to new team page
* improve copies
* improve copies
* improve test
2022-09-16 09:32:08 +02:00
Leo
896d684065
Browse: Hide dashboard actions if user does not have enough permission ( #55218 )
...
* hide dashboard actions if user does not have enough permission
* improve test description
2022-09-16 09:19:19 +02:00
Leo
3f413f6f94
Navigation: Use navId and pageNav for Create User page ( #55201 )
...
* added pageNav subttitle and used navid for usercreatepage
* improve subtitle copy and redirected to user page after creation
* improve title copy
* improve copies
* breadcrumbs redirect to users page instead of org
2022-09-16 09:16:26 +02:00
Leo
26e444c194
Navigation: Use navid and pagenav for new org page ( #55203 )
...
* use navid and pagenav for new org page
* Minor tweak
* improve copies
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-09-16 08:56:50 +02:00
GitStart
eb7fe07401
Loki: Rename public/app/plugins/datasource/loki/language_utils.ts file to follow convention ( #55181 )
2022-09-16 08:48:37 +02:00
Ryan McKinley
6947e276d6
Inspect: Hide Actions tab when it is empty ( #55272 )
2022-09-15 22:17:12 -07:00
Brendan O'Handley
331f3e2a58
small fix for new variable editor types ( #55195 )
2022-09-15 11:39:40 -05:00
Jo
3e2e9f93b9
Auth: Allow admins to manually change oauth user role if oauth_skip_org_role_update_sync
is enabled ( #55182 )
...
* Auth: Allow admins to change oauth user info it it's not synced.
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
* Update public/app/features/admin/UserAdminPage.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* Add missing import
* Simplify init
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
* SAML: Add option to skip org role sync (#55230 )
* SAML: Add option to skip org role sync
* Modify frontend accordingly
* Remove update from config option name
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
* Remove update from config option name
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
* Fix typo
Co-authored-by: Jguer <joao.guerreiro@grafana.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
Co-authored-by: gamab <gabi.mabs@gmail.com>
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
2022-09-15 12:06:09 -04:00
owensmallwood
5121e32722
When generating the pubdash url, use the base url from the Grafana config. This allows the url generation to work in the case that Grafana is hosted on a subpath. ( #55204 )
...
Support subpaths when generating public dashboard url
2022-09-15 09:46:11 -06:00
Sven Grossmann
f1e8a528d1
ElasticSearch: Fix lucene formatted variables being wrongly escaped ( #54981 )
...
* fixed negative numbers are encoded
* Chore: move variableModel to TypedVariableModel
* add tests
2022-09-15 17:18:57 +02:00
Brendan O'Handley
cd6b7ba688
InfluxDB: add scopedVars to tags to fix repeated panels querying all selected variables ( #54934 )
...
* add scoped vars for tags in influx to fix repeated panels
* test for adding scopedVars to tags
2022-09-15 09:29:19 -05:00
Adam Simpson
92857ef331
CloudMonitor: Remove cloudMonitoringExperimentalUI feature flag ( #55054 )
...
* CloudMonitor: remove cloudMonitoringExperimentalUI
* fix: address typecheck errors
* fix: fix SLO import and width cleanup
* fix wrong metricType when switching datasources
* fix: remove legacy SLO and fix queryType check
2022-09-15 14:12:26 +00:00
Joao Silva
13014dc0df
Search: Fixes folder section not displaying dashboards ( #55231 )
2022-09-15 14:00:05 +01:00
Torkel Ödegaard
b8e72d6173
TopNav: KioskMode rewrite move to AppChrome responsibility and make it a global feature ( #55149 )
...
* Initial progress
* Moving keybindingSrv to context
* Simplfy KioskMode
* Removed unused logic
* Make kiosk=tv behave as before but when topnav is enabled
* Minor fix
* Fixing tests
* Fixing bug with notice when entering kiosk mode
* Fixed test
2022-09-15 14:04:58 +02:00
Ryan McKinley
7700b529f9
SupportSnapshots: improved iframe support ( #55059 )
...
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2022-09-14 12:54:09 -07:00
Torkel Ödegaard
d639b5a7f8
Datasources: New data source page should work with new nav ( #55094 )
2022-09-14 21:12:09 +02:00
matt abrams
6f0c4c7f82
Geomap: Add Africa, Australia, Oceania, South Asia, and East Asia as initial view options ( #55142 )
...
* add remaining continents + Asian regions
* capitalize South-East Asia
* Limit max zoom to 4 for view regions
Co-authored-by: drew08t <drew08@gmail.com>
2022-09-14 11:38:35 -07:00
Guilherme Caulada
82708df287
PublicDashboards: Add link to public dashboards docs to sharing modal ( #55186 )
2022-09-14 15:05:15 -03:00
Joao Silva
ca2139e9ce
Search: Avoid requesting all dashboards when in Folder View
2022-09-14 18:51:55 +01:00
juanicabanas
1e06b0170b
PublicDashboards: UI improvements ( #55130 )
...
* Public dashboard modal UI modifications
2022-09-14 14:35:46 -03:00
owensmallwood
deb86e3250
PublicDashboards: Dont support exemplars ( #54933 )
...
Don't support exemplars in public dashboards
2022-09-14 09:49:10 -06:00
Ivana Huckova
926a3396ab
Query patterns: Feature tracking ( #55164 )
...
* Query patterns: Feature tracking before redesign
* Update
2022-09-14 16:52:39 +02:00
Adam Simpson
65bdee3a90
AzureMonitor: Explain custom and metric namespace properties ( #55048 )
2022-09-14 14:28:25 +00:00