3
0
mirror of https://github.com/grafana/grafana.git synced 2025-02-25 18:55:37 -06:00
Commit Graph

22787 Commits

Author SHA1 Message Date
Ashley Harrison
95589ed091
Navigation: Add tab title to breadcrumbs ()
* show active child in breadcrumb

* use activeChild url

* only add tab title if not first tab

* handle scenes settings breadcrumbs

* fix breadcrumbs on starred dashboard settings

* display separate crumb
2024-07-22 14:27:05 +01:00
Ida Štambuk
5b17cd93c5
Cloudwatch: Remove awsDatasourcesNewFormStyling feature toggle ()
* Remove toggle from cloudwatch plugin

* Remove feature toggle from registry

---------

Co-authored-by: Kevin Yu <kevinwcyu@users.noreply.github.com>
2024-07-22 14:48:17 +02:00
Galen Kistler
6fa25df37f
Loki: Fix ad hoc filters adding stream selectors to stream selectors and line filters ()
* fix: fix case where we are adding stream selectors to both stream selectors and line filters

---------

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2024-07-22 07:25:52 -05:00
Sonia Aguilar
d0eaf4e484
Alerting: Disable simplified routing when internal alert manager is disabled ()
* Disable simplified routing when internal alert manager is disabled

* address pr review comments

* add test

* remove unnecessary mocks
2024-07-22 13:09:11 +02:00
Joao Silva
546f4aa700
Navigation: Show list of pinned items on MegaMenu ()
* Navigation: Show list of pinned ites on the navigation

* Rename section to 'Bookmarks'

* Internationalization

* Rename everything to bookmarks

* Update public/app/core/reducers/navBarTree.ts

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>

* Ignore empty message as well

* Dont update navigation if there is an error patching

---------

Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
2024-07-22 11:43:40 +01:00
Gabriel MABILLE
38ac0f3506
UserTable: Remove sorting on licensed role () 2024-07-22 12:41:57 +03:00
renovate[bot]
63cc01fe80 Update dependency @types/node to v20.14.11 2024-07-22 07:57:16 +00:00
Tom Ratcliffe
4e364ea043
Alerting: Split out contact points components to separate files () 2024-07-22 10:54:13 +03:00
Lucy Chen
98c197e6cc
Sharing Redesign: Export as JSON add toast message ()
* add successful toast message and autoclose drawer

* i18n

* remove autoclose
2024-07-19 15:05:40 -04:00
Darren Janeczek
ce70cf18b9
Explore Metrics: small little code fixes ()
* fix: does not need to be exported

* fix: about time we remove this
2024-07-19 14:59:56 -04:00
renovate[bot]
f259f99485 Update dependency @types/lodash to v4.17.7 2024-07-19 17:40:32 +00:00
Tom Ratcliffe
a61cd94a70
Alerting: Tidy up contact points/misc other tests' mock server behaviour () 2024-07-19 16:11:48 +01:00
renovate[bot]
892d5d1b20 Update dependency @opentelemetry/semantic-conventions to v1.25.1 2024-07-19 13:56:31 +00:00
renovate[bot]
c217cd7c85
Update dependency @grafana/lezer-traceql to v0.0.18 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-19 16:10:31 +03:00
Dominik Prokop
ec9e28567d
Use SafeSerializableSceneObject in TemplateSrv ()
* Test

* Opaque object

* Update scenes tentatively

* Betterer

* Fix dashboard data source

* Fix dashboard data source test

* Scenes bump

* Cleanup

* Ivan's feedback
2024-07-19 14:51:01 +02:00
renovate[bot]
093f4cea70
Update dependency @grafana/lezer-logql to v0.2.6 ()
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-19 15:48:24 +03:00
Ashley Harrison
c4570ecfdc
Chore: Tweaks to support React 19 ()
changes needed for react 19, mostly don't spread key
2024-07-19 13:40:02 +01:00
Tom Ratcliffe
7829fced94
Alerting: Hide edit/view rule buttons according to deleting/creating state () 2024-07-19 09:55:12 +00:00
Sonia Aguilar
dbc755925d
Alerting: Track central ash interactions ()
* Track central ash interactions

* refactor
2024-07-19 11:11:29 +02:00
Yuri Tseretyan
09e10ae9e0
Alerting: Update State history API Open API documentation () 2024-07-18 10:37:05 -04:00
Ivan Ortega Alba
f4c8a9ac1f
QueryEditor: Break with Scenes because the default query is not empty string ()
* Scenes: Upgrade to v5.4.1

- QueryVariable: Query is empty string by default [](https://github.com/grafana/scenes/pull/837) ([@ivanortegaalba](https://github.com/ivanortegaalba))
- fix(lazyloader): fix trying to run inexistent callbacks [](https://github.com/grafana/scenes/pull/833) ([@svennergr](https://github.com/svennergr))

* Adapt tests
2024-07-18 16:29:50 +03:00
kay delaney
5afb1c6ce0
Scenes: Save height as itemHeight for repeat panels () 2024-07-18 14:01:50 +01:00
Josh Hunt
9a06510490
E2C: Delete cloud migration token () 2024-07-18 12:38:20 +01:00
Josh Hunt
32232e44d2
E2C: Get Cloud Token status ()
* E2C: Get Cloud Token status

* remove console.log
2024-07-18 09:48:06 +01:00
Andrew Hackmann
41ae376aa4
Influxdb: Fix toMetricFindValue function ()
Improved toMetricFindValue to be quicker
2024-07-18 01:16:07 +03:00
Kristina
044380493e
Revert "Explore: Pass the dataframes along with the time range of the data" ()
Revert "Explore: Pass the dataframes along with the time range of the data (#…"

This reverts commit 58285e37a2.
2024-07-17 12:58:07 -05:00
Kristina
6eb695b258
Explore: Add setting for default time offset ()
* Add setting for explore for a different time offset

* fix linter

* Add validation for duration value
2024-07-17 11:47:49 -05:00
Ivan Ortega Alba
bc2cdd82dc
DataSourcePicker: Create new data source does not work for subpath () 2024-07-17 19:23:08 +03:00
Tom Ratcliffe
79df1b1e10
Alerting: Remove some unused mock server methods ()
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 ()
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… ()
* 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
Andreas Christou
2616366a0a
Prometheus: Reintroduce Azure audience override feature flag ()
* 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
Ashley Harrison
334657e1cb
Navigation: Move scroll behaviour to body ()
* 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 ()
* 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" ()
Revert "Frontend: Use safe stringifier in parseBody ()"

This reverts commit 434f386982.
2024-07-17 14:00:01 +03:00
Piotr Jamróz
58285e37a2
Explore: Pass the dataframes along with the time range of the data ()
* 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
Joey
995425f022
Tempo: Only generate query for query history if there are filters ()
* Only generate query if there are filters

* Move check
2024-07-17 09:15:41 +01:00
Isabel Matwawana
c13002ee8c
Docs: make heading fix in content.ts file () 2024-07-16 18:25:29 -07:00
Adela Almasan
200eb4f774
Canvas: Fix data links migration () 2024-07-16 15:56:21 -05:00
Andrew Hackmann
319a874033
MSSQL: Password auth for Azure AD ()
* 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
Ryan McKinley
f3f9cc2e92
Scopes: Avoid dots in example names () 2024-07-16 18:30:36 +03:00
kay delaney
e7f9d592f0
Revert "Scenes: Fixes issue with panel repeat height calculation ()" ()
This reverts commit 5cab595f45.
2024-07-16 17:19:51 +02:00
Lucy Chen
1c031277af
Share Drawer: Make adding menu items dynamic ()
make menu dynamic
2024-07-16 10:20:26 -04:00
Kat Yang
881d9c0b83
Fix: Display unit in Overview Tab ()
* 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 ()
* 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
Piotr Jamróz
f14ba32ea6
Query Library: Use current namespace when calling API ()
* 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 ()
* 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 ()
Use a tooltip to show full query
2024-07-16 09:58:31 +02:00
Tobias Skarhed
4c9cb63823
PanelShortcuts: Set attention onMouseEnter ()
Add onMouseEnter to PanelChrome
2024-07-16 09:03:38 +02:00
Haris Rozajac
118597d80f
Explore-Query Library: Close drawer when clicking on Run query ()
Close drawer when clicking on Run query
2024-07-15 15:43:22 -06:00