Commit Graph

52445 Commits

Author SHA1 Message Date
Ivan Ortega Alba
bc2cdd82dc
DataSourcePicker: Create new data source does not work for subpath (#90536) 2024-07-17 19:23:08 +03:00
Jean-Philippe Quéméner
283280f329
fix(querier): use most specific timerange available (#90540)
* fix(querier): use most specific timerange available

* return zero values
2024-07-17 20:22:45 +04:00
Michael Mandrus
9b7e9d992b
CloudMigrations: Query GMS for a presigned upload url at upload time (#90505)
query GMS for an upload url at upload time
2024-07-17 11:53:21 -04:00
Yuri Tseretyan
970cafa20f
Alerting: Time interval Delete API to check for usages in alert rules (#90500)
* Check if a time interval is used in alert rules before deleting it
* Add time interval to parameters of ListAlertRulesQuery and ListNotificationSettings of DbStore

== Refacorings == 
* refactor isMuteTimeInUse to accept a single route
* update getMuteTiming to not return err
* update delete to get the mute timing from config first
2024-07-17 10:53:54 -04:00
Tom Ratcliffe
79df1b1e10
Alerting: Remove some unused mock server methods (#90432)
Remove some unused mock server methods
2024-07-17 16:50:25 +02:00
Tom Ratcliffe
919bc47dba
Alerting: Move alertmanager warning to consistent place within notification policies (#90521)
Move alertmanager warning to consistent place within notification policies
2024-07-17 16:46:00 +02:00
Sonia Aguilar
42c29cac0b
Alerting: Use Runbook URL label everywhere and add validation in the alert rule… (#90523)
* Use Runbook URL label everywhere and add validation in the alert rule form for it

* remove validation in alert rule form and render link on detail view only when its a valid url
2024-07-17 16:40:17 +02:00
Ryan McKinley
07c2d886fa
Storage: prepare in resource bytes in storage.Interface, not the backend (#90513)
* prepare in k8s

* prepare in k8s

* prepare in k8s

* simplify event creation

* decode the inputs
2024-07-17 07:40:03 -07:00
Andreas Christou
2616366a0a
Prometheus: Reintroduce Azure audience override feature flag (#90339)
* Re-add feature flag with deprecation note

* Hide the field in frontend if ff disabled

* Block scope overriding if ff is disabled in backend

- Update promlib to forward logger to extendOptions
- Add warning
- Update tests

* Default toggle to true for now

* Update description

* Update prom tests

* Fix lint
2024-07-17 15:09:55 +01:00
lean.dev
7839903fef
CloudMigrations: Sets default grafana domain to prod (#90526) 2024-07-17 10:48:23 -03:00
Ashley Harrison
334657e1cb
Navigation: Move scroll behaviour to body (#89921)
* initial attempt at body scrolling

* fix login layout

* minor fixes

* "fix" some fixed position stuff

* remember scroll position in dashboard page

* fix unit tests

* expose chrome header height in runtime and fix connections sticky header

* fix panel edit in scenes

* fix unit tests

* make useChromeHeaderHeight backwards compatible, fix plugin details double scrollbar

* fix sticky behaviour in explore metrics

* handle when undefined

* deprecate scrollRef/scrollTop

* fix extra overflow on firefox
2024-07-17 13:48:47 +01:00
Alex Khomenko
ad6cf2ce4d
Restore dashboards: Design review (#90468)
* Update singular case

* More copy & count fixes

* Translate success messages

* Update message

* Split no-deleted message
2024-07-17 15:00:46 +03:00
Ivan Ortega Alba
3559c5c297
Revert "Frontend: Use safe stringifier in parseBody" (#90522)
Revert "Frontend: Use safe stringifier in parseBody (#90047)"

This reverts commit 434f386982.
2024-07-17 14:00:01 +03:00
Joanna
8f376a302b
UI: Align the icon in the Alert (#90461)
* UI: Align the `icon` in the `Alert`

* feat: align icon with one line text

* chore: prettier imports fix

* chore: revert imports

* feat: remove alignSelf & position the icon

* chore: clean up
2024-07-17 11:48:57 +01:00
Esteban Beltran
fa2506300f
Plugins: Update plugin.json schema to correctly validate version ranges and single digit versions (#90517) 2024-07-17 11:20:25 +02:00
Piotr Jamróz
58285e37a2
Explore: Pass the dataframes along with the time range of the data (#90259)
* Use data time range for rendering instead of selected range from the picker

* Update CustomContainer to use data time range

* Update test
2024-07-17 11:05:09 +02:00
Edvard Falkskär
c41f3394a4
InteractiveTable: Add initial sort prop (#89937) 2024-07-17 09:37:30 +01:00
Dafydd
14cd98d7fb
Update ephemeral instances workflow (#90428)
* use custom action from ephemeral workflow repo

* update codeowners

* delete obsolete workflow
2024-07-17 09:18:50 +01:00
Joey
995425f022
Tempo: Only generate query for query history if there are filters (#90471)
* Only generate query if there are filters

* Move check
2024-07-17 09:15:41 +01:00
Gabriel MABILLE
ff90bf0ca4
Docs: Update basic roles permissions using curl (#90485)
* Docs: Update basic roles permissions using curl

* Fix comments

* Remove localhost
2024-07-17 09:15:36 +02:00
antonio
2186676f55
alerting:docs>google chat (#90257)
* alerting:docs>google chat

* pretty

* weight

* changed weight

* typo
2024-07-17 08:22:47 +02:00
Serge Zaitsev
f5da9edbba
Chore: Remove unused method in db.DB (#90433)
* remove unused method

* clean up tests
2024-07-17 08:17:23 +02:00
Isabel Matwawana
c13002ee8c
Docs: make heading fix in content.ts file (#90473) 2024-07-16 18:25:29 -07:00
Adela Almasan
200eb4f774
Canvas: Fix data links migration (#90504) 2024-07-16 15:56:21 -05:00
Michael Mandrus
83b309c724
CloudMigrations: Don't migrate dashboards that are soft-deleted (#90454)
* skip dashboards that are soft-deleted while building snapshots

* add unit test
2024-07-16 22:33:11 +03:00
Haris Rozajac
8e4ec47114
Explore: Docs for logs pinning and filtering in content outline (#90281)
* Docs for logs pinning and filtering

* Note about log volume histogram

* Update docs/sources/explore/_index.md

Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>

* Update docs/sources/explore/_index.md

Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>

* Update docs/sources/explore/_index.md

Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>

---------

Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
2024-07-16 13:24:06 -06:00
Andrew Hackmann
319a874033
MSSQL: Password auth for Azure AD (#89746)
* Password auth for Azure AD

* rename auth fields

* add azure flag for client password cred enabled

* prettier

* rename flag

* Update go.mod

* Update public/app/plugins/datasource/mssql/azureauth/AzureCredentialsForm.tsx

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>

* Apply suggestions from code review

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>

* update package

* go mod

* prettier

* remove password

* gowork

* remove unused env test

* linter

---------

Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
2024-07-16 14:08:51 -05:00
Galen Kistler
ac21fa8e18
Table: Update selected row color (#90364)
* chore: update table highlighted row color
2024-07-16 13:44:55 -05:00
Usman Ahmad
677d2a8b70
highlighting the part of the Grafana enterprise section so easir for … (#90177)
highlighting the part of the Grafana enterprise section so easir for users to find it
2024-07-16 20:16:23 +02:00
Galen Kistler
bb52c340cc
Scrollbar: fix scrollTo being called on stale reference (#90346)
* fix: fix scrollTo being called on stale reference
2024-07-16 11:34:29 -05:00
Drew Slobodnjak
4de34ac246
Table: Fix justifyContent with cellLink overflow (#90353)
* Table: Fix justifyContent with cellLink overflow

* Add textAlign to fix failing test
2024-07-16 09:26:06 -07:00
renovate[bot]
4ef6ff7c44
Update dependency @grafana/scenes to v5.4.0 (#90490)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-16 19:02:32 +03:00
Michael Mandrus
6585ed16e5
Chore: Fix CloudMigration unit tests (#90489)
remove parallel tests for things that deal with the database
2024-07-16 18:50:22 +03:00
Ryan McKinley
f3f9cc2e92
Scopes: Avoid dots in example names (#90460) 2024-07-16 18:30:36 +03:00
kay delaney
e7f9d592f0
Revert "Scenes: Fixes issue with panel repeat height calculation (#90221)" (#90478)
This reverts commit 5cab595f45.
2024-07-16 17:19:51 +02:00
Ryan McKinley
030188831d
Storage: Use Error property for error handling rather than Status (#90416)
replace status with error
2024-07-16 07:43:15 -07:00
maicon
93221f12da
Unified Storage: Fix Compare method (#90455)
* Unified Storage: Fix Compare method

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>

---------

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
2024-07-16 11:36:21 -03:00
Lucy Chen
1c031277af
Share Drawer: Make adding menu items dynamic (#90245)
make menu dynamic
2024-07-16 10:20:26 -04:00
Matthew Jacobson
b7f422b68d
Alerting: Receiver API Get+List+Delete (#90384) 2024-07-16 10:02:16 -04:00
Señor Performo - Leandro Melendez
efdb08ed8c
docs: updated table panel visualization (#90310)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-07-16 09:48:59 -04:00
Summer
599f05c5af
Chore: increase lint timeout (#90276) 2024-07-16 09:44:43 -04:00
Matias Chomicki
8547148623
Combine responses: do not combine frames with different names (#90464) 2024-07-16 16:34:08 +03:00
Nathan Marrs
1ee9df8ac6
Docs: Update group to nested tables transformation header to match naming in UI (#90458) 2024-07-16 09:31:17 -04:00
Kat Yang
881d9c0b83
Fix: Display unit in Overview Tab (#90002)
* fix: display metric name suffix instead of unknown

* chore: add documentation comment; remove unecessary text

* fix: create helper function getUnitFromMetric()

* refactor: make getUnitFromMetric() not use getUnit, return null if unable to identify unit

* test: add test for getUnitFromMetric()

* chore: add documentation comments to functions that get unit

* chore: add comment for tests

* chore: fix imports

* fix: display  if unable to determine metric

* Update public/app/features/trails/ActionTabs/MetricOverviewScene.tsx

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>

* fix: update the translation files for drone

---------

Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
2024-07-16 09:16:55 -04:00
Haris Rozajac
51afb2e484
Make content outline visible and in expanded mode by default (#90283)
* Make content outline visible and in expanded mode by default

* Clean up unused args

* Save content outline visibility in local storage

* Add test

* Expanded state relies on local storage;
2024-07-16 07:15:30 -06:00
Michael Mandrus
6ff21726b7
CloudMigrations: Query GMS for snapshot status with a results offset (#90453)
* query GMS for status with an offset

* remove unused state
2024-07-16 09:04:21 -04:00
Piotr Jamróz
f14ba32ea6
Query Library: Use current namespace when calling API (#90423)
* Use the current namespace

* Enable PeakQ API

* Enable PeakQ API when Query API is enabled

* Enable PeakQ API when Query API & Query Library are enabled
2024-07-16 11:50:38 +02:00
Piotr Jamróz
6750e881e3
Query History: Use a search index on new queries to filter in mixed data sources (#88979)
* Add search index table

* Stab a test

* Add more tests

* Add basic index

* Switch to UID and add a test for the index

* Improve tests coverage

* Remove redundant whitespaces

* Load all data source APIs when query history is loaded

* Fix column type

* Fix migration

* Clean-up the index

* Fix linting

* Fix migrations

* Fix migrations

* Fix migrations

* Rename index to details
2024-07-16 11:47:21 +02:00
Piotr Jamróz
6d9b8225aa
Query Library: Use a tooltip to show full query (#90425)
Use a tooltip to show full query
2024-07-16 09:58:31 +02:00
Tobias Skarhed
4c9cb63823
PanelShortcuts: Set attention onMouseEnter (#90435)
Add onMouseEnter to PanelChrome
2024-07-16 09:03:38 +02:00