Karl Persson
05a683d462
SupportBundles: Fix list response when we don't have any bundles yet ( #61619 )
...
* SupportBundles: Return empty slice instead of nil when there are no
support bundles
2023-01-17 21:04:12 +01:00
Alexander Weaver
1ac89ea040
Alerting: Add client configuration for remote Loki historian backend and test connection ( #61114 )
...
* Create loki client type and ping method
* Expose TestConnection on client
* Configure and ping Loki URL
* Close response body reader if present
* Add 30 second timeout
* Remove duplicate close
2023-01-17 13:58:52 -06:00
Kristin Laemmert
f6e3252c00
chore: move notifications models into notifications service ( #61638 )
2023-01-17 14:47:31 -05:00
Erik Sundell
8c826cd785
Cloudwatch: Cleanup resource api ( #61465 )
...
Co-authored-by: Isabella Siu <isabella.siu@grafana.com>
2023-01-17 14:27:53 -05:00
Matthew Jacobson
23e05373a7
Alerting: Fix flaky TestIntegrationUpdateAlertRules ( #61641 )
...
Prevents random OrgID=0 in test alert generation causing invalid alert rule.
2023-01-17 19:09:46 +00:00
owensmallwood
3fe81b3c3f
PublicDashboards: Add share column to public dashboards table ( #61102 )
...
Adds share column to public dashboards table
2023-01-17 12:18:12 -06:00
Kristina
6ed7c77516
Explore: Add correlation variables for interpolation ( #61008 )
...
* Add correlation variables for interpolation
* Change to only look at relevant field
* Add links ignoring correlation check, add tests
* Add variables for all fields in dataframe, add tests for it, simplify URL expect
2023-01-17 11:12:37 -06:00
Torkel Ödegaard
70f2b01525
Scenes: Cleanups and simplify ( #61579 )
...
* Remove use of Scene / Embedded scene
* Use DashboardScene
* Update scenes package
* Updated scenes
* Updated DashboardScene
* Updates
* Updates
2023-01-17 18:02:46 +01:00
Alexander Zobnin
354342ab26
Support Bundles: Improve creating bundle UX ( #61611 )
...
* Support Bundles: Improve creating bundle UX
* Refactor create bundle page
* Fix typo
* Don't show loading indicaror after deleting bundle
2023-01-17 17:50:14 +01:00
Alexander Weaver
4f1bdc0607
Alerting: Skip flaky test in TestIntegrationUpdateAlertRules ( #61627 )
...
* Skip flaky test
* Add comment
2023-01-17 10:39:16 -06:00
Josh Hunt
daf171820c
CommandPalette: Improve section header styling ( #61584 )
...
* Add border between command palette sections
* make breadcrumbs secondary text color
* Improve comments
2023-01-17 17:34:40 +01:00
Torkel Ödegaard
8620909006
Table: Fixes broken link styles after recent cell options PR ( #61582 )
...
* Table: Fixes broken link styles after recent cell options PR
* Share migration and fix bar gauge as well
* Remove unused import
* Review fixes
* Fixed test
Co-authored-by: Kyle Cunningham <kyle@codeincarnate.com>
2023-01-17 17:08:23 +01:00
Laura Fernández
bb7410aa09
Search: Fix empty folder message showing when by starred dashboards ( #61610 )
2023-01-17 16:35:54 +01:00
Joey Tawadrous
4076933e66
Traces: extra feature tracking ( #61348 )
...
* grafana_traces_service_graph_size
* grafana_traces_trace_view_find_next_prev_clicked
* grafana_traces_trace_view_scroll_to_top_clicked
* grafana_traces_cheatsheet_clicked
2023-01-17 14:43:28 +00:00
ismail simsek
6dcc94ecb2
Prometheus: Add default editor configuration ( #61510 )
...
* Add default editor option in Prometheus configuration
* Small readability improvement
2023-01-17 15:39:15 +01:00
Ana Ivanov
24ef778f4d
Connect Data: Make search bar sticky ( #61529 )
2023-01-17 16:13:05 +02:00
ismail simsek
67c02f660a
Influxdb: Remove backend migration feature toggle ( #61308 )
...
* Remove influxdbBackendMigration feature toggle
* Remove code blocks related to influxdbBackendMigration feature toggle
* Fix annotations
* Remove commented lines
* Fix unit tests
2023-01-17 15:11:26 +01:00
Serge Zaitsev
efed0151f8
Chore: Remove pkg/models/stats.go ( #61613 )
...
* remove pkg/models/stats.go
* rename models package in tests
2023-01-17 14:17:54 +01:00
Andres Martinez Gotor
1b86a49622
AzureMonitor: Adapt ResourcePicker and Advanced components to multiple resources ( #61605 )
2023-01-17 14:11:11 +01:00
Oscar Kilhed
004705a10b
Table Panel: Fix image of image cell overflowing table cell when a data link is added. ( #59392 )
...
* TablePanel: fix image of image cell overflowing table cell when a data link is added
* Fix image cell and gauge panel in respective places instead
2023-01-17 14:05:58 +01:00
Karl Persson
766fa4e7d5
AuthN: Add last seen sync hooks for user and api keys ( #61571 )
...
* AUthN: Add last seen sync hooks for user / service account and move api
key last seen to own hook
* ContextHandler: only run sync for last seen if auth.Service is not
enabled
2023-01-17 13:50:58 +01:00
Hamas Shafiq
ac25913f53
Chore: Convert TimelineViewingLayer.test.tsx
to RTL ( #61056 )
2023-01-17 12:35:36 +00:00
Denis Limarev
e6dee8a723
Perfomance: Preallocate slices ( #61580 )
2023-01-17 11:50:17 +00:00
Andre Pereira
d2a5b9b289
Tempo: Trace View - Search bar to absolute position instead of sticky ( #61324 )
...
* Trace View: Search bar to absolute position instead of sticky
* Fix search bar position to the inside of the trace view panel
2023-01-17 11:42:56 +00:00
Vicky Lee
e7271ee3f1
chore: update CODEOWNERS for Cloud Provider Plugins to Partner Plugins renaming ( #61575 )
...
* chore: update CODEOWNERS for Cloud Provider Plugins to Partner Plugins renaming
* chore: update CODEOWNERS for Cloud Provider Plugins to Partner Plugins renaming
* trigger build
2023-01-17 11:16:18 +00:00
Selene
68f1bfa471
Chore: Update ast to dst ( #61469 )
...
* Update ast to dst
* Sort imports
* Update thema
* Update pkg/codegen/util_go.go
Co-authored-by: sam boyer <sdboyer@grafana.com>
* Move DecoderCompactor into ApplyFuncs
* Remove unnecessary file
* Use dst decorator
* Downgrade parca-dev library
Co-authored-by: sam boyer <sdboyer@grafana.com>
2023-01-17 11:58:08 +01:00
Jo
9e097c531d
SupportBundles: Build tars in memory ( #61581 )
...
* build tar in memory
* match tag
2023-01-17 11:39:59 +01:00
Alex Moreno
be72e570cf
Fix documentation for notification policy object_matchers ( #61602 )
...
* Fix documentation
* Fix grammar
* Update docs/sources/alerting/set-up/provision-alerting-resources/file-provisioning/index.md
Co-authored-by: George Robinson <george.robinson@grafana.com>
Co-authored-by: George Robinson <george.robinson@grafana.com>
2023-01-17 11:37:56 +01:00
Ieva
cd363cb037
RBAC: remove access control mock from org quota tests ( #61574 )
...
* remove ac mock from org quota tests
* fix incorrect expected status code and swap tests to make setup easier
* remove empty line
2023-01-17 10:33:01 +00:00
Sonia Aguilar
04b5e6ed9e
Alerting: Fix group select not being filled by selected folder when creating alert from panel ( #61577 )
...
Add fetchRulerRulesIfNotFetchedYet fetching when results are an empty object
2023-01-17 11:16:54 +01:00
Ieva
9a8c798bae
Docs: add missing plugin roles, actions and scope ( #61182 )
...
* add missing plugin roles, actions and scope
* Update docs/sources/administration/roles-and-permissions/access-control/custom-role-actions-scopes/index.md
Co-authored-by: Alyssa Wada <101596687+alyssawada@users.noreply.github.com>
* Update docs/sources/administration/roles-and-permissions/access-control/custom-role-actions-scopes/index.md
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
Co-authored-by: Alyssa Wada <101596687+alyssawada@users.noreply.github.com>
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2023-01-17 10:03:31 +00:00
Ieva
f44bc0dd6b
RBAC: use scope reduction for user permission listing ( #61583 )
...
use scope reduction for user permission listing
2023-01-17 09:58:40 +00:00
Victor Marin
b5383b7d05
Barchart: Fix erroneous tooltip value ( #61455 )
...
Fix Barchart tooltip value issue
2023-01-17 11:30:30 +02:00
Karl Persson
b44b6fc5c6
AuthN: Add auth proxy client ( #61555 )
...
* AuthN: set up boilerplate for proxy client
* AuthN: Implement Test for proxy client
* AuthN: parse accept list in constructor
* AuthN: add proxy client interface
* AuthN: handle error
* AuthN: Implement the proxy client interface for ldap
* AuthN: change reciever name
* AuthN: add grafana as a proxy client
* AuthN: for error returned
* AuthN: add tests for grafana proxy auth
* AuthN: swap order of grafan and ldap auth
* AuthN: Parse additional proxy headers in proxy client and pass down
2023-01-17 10:07:46 +01:00
Torkel Ödegaard
c1d3b59643
PanelChrome: Simplify props and code a bit ( #61595 )
...
* PanelChrome: Simplify props and code a bit
* Don't set a default empty array for leftItems so we can know user has set it
* fix 'this' is undefined
* add storybook examples of statusMessage; remove SB examples of loadingState === Error; simplify loadingState checks in PanelChrome;
Co-authored-by: polinaboneva <polina.boneva@grafana.com>
2023-01-17 09:52:14 +01:00
Gareth Dawson
54fd1b634f
Loki: Show configured log line limit ( #61291 )
...
* feat: show configured line limit
* test: correct failing test
* refactor: update variable names
* fix: ui renders the wrong value given a falsy value
* refactor: use nullish coalescing operator
2023-01-17 08:45:23 +00:00
Karl Persson
2324597d8d
AuthN: Perform login with authn.Service ( #61466 )
...
* AuthN: Create password client wrapper and use that on in basic auth
client
* AuthN: fix basic auth client test
* AuthN: Add tests for form authentication
* API: Inject authn service
* Login: If authnService feature flag is enabled use authn login
* Login: Handle token creation errors
2023-01-17 09:11:45 +01:00
Selene
0d70eb18ac
Dashboards: Add org_id in dashboards query ( #61542 )
...
* Add org_id in dashboards query
* Update OrgID
* Remove unused orgid
2023-01-16 21:59:43 +01:00
Josh Hunt
665f85cd7e
CommandPalette: Minor usability improvements ( #61567 )
2023-01-16 18:33:46 +00:00
Andreas Christou
f135c6cbf1
Cloudmonitor: Refactor query builder ( #61410 )
...
* Reset filters when service is changed
* Update to reset any query props
* Reset query properties on metric change
* Update tests
* Refresh labels on panel time update
* Review
* Refactor VisualMetricsQueryEditor
- Move any Metrics functionality to VisualMetricsQueryEditor
- Update tests
- Expose timeSrv from datasource
- Update getLabels to make use of provided timeRange
* Review
2023-01-16 17:57:12 +00:00
Torkel Ödegaard
021eda7aad
Scenes: Skip instance of check as it it does not work for apps ( #61576 )
...
* Scenes: Skip instance of check as it it does not work for apps
* remove logging
2023-01-16 18:01:31 +01:00
Andres Martinez Gotor
7a026d90e9
AzureMonitor: Set multiple resources for Logs ( #61545 )
2023-01-16 17:47:27 +01:00
Jo
6fec8fda39
AuthN: Clean errors in user/org sync ( #61560 )
...
* clean errors in user/org sync
* lower logging level for non 5xx errors
2023-01-16 16:37:04 +00:00
Sven Grossmann
82d8b2036f
Logs: Add possibility to download logs in JSON format ( #61394 )
...
* add implementation of `logRowsToReadableJson`
* add test for logRowsToReadableJson
* add json, txt download buttons
* changed downloadmenu to `Menu`
* set closed state when menu closes
* removed unused css
* removed unused imports
* remove isOpen state
* remove unused import
* add tests
* remove untouched file
2023-01-16 17:20:19 +01:00
Alexa V
0eeeeef08b
PanelChrome: Refactor and refine items next to title ( #60514 )
...
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Polina Boneva <13227501+polibb@users.noreply.github.com>
Co-authored-by: polinaboneva <polina.boneva@grafana.com>
2023-01-16 15:56:39 +00:00
Gareth Dawson
8ae4b9060b
Elastic: Change elastic version 8.0+ to be more accurate ( #61379 )
...
fix: change elastic version 8.0+ to be more accurate
2023-01-16 15:54:40 +00:00
Esteban Beltran
4454d5eb49
Build: Fix eslint in file ( #61568 )
2023-01-16 15:42:02 +00:00
idafurjes
7c2522c477
Chore: Move dashboard models to dashboard pkg ( #61458 )
...
* Copy dashboard models to dashboard pkg
* Use some models from current pkg instead of models
* Adjust api pkg
* Adjust pkg services
* Fix lint
2023-01-16 16:33:55 +01:00
Eric Leijonmarck
07bbc0716c
Auth: Fix correct error for updateapikey in context handler ( #61544 )
...
* fix: correct error for updateapikey
* refactor: send the correct err forward
* update: based on review
2023-01-16 15:16:06 +01:00
Alexander Zobnin
997105c20d
Config: Support JSON list syntax ( #61288 )
...
* Config: Separate lists either by spaces or by commas.
* Simplify space separation
* use separate function for the config strings
* Change behavior only if string contains quotes
* add test for invalid string
* Use JSON list syntax
* ignore leading spaces when process list
* Add notes about using JSON lists into the docs
* Fix typo
* Apply suggestions from code review
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-01-16 16:03:20 +03:00