Ryan McKinley
2c75a51285
Schema: Move TeamDTO properties out of the resource ( #68155 )
2023-05-22 11:30:36 -07:00
Ieva
d54fa569ec
Chore: Remove legacy AC checks from team ( #68715 )
...
* removing legacy AC checks from team API handlers
* Chore: remove `UserIDFilter` from team queries (#68820 )
* remove userIDfilter from team queries in favour of RBAC SQL filtering
* fix typo
* remove redundant tests
* remove another unused function
* fix failing test
2023-05-22 18:41:53 +02:00
Andreas Christou
108acee08e
CloudMonitoring: Initial GCM Schema ( #67739 )
...
* Initial GCM schema work
- Split types for convenience
- Update conditionals where needed
- Update type references
* Add additional supporting types
* Add some more accessory and legacy types
* Add missing type
* Rename backend folder
* Add missing generated file
* Review
2023-05-22 17:19:54 +01:00
ismail simsek
670c987409
Prometheus: Update schema with legendFormat and intervalFactor ( #68687 )
...
add legendFormat and intervalFactor to the schema
2023-05-22 16:20:15 +02:00
Victor Marin
6dbadf614b
Datagrid: Hide from panel list if toggle disabled ( #68482 )
...
Hide datagrid from panel list if ff disabled
2023-05-22 15:34:41 +03:00
Jo
05e71d4c6b
AnonymousAuth: Fix concurrent read-write crash ( #68637 )
...
clone http req before tagging
2023-05-22 13:27:28 +02:00
Andreas Christou
bca8428f63
AzureMonitor: Support multi-resource aliases and subscription aliases ( #68648 )
...
Update legend aliases
- Add subscription response type
- Update AzureMonitorQuery type
- Update docs
- Update tests
- Add function to retrieve subscription display name if not present
2023-05-22 11:03:43 +01:00
Ryan McKinley
a7cec6dd03
Docs: Fix feature toggle docs generation ( #68733 )
2023-05-18 13:03:16 -07:00
Alyssa Bull
dfc2ac284b
Azure Monitor: Fix bug with top value so more than 10 resources can be shown ( #68333 )
2023-05-18 10:50:48 -06:00
Sofia Papagiannaki
633b7875e7
Chore: Ignore unique constrain failure when creating the main organization ( #68644 )
...
Chore: Ignore unique constrain failure when creatin the main organization
2023-05-18 11:26:29 +03:00
Andres Martinez Gotor
b7ca2d89b1
Chore: Update ProtonMail/go-crypto ( #68641 )
2023-05-18 09:52:31 +02:00
Eric Leijonmarck
6a2bcba078
Revert: Allow editors to access GET /datasources ( #68632 )
...
Revert "Allow editors to access GET /datasources"
This reverts commit 5a830c43c0
.
2023-05-17 18:24:18 +01:00
Gabriel MABILLE
3ffff632be
RBAC: Refine validation of external services permissions ( #68633 )
...
* RBAC: Refine validation of external services permissions
* Forgot to log the ext-id
2023-05-17 16:28:14 +02:00
Ivana Huckova
ee9620e4e0
Logs: Fix unresponsive log lines if duplicate ids in Elasticsearch ( #68569 )
...
* Logs: Fix duplicate uids by appending series refIds
* Fix id generation in loki live streams to be consistent
* Update public/app/core/logsModel.ts
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
* Fix test
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2023-05-17 16:28:25 +03:00
Gábor Farkas
fcef387151
Elasticsearch: Handle no-index case in backend mode ( #68534 )
...
* elastic: backend migration: fix no-index case
* improved code
2023-05-17 15:24:46 +02:00
Ivana Huckova
dbbbc46351
Elasticsearch: Fix passing of limit and datalinks to logs data frame ( #68554 )
...
* Elasticsearch: Fix passing of limit and datalinks to logs data frame
* Update public/app/core/logsModel.ts
Co-authored-by: François Massot <francois.massot@gmail.com>
---------
Co-authored-by: François Massot <francois.massot@gmail.com>
2023-05-17 14:28:32 +02:00
Ivan Ortega Alba
1505a188eb
Dashboards: Remove no-datasource screen ( #68574 )
...
* Dashboards: Remove non-ds configured landing page
* Remove `datasourceOnboarding` feature toggle
2023-05-17 14:22:40 +02:00
Will Browne
bb6ec1470d
Plugins: Correct the usage of mutex for gRPC plugin implementation ( #68555 )
...
correct usage of mutex
2023-05-17 11:50:25 +02:00
Torkel Ödegaard
3ffbd2a1db
Preferences: Fixing preference PUT validation ( #68557 )
2023-05-16 19:38:51 +02:00
Nathan Marrs
8390fcc80f
Chore: Remove alpha icon panel ( #68573 )
2023-05-16 10:32:25 -07:00
Andreas Christou
bf75969794
AzureMonitor: Traces updates ( #68462 )
...
* Use fully qualified resource identifiers
* Add additional data link to explore parent span
* Correctly order links to not break trace logs functionality
2023-05-16 18:30:09 +01:00
Sofia Papagiannaki
14fb4ff779
API: Add deprecation notice for updating folder UID ( #68543 )
...
* API: Add deprecation notice for updating folder UID
2023-05-16 18:28:18 +03:00
Gábor Farkas
6189f48be7
elastic: more tests ( #68533 )
...
* elastic: more tests
* fix lint error
2023-05-16 17:09:09 +02:00
Isabella Siu
800f733024
OpenSearch: remove unused version detection toggle ( #68496 )
2023-05-16 10:22:23 -04:00
Sofia Papagiannaki
d458292b66
Nested folders: Allow renaming a folder multiple times ( #68379 )
...
Return folder version in response that is required for updating
the entry in the dashboard table.
2023-05-16 16:41:14 +03:00
Gabriel MABILLE
d7eea0d207
RBAC: Add a function to delete external service roles ( #68317 )
...
* RBAC: Add function to delete external service roles
* Adding a test to the service
* Update pkg/services/accesscontrol/acimpl/service_test.go
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2023-05-16 15:01:27 +02:00
Isabella Siu
0612f1f87a
Cloudwatch Logs: Ignore non-time grouping fields in expressions and alerts ( #67608 )
2023-05-16 08:58:04 -04:00
sam boyer
33fd83f7e3
kindsys: Adapt to new PanelCfg schema interface ( #65297 )
...
* kindsys: Adapt to new PanelCfg schema interface
* building locally
* Remove Panel prefix in cue files
* Regenerate
* Update imports
* fixup! Merge branch 'remove-panel-prefix' into sdboyer/redundant-panelcfg-prefixes
* Fix formatting
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
Co-authored-by: Tania B <yalyna.ts@gmail.com>
2023-05-15 23:07:54 -04:00
Yuri Tseretyan
d3ae8df357
Chore: Test datasource to support template $seriesIndex in label values ( #68497 )
...
* update test datasource to support template $seriesIndex in label values
* prettier
---------
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2023-05-15 17:47:40 -04:00
Sergey Kostrukov
eafba8fa69
Azure: Configuration for user identity authentication in datasources (Experimental) ( #50277 )
...
* Configuration for user identity authentication
* Use token endpoint form Azure AD settings
* Documentation update
* Update Grafana Azure SDK
* Fix secret override
* Fix lint
* Fix doc wording
2023-05-15 18:00:54 +01:00
Jo
5ec0f82baa
Separate authn flow from analytics ( #68327 )
...
* separate authn flow from analytics
* lint fix
2023-05-15 18:38:54 +02:00
Yuri Tseretyan
ab5a3820d5
Alerting: Fix status code of successful response POST /api/alertmanager/grafana/api/v2/silences in swagger specs ( #67951 )
...
* update status code to reflect reality
* update docs
2023-05-15 11:23:30 -04:00
Ivan Ortega Alba
ede8df846e
Add/Edit Panel: Enable new DS picker toggle by default ( #68380 )
...
* Add Panel: Enable new DS picker and onboarding DS prompt
* Add e2e selectors
2023-05-12 17:09:30 +02:00
Eric Leijonmarck
1a79c8a601
Settings: Add ability to override skip_org_role_sync
with Env variables ( #68364 )
...
Switch to using the SectionsWithOverride for settings for skip org role sync
2023-05-12 13:45:31 +01:00
Giuseppe Guerra
16359c82a2
Plugins: Angular deprecation: Detect Angular plugins and expose in API ( #66824 )
...
* Plugins: Angular deprecation: Detect Angular plugins and expose in API
* Plugins: Angular detector: Close module.js
* Plugins: Angular detector: consistent error messages
* Plugins: Angular detector: Add test for missing module.js
* Plugins: Angular detector: Fix integration tests
* Plugins: Angular detector: Changed Angular detection patterns
* Moved inMemoryFS to test_utils.go
* Add different angular detectors
* Plugins: Update plugins/data/expectedListResp.json
* Plugins: Rename angular property to angularDetected
* Plugins: Rename angular to angularDetected in Plugin and PluginDTO
* Plugins: Add angularDetected to datasources, apps and plugins frontendsettings
* Plugins: Add test for AngularDetected frontend settings
2023-05-12 12:51:11 +02:00
Giordano Ricci
df33a1df32
Explore: Promote exploreMixedDatasource to Stable & enable by default ( #68300 )
2023-05-12 09:19:21 +01:00
Ezequiel Victorero
11c388a10f
PublicDashboards: change wording and FF to public preview state ( #68262 )
2023-05-11 15:31:19 -03:00
Andrej Ocenas
8da90f624d
Pyroscope: Add authentication when calling backendType resource API ( #67667 )
2023-05-11 16:07:49 +02:00
Misi
43be4f095a
Auth: Add alpha version of the Extended JWT client ( #67999 )
...
* initial commit
* Add tests, add configuration options
* Extend signingkeys.Service with GetServerPublicKey method
* Add, cleanup tests
* Add tests for entitlements claim
* Fix linting errors
* Suggestion to use a struct to extend the claims
(cherry picked from commit 8078b99f1d57c9426a15693d850c1ca5f0432cbe)
* Add requested changes
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
* Add test for orgID check
* Cleanup
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2023-05-11 15:12:53 +02:00
Sanghyuk Chris Lee
b10b290213
API: Fix status code when starring already starred dashboard ( #63478 )
...
Fixes #63133
2023-05-11 11:37:36 +03:00
Eric Leijonmarck
c3a0b75357
RBAC: refactoring alertingQuery to remove OrgRole check ( #67808 )
...
* WIP
* tests passing
2023-05-11 09:04:22 +01:00
Adam Simpson
6008296fb7
Google Cloud Monitor: send ServerTiming and metricDescriptors ( #67873 )
...
* CloudMonitor: send ServerTiming and metricDescriptors
* fix lint
2023-05-10 19:08:46 +00:00
Brian Gann
8cd4866df7
Plugins: display plugin id and url when it fails to install ( #67336 )
...
* display plugin id and url when it fails to install
* Update pkg/plugins/repo/client.go
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
2023-05-10 18:14:40 +03:00
Torkel Ödegaard
f8cf67347f
Themes: Adds support for extraThemes (behind feature toggle) ( #67981 )
...
* Foundations to support more themes
* Fixes
* add another test theme
* Refactorings
* more refactoring
* Update
* Fixing tests
* Fix
* Update
2023-05-10 15:37:04 +02:00
Sofia Papagiannaki
d883404f50
Nested folders: Fix missing URL from folder responses ( #68082 )
...
* Nested folders: Set URL in folder responses always
* Apply suggestions from code review
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>
2023-05-10 16:20:16 +03:00
Ieva
e51b92991d
Folders: return an error when listing folders if permission guardian returns an error ( #68109 )
...
return an error when listing folders if perm gaurdian returns an error
2023-05-10 14:05:53 +01:00
Emil Tullstedt
23a9963507
Chore: Upgrade Prometheus to 2.43.0 ( #67853 )
...
- github.com/prometheus/prometheus => 2.43.0 (aka 0.43.0)
- github.com/prometheus/client_golang => 1.15.1
2023-05-10 14:09:49 +02:00
Emil Tullstedt
b0e681c339
Chore: Update target in go.mod to 1.20 and golangci-lint to v1.52.2 ( #67102 )
2023-05-10 13:47:35 +02:00
Alexander Zobnin
0b6ae0d119
Settings: Do not hide sensitive values if it's empty ( #68088 )
...
* Settings: Do not hide sensitive values if it's empty
* Fix implementation
* Add tests for RedactedValue function
2023-05-10 12:30:50 +02:00
Andreas Christou
e059ce9c8a
AzureMonitor: Correctly set resource parameter for Logs queries ( #68133 )
...
* Update to ensure the resources parameter is passed through for logs queries only
* Use string slices for resources to ensure order remains the same
* Fix lint
* clarify test
2023-05-10 13:27:02 +03:00