Gilles De Mey
cf6a2b9f39
Alerting: Clarify that we are adding subling policies ( #88829 )
...
clarify that we are adding subling policies
2024-06-06 15:42:38 +02:00
Gilles De Mey
755fcc9838
Alerting: Update search examples for notification policies ( #88830 )
...
update search examples for notification policies
2024-06-06 15:42:26 +02:00
Josh Hunt
51b3116730
Keybinds: E2E tests ( #88752 )
...
* Attempt at a keybinds e2e test
* another one, thank you
* polish e2e tests, remove console.log
* an extra test
* remove anti-patterns
2024-06-06 14:10:11 +03:00
Matias Chomicki
a21a9b9c6c
Loki: Kick start your query now applies templates to the current query ( #87658 )
...
* Kick start your query: keep pipe operations in the original query
* QueryPatternsModal: define keep operations from the operations list
* QueryPatternsModal: resolve deprecation
* QueryPatternsModal: use the correct import
* QueryPatternsModal: use category instead of order rank
* QueryPatternsModal: add unit test case
* Chore: change button cta
2024-06-06 12:47:17 +03:00
Victor Marin
c79ea234db
Simplify lib panel creation in dashboard ( #88681 )
...
simplify lib panel creation in dashboard
2024-06-06 11:37:44 +03:00
Victor Marin
50b3269ef0
Dashboard Scenes: Add replace lib panel functionality ( #87109 )
...
* add replace lib panel functionality
* refactor
* locales
2024-06-06 11:34:45 +03:00
Andre Pereira
277067ac9d
AnnotationsPlugin2: Implement support for rectangular annotations in Heatmap ( #88107 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-06-05 16:48:37 -05:00
Tom Ratcliffe
170d476bdc
Alerting: Add RBAC logic for silences creation ( #87322 )
...
* Remove role requirement for editing silence (instead handled by silence editor displaying error)
* Send query params for metadata/access control silence logic
* Add new access control types to enum
* Add folder-specific checks for silences
* Remove filtering in alert manager picker
* fix flakey rule viewer test and update permissions helper
* Use `returnTo` in rule viewer page
* Fix incorrect display of duration
* Clean up some mock server behaviour in rule details tests
* Tweak styles for silences alerts table
* Remove alertmanager picker from silences drawer
* Add error if user cannot edit a silence
* Show alert rule name in silences table and consume RBAC logic
* Update mocks to include RBAC access control logic
* Update silences tests
* Update silences type to include access control info
* Update comment for missing alertmanager
* Update mock handlers and query param logic
* Tweak query params again
* Update access control mock
* Revert AM picker fix as user may not have access to Grafana AM
* Swap ternary order
* Change text for no alert rule targeted
* Don't show error alert from RTKQ query and remove alert instance preview in case of error
* Add missing translations
* Fix test adding missing mock for getting alert rule
* Add missing translations in SilencesTable
* Add translations autogenerated files
* fix allowing edit silence in external alert manager
---------
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com>
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com>
2024-06-05 15:09:26 -04:00
Ivana Huckova
023857625a
Elasticsearch: Remove enableElasticsearchBackendQuerying
feature toggle ( #88668 )
...
* wip
* Fix newly introduced any
* Remove toggle
* Remove unused code in LegacyQueryRunner
2024-06-05 17:03:29 +02:00
Ryan McKinley
41e0430f83
K8s/Dashboards: Add frontend api to switch between implementations ( #88632 )
2024-06-05 17:34:23 +03:00
Ashley Harrison
2297687ae1
Chore: Ensure all react-transition-group
animations use nodeRef
( #88604 )
...
* ensure all react-transition-group animations pass nodeRef
* clone children instead of wrapping in div
* remove div wrapper
* revert back to div
2024-06-05 15:01:50 +01:00
Dmitry Bashkatov
17525ad43f
Logs: Added support for numeric log levels ( #87366 )
...
* logs: add support for numeric loglevels
* Log types: add a numeric level map to LogLevel
* getLogLevelFromKey: adapt to support numeric levels
* Formatting
* getLogLevelFromKey: accept strings or numbers
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com>
2024-06-05 13:56:36 +02:00
Gilles De Mey
33d4e59ffb
Alerting: Use folder_uid instead of file for Grafana managed alert rules ( #88497 )
2024-06-05 12:46:23 +02:00
renovate[bot]
cd5f485df7
Update dependency tslib to v2.6.3
2024-06-05 10:08:51 +00:00
renovate[bot]
4443438fab
Update dependency @types/node to v20.14.2
2024-06-05 09:48:36 +00:00
Matias Chomicki
ec9aecd82b
Loki: remove query formatting ( #88636 )
...
* Loki: remove query formatting
* Loki formatting: remove feature flag
* chore: remove test
* Formatting
2024-06-05 12:46:28 +03:00
renovate[bot]
b101b37e2c
Update dependency @grafana/lezer-logql to v0.2.4 ( #88745 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 09:53:23 +01:00
renovate[bot]
45336105b2
Update dependency glob to v10.4.1 ( #88717 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 09:32:39 +01:00
Torkel Ödegaard
e735573852
DashboardScene: Fixes issue with some query editors to not adapt to width changes ( #88718 )
...
DashboardScene: Fixes issue with panel editor causing moncao query editors to not adapt to width changes
2024-06-05 08:14:45 +02:00
Matias Chomicki
1cfb21a74c
Logs: improve deduplication supporting code and fix duplicated frames ( #88716 )
...
* Logs: change refId approach to deduplicate infinite scrolling rows
* Chore: update tests
* chore: add comment
* Prettier
2024-06-04 19:09:33 +03:00
Andrej Ocenas
048194597f
Explore: Align time filters properly to day boundaries in query history ( #88498 )
2024-06-04 15:04:36 +02:00
renovate[bot]
b8cd5bb57c
Update dependency @types/node to v20.14.1 ( #88689 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 13:58:08 +01:00
Sarah Zinger
4d002d85f9
Cloudwatch Logs: Fix bug where we did not return errors to user ( #87190 )
2024-06-04 08:43:36 -04:00
Sonia Aguilar
2090270a13
Gops: Fix data field in incidents query ( #88682 )
...
Remove data field in incidents query
2024-06-04 14:42:56 +02:00
Joey
a52f99246f
Tempo: Send current filters when retrieving tags for AdHocFilters ( #88270 )
...
* Send current filters when retrieving tags
* Tests
* Syntax update
* Update if
2024-06-04 13:20:06 +01:00
Laura Benz
adbb005d38
RestoreDashboards: Populate page ( #88555 )
...
* feat: add search input and filters
* feat: add state management v0
* feat: update search view and add to trash page
* refactor: fix some errors
* feat: page population
* feat: fix error
* Run betterer checks locally
* Run i18n abstraction
* refactor: clean up after merging main
* refactor: clean up after merging main
* Run i18n abstraction
* refactor: remove browse view
2024-06-04 12:08:18 +02:00
Sven Grossmann
2fb63cd2e6
Loki: Fix editor history in wrong order ( #88666 )
2024-06-04 11:40:04 +02:00
Ashley Harrison
3f7017a471
Chore: Remove nestedFolderPicker
toggle ( #88660 )
...
remove nestedFolderPicker toggle
2024-06-04 12:16:12 +03:00
Josh Hunt
407bbe1f4b
Keybinds: Vendor Mousetrap ( #88603 )
...
* vendor mousetrap
* fix js lint errors
* name to .ts - start refactoring to typescript
* refactor Mousetrap to valid typescript
rename local functions/variables
update types of CallbackInfo
Specify MouseCallback and cleanup types
* Use vendored mousetrap
* use vendored mousetrap
* add globalBind, and remove dependency on external mousetrap
* Update public/app/core/services/keybindingSrv.ts
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
---------
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
2024-06-04 09:35:19 +01:00
Sonia Aguilar
88a2485cc2
Alerting: Update translations in GrafanaEvaluationBehaviour component ( #88638 )
...
* Update translations
* Fix key in translations
* Interpolate point char in the Trans children text
* Use interpolation correctly in Trans component
2024-06-04 11:19:53 +03:00
Oscar Kilhed
0f89f4b2d2
Grafana UI: stop input element of the react select component from overflowing and causing layout issues. ( #88372 )
...
* Grafana UI: stop input element of the react select component from overflowing the input container
* update snapshot since the css changed
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2024-06-04 10:13:43 +02:00
Laura Benz
b6bd9e5352
Laura/refactor/rename trash section ( #88617 )
...
* refactor: move and rename page component
* refactor: change codeowners
* refactor: change naming in backend
* refactor: change wording of subtitle
2024-06-04 10:03:33 +03:00
ismail simsek
f458e57523
InfluxDB: Fix custom variable support ( #88642 )
...
* fix variable support
* prettier
2024-06-03 23:47:27 +03:00
Leon Sorokin
87cafbf9af
XYChart2: Implement color-by-field ( #88467 )
2024-06-03 11:53:59 -05:00
EduardZaydler
dbec8465e5
Graphite: Fix splitting expressions in tag_value with template variables ( #86958 )
...
fix spilitting expressions in tag_value with template variables
2024-06-03 09:27:14 -05:00
Pepe Cano
2a8a6d755f
Alerting: update Set evaluation behavior
text ( #88301 )
...
* Alerting: update `Set evaluation behavior` text
* Update `Evaluation group` description for the `Evaluation group` modal view
2024-06-03 15:41:34 +02:00
Alexa V
e147c58a7b
Dashboard: Fix Variables query hides fields with non-supported datasources ( #88516 )
...
* Show queryVariable editor even if the variable does not support variables
* Fix VariableQueryRunner unit test, now takes into account the new function
2024-06-03 13:58:30 +02:00
Tobias Skarhed
44ca89fe77
KeyboardShortcuts: Support panel attention for scenes ( #88476 )
...
* Support panel attention for scenes
* Remove console.log
* Bump scenes version for good measure
* Mock appEvents
* Remove unused import
2024-06-03 12:49:13 +02:00
Ashley Harrison
e781716a38
Chore: move PageHeader
component to angular folder ( #88556 )
...
move page-header component to angular folder, scss to angular.scss
2024-06-03 11:47:47 +01:00
ismail simsek
c73bbf19a1
InfluxDB: Introduce maxDataPoints setting for flux variable query editor ( #87935 )
...
* Introduce custom variable support
* Remove comment lines
* introduce maxDataPoints
* fix tests
* update
* fix unit tests
* remove new line
2024-06-03 12:09:33 +03:00
Victor Marin
e86784200a
Create lib panel and replace it in scene ( #88504 )
...
* Create lib panel - also replace it in scene
* refactor
* refactor
* refactor
2024-06-03 11:02:41 +03:00
Nathan Marrs
9e82c85849
Canvas: Chore fix *remaining* betterer issues ( #88491 )
2024-05-31 13:33:31 -07:00
Tom Ratcliffe
dfd64ed469
Alerting: Ensure we fetch AM config before saving new configuration ( #88458 )
2024-05-31 17:19:01 +02:00
Bruno
33b9544047
Cloud migrations: create route to delete token ( #88297 )
...
* Cloud migrations: create route to delete token
* gcom.DeleteToken returns ErrTokenNotFound instead of a boolean
* remove unnecessary comment
* make openapi3-gen && yarn run rtk-query-codegen-openapi ./scripts/generate-rtk-apis.ts
* gcom stub: implement DeleteToken
2024-05-31 10:03:43 -03:00
Piotr Jamróz
ce23a455c3
Explore: Show a modal to edit query template before saving it ( #88211 )
...
* Create a mock modal
* Add basic form handling
* Update tests
* Extract translations
* Disable auto-star switch
* Keep disabled input uncontrolled
2024-05-31 11:55:01 +02:00
Ashley Harrison
8c88f605e4
Chore: Migrate some more scss styles ( #88484 )
...
* migrate some more styles
* migrate typeahead styles
* migrate tagsinput styles
2024-05-31 10:04:25 +01:00
Jon Cole
ba4c1fcf76
AzureMonitor: Retrieve Azure clouds from SDK ( #87944 )
...
* AzureMonitor: get the list of azure clouds from the SDK instead of from a hard coded list
* add azure-sdk to yarn.lock
* merge legacy with custom options
* Normalize legacy cloud names
* Workaround: send new credential format to backend while we wait to migrate to the new format
* Lint fix
* resolveLegacyCloudName should not return undefined
* re-add undefined handling in resolveLegacyCloudName so that we fallback to getDefaultAzureCloud when not defined
---------
Co-authored-by: Jeremy Angel <jeremyangel@microsoft.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2024-05-30 23:40:05 +01:00
Drew Slobodnjak
1c339db7ad
Geomap: Improve Pan and Zoom Performance ( #88202 )
...
* Geomap: Improve pan and zoom performance
* Remove unused code
2024-05-30 14:41:59 -07:00
Nick Richmond
7ec93edec1
ExploreMetrics: Adjust wording to improve clarity ( #88319 )
...
refactor: change wording add clarity
2024-05-30 16:00:57 -04:00
Nick Richmond
fddf77ee35
CodeEditor: Fix broken styles ( #88495 )
...
* fix: remove erroneous container
* fix: update selector
* fix: pass data attrs via `wrapperProps`
* fix: ensure `toBeInTheDocument` checks have unique markup
2024-05-30 20:34:00 +03:00