Dominik Prokop
ae80ed02e4
DashboardScene: Emit meta analytic view event ( #89094 )
...
* DashboardScene: Emit view event
* check fix
2024-06-17 09:14:27 +02:00
Diego Augusto Molina
b9812a0784
Unified Storage: Fix data races and context usage in broadcaster ( #88955 )
...
* Fix several broadcaster data races and error handling
- Separate concerns between sender and receiver sides in channel usage
- broadcaster: Fix data race between Subscribe/Unsubscribe and start
- Fix Subscribe error to be io.EOF when broadcaster is terminated
- Fix Watch never unsubscribing
- General cleanup
- fix usage of context
- add a huge amount of documentation about channels
2024-06-15 02:46:14 -03:00
Alexander Weaver
8491e02caf
Alerting: Instrument outbound requests for Loki Historian and Remote Alertmanager with tracing ( #89185 )
...
* Add TracedClient
* Handle errors and status codes
* Wire up tracing to normal ASH and loki annotation mapping
* Add tracing to remote alertmanager
* one more spot
* and not or
* More consistency with other grafana traces, lower cardinality name
2024-06-14 13:24:12 -05:00
Dave Henderson
6262c56132
chore(perf): Pre-allocate where possible (enable prealloc linter) ( #88952 )
...
* chore(perf): Pre-allocate where possible (enable prealloc linter)
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
* fix TestAlertManagers_buildRedactedAMs
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
* prealloc a slice that appeared after rebase
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2024-06-14 14:16:36 -04:00
Drew Slobodnjak
e53e6e7caa
Geomap: Fix data fit ( #89247 )
2024-06-14 10:09:47 -07:00
Darren Janeczek
79540a20b9
datatrails: persist search terms and use them to reduce retrieved metric names ( #87884 )
2024-06-14 12:36:35 -04:00
Kevin Minehart
a250706305
CI: Make pkg/build its own module, remove unused Grafana modules in go.mo… ( #89243 )
...
* Make pkg/build its own module, remove unused Grafana modules in go.mod/go.sum
* fix go.work format
* log errors on file close errors
2024-06-14 19:35:30 +03:00
Jack Baldry
7b02cfddd8
Fix typo in dashboard-variables destinations and also use Grafana Cloud docs if they exist ( #89244 )
...
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2024-06-14 17:27:22 +01:00
Adela Almasan
c3b772618a
Tooltip: Add tooltip support to Histogram ( #89196 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-06-14 11:23:25 -05:00
Jack Baldry
f5468542ba
Use ref URIs with the reference style links ( #89204 )
...
* Use ref URIs with the reference style links
If I remember correctly, the UI needs reference style links so it can substitute its own link destinations.
ref URIs work both inline and as the destination for reference style links.
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Remove unused ref URI
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
* Remove unused Data frames link
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2024-06-14 15:44:29 +01:00
Josh Hunt
15c81b2a8b
Move RecentlyDeleted into browse-dashboards ( #89214 )
...
* Move RecentlyDeleted into browse-dashboards
* refactor: change path
---------
Co-authored-by: Laura Benz <laura.benz@grafana.com>
2024-06-14 17:25:19 +03:00
Jack Westbrook
3bfa1ed9ed
Datasource Config: Return error object on failed updates ( #88661 )
...
feat(datasource-config): return error if ds update fails
2024-06-14 16:19:48 +02:00
Josh Hunt
90c3d74955
LibraryPanels: Replace 'General' folder with 'Dashboards' ( #89220 )
...
Show 'Dashboards' for library panels not in a folder
2024-06-14 14:01:18 +01:00
Ryan McKinley
23d9af7175
Reporting: Add basic read-only apiserver ( #89140 )
2024-06-14 15:49:08 +03:00
Dave Henderson
afc1e148b2
ci(chore): Lint all Go code, upgrade golangci-lint action ( #89221 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2024-06-14 15:42:09 +03:00
Laura Benz
d44ddba996
RestoreDashboards: Fix counting bug ( #89201 )
...
Fix restore modal showing incorrect counts
Co-authored-by: joshhunt <josh@trtr.co>
2024-06-14 14:30:05 +02:00
Ieva
4e3294cd8d
RBAC: Fix the check for whether an action set should be added ( #89219 )
...
fox the check for whether an action set should be added
2024-06-14 14:23:29 +02:00
Ieva
b2864d6dfb
Docs: add information about overrideRole
provisioning option to docs ( #89181 )
...
add information about overrideRole provisioning option to docs
2024-06-14 13:16:16 +01:00
Sofia Papagiannaki
63c4d7373a
Update cloud_migrations.go ( #89218 )
...
Remove unnecessary newline
2024-06-14 15:14:37 +03:00
Tom Ratcliffe
2dd44e2f58
Alerting: Remove duplicated alertRule handlers file and usage ( #89100 )
2024-06-14 13:42:00 +02:00
Erik Sundell
72241dbf5f
Plugin extensions: Add e2e tests ( #89048 )
...
* add custom plugins
* update bundles
* provision app plugins and their dashboards
* add one more script that run e2e tests using e2e test server
* add e2e tests
* regenerate jsonnet dashboards
* ignore custom plugins and playwright report
* use minified
* cleanup tests
* update codeowners
* add leading slash
* document new script
* document custom-plugins
* cleanup
* twist modules
* add readme
2024-06-14 13:41:17 +02:00
Tom Ratcliffe
a9171aa9fe
Alerting: Fix display of falsy alert values in state history ( #89156 )
2024-06-14 13:41:01 +02:00
Leonor Oliveira
1691d80412
Refactor enrichObj function ( #89210 )
2024-06-14 13:13:59 +02:00
Leonor Oliveira
e1145472c4
For now, only compare if names are the same in playlists ( #89206 )
2024-06-14 13:13:49 +02:00
Ashley Harrison
7c5c01cb6c
Chore: Tidy up more font-awesome SCSS ( #89207 )
...
* migrate pull-right/pull-left
* remove fa-rotate and fa-flip
* remove _stacked
* remove font-awesome _list
* remove font-awesome _larger
* remove fa fixed-width
* remove fa animated styles
* move sr-only to global styles
* condense remaining font-awesome stuff into 1 file
* extract out spin animation into util folder
2024-06-14 11:35:32 +01:00
Tom Ratcliffe
26233e98a8
Alerting: Fix saving telegram contact point to Cloud AM config ( #89182 )
...
* Add test for saving telegram contact point to AM config
* Fix default value for select options in AM config
2024-06-14 10:56:25 +01:00
Ashley Harrison
84590901e5
Chore: Migrate some more deprecated SCSS ( #89160 )
...
* migrate pull-right/pull-left
* remove fa-rotate and fa-flip
* remove _stacked
* remove font-awesome _list
* remove font-awesome _larger
* remove fa fixed-width
2024-06-14 10:46:44 +01:00
renovate[bot]
063082acbc
Update dependency @grafana/scenes to v5.0.3
2024-06-14 12:06:17 +03:00
Leonor Oliveira
fd44f2ee4f
Init dualwriter metrics ( #89003 )
...
* Pass prometheus registerer to the dual writer
* Fix tests
* Remove unused var
* Fix tests
* Uncomment test
* Remove leading line
* Fix tests. Reuse registerer if there's already one
* Lint
* Improve double registering logic
* Rebase main
2024-06-14 11:01:49 +02:00
Torkel Ödegaard
e3da5ed35d
Scenes: Upgrade to latest URL sync system ( #88836 )
...
* Urlsync updates
* Update
* Fixing tests
* Update to latest canary
* fix
* Update
* Update
* Update
* Fix data trails issue
* Data trails fixes
* Update
* correctly sync scene object graph with url state
* Update
2024-06-14 10:23:51 +02:00
Steve Simpson
dd3c3b5857
Alerting: Update grafana/alerting. ( #88914 )
2024-06-14 09:19:04 +02:00
Ryan McKinley
2173429ce2
Identity: Add static requester struct ( #89190 )
2024-06-14 09:04:06 +03:00
github-actions[bot]
4ee754d69b
I18n: Download translations from Crowdin ( #89175 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-14 08:17:36 +03:00
Ryan McKinley
f2b6a9aa3d
K8s: Add numeric revisionVersion helpers to grafanaMetaAccessor ( #89191 )
2024-06-14 02:35:23 +03:00
Isabel Matwawana
e807f4201b
Docs: Fixes for 11.1 visualizations docs ( #89193 )
...
* Updated table wrapping and auto wording
* Fixed formatting to match other lists
* Fixed admonition styling and moved content out of note into body
* Added note re feature toggle
* Fixed typo
* Added comma
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com>
---------
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com>
2024-06-13 16:57:51 -04:00
grafana-delivery-bot[bot]
40e3601982
Release: Bump version to 11.2.0-pre ( #89184 )
...
* "Release: Updated versions in package to 11.2.0-pre"
* fix newline
---------
Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com>
2024-06-13 15:08:07 -05:00
Kristin Laemmert
e2f65dda0c
chore: remove redundant transactions from Dashboard (get) sql queries ( #89186 )
...
* chore: remove redundant transactions from sql queries
* remove unused parameter
2024-06-13 15:32:01 -04:00
Ryan McKinley
57b760824f
Chore: Remove pkg/infra/x/persistentcollection ( #89139 )
2024-06-13 21:46:52 +03:00
Michael Mandrus
9d3a4e236d
CloudMigrations: Refactor API for async work ( #89084 )
...
* rename some stuff
* more renaming
* clean up api
* rename more functions
* rename cms -> gms
* update comment
* update swagger gen
* update endpoints
* overzealous
* final touches
* dont modify existing migrations
* break structs into domain and dtos
* add some conversion funcs
* fix build
* update frontend
* try to make swagger happy
2024-06-13 17:58:59 +00:00
Matias Chomicki
06c0ce4325
LogDetailsRow: customize filters tooltip according to the current app ( #89183 )
...
* LogDetailsRow: customize filters tooltip
* Update tests
2024-06-13 20:54:33 +03:00
Ieva
bd35fa10f1
RBAC: Resolve action sets when GetPermissions
is called ( #89046 )
...
* resolve action sets when GetPermissions is called
* a fix to ensure that dashboard permissions that override parent folder permissions are displayed on top of the inherited permission
* linting
* linting pt2
2024-06-13 20:06:37 +03:00
Ieva
eb535e163d
Docs: Add parameter definition to swagger for RBAC debug endpoint ( #89097 )
...
add parameter definition to swagger for RBAC debug endpoint
2024-06-13 20:01:12 +03:00
Matias Chomicki
6a125fd59f
Logs panel: do not pass default handlers if context is not defined ( #89174 )
2024-06-13 19:56:50 +03:00
Ieva
3853f90528
RBAC: Include action sets in dashboard and folder permission filter ( #89133 )
...
take action sets into account in dashboard and folder permission filter
2024-06-13 19:40:47 +03:00
Artur Wierzbicki
627d77c365
chore: change codeowner of /pkg/components/imguploader
( #89167 )
...
* change owner for imguploader
* Update .github/CODEOWNERS
Co-authored-by: Steve Simpson <steve.simpson@grafana.com>
---------
Co-authored-by: Steve Simpson <steve.simpson@grafana.com>
2024-06-13 18:18:29 +03:00
grafana-delivery-bot[bot]
ffcb13b7ab
Changelog: Updated changelog for 10.4.4 ( #89173 )
...
Co-authored-by: grafanabot <bot@grafana.com>
2024-06-13 18:08:26 +03:00
Ivana Huckova
375be77f32
Elasticsearch: Add developer documentation ( #89050 )
...
* Elasticsearch: Add developer documentation
* Update
* Update
* Add code comments
* Update
* Update public/app/plugins/datasource/elasticsearch/docs/developer_documentation.md
2024-06-13 18:05:50 +03:00
Kyle Brandt
82aa000e9d
SSE: (Chore) Update log line with context (trace) ( #89172 )
...
Improves log line to help with debugging in Server Side Expressions. In particular, the traceId, datasourceType, and datasourceUid will now be included.
2024-06-13 10:58:39 -04:00
Juan Cabanas
b7180c17b8
ShareDrawer: Add confirm action ( #89001 )
2024-06-13 11:11:26 -03:00
Bogdan Matei
07ec1a303e
Scopes: Remove basic selector ( #89098 )
2024-06-13 17:02:40 +03:00