Giuseppe Guerra
ab4fc07cc7
Plugins: Add statusSource to partial data response error log ( #78057 )
...
* Plugins: Add statusSource to partial data response error log
* Introduce DefaultStatusSource
* Add StatusSourceFromPluginErrorSource
* Moved StatusSourceFromPluginErrorSource
* Update pkg/services/pluginsintegration/clientmiddleware/logger_middleware.go
2023-11-14 16:27:48 +02:00
Ashley Harrison
e389ffa137
Chore: only show short commit hash in the help menu ( #78038 )
...
only show short commit hash in the help menu
2023-11-14 13:22:46 +00:00
Andres Martinez Gotor
fcc2f01c7e
Chore: Update otel deps ( #78069 )
...
Co-authored-by: Giuseppe Guerra <giuseppe@guerra.in >
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
2023-11-14 14:14:15 +01:00
Santiago
4a152a0e35
Alerting: Add lifecycle methods to the forked Alertmanager ( #77741 )
...
* Alerting: Add an empty Forked Alertmanager
* Alerting: Add methods for silences to the forked Alertmanager
* check for errors in tests
* make linter happy
* Alerting: Add methods for alerts to the forked Alertmanager
* Alerting: Add methods for receivers to the forked Alertmanager
* Alerting: Add TestTemplate method to the forked Alertmanager
* make linter happy
* separate into both forked AMs
* fix tests
* Alerting: Add lifecycle methods to the forked Alertmanager
2023-11-14 11:17:17 +01:00
Will Browne
26bcfe300f
Plugins: Follow root level dist and siblings when walking file system ( #78042 )
...
* simplify
* add comments
* tidy up
* remove line
* update comment
* fix pfs test
* fix err import
* delete code
2023-11-14 10:31:46 +01:00
Ryan McKinley
ea37a116f7
K8s: expose namespace in frontend_settings ( #78090 )
...
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com >
2023-11-14 06:34:09 +02:00
Ryan McKinley
1be1432926
K8s: Add subresource to the example apiserver ( #78030 )
2023-11-14 05:51:58 +02:00
Ryan McKinley
a2a6f9a6d8
K8s: Update comments and structure to help a security review ( #77881 )
2023-11-13 12:51:41 -08:00
Ryan McKinley
dec9a07738
Settings: Actually deprecate access to feature flags ( #78073 )
2023-11-13 11:39:01 -08:00
Ryan McKinley
3509a5abb9
FeatureFlags: Cleanup usage of cfg.IsFeatureToggleEnabled ( #78014 )
2023-11-13 07:55:15 -08:00
Marcus Efraimsson
2b146b97b4
Plugins: Remove usage of deprecated folder id ( #78061 )
2023-11-13 16:49:28 +01:00
Gabriel MABILLE
fe8d0e6381
ExtSvcAuth: Refactor external service registry to use ExternalServiceRegistry variables ( #78056 )
...
ExtSvcAuth: Refactor external service registry to use ExternalServiceRegistry
2023-11-13 16:23:11 +01:00
Ryan McKinley
55d61c93d2
K8s: Upgrade to v0.28.3 ( #78033 )
2023-11-13 06:53:24 -08:00
Ryan McKinley
ad44164910
Preferences: Remove SQLX backing store ( #78015 )
2023-11-13 06:22:22 -08:00
Will Browne
4299efbc56
Plugins: Expose PID through proto interface ( #77821 )
...
* expose PID thru interface
* apply PR feedback
* simplify
* add read lock
2023-11-13 14:41:53 +01:00
Fabrizio
edde17741d
Fix trace ID in error message ( #78041 )
2023-11-13 14:31:19 +01:00
Gabriel MABILLE
20a2840046
Plugin: Remove external service on plugin removal ( #77712 )
...
* Plugin: Remove external service on plugin removal
* Add feature flag check in the service registration service
* Initialize map
* Add HasExternalService as suggested
* Commit suggestion
Co-authored-by: linoman <2051016+linoman@users.noreply.github.com >
* Nit on test.
Co-authored-by: linoman <2051016+linoman@users.noreply.github.com >
---------
Co-authored-by: linoman <2051016+linoman@users.noreply.github.com >
2023-11-13 13:18:13 +01:00
Ieva
eca45f6492
Chore: remove gcomOnlyExternalOrgRoleSync feature toggle ( #78001 )
...
remove gcomOnlyExternalOrgRoleSync feature toggle
2023-11-13 09:56:02 +00:00
Gábor Farkas
fe18c63204
mysql: do not import httpClient from core grafana ( #77628 )
...
mysql: do not use core-only exports
2023-11-13 10:25:19 +01:00
ismail simsek
b607a4e0a2
Prometheus: Fix $__rate_interval calculation ( #77234 )
...
* Remove unused param
* simple unit test
* rename
* rename
* add some comments
* Update values
* refactor
* rename
* always calculate rate interval
* fix unit tests
* Fix indentation
* linter fix
* update test
* Fixing issues with the calculation
* new test
* fix $__interval interpolation
* fix test
* add comment
2023-11-13 10:13:07 +01:00
Torkel Ödegaard
4bc322ca1d
DashboardScene: Pass panel id to PanelProps.id ( #77927 )
...
* Panel props id
* Removing panel works
* Update
2023-11-13 09:51:21 +01:00
Gábor Farkas
2d391c1bf5
postgresql: change plugin id ( #77444 )
...
* postgres: change plugin id
* fixed cue file
* codeowners update
* fixed backend test
2023-11-13 08:49:26 +01:00
Ryan McKinley
675e946b40
SQLX: Remove two unreachable services ( #78016 )
2023-11-12 09:29:14 -08:00
Ivana Huckova
8cd8eb7882
Revert "Loki: Add error source to DataQuery ( #77876 )" ( #78006 )
...
This reverts commit 934456dc1c .
2023-11-10 17:03:59 +01:00
Marcus Efraimsson
c7442c0fd2
Instrumentation: Check embedded errors in query data response for plugin metrics/logs status label ( #77613 )
...
Check embedded errors in query data response for plugin metrics/logs status label.
Plugin Request Completed log messages are now logged with info level if status=ok,
otherwise error level.
Fixes #76769
2023-11-10 16:55:01 +01:00
Giuseppe Guerra
7b4bcc86f1
Plugins: Pass OTEL sampling config to plugins ( #76834 )
...
* Pass OTEL sampling config to plugins
* fix capital letters
* Do not pass sampler env vars if sampling is not configured
* Add tests
* PR review feedback
* Simplify tracing env vars logic
* Update test to reflect pkg/infra/tracing behaviour
2023-11-10 14:56:08 +01:00
Sonia Aguilar
68e37c3925
Alerting: Adds the new alertingSimplifiedRouting feature toggle ( #77984 )
...
Adds the new alertingSimplifiedRouting feature toggle for the simplified alert routing
2023-11-10 14:14:39 +01:00
Alexander Zobnin
944593c4d5
Team LBAC: Able to configure default rule ( #77946 )
...
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
2023-11-10 12:31:37 +00:00
Tania
6b4337a842
Nested folders: Write to folders table even if the feature toggle is off ( #77788 )
...
* Update folders table even if the feature toggle is off
* Fix failing test
* Apply review feedback
* Revert test changes
2023-11-10 13:03:00 +01:00
Hugo Kiyodi Oshiro
e754c5a6c6
Plugins: Change managed plugins installation call ( #77120 )
2023-11-10 12:28:36 +01:00
Will Browne
7d2d5fbe89
Plugins: Add referer and user login params to plugin CDN redirect logs ( #77942 )
...
add referer and user
2023-11-10 11:52:06 +01:00
Giuseppe Guerra
da117aea1c
Plugins: Allow disabling angular deprecation UI for specific plugins ( #77026 )
...
* Plugins:Allow disabling angular deprecation UI for specific plugins
* add backend test
* changed test names
* lint
* Removed angular properties from DataSourceDTO
* Update tests
* Move angularDetected and hideAngularDeprecation in angularMeta property
* Fix angular property name in AppPluginConfig
* Fix reference to angularMeta.detected
* Fix hide_angular_deprecation not working for core plugins
* lint
2023-11-10 11:44:54 +01:00
Ivana Huckova
934456dc1c
Loki: Add error source to DataQuery ( #77876 )
...
* Loki: Add error source to DataQuery
* Create middlewares to fix healtcheck test
* Add comment for errors from ReadPrometheusStyleResult
2023-11-10 10:26:56 +01:00
Johannes Przymusinski
641a47c71d
Provisioning: Remove trailing space from log message ( #73124 )
...
Remove trailing space from log message
2023-11-10 07:24:35 +00:00
Ryan McKinley
d410ef3439
K8s: Use grafana executable for standalone api service ( #77904 )
...
Co-authored-by: Dan Cech <dcech@grafana.com >
2023-11-09 16:50:27 -08:00
Andreas Christou
8808de0b45
AzureMonitor: Improve error handling and update tests ( #77967 )
...
* Improve error handling and update tests
* Assert errors are nil
* Refactor away redundant code
2023-11-09 21:13:07 +00:00
Gilles De Mey
323ee7c38c
Alerting: Remove react-enable ( #77955 )
2023-11-09 18:35:03 +01:00
Alexander Weaver
36dba7584d
grpcserver: Extract existing span context from grpc request metadata prior to span creation ( #77833 )
...
Extract existing span context from grpc metadata
2023-11-09 11:25:19 -06:00
linoman
5bc4f56c79
IAM: Protect external service accounts frontend list page ( #77834 )
...
* Add `isExternal` property to frontend model
* Remove enabled and token buttons for external SA
* Replace trash icon for lock icon for external SA
* Block the role picker for external SA
* Filter SA list using the external filter
* Add only external filter at backend
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2023-11-09 17:45:46 +01:00
Kat Yang
c94410fdee
Chore: Deprecate FolderIds from FindPersistedDashboardsQuery ( #77651 )
...
* Chore: Deprecate FolderIds from FindPersistedDashboardsQuery
* Update pkg/services/dashboards/models.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
---------
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
2023-11-09 11:07:10 -05:00
Kat Yang
1c758ab5f2
Chore: Deprecate folderID from dashboardIdentity ( #77650 )
2023-11-09 10:57:33 -05:00
Kat Yang
4e57324d58
Chore: Deprecate FolderID from GetDashboardQuery ( #77812 )
2023-11-09 10:53:39 -05:00
Andrej Ocenas
494a07b522
Flamegraph: Add collapsing for similar items in the stack ( #77461 )
2023-11-09 15:31:07 +01:00
Santiago
8b751eb216
Alerting: Add TestTemplate method to the forked Alertmanager ( #77577 )
...
* Alerting: Add an empty Forked Alertmanager
* Alerting: Add methods for silences to the forked Alertmanager
* check for errors in tests
* make linter happy
* Alerting: Add methods for alerts to the forked Alertmanager
* Alerting: Add methods for receivers to the forked Alertmanager
* Alerting: Add TestTemplate method to the forked Alertmanager
* make linter happy
* separate into both forked AMs
* fix tests
2023-11-09 12:35:24 +01:00
Matias Chomicki
174c2ab45a
Logs infinite scrolling: create feature flag ( #77885 )
...
logsInfiniteScrolling: create feature flag
2023-11-09 11:54:03 +01:00
Agnès Toulet
bb12fe7d82
UsageInsights: Disable frontend features when backend is disabled ( #77772 )
...
* UsageInsights: Disable frontend features when backend is disabled
* Disable DS insights
* Update doc
* fix linter issue
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2023-11-09 11:53:20 +01:00
Santiago
ba51c371ec
Alerting: Add methods for receivers to the forked Alertmanager ( #77574 )
...
* Alerting: Add an empty Forked Alertmanager
* Alerting: Add methods for silences to the forked Alertmanager
* check for errors in tests
* make linter happy
* Alerting: Add methods for alerts to the forked Alertmanager
* Alerting: Add methods for receivers to the forked Alertmanager
* make linter happy
* separate into both forked AMs
* fix tests
* rename testErr -> expErr
2023-11-09 11:38:16 +01:00
Andres Martinez Gotor
f7361a2755
Chore: Update TestData README ( #77607 )
...
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com >
2023-11-09 10:03:00 +01:00
Ryan McKinley
4b5310dae7
Playlists: Merge the frontend vs backend k8s feature flags ( #77875 )
2023-11-08 21:14:05 +02:00
Ryan McKinley
6ab79a9f2f
K8s: Improve table converter (support non runtime.Object values) ( #77816 )
2023-11-08 10:59:19 -08:00