Brendan O'Handley
6b729389b5
Prometheus: Set httpMethod as POST for new query client when not defined ( #77503 )
...
set httpMethod as POST for new query client when not defined
2023-11-03 10:16:02 -04:00
Brendan O'Handley
ef7b583169
OpenTSDB: Use refid to support alerting on multiple queries ( #77575 )
...
* add refid to responses
* add test for refId
2023-11-03 10:15:31 -04:00
Kat Yang
f40de8b613
Chore: Deprecate folderIDs in FolderFilter ( #77590 )
...
Chore: Deprecate FolderID in FolderFilter
2023-11-03 10:12:40 -04:00
Alexander Zobnin
225a69ba02
Team LBAC: Fix backend validation ( #77612 )
...
* Team LBAC: Fix backend validation
* more tests
* use slices.ContainsFunc()
2023-11-03 17:02:57 +03:00
Will Browne
19cd7dbae1
Plugins: Add API for creating pluginv2 proto client ( #77492 )
...
* first pass
* remove client from plugin
* fix wire
* update
* undo import change
* add opts
* add check
* tidy
* re-use logic
* rollback changes
2023-11-03 14:01:08 +01:00
Vardan Torosyan
d624a5d490
Chore: Replace grafana-authnz-team with identity-access-team as code owners ( #77609 )
...
* Chore: Replace grafana-authnz-team with identity-access-team as code owner
* Chore: Replace grafana-authnz-team with identity-access-team as code owner
* Fix the failing test
2023-11-03 13:20:39 +01:00
Jacob Zelek
6bf4d0cbc6
DashboardGrid: Add support to filter panels using variable ( #77112 )
...
* DashboardGrid panel filter
* Missed segment and changes per PR discussion
* Hide feature flag from docs
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2023-11-03 05:15:54 -07:00
linoman
c50ada3a1a
auth: wire service account proxy ( #77215 )
...
* Add interface verification compliance
* rework service account api to a provider
* wire the service accounts api
* rewire the implementation of sa srv for the proxy
---------
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
2023-11-03 10:27:43 +01:00
Alyssa Bull
a4744a8f5e
Azure Monitor: buildResourceURI function incorrectly migrating ( #77178 )
2023-11-02 14:30:18 -06:00
Isabella Siu
64e28c0ae2
CloudWatch Logs: Add labels to alert and expression queries ( #77529 )
2023-11-02 16:26:31 -04:00
Yuri Tseretyan
a2629f3dd3
Alerting: Remove unused Accesscontrol dependency from DbStore ( #77479 )
2023-11-02 15:54:30 -04:00
Dominik Prokop
6e80a3d59b
DashboardScene: Viewer role only support ( #76748 )
...
* Allow starring DashboardScene
* Add feature toggle to enable dashbaord scene for viewers
* Basics for proxying viewers to a dashboard scene
* Removed isHomeDashboard flag
* Don't use proxy for rendering dashboard page
* Revert "Don't use proxy for rendering dashboard page"
This reverts commit 95836bdb2c .
* Pre-fetch dashboard prior page rendering
* Depend only on dashboard permissions
* Update default home dashboard to proper model...
* Fix breadcrumbs
* Types update
* Dashboards page proxy tests
* Fix missing controls
* URLs generation
* DashboardScenePageStateManager caching test
* Tests updates
* Fix wrong import
* Test update
* Gen
2023-11-02 12:02:25 -07:00
William Wernert
e562250f72
Alerting: Handle edge cases without panicking during template migration ( #76890 )
...
* Handle empty variable, remove panics
* Use fmt.Errorf only where appropriate
2023-11-02 13:24:54 -04:00
Santiago
01af8f61f1
Alerting: Separate the forked Alertmanager into two implementations ( #77582 )
2023-11-02 17:53:18 +01:00
Santiago
8fc9873443
Alerting: Add an empty Forked Alertmanager struct ( #77550 )
...
Alerting: Add an empty Forked Alertmanager
2023-11-02 16:49:03 +01:00
Oscar Kilhed
0eda368d32
Transformations: Deduplicate names when using extract fields transformation. ( #77569 )
...
* dedupe field names
* add test to make sure we don't break normal case
2023-11-02 16:47:42 +01:00
Ryan McKinley
45d59cf31b
Dashboards: Remove dummy trim dashboard api ( #77249 )
...
Co-authored-by: nikimanoledaki <niki.manoledaki@grafana.com >
2023-11-02 08:35:14 -07:00
Andres Martinez Gotor
d5f749482a
Ignore dist folder for core plugin ( #77549 )
2023-11-02 14:56:47 +01:00
Andres Martinez Gotor
00a596b2e0
Chore: Add app URL to the plugin config ( #77455 )
2023-11-02 13:26:16 +01:00
Andres Martinez Gotor
82a7e1229a
Bug Fix: Respect data source version when provisioning ( #77428 )
2023-11-02 12:27:17 +02:00
Yuri Tseretyan
85425b2194
Alerting: Fix flaky test TestExportRules ( #77519 )
...
* fix test to correclty mock data store
* Update pkg/services/ngalert/api/api_ruler_export_test.go
Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com >
* Update pkg/services/ngalert/api/api_ruler_export_test.go
---------
Co-authored-by: Jean-Philippe Quéméner <JohnnyQQQQ@users.noreply.github.com >
2023-11-01 21:35:04 +02:00
Ryan McKinley
e3641d925c
K8s/Playlist: Support full CRUD from k8s to existing storage ( #75709 )
2023-11-01 12:32:24 -07:00
Shabeeb Khalid
a59588a62e
Cloudwatch: Use context in aws DescribeLogGroupsWithContext ( #77176 )
2023-11-01 15:06:06 -04:00
Drew Slobodnjak
9116043453
Storage: Add maxFiles to list functions ( #76414 )
...
* Storage: Add maxFiles to list functions
* Add maxDataPoints argument to listFiles function
* Add maxFiles to ResourceDimensionEditor
* Update pkg/services/store/http.go
* rename First to Limit
---------
Co-authored-by: jennyfana <110450222+jennyfana@users.noreply.github.com >
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2023-11-01 09:42:24 -07:00
Ryan McKinley
5d5f8dfc52
Chore: Upgrade Go to 1.21.3 ( #77304 )
2023-11-01 09:17:38 -07:00
Sofia Papagiannaki
dfc33a70b7
Dashboards: Fix creating dashboard under folder using deprecated API ( #77501 )
...
* Dashboards: Add integration tests for creating a dashboard
* Fix creating dashboard under folder using deprecated API
* Update swagger response
* Fix comments
2023-11-01 17:01:54 +02:00
Todd Treece
384f5ccdc6
Playlist: Add internal API version ( #77318 )
2023-11-01 09:44:04 -04:00
Joey
c39e9a8f52
Tracing: Trace to profiles ( #76670 )
...
* Update Tempo devenv to include profiles
* Update devenv to scrape profiles from local services
* Cleanup devenv
* Fix issue with flame graph
* Add width prop to ProfileTypeCascader
* Add trace to profiles settings
* Add new spanSelector API
* Add spanSelector to query editor
* Update span link query
* Conditionally show span link
* Combine profile and spanProfile query types and run specific query type in backend based on spanSelector presence
* Update placeholder
* Create feature toggle
* Remove spanProfile query type
* Cleanup
* Use feeature toggle
* Update feature toggle
* Update devenv
* Update devenv
* Tests
* Tests
* Profiles for this span
* Styling
* Types
* Update type check
* Tidier funcs
* Add config links from dataframe
* Remove time shift
* Update tests
* Update range in test
* Simplify span link logic
* Update default keys
* Update pyro link
* Use const
2023-11-01 10:14:24 +00:00
Ryan McKinley
dd773e74f1
K8s: Implement playlist api with k8s client ( #77405 )
2023-10-31 10:26:39 -07:00
Kat Yang
254648b96b
Chore: Deprecate FolderID in CreateLibraryElementComand ( #77403 )
...
* Chore: Deprecate FolderID in CreateLibraryElementComand
* chore: add remaining nolint comments
* chore: regen specs to include deprecation notice
2023-10-31 13:24:16 -04:00
Kat Yang
f9b21083c6
Chore: Deprecate FolderID in LibraryElement struct ( #77377 )
...
* Chore: Deprecate FolderID in LibraryElement struct
* chore: format deprecated comment
* chore: add remaining nolint comments
2023-10-31 13:02:53 -04:00
Kat Yang
f7ce6f8b41
Chore: Deprecate FolderID in LibraryElementWithMeta ( #77406 )
2023-10-31 11:50:02 -04:00
Kat Yang
87717849da
Chore: Deprecate FolderID in GetLibraryElementCommand ( #77404 )
2023-10-31 11:46:48 -04:00
Domas
cf085480fa
Chore: remove (preview) tag from application ( #77054 )
...
remove (preview) from Application
2023-10-31 17:11:41 +02:00
Ieva
c51c51458e
RBAC: add a feature toggle for annotation permission changes ( #77432 )
...
add a feature toggle for annotation permission changes
2023-10-31 13:30:13 +00:00
Giuseppe Guerra
46261de32d
Plugins: Fix status_source always being "plugin" in plugin request logs ( #77433 )
...
* Plugins: Fix status_source always being "plugin" in plugin logs
* add tests
* Fix TestInstrumentationMiddlewareStatusSource
2023-10-31 13:42:39 +01:00
Fabrizio
f8912517e6
Improve logs for backends owned by the Observability Traces and Profiling squad ( #76109 )
2023-10-31 11:57:17 +01:00
Santiago
a6b9b27673
Alerting: Remove OrgID() from the Alertmanager interface ( #77398 )
2023-10-31 10:58:47 +01:00
Andres Martinez Gotor
b8105caa05
Chore: Add min Grafana dependency version ( #77272 )
2023-10-31 10:20:04 +01:00
Dan Cech
e01d096ce2
add resource group to grn ( #77396 )
2023-10-30 17:08:46 -04:00
Dan Cech
db6035a843
Chore: update kind annotation names to grafana.app/* ( #77401 )
...
* update kind annotation names to grafana.app/*
2023-10-30 17:08:31 -04:00
Shabeeb Khalid
abebcf4385
CloudWatch: Use context in aws GetLogGroupFieldsWithContext ( #77174 )
2023-10-30 15:14:18 -04:00
Kyle Brandt
e4d1fdc3d0
Errors: Make errors the same in dev as prod ( #77366 )
...
When running in dev mode, error messages would contain an additional "error" property alongside "message". Since this causes confusion, that has been removed and now error messages are the same both modes (using "message").
2023-10-30 14:06:26 -04:00
Santiago
363830883c
Alerting: Add feature toggles for Alertmanager migration ( #77372 )
...
* Alerting: Add feature toggles for Alertmanager migration
* address code review comments
2023-10-30 17:27:08 +01:00
ismail simsek
6b13064cf6
InfluxDB: Fix parsing multiple tags on backend mode ( #77340 )
...
* Multiple tags separated by comma in the result
* A non-flaky unit test
2023-10-30 15:45:20 +01:00
Ezequiel Victorero
16034ef062
PublicDashboards: Add swagger documentation ( #75318 )
2023-10-30 10:32:07 -03:00
ismail simsek
4ed36cbc1d
InfluxDB: Fix parsing empty response ( #77353 )
...
Fix parsing empty response
2023-10-30 11:39:15 +01:00
Karl Persson
87eba34745
User: remove empty email / username check from update in service ( #77347 )
...
User: remove empty email / username check from update in service
2023-10-30 10:44:26 +01:00
Yuri Tseretyan
bc7357727c
Alerting: Enable feature flag alertingNoDataErrorExecution by default ( #77242 )
2023-10-27 17:17:34 -04:00
Todd Treece
798e224ce6
K8s: JSON file storage ( #75759 )
2023-10-27 16:39:27 -04:00