Ivana Huckova
d4a257bc8e
Logs: Update logic to process logs dataPlane frame with labels field ( #77708 )
...
* Logs: Update dataplane logic to use labels instead of attributes
* Update Loki logs data plane data frame according to specs
* Remove only in test
2023-11-07 10:53:10 +01:00
Sofia Papagiannaki
2598ff7c93
Provisioning: Set dashboard.folder_uid column for provisioned dashboards ( #77637 )
...
Provisiong: Store folder UID to provisioned dashboards
2023-11-07 11:15:20 +02:00
Taewoo K
4fbd9a55b2
Remove feature toggle data source page header ( #77751 )
...
* remove feature toggle:dataSourcePageHeader
* remove feature flag: dataSourcePageHeader
* remove unused prop:alertingSupported
2023-11-06 15:21:15 -05:00
Adela Almasan
6b4b712754
Chore: Create newVizTooltips feature flag ( #77643 )
2023-11-06 10:35:59 -06:00
Kat Yang
1959f3434b
Chore: Deprecate FolderId in ImportDashboardRequest and ImportDashboardResponse ( #77627 )
...
* Chore: Deprecate FolderId in ImportDashboardRequest
* chore: deprecate FodlerId from ImportDashboardResponse
* chore: add missing nolint comment
* chore: regen specs
2023-11-06 11:32:34 -05:00
Kat Yang
6ed09de47d
Chore: Deprecate FolderId in DashboardMeta ( #77626 )
...
* Chore: Deprecate FolderId in DashboardMeta
* chore: regen specs
2023-11-06 11:31:44 -05:00
Kat Yang
911ffed45b
Chore: Deprecate FolderID in libraryElement struct in tests ( #77473 )
...
* Chore: Deprecate FolderID in LibraryElement struct in tests
* chore: revert formatting for deprecation comment
2023-11-06 11:31:15 -05:00
Kat Yang
2c7f364067
Chore: Deprecate FolderID in PatchLibraryElementCommand ( #77472 )
...
* Chore: Deprecate FolderID in PatchLibraryElementCommand
* chore: regen specs
2023-11-06 11:31:01 -05:00
Kat Yang
dd5314c6a8
Chore: Deprecate FolderID in LibraryElementDTO ( #77471 )
...
* Chore: Deprecate FolderID in LibraryElementDTO
* chore: fix formatting of deprecation comment
* chore: revert deprecation comment formatting
* chore: regen specs
2023-11-06 11:30:32 -05:00
Alexander Zobnin
c0d8a7132e
Teams: Search by team ids ( #77730 )
...
* Teams: Search by team ids
* Add tests
* Fix tests
2023-11-06 18:08:11 +02:00
Serge Zaitsev
5458ea18e7
Chore: Use vendored xorm instead of a fork ( #77388 )
...
* use vendored xorm instead of a fork
* bring back mssql driver
* backport azuresql driver
* restore NoAutoTime
2023-11-06 16:09:49 +01:00
Ryan McKinley
5e7f6e8699
Snapshots: Do not return internal database ids ( #77672 )
2023-11-06 06:53:52 -08:00
Carl Bergquist
bc7c7bec16
instrumentation: remove live endpoints from slo ( #77706 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2023-11-06 06:51:59 -08:00
Agnès Toulet
95b48339f8
Feature Flag: Add pdfTables ( #76452 )
...
Feature Toggles: Add PDF Tables
2023-11-06 14:39:22 +01:00
Sofia Papagiannaki
f999fe3d12
Search: Modify query for better performance ( #77576 )
...
* Add missing `org_id` in query condition
* Update benchmarks
2023-11-06 15:16:23 +02:00
Ivana Huckova and Scott Lepper
a1718aafce
Elasticsearch: Add error source for DataQuery ( #77386 )
...
* WIP
* Refactor, plus update source of error in response_parser
* Adjust test
* Use methods and httpclient from errorsource
* Update pkg/tsdb/elasticsearch/data_query.go
Co-authored-by: Scott Lepper <scott.lepper@gmail.com >
* Return nil error
* Fix test
* Fix integration test
---------
Co-authored-by: Scott Lepper <scott.lepper@gmail.com >
2023-11-06 11:36:39 +01:00
Julien Duchesne
c3962acf98
Swagger: Rename annotations model ( #77605 )
...
Currently, in the schema, it's a global definition called `ItemDTO`. It's hard to figure out what that is
Renaming it to `Annotation` should be more helpful
2023-11-03 18:32:06 -04:00
Gabriel MABILLE
bf363b3234
ServiceAccounts: Use isManaged in DTO instead of isExternal ( #77634 )
...
* ServiceAccounts: Use IsManaged in DTO instead of isExternal
* Revert omitempty
* Modify the other DTO
* Swagger
2023-11-03 17:49:11 +01:00
Ryan McKinley
549787d4f9
Playlist: Implement the entire API with k8s client ( #77596 )
2023-11-03 09:25:29 -07:00
João Calisto and Michael Mandrus
ade140c161
Feature Management: Define HideFromAdminPage and AllowSelfServe configs ( #77580 )
...
* Feature Management: Define HideFromAdminPage and AllowSelfServe configs
* update tests
* add constraint for self-serve
* Update pkg/services/featuremgmt/models.go
Co-authored-by: Michael Mandrus <41969079+mmandrus@users.noreply.github.com >
---------
Co-authored-by: Michael Mandrus <41969079+mmandrus@users.noreply.github.com >
2023-11-03 15:59:07 +00:00
Ryan McKinley
35c1ee9686
EntityStore: Remove http access (can use apiserver now) ( #77602 )
2023-11-03 08:14:51 -07:00
Ryan McKinley
dd654fdc87
K8s/Playlist: Refactor apis packages so the types and registry are in different packages ( #77586 )
2023-11-03 08:07:55 -07:00
Ryan McKinley
72ed6434ca
EntityStore: Use protobuf for summary objects ( #77600 )
...
use protobuf for summary
2023-11-03 10:49:01 -04:00
61d63d3034
Transformations: Cumulative and window modes for Add field from calculation ( #77029 )
...
* cumulative sum
* refactor and create new mode
* refactor - use reduceOptions for new mode also
* revert naming
* Add window function, rename statistical to cumulative (#77066 )
* Add window function, rename statistical to cumulative
* Fix merge errors
* fix more merge errors
* refactor + add window funcs
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com >
* add ff + tests + centered moving avg
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com >
* make sum and mean cumulative more efficient (#77173 )
* make sum and mean cumulative more efficient
* remove cumulative variance, add window stddev
* refactor window to not use reducer for mean. wip variance stdDev
* fix tests after optimization
---------
Co-authored-by: Victor Marin <victor.marin@grafana.com >
* optimize window func (#77266 )
* make sum and mean cumulative more efficient
* remove cumulative variance, add window stddev
* refactor window to not use reducer for mean. wip variance stdDev
* fix tests after optimization
* fix test lint
* optimize window
* tests are passing
* fix nulls
* fix all nulls
---------
Co-authored-by: Victor Marin <victor.marin@grafana.com >
* change window size to be percentage
* fix tests to use percentage
* fixed/percentage window size (#77369 )
* Add docs for cumulative and window functions of the add field from calculation transform. (#77352 )
add docs
* splling
* change WindowType -> WindowAlignment
* update betterer
* refactor getWindowCreator
* add docs to content.ts
* add feature toggle message
---------
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com >
2023-11-03 16:39:58 +02:00
Dan Cech
67b2972052
Chore: add/update sqlstore-related helper functions ( #77408 )
...
* add/update sqlstore-related helper functions
* add documentation & tests for InsertQuery and UpdateQuery, make generated SQL deterministic by sorting columns
* remove old log line
2023-11-03 10:30:52 -04:00
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 and Dominik Prokop
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 and Misi
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 and nikimanoledaki
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 and Jean-Philippe Quéméner
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
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