ec2cd53b1a
Tempo: Remove traceQLStreaming feature toggle ( #103619 )
...
Remove traceQLStreaming feature toggle and migration
2025-04-09 13:57:07 +01:00
24474dcb9c
AppChrome: Improved responsive use of vertical space ( #103488 )
...
* Progress
* Progress
* Update
* Update
* Update
* Update
* Responsive improvements
* Update
* Update
* Update
* Revert height change
* Update
* add missing testid
* update
* Fixes
* update
* Refactoring
* fix bug in app chrome service
* Fixed e2e tests
* fix
* fix
* Update
* Update
* fix bookmarks e2e
* Update
* improve responsiveness on small screens for breadcrumbs
* Always use two levels when menu is docked
* Adding kiosk toggle button to dashboards only
* update
* Update
* Update
* when menu is docked and no actions use 1 level
* removed formatting change that caused unnessary diff in PR
* remove extra separator line after merge with main
* Fix double separators
* Update
* remove temp change
* Update
2025-04-09 14:51:22 +02:00
ceed824378
Profiles: add metrics from profiles feature toggle ( #103453 )
...
* Profiles: add metrics from profiles feature toggle
* Retrigger CI with new commit
2025-04-09 12:55:28 +02:00
fc37bb4355
Remove nodeGraphDotLayout feature toggle ( #103541 )
2025-04-08 15:37:17 +01:00
a8f60de620
Alerting: Remove feature toggles relating to Loki Alert State History ( #103540 )
...
* Remove feature toggles relating to Loki Alert State History
2025-04-08 09:50:27 -04:00
63af403897
Live: Remove queryOverLive and live-service-web-worker experimental feature flags ( #103518 )
2025-04-07 17:47:35 +03:00
f96e4e9ad2
Frontend: Remove Angular ( #99760 )
...
* chore(angularsupport): delete feature toggle to disable angular
* feat(angular-support): remove config.angularSupportEnabled
* chore(jest): remove angular from setup file
* chore(angular): delete angular deprecation ui components
* refactor(angular): move migration featureflags into migration notice
* chore(dashboard): remove angular deprecation notices
* chore(annotations): remove angular editor loader
* feat(appwrapper): no more angular app loading
* feat(pluginscatalog): clean up angular plugin warnings and logic
* chore(angular): delete angular app and associated files
* feat(plugins): delete old angular graph plugin
* feat(plugins): delete old angular table panel
* feat(frontend): remove unused appEvent type
* feat(dashboards): clean up angular from panel options and menu
* feat(plugins): remove graph and table-old from built in plugins and delete sdk
* feat(frontend): remove angular related imports in routes and explore graph
* feat(theme): remove angular panel styles from global styles
* chore(i18n): run make i18n-extract
* test(api_plugins_test): refresh snapshot due to deleting old graph and table plugins
* chore(angulardeprecation): delete angular migration notice components and usage
* test(frontend): clean up tests that assert rendering angular deprecation notices
* chore(backend): remove autoMigrateOldPanels feature flag
* chore(config): remove angularSupportEnabled from config preventing loading angular plugins
* chore(graphpanel): remove autoMigrateGraphPanel from feature toggles
* chore(tablepanel): delete autoMigrateTablePanel feature flag
* chore(piechart): delete autoMigratePiechartPanel feature flag
* chore(worldmappanel): remove autoMigrateWorldmapPanel feature toggle
* chore(statpanel): remove autoMigrateStatPanel feature flag
* feat(dashboards): remove automigrate feature flags and always auto migrate angular panels
* test(pluginsintegration): fix failing loader test
* test(frontend): wip: fix failures and skip erroring migration tests
* chore(codeowners): remove deleted angular related files and directories
* test(graphite): remove angular mock from test file
* test(dashboards): skip failing exporter test, remove angularSupportEnabled flags
* test(dashbaord): skip another failing panel menu test
* Tests: fixes pkg/services/pluginsintegration/loader/loader_test.go (#100505 )
* Tests: fixes pkg/services/pluginsintegration/plugins_integration_test.go
* Trigger Build
* chore(dashboards): remove angularComponent from getPanelMenu, update test
* feat(dashboards): remove all usage of AngularComponent and getAngularLoader
* chore(betterer): refresh results file
* feat(plugins): remove PluginAngularBadge component and usage
* feat(datasource_srv): remove usage of getLegacyAngularInjector
* feat(queryeditor): delete AngularQueryComponentScope type
* Chore: removes Angular from plugin_loader
* Chore: remove angular from getPlugin
* Chore: fix i18n
* Trigger Build
* Chore: remove more Angular from importPanelPlugin
* Chore: remove search options warning
* Chore: remove and deprecate Angular related
* chore(angular): remove angular dependencies from core and runtime
* chore(runtime): delete angular injector
* chore(data): delete angular scope from event bus
* chore(plugin-catalog): remove code pushing app plugins angular config page
* chore(yarn): refresh lock file
* chore(frontend): remove ng-loader from webpack configs, remove systemjs cjs plugin
* chore(navigation): remove tether-drop cleanup from GrafanaRouter, delete dependency
* chore(runtime): delete AngularLoader
* chore(betterer): refresh results file
* chore(betterer): fix out of sync results file
* feat(query): fix type and import errors in QueryEditorRow
* test(dashboards): delete skipped angular related tests
* Tests: add back tests and fix betterer
* Tests: fix broken test
* Trigger build
* chore(i18n): remove angular deprecation related strings
* test: clean up connections and plugins catalog tests
* chore(betterer): update results file
---------
Co-authored-by: Hugo Häggmark <hugo.haggmark@gmail.com>
2025-04-04 11:31:35 +02:00
f277902682
Sidebar: Create a sidebar that can render an extension ( #102626 )
...
* Extension Sidebar: Add missing `web-section` icon
* Extension Sidebar: Add core extension sidebar components
* Extension Sidebar: Integrate extension sidebar into Grafana
* Extension Sidebar: Change extension point to alpha
* Extension Sidebar: Fix saved state of docked extensions
* Extension Sidebar: Delete from local storage if undocked
* Extension Sidebar: Move main scrollbar from body to pane
* Extension Sidebar: Expose `ExtensionInfo`
* Extension Sidebar: Move `useComponents` into ExtensionSidebar
* Extension Sidebar: Store selection in `localStorage`
* Extension Sidebar: Simplify return of extension point meta
* Extension Sidebar: Ensure `body` is scrollable when sidebar is closed
* Extension Sidebar: Add missing `GlobalStyles` change
* Extension Sidebar: Don't render `ExtensionSidebar` unless it should be open
* Extension Sidebar: Better toggle handling
* Extension Sidebar: Fix wrong header height
* Extension Sidebar: Change `getExtensionPointPluginMeta` to use `addedComponents` and add documentation
* Extension Sidebar: Add tests for `getExtensionPointPluginMeta`
* Extension Sidebar: Add tests for `ExtensionSidebarProvider`
* Extension Sidebar: Fix tests `ExtensionSidebarProvider`
* Extension Sidebar: Add tests `ExtensionToolbarItem`
* Extension Sidebar: Add `extensionSidebar` feature toggle
* Extension Sidebar: Put implementation behind `extensionSidebar` feature toggle
* update feature toggles
* fix lint
* Extension Sidebar: Only toggle if clicking the same button
* Extension Sidebar: Hide sidebar if chromeless
* Update feature toggles doc
* Sidebar: Add `isEnabled` to ExtensionSidebarProvider
* Extension Sidebar: Use conditional CSS classes
* Extension Sidebar: Move header height to GrafanaContext
* Sidebar: Adapt to feature toggle change
* Sidebar: Remove unused import
* Sidebar: Keep featuretoggles in ExtensionSidebar tests
* ProviderConfig: Keep `config` import in tests
* FeatureToggles: adapt to docs review
* fix typo
2025-04-03 12:16:35 +02:00
4918d8720c
Dashboard Restore: Remove experimental functionality under feature flag dashboardRestore
for now - this will be reworked ( #103204 )
2025-04-03 02:52:54 -05:00
3b73ebb210
Azure Monitor: Add logs query builder ( #99055 )
2025-04-02 08:15:25 -06:00
332f041c91
Chore: Promote pluginsDetailsRightPanel to general availability ( #103269 )
...
Chore: Promote pluginsDetailsRightPanel to general availability and deafult
2025-04-02 14:34:18 +02:00
135fbf6258
data sources: feature toggle: route explore queries to the new query service ( #103192 )
...
* data sources: route explore queries to the new query service
* prettier fix
* easier to read logical statement
2025-04-02 12:00:33 +02:00
5098015467
Chore: Enable external core plugins feature toggle by default ( #102209 )
...
* Turning externalCorePlugins on by default
* enable externalCorePlugins feature toggle by default
* fixing generated toggles ts
2025-04-01 17:00:44 +03:00
03c894489c
Chore: Enabling failWrongDSUID by default in Grafana 12 ( #102192 )
...
* enabling failWrongDSUID by default in Grafana 12
* making reviewdog happy
* generating feature toggle files
2025-04-01 14:59:32 +02:00
4ad0492d3d
i18n: Add locale
to backend ( #102233 )
2025-03-31 15:59:07 +02:00
18ae5d7f0c
i18n: wires up translations for plugins ( #102853 )
...
* i18n: consolidate i18n types & runtime services
* Chore: updates after PR feedback
* Chore: updates after feedback
* Chore: updates after feedback
* Chore: adds feature toggle
* Chore: adds locale to backend
* Chore: adds locales to i18n instance
* Chore: fix missing path in CODEOWNERS
* Chore: fix go lint issues
* Chore: fix missing path in CODEOWNERS
* Chore: updates after PR feedback
* Trigger build
* Chore: updates after PR feedback
* Chore: use resolved language for lookup
* Chore: updates after PR feedback
* Update pkg/plugins/plugins.go
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
* Chore: updates after PR feedback
* Chore: updates after PR feedback
---------
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com>
2025-03-31 06:38:38 +02:00
7ea0fab606
Prometheus: Enable Combobox metric select by default ( #101045 )
...
* Prometheus: enable prometheusUsesCombobox toggle by default
* bold Combobox
2025-03-30 20:24:53 +03:00
7aa71aa734
Tracing: chore make insecure option configurable ( #99236 )
...
* Tracing: chore: make insecure option configurable
In case of insecure set to false, default system cert pool will be used to create otlpgrpc client.
* test: add tracing/insecure config checks
This is to verify whether insecure configuration is properly parsed.
* chore: update configura Grafana docs with new setting
* chore: also update comment in the ini files
---------
Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com>
2025-03-27 12:37:23 -04:00
157edf92a0
Azure: Mark Azure Prometheus exemplars as GA and enable by default ( #100595 )
...
* Mark Azure Prom exemplars as GA and enable by default
* make gen-feature-toggles
2025-03-27 10:54:39 -05:00
dce180acf3
LBAC for data sources: PublicPreview and self serve enablement ( #102276 )
...
* Publicpreview and self serve of lbac for mimir
* update from review
2025-03-27 15:44:29 +02:00
3a9370083f
I18n: Add 13 new languages for translations ( #102971 )
...
I18n: Remove extraLanguages toggle
2025-03-27 12:58:52 +00:00
69d8419109
Plugins: Remove userStorageAPI feature toggle ( #102915 )
2025-03-27 13:40:00 +01:00
03d6d8f854
Table: Move library to react-data-grid ( #102482 )
...
* Changes galore
* Freedom 🗽
* Add feature flag
* Latest changes
* Basic auto cell type
* Partially working bar-gauge
* Brokenish but whatevs
* Include the toggle doc
* TableNG: Context menu (#94094 )
* feat(table-ng): context menu init commit
* betterer
* feat(table-ng): re-use contextmenu component
* fix(table-ng): close context menu issue
* TableNG: Sorting columns (#94200 )
feat(table-ng): sorting column
* fix feature toggle conflict
* TableNG: Sorting with custom table header (#95351 )
* TableNG: Header Toggle (#95310 )
* TableNG: Multi-column sorting (#95395 )
feat(table-ng): multi-sorting
* TableNG: Column width options (#95426 )
* feat(table-ng): column width
* mouse handle drag event
* move resizing task
* TableNG: Fix icon sorting direction (#95653 )
fix(table-ng): sorting icon direction
* TableNG: Show table footer (#95313 )
* TableNG: Show table footer
* Revert betterer
* Update betterer
* Incorporate reducer calculations into footer
* Update imports in FooterRow
* Use getFooterValue for summary cell render
* TableNG: Min column width (#95657 )
* feat(table-ng): min column width
* feat(table-ng): set a min width constant
* TableNG: Column alignment (#95679 )
* feat(table-ng): column alignment
* cleaning
* feat(table-ng): header cell alignment
* optimizations
* feat(table-ng): footer cell alignment
* calc counter
* TableNG: use compiled fn for columns -> records conversion (#95914 )
* use compiled fn for columns -> records conversion
* TableNG: Move key rev and fix width overrides (#95921 )
* meh
* add index to records
---------
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com>
* TableNG: Sparkline Cell Parity (#95690 )
* sparkline value
* todo
* Remove unsued shallowField
* Pass justifyContent to sparkline
---------
Co-authored-by: drew08t <drew08@gmail.com>
* TableNG: BarGauge cell updates (#95521 )
* fix bargauge cell
* merge and fix props
* cleanup imports
* TableNG: Text wrapping (#96041 )
* feat(table-ng): fix long text cell width
* feat(table-ng): fix long text cell width 2
* comment out column rowHeight
* fix long text column width
* fix types
* fix types
* naming
* Check current header cell ref is defined for key
* cleaning
* make table re-render when data changed
* eslint
---------
Co-authored-by: drew08t <drew08@gmail.com>
* TableNG: Text overflow (#96641 )
* feat(table-ng): text overflow
* cleaning
* TableNG: Fix footer for count (#96802 )
* TableNG: Table column filter (#96767 )
* feat(table-ng): add filter form
---------
Co-authored-by: drew08t <drew08@gmail.com>
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
* TableNG: On column resize trigger (#97004 )
chore(table-ng): trigger on resize on text wrap only
* TableNG: Improve sort performance (#97767 )
* TableNG: Improve sort performance
* clean a bit
* a bit more
* Remove const that was breaking sort
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
* TableNG: Fix sorting (#98141 )
fix(table-ng): sorting
* TableNG: fix multi sorting (#98668 )
fix(table-ng): multi sorting
* TableNG: Column re-size handler (#98901 )
* feat(table-ng): column re-size handler
* TableNG: Fix footer calcs with no reducer (#99347 )
* TableNG: Update renderHeaderCell with filter dep (#99483 )
* TableNG: Updated styles for demo (#99530 )
* style proposal: table ng
* chore: revert gauge cell custom stuff
* TableNG: Cross-filter (#99459 )
* feat(table-ng): cross-filter
* fix filter update issue
* fix filter reset issue
* Fix spacebar for filter input
---------
Co-authored-by: drew08t <drew08@gmail.com>
* TableNG: Filter perfomance optimization (#99620 )
fix(table-ng): filter performance optimization
* TableNG: Refine styling closer to original table (#99625 )
* TableNG: Support groupToNestedTableTransform (#97134 )
* TableNG: Support groupToNestedTableTransform
* Fix merge issues
* Force refresh for now
* Remove log
* Fix some conflicts
* Fix more conflicts
* Help avoid clash with compiled frameToRecords keys
* Make subtable height unconstrained
* Support show field names in nested tables toggle
* TableNG: Fix footer + some other misc updates (#99846 )
fix: footer fixes huzzah
* TableNG: Styling - Update styling for cells (#99851 )
* fix(table-ng): bargauge inner width issue
* TableNG: Move header cell component (#99844 )
* fix(table-ng): move header cell into separate file
* Fix sub table
---------
Co-authored-by: drew08t <drew08@gmail.com>
* TableNG: Auto cell feature parity (#100095 )
* feat(table-ng): auto cell feature parity
* TableNG: JSON cell implementation + hover fixes (#100152 )
* feat: tableNG json cell + auto fixes
* chore: add comment
* add justify content to json cell
---------
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com>
* TableNG: Fix cell hover issue (#100207 )
* fix(table-ng): cell hover issue
* better commenting
* TableNG: Text color cell (#100120 )
feat(table-ng): text color cell feature parity
* TableNG: Image cell implementation (#100132 )
* feat: tableNG image cell
* fix: incorporate justify-content correctly
* chore: pass down cell options from fieldConfig
---------
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com>
* TableNG: Cell height performance improvement (#100544 )
* chore: perf improvement
* chore: minor fix
* Update packages/grafana-ui/src/components/Table/TableNG/TableNG.tsx
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
* chore: fix betterer
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
* TableNG: Add pagination (#100165 )
* TableNG: Add pagination
* TableNG: Get collapsed icon state correct + update `rowHeight` (#100556 )
* fix: get collapsed icon state correct + update condition for calculating row height
* chore: some cleanup!
* chore: naming to avoid confusion with local state name
* TableNG: Add support for `DataLinksCell` (#100459 )
* TableNG: Improve sub table styling (#100772 )
* Move files temporarily to fix conflicts
* Fix feature flag conflicts
* Move files back to cell dir
* TableNG: Update inner height of bar gauge cell (#100996 )
* fix: change inner height of bar gauge cell
* chore: move function to utils, cleanup
* Remove testing line
* TableNG: Add bottom border to column headers + fix footer styling (#101016 )
* feat: add bottom border to column headers for table parity
* feat: summary row style fix
* chore: remove redundant style
---------
Co-authored-by: drew08t <drew08@gmail.com>
* TableNG: Add support for `ActionsCell` (#101024 )
* TableNG: Cell hover styles + header resize handler indicator (#100770 )
* fix: tableNG styles
* chore: clean up comments
* chore: remove column header stuffz for now
* fix: refactor to transform/translate + resize handler hover styling
* chore: re-think approach - change a lot of things
* chore: most recent iteration
* chore: wait i like this better
* chore: hoist into colors function + clean it up!
* moar better
* chore: define constants for clarity
* chore: calculate rbga to rgb values given background color
---------
Co-authored-by: drew08t <drew08@gmail.com>
* TableNG: Fix scoll hover jumpy behavior (#101085 )
* fix(table-ng): hover scroll jumping
* Account for panel padding during pagination
---------
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com>
Co-authored-by: drew08t <drew08@gmail.com>
* TableNG: Fix imports (#101059 )
* fix(table-ng): clean imports
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com>
* TableNG: Sorted rows dependent upon filtered rows (#100985 )
TableNG: Improve multi-sort performance
* TableNG: Fix sparkline width (#101164 )
fix(table-ng): sparkline width
* TableNG: Type TableNG (#101257 )
* feat: type tableNG
* chore: push betterer
* chore: fix linter + why can't I have inline if statements... GRR!
* fix: linter - props name got changed at some point...
* feedback: data links prop consistency + json cell robustness
* chore: remove unused rowIndex prop
---------
Co-authored-by: drew08t <drew08@gmail.com>
* TableNG: Add support for datalinks (#100769 )
Co-authored-by: drew08t <drew08@gmail.com>
* Chore: Remove unused import (#102064 )
remove unused import
* Update betterer
* BarGauge: Remove z-index (#102220 )
fix(bargauge): remove z-index
* TableNG: Refactor + testing (#102045 )
* feat: type tableNG
* chore: push betterer
* chore: fix linter + why can't I have inline if statements... GRR!
* fix: linter - props name got changed at some point...
* feedback: data links prop consistency + json cell robustness
* feat: refactor + tests
* chore: fix import lint errors
* betterer
* chore: fix image cell
* chore: revert width function
* add test
* betterer
* chore: fix sorting + add tests
* chore: pr feedback
---------
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com>
Co-authored-by: drew08t <drew08@gmail.com>
* TableNG: Fix table suggestion (#102497 )
fix: defensively guard against missing cellOptions
* TableNG: Footer fields calc fix (#102487 )
* fix: respect footer fields calc selection
* chore: add test
* TableNG: Image cell hover fix (#102489 )
fix: image cell hover
* TableNG: Persist scrollbars during re render (#102559 )
* TableNG: Persist scrollbars during re render
* Update improved betterer
* TableNG: Fix column width override (#102474 )
* fix(table): column width override
* TableNG: Add support for crosshair share (#102410 )
* TableNG: Add support for crosshair share
* Add tests
* TableNG: Fix table ng tests (#102645 )
fix: cellType causing tests to fail
* Remove empty file
* TableNG: Update util tests (#102646 )
* TableNG: Add column type icon (#102686 )
* chore(table-ng): add column type icon
* chore(table-ng): clean styling
* Use core internationalization outside grafana ui
* Import popover directly
* Add count to grafana-ui locales
* TableNG: Change feature flag to tableNextGen (#102814 )
Change feature flag to tableNextGen
* TableNG: Add row colors (#102706 )
* chore(table-ng): add row colors
* clean up
* fix params
* fix(table-ng): cell color background indexing
---------
Co-authored-by: Kyle Cunningham <kyle@codeincarnate.com>
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com>
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com>
Co-authored-by: Alex Spencer <52186778+alexjonspencer1@users.noreply.github.com>
2025-03-25 20:57:57 -07:00
dfe2af9559
Tempo: Remove aggregate by ( #98474 )
...
* Remove aggregate by
* Update betterer
* Run toggles test
* Add back group by in schema so it can be checked for
* Show error if group by
* Update error message
* Allow user to remove the group by from the query
* Fix assertion
---------
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com>
2025-03-24 09:17:32 +00:00
c33a53a47a
K8s: Remove restore functionality; can be done with list ( #102560 )
2025-03-20 16:38:32 -05:00
a29e49f472
Chore: Promoting frontendSandboxMonitorOnly to private preview ( #102213 )
...
* Since pluginsFrontendSandbox is private preview we can make frontendSandboxMonitorOnly also private preview
* Running toggle generation command
2025-03-19 20:07:26 +02:00
5f0faf2dd6
Chore: Promoting feature toggle pluginsSriChecks GA ( #102212 )
...
* Making pluginsSriChecks GA
* make it disabled by default
2025-03-19 19:45:04 +02:00
ac4b2a3200
SecretsManager: Add feature toggle ( #102420 )
...
Co-authored-by: Dana Axinte <53751979+dana-axinte@users.noreply.github.com>
2025-03-19 10:25:14 +01:00
07024c9bac
Prometheus: Enable prometheusRunQueriesInParallel feature toggle by default ( #102127 )
...
enable prometheusRunQueriesInParallel by default
2025-03-17 22:13:59 +01:00
f2518a2c45
Chore: Promote pluginsDetailsRightPanel to private preview ( #102211 )
...
promote FeatureStagePrivatePreview to private preview
2025-03-17 10:49:51 +01:00
e30034a42a
Alerting: Remove feature flag alertingNoDataErrorExecution
( #102156 )
...
* remove feature flag
* remove feature flag in state manager
* make sure no data with empty results is handled
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
---------
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
2025-03-14 14:51:58 -04:00
b3452ae720
feat: datasourceconnectionsTab to private preview ( #102200 )
2025-03-14 11:05:27 -04:00
ae7cba3268
MetricsDrilldown: Advance exploreMetricsUseExternalAppPlugin
feature toggle stage ( #102137 )
...
* chore: advance `exploreMetricsUseExternalAppPlugin` feature toggle stage
* fix: do not hide from docs
2025-03-13 17:50:37 -04:00
9264431c81
RBAC: Remove action set feature toggle ( #101959 )
...
* remove action set feature toggle
* don't pass feature toggles to action set service instantiation
* linting
* test fixes and frontend clean-up
* fix test
2025-03-13 15:18:23 +00:00
bfedf0b512
Dashboard: Redirect between v1alpha1
and v2alpha1
depending on stored version ( #101292 )
...
* wip: Create a proxy state manager to avoid complexity
* Read path redirecting
* add tests for unified dashboard API
* add tests
* Contemplate both formats in DashboardProxy
* Fix force old
* Fix tests for proxy
* catch errors
* Save as V2 when dynamic dashboard is enabled
* Improve tests
* Remove feature toggle
* Use kubernetesDashboards for e2e suite
* Fix issue when loading snapshots
* Fix typescript errors
* Integrate with backend conversion error
* Remove legacy annotation
* fix snapshot loading; lint
* Add missing hideTimeControls
* fix test
* make setupDashboardAPI to all suites
* refactor getDashboardAPI
* Add tests
* fix DashboardScenePage tests
* fix tests
* fix go tests
* Refactor to understand better the need of transforming to v2 to compare
* Fix detect changes logic
* yes status from schema gen
---------
Co-authored-by: alexandra vargas <alexa1866@gmail.com>
Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com>
2025-03-12 11:43:32 -06:00
848d49e70f
Chore: Add username option for redis remote cache ( #101787 )
...
* Chore: Add username option for redis remote cache
(cherry picked from commit 25e28dc85e646e8cb7ab9ab582de8fb247b58b07)
* Chore: Update docs and config with sample Redis conn with user+pass
---------
Co-authored-by: Thomas Fournier <tfournier@evolves.fr>
2025-03-12 08:26:41 +01:00
7a3415148e
SQL Expressions: Add cell-limit for input dataframes ( #101700 )
...
* expr: Add row limit to SQL expressions
Adds a configurable row limit to SQL expressions to prevent memory issues with large
result sets. The limit is configured via the `sql_expression_row_limit` setting in
the `[expressions]` section of grafana.ini, with a default of 100,000 rows.
The limit is enforced by checking the total number of rows across all input tables
before executing the SQL query. If the total exceeds the limit, the query fails
with an error message indicating the limit was exceeded.
* revert addition of newline
* Switch to table-driven tests
* Remove single-frame test-cases.
We only need to test for the multi frame case. Single frame is a subset
of the multi-frame case
* Add helper function
Simplify the way tests are set up and written
* Support convention, that limit: 0 is no limit
* Set the row-limit in one place only
* Update default limit to 20k rows
As per some discussion here:
https://raintank-corp.slack.com/archives/C071A5XCFST/p1741611647001369?thread_ts=1740047619.804869&cid=C071A5XCFST
* Test row-limit is applied from config
Make sure we protect this from regressions
This is perhaps a brittle test, somewhat coupled to the code here. But
it's good enough to prevent regressions at least.
* Add public documentation for the limit
* Limit total number of cells instead of rows
* Use named-return for totalRows
As @kylebrandt requested during review of #101700
* Leave DF cells as zero values during limits tests
When testing the cell limit we don't interact with the cell values at
all, so we leave them at their zero values both to speed up tests, and
to simplify and clarify that their values aren't used.
* Set SQLCmd limit at object creation - don't mutate
* Test that SQL node receives limit when built
And that it receives it from the Grafana config
* Improve TODO message for new Expression Parser
* Fix failing test by always creating config on the Service
2025-03-11 17:14:33 +00:00
210c886bb7
I18n: Add new language options ( #101899 )
...
* Add newLanguages feature toggle
* add additional languages behind feature toggle
* be more forgiving of what config looks like in tests
* tweak regex
* put pt-br back
* restore order of pt-BR and cn-Hans, rename EXTRA_LANGUAGES to NEW_LANGUAGES
* stricter test regex
2025-03-11 12:07:16 +02:00
dd5db23123
SQL Expressions: Update comment for flag definition ( #101919 )
...
Update comment for SQL Expressions flag definition
2025-03-11 09:59:23 +00:00
14ad1dec38
conf: hides scope feature toggles from docs ( #101913 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2025-03-11 10:12:58 +01:00
d3b3186713
Auth: Make ssoSettingsSAML GA and enabled by default ( #101766 )
...
Make ssoSettingsSAML GA and enabled by default
2025-03-07 12:01:18 +01:00
13cf67de53
Remove relref shortcodes ( #101694 )
...
* manually replce all shared relrefs
* relref replace - grafana next
* Merge branch 'master' into robbymilo/relref-replace-grafana-next
* manual fixes
* remove ref shortcode
* Merge branch 'master' into robbymilo/relref-replace-grafana-next
* prettier
* fix test
* update readme
2025-03-06 13:59:08 +01:00
374380d1f6
Alerting: Keep the latest version of deleted rule in version table ( #101481 )
...
* add feature toggle alertRuleRestore
* Update delete rule to require UserUID, remove all versions and create "delete" version that holds information about who and when deleted the rule
2025-03-05 09:15:26 -05:00
bbfeb8d220
Feature: Introduce subresource integrity checks (SRI) for frontend assets ( #100983 )
...
* feat(featuremgmt): introduce feature toggle for enabling sri checks
* feat(frontend): use assetSriChecks feature toggle to inject integrity hash into script tags
* chore(webpack): align sri algorithms across dev and prod builds
* docs(featuremgmt): update assetSriChecks to pass CI
* docs(featuremgmt): fix more spelling complaints with assetSriChecks
* Add crossorigin attribute
* chore(webpack): add subresource-integrity plugin
* build(webpack): wrap webpack jsonp loader integrity checks in feature flag checks
* revert(index.html): remove crossorigin attribute if assertSriChecks is disabled
---------
Co-authored-by: Kristian Bremberg <kristian.bremberg@grafana.com>
2025-03-04 11:56:35 +01:00
2b0029267c
Actions: Remove vizActions
feature toggle ( #100309 )
2025-02-27 01:15:01 +02:00
f3433fd472
RBAC: Remove accessControlOnCall feature toggle ( #101222 )
...
* RBAC: Remove accessControlOnCall feature toggle
* Leave the other one in place
* Tests
* frontend
* Readd empty ft to frontend test
* Remove legacy RBAC check
* Fix test
* no need for context
* Remove unused variable
* Remove unecessary param
* remove unecessary param from tests
* More tests :D
2025-02-25 13:44:40 +01:00
10c6f1878e
Docs: Show exploreMetricsRelatedLogs
feature toggle in docs ( #101106 )
...
docs: show `exploreMetricsRelatedLogs` feature toggle in docs
2025-02-21 09:31:16 -05:00
6eca5c09df
Prometheus: Remove query assistant and related components ( #100669 )
...
* remove query assistant related components
* remove export statement
* remove grafana/llm from prometheus packages
* remove extra package
* revert unintended change
* incorrect handling of managedPluginsInstall merge deletion
* update yarn.lock
* linting fix
* linting fix
2025-02-21 11:33:12 +01:00
5974c197cb
Settings: Updating docs for removal of settings ( #100956 )
...
* wip
* linting
* update word
2025-02-21 08:57:01 +00:00
ab754bc6bd
Rename Explore Apps to App Drilldown ( #101096 )
2025-02-20 19:14:02 +00:00