Kat Yang
31630edf0c
Chore: Remove Wrapf ( #50128 )
...
* Chore: Remove Wrapf
* Remove all Wrapf refs
* Remove last Wrapf ref
* Fix lint errors
* Remove Wrap and Wrapf definitions
* Remove unnecessary colon
2022-06-06 22:30:31 +02:00
Joey Tawadrous
56eb131715
Traces: Do not use red in span colors as this looks like an error ( #50074 )
...
* Do not allow red in span colors
* Added test
2022-06-06 18:33:15 +01:00
Joey Tawadrous
d20608ab84
Convert packages/jaeger-ui-components/src/TracePageHeader/TracePageSearchBar.test.js to RTL ( #49992 )
...
* Added new selectors
* Added selector to UIFindInput
* Added selectors to TracePageSearchBar
* Convert tests
* Remove next/prev button test ids
* Remove uiFindInput selector
* Remove tracePageSearchBar selector
* Remove tracePageSearchBarSuffix selector
* Update TraceViewContainer test
2022-06-06 16:31:51 +01:00
Ashley Harrison
6fcb2cd307
remove exported test globals from test/lib/common ( #50256 )
2022-06-06 15:38:37 +01:00
Ashley Harrison
22fbcebabf
Chore: convert DashboardsTable test to RTL ( #50252 )
...
* convert DashboardsTable test to RTL
* ensure render does not throw
2022-06-06 15:27:40 +01:00
renovate[bot]
0c32dec9e2
Update dependency @types/jest to v28 ( #49249 )
...
* Update dependency @types/jest to v28
* modern is now default!
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-06-06 14:45:02 +01:00
Dimitris Sotirakis
7b750cc0f0
Update Golang - bump grabpl and build-container ( #50253 )
2022-06-06 15:38:39 +02:00
Ieva
7c800421d3
RBAC: change migration logic ( #50187 )
...
* change migration logic
* linting
* linting
* fix an issue with the migration logic
* make tests runnable against other DBs
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2022-06-06 13:51:07 +02:00
Alex Khomenko
333e261074
SaveDashboardForm: Ensure saveTimerange is a boolean ( #50228 )
2022-06-06 14:30:41 +03:00
Sriram
a3071b7797
Expression: Filter query, mixed mode fixes and panel error message ( #50218 )
...
* implement filterQuery to support query.hide
* Fixed - expression ds name in mixed mode
* Execute expression query on blur
* show actual error message when ds return Query data error
2022-06-06 11:51:23 +01:00
Andrej Ocenas
37aedd6906
Loki: Add user analytics for query editor mode ( #49619 )
...
* Add reportInteraction call
* Update public/app/plugins/datasource/loki/querybuilder/components/LokiQueryEditorSelector.tsx
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2022-06-06 10:38:45 +02:00
Leon Sorokin
8cdfef4796
HeatmapNG: cell value filtering and color clamping ( #50204 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-06-06 00:21:47 -07:00
Artur Wierzbicki
fac8db8ff6
Previews: update docs for the new search layout ( #50130 )
...
* #44449 : update docs, remove the mention of `Show previews` toggle
* #44449 : remove formatting of `grid`
* #44449 : review
* review https://github.com/grafana/grafana/pull/50130#discussion_r888449621
2022-06-06 11:09:16 +04:00
Gábor Farkas
f8eb3c8720
Revert "Loki: do not produce histogram for instant queries ( #50019 )" ( #50182 )
...
This reverts commit b0925ed4ee
.
2022-06-06 08:57:36 +02:00
Leon Sorokin
e3815111ea
Chore: uPlot 1.6.21 ( #50223 )
2022-06-06 01:42:48 -05:00
Alexander Emelin
da49f907bb
SearchV2: explicit dashboard loading order and cleanups ( #50210 )
2022-06-05 23:46:35 +02:00
Todd Treece
4aa5e7e69e
Prometheus: Fix resource call panic ( #50216 )
2022-06-05 14:18:26 -04:00
Jean-Philippe Quéméner
4b8a4449ed
Alerting: remove feature toggle for provisioning API ( #50167 )
...
* Alerting: remove feature toggle for provisioning API
* remove missed code parts
* remove unused import
* remove empty line
* mark routes as stable
2022-06-05 07:45:36 +02:00
Jean-Philippe Quéméner
4cc8c6f745
Alerting: Add provenance guard to config api ( #50147 )
...
* Alerting: add provenance guard to config api
* add tests
* only guard if config valid
* adapt error message
* simplify logic
* rename arguments
* make logic more straight forward
* rename opt to options
* remove useless maps
2022-06-04 14:55:46 +02:00
Jean-Philippe Quéméner
0cec12b8a9
strip null from new heatmap dashboard definition ( #50208 )
2022-06-04 14:32:19 +02:00
Tania
4f8111e24e
Encryption: Fix multiple data keys migration ( #49848 )
...
* Add migration
* Migrator: Extend support to rename columns
* Fix getting current key
* Fix column name in migration
* Fix deks reencryption
* Fix caching
* Add back separate caches for byName and byPrefix
* Do not concatenate prefix with uid
* Rename DataKey struc fields
* SQLStore: Add deprecation comments for breaking migrations
* Add comment
* Minor corrections
Co-authored-by: Joan López de la Franca Beltran <joanjan14@gmail.com>
2022-06-04 12:55:49 +02:00
Jean-Philippe Quéméner
8de4ffe61f
Alerting: only delete mute time if not used by route ( #50193 )
...
* Alerting: only delete mute time if not used by route
* add a testcase
* import package only once
* replace apimodels with definitions
2022-06-04 07:48:24 +02:00
Ryan McKinley
fd34700225
HeatmapNG: add log scale calculation ( #49969 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2022-06-03 21:02:44 -05:00
Joan López de la Franca Beltran
219e848e73
SQLStore: Prevent migration_id duplicates ( #47774 )
...
* SQLStore: Prevent migration_id duplicates
* Migrations: Remove non-executed migration (duplicated id)
Co-authored-by: Leonard Gram <leo@xlson.com>
2022-06-04 01:59:49 +02:00
Kyle Cunningham
12ba2d6b8b
State Timeline: Fix Null Value Filling and Value Transformation ( #50054 )
2022-06-03 16:22:57 -05:00
Alexander Emelin
d2868a1ce7
SearchV2: instant local updates, folder events ( #50001 )
2022-06-03 13:11:32 -07:00
Yuriy Tseretyan
49d93fb67e
Alerting: Update alert rule diff to not see difference between nil and empty map ( #50192 )
2022-06-03 21:27:29 +02:00
Stephanie Closson
53ee72d15d
Prometheus: Migrate metadata queries to use resource calls ( #49921 )
...
* Sent resource calls for metadata to the backend
* moved resource calls to the backend
* code review feedback
* fixed post with body
* statuscode >= 300
* cleanup
* fixed tests
* fixed datasource tests
* code review feedback
* force some other endpoints to only GET
* fix linting errors
* fixed tests
* was able to remove section of redundant code
* cleanup and code review feedback
* moved query_exemplars to get request
* fixed return on error
* went back to resource calls, but using the backendsrv directly
* moved to a resource call with fallback
* fixed tests
* check for proper messages
* proper check for invalid calls
* code review changes
2022-06-03 15:56:13 -03:00
Jean-Philippe Quéméner
d2f3631a47
Alerting: add mute timings provenance to config api ( #50149 )
2022-06-03 19:32:31 +02:00
Joan López de la Franca Beltran
5f1305d280
SQLStore: Add deprecation comments for breaking migrations ( #49740 )
...
* Migrator: Extend support to rename columns
* SQLStore: Add deprecation comments for breaking migrations
2022-06-03 17:42:08 +02:00
Marcus Efraimsson
36c3398c6d
Datasource: Remove support for unencrypted passwords ( #49987 )
...
* Datasource: Remove support for unencrypted passwords
* regenerate swagger
* [WIP] Remove references to datasource password and basic auth password fields (#50015 )
* try delete moar tings
* delete provisioning stuff
* remove from yaml
* update snapshots
* remove lingering snapshot fields
* fix ds http settings
* Re-generate swagger and fix swagger-api-spec make target
Co-authored-by: Will Browne <will.browne@grafana.com>
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2022-06-03 17:38:22 +02:00
Maria Alexandra
b344f48e68
SearchV2: Fix Move and Delete not updating list in folder view ( #49524 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2022-06-03 17:33:04 +02:00
Ryan McKinley
1a324b3330
SearchV2: add CTA and reporting to new search UI ( #50175 )
2022-06-03 17:22:17 +02:00
Tania
7a614fd8a1
Encryption: Stop decrypting EE encrypted secrets with legacy encryption ( #50090 )
2022-06-03 17:06:00 +02:00
Yuriy Tseretyan
c85567f490
fix logging of resolving scopes ( #50173 )
2022-06-03 10:53:53 -04:00
Alexander Weaver
67290aa49f
Alerting: Add version segment to all provisioning routes ( #49121 )
...
Co-authored-by: Jean-Philippe Quémémer <jeanphilippe.quemener@grafana.com>
2022-06-03 16:45:08 +02:00
Peter Holmberg
b1e1a97c63
Alerting: Make folder filter clearable in Alert list panel ( #50093 )
2022-06-03 15:43:29 +02:00
Gilles De Mey
e6ceee501f
Alerting: Use correct permission scope for external AM updates ( #50159 )
...
Co-authored-by: konrad147 <konrad.lalik@grafana.com>
2022-06-03 15:12:34 +02:00
Konrad Lalik
7a56097b13
Alerting: Fix folder filtering for existing alert rule ( #50156 )
2022-06-03 15:09:27 +02:00
Todd Treece
64d93498de
Chore: Update grafana-plugin-sdk-go to v0.136.0 ( #50127 )
2022-06-03 08:25:52 -04:00
Copolycube
31a4d97b05
update defaults.ini to add role_attribute_path ( #49147 )
...
cf. https://community.grafana.com/t/grafana-gitlab-oauth-env-variable-not-recognized/65039
and https://github.com/grafana/grafana/issues/48637
2022-06-03 13:07:39 +02:00
Will Browne
7536647ab6
Plugins: Introduce Plugin Registry ( #47200 )
...
* introduce registry write/read separation
* internal + external registries
* fix tests
* fixup
* rename
* move interfaces
* back to plugins.Store
* fix registry name
* remove context.TODOs
* remove some ctx for now
* tidy
* remove dupe logic
* update naming
* move from manager.go to store
* amend logger name
* new store writer svc
* restrict changes
* more simplifying
* move interfaces around
* remove unused
* fix linter
* tidy
* add registry test
* fix tests
* revert testdata changes
* revert testdata changes #1
* revert testdata changes #2
* revert testdata changes #3
* revert testdata changes #4
* revert testdata changes #5
* revert testdata changes
* fixup testdata
* remove unused log
* update naming in test
* adjust ctx in test
2022-06-03 13:06:27 +02:00
Gabriel MABILLE
6c7b6a7c34
auth.gitlab: account for role_attribute_path_strict ( #50088 )
2022-06-03 13:05:20 +02:00
Sofia Papagiannaki
a165b40e56
API: Fix swagger generation ( #50071 )
...
* API: Fix Swagger generation using docker
* Unset SWAGGER_GENERATE_EXTENSION for Mac
2022-06-03 13:31:14 +03:00
Konrad Lalik
573e121a67
Alerting: Prevent query wrapper recreation on drag/drop ( #50142 )
2022-06-03 12:07:33 +02:00
Joey Tawadrous
9d5c0bec0f
Tempo: Add link to Tempo Search with node service selected ( #49776 )
...
* Node to tempo search with service selected
* Tests
* Update link text
* Update test
2022-06-03 10:38:13 +01:00
Gábor Farkas
6011c373ae
loki: handle ad hoc filters in backend mode ( #50135 )
...
* loki: handle ad hoc filters in backend mode
* devenv: better loki fake data
* added test
2022-06-03 10:53:03 +02:00
Jean-Philippe Quéméner
468ed68d64
Alerting: allow custom UID for contact points through API ( #50089 )
...
* Alerting: allow custom UID for contact points through API
* fix auth
2022-06-03 10:33:47 +02:00
Alex Khomenko
d3adc42e6e
Service accounts: Use new icon ( #50140 )
2022-06-03 11:23:19 +03:00
Jack Westbrook
691a597f43
Plugins Catalog: Make tabs position consistent with other Grafana pages ( #49997 )
2022-06-03 10:01:14 +02:00