Sam Jewell and Kyle Brandt
f8a72214cf
SQL Expressions: Add more functions to the allowlist ( #103546 )
...
* SQL Expressions: Allow many more functions and nodes
* Also allow the `REGEXP_SUBSTR` function
* Add window functions
* add more JSON support, remove now and current time (for now)
---------
Co-authored-by: Kyle Brandt <kyle@grafana.com >
2025-04-07 21:23:39 +03:00
Pepe Cano
21fe9480a1
docs(alerting): Configure Grafana IRM ( #103549 )
...
* docs(alerting): Configure Grafana IRM
* update `PagerDuty`
2025-04-07 18:51:49 +02:00
Gareth Dawson
a494c5dd3d
Prometheus: fix labels infinite loading state in aggregations ( #103005 )
...
* fix labels in aggregation
* use timerange from props
* fix tests and lint
* fix lint
2025-04-07 18:40:48 +02:00
Galen Kistler and Matias Chomicki
369dc28ca2
Logs Table: Add new Controls component to Explore ( #103467 )
...
* Add logs options to Table
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com >
2025-04-07 10:35:45 -05:00
Sonia Aguilar and Tom Ratcliffe
71c66acb2d
Alerting: Add keep_firing_for and Recovering state ( #103248 )
...
* add keep_firing_for and Recovering state
* prettier
* translations
* remove unused component/file
* fix tests
* fix test
* prettier
* fix tests
* revert changes in go.work.sum
* remove recovering from cloud rules filters
* prettier
* fix padding
* fix wrong move in import
* update text
* fix filtering states in alert list panel
* update translations
* betterer
* address feedback
* translations
* fix tests
* prettier and betterer
* update betterer.results
* update translations
* update snapshot
* add divider in the alert rule form
* address feedback
* Improve translations
* Update .betterer.results
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2025-04-07 17:13:04 +02:00
Alexander Akhmetov
09a7f9ba1c
Alerting: Update external alert manager notifier ( #103530 )
2025-04-07 17:09:23 +02:00
Torkel Ödegaard and Ashley Harrison
b9bc069fb9
AppChrome/MegaMenu: Fixes issue with default state being initialised to undocked ( #103507 )
...
* AppChrome/MegaMenu: Fixes default mega menu docked state
* AppChrome/MegaMenu: Fixes default mega menu docked state
* Update thresholds
* Update
* pa11y fix
* remove unnessary css
* fixed pa11y config
* try fix pa11y config + unit tests
* just increase thresholds again...
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2025-04-07 16:00:05 +01:00
Ryan McKinley
63af403897
Live: Remove queryOverLive and live-service-web-worker experimental feature flags ( #103518 )
2025-04-07 17:47:35 +03:00
Matias Chomicki
e2a6f9a849
Logs: Add new Controls component to Explore ( #103401 )
...
* ControlledLogRows: create component
* Fix imports
* ControlledLogRows: handle scroll events
* Rename storage key prop
* LogListControls: externally control syntax highlighting
* ControlledLogRows: add support for level filtering
* Logs: implement deduplication from controls
* Fix imports
* Create feature flag
* Use feature flag
* LogListControls: add download button
* LogsMetaRow: extract download function to logs utils
* Filter and download logs
* Update tests with new props
* LogList: pass logs and logs meta to context
* Remove prefix from downloaded file
* Update unit tests
* LogListControl: update unit tests
* Fix type assertion
* Fix imports
* Formatting
* i18n
* Fix test
* LogListControls: adjust scroll to top styles
* LogListContext: control legacy options
* LogListControls: add showUniqueLabels and prettifyJSON options
* LogListControls: test new controls
* Extract translations
* Hide old controls by feature flag
* LogListControls: update prettify json copy
* ControlledLogRows: disable preview
* Prettier
* LogListControls: Fix test
2025-04-07 16:38:55 +02:00
Leonor Oliveira
e9ed7223a6
Use authlib repo. Use otel ( #103178 )
...
* Use authlib repo. Use otel
* Use interceptors on the provider level
* Create a new wire set with otel
* Lint
* Fix test
* make update-workflow
* make update-workspace
* make update-workspace. Try to add authlib as enterprise imports
* make update-workspace
2025-04-07 15:47:40 +02:00
Torkel Ödegaard
46bf9e6551
Dashboard: Group layout and Grid layout categories and simplified radio toggle design ( #103433 )
...
* Group layout and more
* Change word
* Update
* changed names and added new translation keys
* Update
* Update
* revert color change
* update
2025-04-07 14:30:09 +02:00
fc099e9f0d
Provisioning: Run validation on config updates ( #103265 )
...
* Run validation on config updates
* Refactor code
* Add debug lines
* Remove test check on admission
* Organize imports
* Delegate events to the API client
* Extend error notification
* Deep copy default data
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
Co-authored-by: Clarity-89 <homes89@ukr.net >
2025-04-07 14:48:28 +03:00
Ezequiel Victorero and joshhunt
e1ec9bddbd
Grafana-UI: Support theme color in TagsInput ( #102293 )
...
* Grafana-UI: Support theme color in TagsInput
* improve variable names
* rename prop + rejigger styles
* reword comment
---------
Co-authored-by: joshhunt <josh.hunt@grafana.com >
2025-04-07 12:43:59 +01:00
Will Assis
9bc4fbe900
alerting: batch user service calls ( #103403 )
...
* update alerting endpoints to batch requests to the user service via ListByIdOrUID
2025-04-07 07:33:15 -04:00
Sonia Aguilar
a05b35a13c
Alerting: Fix wrong interpolation in translation ( #103514 )
...
fix wrong interpolation in transalation
2025-04-07 13:41:04 +03:00
Alexander Akhmetov
cf5da1d366
Alerting: Fix swagger in pkg/services/ngalert/api/tooling ( #103500 )
2025-04-07 12:38:07 +02:00
Ashley Harrison
641031cfaf
Chore: Type fixes ( #103340 )
...
* tidy tidy
* more fixes
* some TableNG fixes
* another TableNG test fix
* some more fixes
* betterer...
2025-04-07 11:29:30 +01:00
Peter Štibraný
68c6e88b00
Support creating temporary Spanner databases for integration tests. ( #103347 )
...
* Support creating temporary Spanner databases for integration tests.
2025-04-07 12:15:16 +02:00
Tom Ratcliffe
23fa739a13
Alerting: Link annotations label and inputs together ( #103473 )
2025-04-07 11:01:05 +01:00
renovate[bot]
494ca597aa
Update babel monorepo ( #103455 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-04-07 10:58:47 +01:00
Hugo Häggmark
3de09fe457
i18n: exposes languages in grafana/data ( #102958 )
...
* i18n: exposes languages in grafana/data
* Chore: updates after PR feedback
2025-04-07 11:53:04 +02:00
Leonor Oliveira
c63cfc11e2
[Chore] Mark CodeQL warning as safe ( #101365 )
...
* Mark CodeQL warning as safe
* Temporarily ignore file
2025-04-07 11:52:09 +02:00
Ryan McKinley
1824694c72
Provisioning: Show branch in save form ( #103513 )
2025-04-07 12:48:32 +03:00
Tito Lins
505c0cbbaf
Alerting: upgrade alerting ( #103333 )
2025-04-07 11:39:38 +02:00
Ryan McKinley
1faa855ff1
Provisioning: Improve sample provisioning ( #103508 )
2025-04-07 12:37:18 +03:00
Piotr Jamróz
4db8d8530d
Explore: Fix displaying Query Inspector ( #103512 )
2025-04-07 11:12:23 +02:00
Torkel Ödegaard
271868b4f1
Explore: Fix button sizes used in AppChrome toolbar ( #103496 )
2025-04-07 11:03:21 +02:00
Jack Baldry
8655862c8b
Include rule for correct use of grafana.com ( #103505 )
...
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
2025-04-07 09:55:18 +01:00
Jack Baldry
bb2dfa1997
Remove doc-validator workflow ( #103504 )
...
The tool is unmaintained. Most useful rules have been ported to Vale.
The remaining rules often exhibit false positives.
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
2025-04-07 09:54:58 +01:00
Ashley Harrison
0fc4f53fab
Internationalisation: More markup for translations ( #103392 )
...
* some more translations
* more markup
* more translations
* fix tests
2025-04-07 09:48:03 +01:00
Ivan Ortega Alba and Haris Rozajac
3c3e5754b3
Dashboard: Enable JSON editor for Schema v2 ( #102466 )
...
Co-authored-by: Haris Rozajac <haris.rozajac12@gmail.com >
2025-04-07 10:46:43 +02:00
grafana-pr-automation[bot] and github-actions[bot]
7ae86ee017
I18n: Download translations from Crowdin ( #103485 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-07 09:32:37 +01:00
Mariell Hoversholm
38db7fad22
Build: Unpin bleve/v2 ( #103506 )
...
The commit we wanted[1] is now in v2.5.0 of bleve/v2. This means we no longer need a pin here and can update the library
instead.
[1]: https://github.com/blevesearch/bleve/commit/af9e3111dadfedf9d30f0448506b4a57fecc8550
2025-04-07 10:21:33 +02:00
Ryan McKinley
8dbaeac9da
Provisioning: Use repository view rather than raw config ( #103449 )
2025-04-07 09:39:31 +03:00
Stephanie Hingtgen
8cd6f837a5
Dashboards: Prevent saving to a non-existent folder ( #103503 )
2025-04-07 09:02:20 +03:00
Jack Baldry
ed9b649ed6
Update sharing markers to use the new format ( #103470 )
...
The new behavior is discussed in https://github.com/grafana/website/pull/25064 .
The behavior lets writers include block elements like lists and continue the list in the including source.
I've removed the `panels` `ref` URI to fix the link in learning journeys.
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
2025-04-07 04:48:26 +01:00
Marco de Abreu
b2f80d4dca
Dashboards: Add Dashboard API Validation tests and fix underlying issues ( #103502 )
2025-04-07 05:44:28 +03:00
Todd Treece
427715b070
Dashboards: Add k8s fallback client ( #103404 )
2025-04-06 16:38:06 -04:00
Ryan McKinley
b329b78ef6
Provisioning: Improve flakey test ( #103498 )
...
improve flakey test
2025-04-06 17:51:54 +02:00
Sven Grossmann
8eea0c9a3d
Explore: Use fixed dates to prevent DST issues in tests ( #103497 )
...
* Explore: Use fixed dates to prevent DST issues in tests
* PanelQueryRunner: Use fixed dates to prevent DST issues in tests
2025-04-06 17:04:28 +02:00
Alexander Akhmetov
bdbe94abc8
Alerting: Remove alertingConversionAPI feature flag ( #103380 )
2025-04-05 09:27:02 +01:00
Oleg Yevik and Yuri Tseretyan
ac7ad27867
Alertmanager: Add Role-Based Access Control via reqAction Field ( #101543 )
...
* Add reqAction for alert manager routes
* Add endpoints from Prometheus Alertmanager API
* use notifications reader for alertmanager/api/v2/status
* use viewer for GET api/v1/alerts
* add POST DELETE for api/v1/alerts
* duplicate paths to cover upstream Alertmanager
* add fallback rule to catch all GET
* Update reqAction for GET api/v1/alerts
* require Admin for all wildcard paths
---------
Signed-off-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2025-04-04 21:59:45 +03:00
ismail simsek
8fadade4b8
Chore: Split PrometheusMetricsBrowser into small functional components ( #101703 )
...
* convert it to functional component
* useReducer
* usePromQueryFieldEffects
* clean up the code
* remove localStorage provider
* introduce usePromQueryFieldEffects.test.ts
* simpler state management
* remove mocks
* linting + betterer
* Split PrometheusMetricsBrowser into small functional components
* prettier
2025-04-04 18:58:46 +02:00
ismail simsek
23e0f63790
Chore: Convert prometheus query field to a functional component ( #101515 )
...
* convert it to functional component
* useReducer
* usePromQueryFieldEffects
* clean up the code
* remove localStorage provider
* introduce usePromQueryFieldEffects.test.ts
* simpler state management
* remove mocks
* linting + betterer
* remove unnecessary check
* use range
* remove unused languageProvider
* prettier
2025-04-04 17:56:31 +02:00
Tom Ratcliffe
a93e618102
Internationalisation: Auto mark-up Alerting's strings ( #103354 )
...
* Internationalisation: Auto mark-up Alerting code strings
* Update .betterer.results
* Revert prometheus duration docs change
* Fix duplicated import
* Remove unneeded translation
2025-04-04 15:56:10 +01:00
Jack Westbrook
892ea3ad30
Chore: Bump @babel to latest 7.x.x releases ( #103456 )
...
chore(yarn): bump @babel to latest 7.x.x releases, dedupe lock file
2025-04-04 15:43:45 +01:00
Torkel Ödegaard
31f1ff92a6
Dashboard: Remove global add button ( #103457 )
...
* Dashboard: Remove global add button
* Push
2025-04-04 16:33:25 +02:00
Daniel Alvo
d16dbc5ac9
ColorPicker: Fixed height when switching tabs ( #103304 )
...
* ColorPicker: fixed height when switching tabs
Fixed the component's height by setting a consistent height and adding margin.
Also added a test to ensure the component heights remain nearly identical when switching tabs.
Fix #99675
* ColorPickerPopover: Fixed height for popover content and allowed overflow. #99675
* ColorPickerPopover : Fix formatting suggested by linter.
* ColorPickerPopover: Remove redundant height test when switching tabs
* ColorPickerPopover: Remove overflowY style from popover container
* ColorPicker: Remove unnecessary marginTop from SpectrumPalette styles
2025-04-04 17:19:08 +03:00
Kyle Brandt
b1490a10e8
SQL Expressions / Alerting: Do not allow duplicates ( #103394 )
2025-04-04 10:00:30 -04:00
Tom Ratcliffe
3766deed34
Alerting: Import UI - Add folder creation & add to new list view ( #103417 )
...
* Update styling of import warning
* Update logic for picking recording rule target datasource, and default to chosen DS
* Add CreateNewFolder component
* Reuse folder creation logic inside alert rule form
* Update betterer and tweak jsdoc
* Add translation to folder selector and tidy up imports
* Allow specifying data source UID in query param
* Add import button to new list view on appropriate data sources
* Fix CI failures
* Update translation keys
2025-04-04 14:44:59 +01:00