Commit Graph

56186 Commits

Author SHA1 Message Date
Marcus Andersson
8f79a59e1f
PluginExtensions: Persisting log messages accross the browser session (#95836)
* making sure to keep the messages across a session.

* moved values into consts.
2025-01-13 09:23:14 +01:00
Marcus Andersson
5282b7ca8c
Bugfix: Updating storybook example to pass theme property to BarGuage (#98804)
* Updating storybook example and making sure BarGauage has theme setup.

* removed unneccessary theme.

* Reverted change updated example.
2025-01-13 09:21:17 +01:00
Scott Lepper
01aeb56646
[search] fix browse mode to show dashboards (#98842)
[search] fix browse mode to show dashboards
2025-01-11 11:09:31 -05:00
Matthew Jacobson
ad1417b732
Alerting: Return default builtin templates in k8s templategroup API and UI (#96330)
* Alerting: PoC - default template in k8s templategroup API

* Move code to grafana/alerting

* Move validation to admission validation abstraction

* Testing

* Linting

* Workspace update

* Update grafana/alerting hash to the merged commit

* More user-friendly name and remove need for CREATE/UPDATE validation

Use __default__ for k8s object name and UID so that we don't need to restrict
CREATE/UPDATE for similarly named user-owned templates.
2025-01-10 19:53:18 -05:00
Kristina
0029f92ac3
VizTooltip: Add option to hide zeros when all series are shown (#97986)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2025-01-10 17:23:50 -06:00
Ida Štambuk
d73bb12b99
Features: Remove cloudwatchMetricInsightsCrossAccount feature toggle (#98826) 2025-01-11 00:23:23 +02:00
Selene
9e5fd78b52
Codegen: Remove pfs codegen dependency from Grafana codebase (#98840)
* Remove pfs dependency for IAM struct to avoid to import codegen code in main go.mod

* Remove pointer

* Remove dependency cycle

* Update tests
2025-01-10 22:43:40 +02:00
Michael Mandrus
c9d22f06c3
CloudMigrations: Bulk update local resources (#96002)
* wip

* make tests pass

* get all tests passing

* fixes

* some small cleanup

* fix test

* convert delimiter keys to struct keys

* dont execute empty sql statement

* remove printlns

* fix unit test

* a bit more cleanup

* whoops
2025-01-10 14:42:18 -05:00
Ezequiel Victorero
99a0eb825d
Revert "Share: Add analytics to invite user flow" (#98838)
Revert "Share: Add analytics to invite user flow (#98617)"

This reverts commit 79cd8ac894.
2025-01-10 16:17:09 -03:00
Ryan McKinley
ed39259461
Search: Replace Origin calls with Repository (#98754) 2025-01-10 20:27:10 +02:00
Matias Chomicki
3eace5f7c8
Loki: Sync query direction with sort order in Explore and Dashboards (#98722)
* Logs: sync direction and sort order for loki queries in explore

* Logs: emit event on sort order change

* Loki query editor: listen to sort change events and update direction

* Loki query editor: unsubscribe to sort event

* Logs: don't publish events in Explore

* LokiQueryBuilderOptions: use stored order as default value when in explore

* Query builder options: initialize query direction

* Logs: unit test

* LogsPanel: update unit test

* Update tests

* LokiQueryBuilderOptions: unit test

* Update public/app/plugins/datasource/loki/querybuilder/components/LokiQueryBuilderOptions.tsx

Co-authored-by: Galen Kistler <109082771+gtk-grafana@users.noreply.github.com>

* Update public/app/plugins/datasource/loki/querybuilder/components/LokiQueryBuilderOptions.tsx

---------

Co-authored-by: Galen Kistler <109082771+gtk-grafana@users.noreply.github.com>
2025-01-10 19:59:03 +02:00
renovate[bot]
90e65f6ce6
Update dependency @rsdoctor/webpack-plugin to v0.4.13 (#98833)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 17:48:16 +00:00
Alexander Akhmetov
aaa4fe1fe4
Alerting: handle err-mimir-label-value-too-long as user error in the prom writer (#98783)
Alerting: handle err-mimir-label-value-too-long as user error in the writer
2025-01-10 18:36:05 +01:00
renovate[bot]
d7da75c480
Update dependency @grafana/plugin-e2e to v1.14.6 (#98830)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 17:16:41 +00:00
Gabriel MABILLE
bc7e90bc28
AuthZ: Fix client dial options (#98827) 2025-01-10 17:41:56 +01:00
xavi
345757c3ae
Auth: Fix SAML user IsExternallySynced not being set correctly (#98487) 2025-01-10 17:37:37 +01:00
Misi
9df20eda77
Docs: Update SAML docs (#98809)
* Update feature toggle name in SAML docs

* Update SAML docs
2025-01-10 17:32:49 +01:00
renovate[bot]
5f1005aa4f
Update dependency @formatjs/intl-durationformat to v0.7.2 (#98820)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 16:32:08 +00:00
Ashley Harrison
2e969686f0
Theme: Extract extra theme definitions into their own directory (#98610)
extract theme definitions into their own directory
2025-01-10 16:31:19 +00:00
Tom Ratcliffe
1ba9a27f70
Chore: Update no-untranslated-strings to check tooltip and template literals (#98281) 2025-01-10 16:26:03 +00:00
Galen Kistler
6568f3669d
Loki Datasource: Don't escape single quotes (#98767)
* fix: remove single quote escape
2025-01-10 10:01:17 -06:00
Haris Rozajac
f3d2313f09
Dashboard SchemaV2: Panel repeater (#98654)
* Wip: working layout for repeaters

* Update schema

* only persist orig panel

* Keep only supported mode and rename repeater function

* refactor dimension calcs

* v1 transformer uses calculateGridItemDimensions
2025-01-10 08:09:06 -07:00
Hugo Kiyodi Oshiro
7499611129
Plugins: Disable version installation for specific plugin types (#98597) 2025-01-10 16:02:09 +01:00
renovate[bot]
67ddadbab9
Update dependency i18next to v24.2.1 (#98816)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 14:52:32 +00:00
Ashley Harrison
ee362ed978
Snapshot: Show proper breadcrumb path (#98806)
* fix snapshot breadcrumbs

* cleaner
2025-01-10 14:50:44 +00:00
Tom Ratcliffe
3fa0834c49
Chore: Remove unneeded betterer package & results that have been fixed (#98280) 2025-01-10 14:44:37 +00:00
Stephanie Hingtgen
215eb31c7a
Annotations: Fix usage of dashboard table for permissions (#98774) 2025-01-10 08:35:38 -06:00
Santiago
86e8147df3
Alerting: Use AlertRuleKey for comparison before rule evaluation (#98808)
(WIP) Alerting: Use AlertRuleKey for comparison before rule evaluation
2025-01-10 15:31:03 +01:00
Andre Pereira
b742896838
Tempo: Add support for TraceQL Metrics exemplars (#96859)
* Add support for exemplars

* TraceQL metrics exemplars ftw

* Fix exemplars on histogram queries

* Added exemplars field for the query builder options

* Add series labels as exemplars dataframe fields so the panel can link series with exemplars

* Fix tests

* Fix lint

* Hide exemplars field from options

* Fix crash on histogram queries

* Use DataTopicAnnotations enum

* Fix test
2025-01-10 14:21:58 +00:00
brendamuir
619e7d3d3f
Alerting docs: fix template example link (#98715)
* Alerting docs: fix template example link

* ran prettier

* adjust spacing

* Update docs/sources/alerting/configure-notifications/template-notifications/manage-notification-templates.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Alerting docs: fix `Explore` ref link

* updates other links

* correcting link

* Update docs/sources/alerting/alerting-rules/_index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* Update docs/sources/alerting/alerting-rules/templates/_index.md

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>

* fix label ref

---------

Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
2025-01-10 15:21:18 +01:00
Matheus Macabu
4e398bf2bd
Datasources: Add toggle to control default behaviour of 'Manage alerts via Alerts UI' toggle (#98441)
* Datasources: Add toggle to control default behaviour of 'Manage alerts via Alerts UI' toggle

* Update documentation with suggestions

Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
2025-01-10 15:20:09 +01:00
renovate[bot]
ac2345a3c0
Update dependency eslint-plugin-jest to v28.10.0 (#98815)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 16:03:56 +02:00
Laura Fernández
7660fa3921
Unified History: Going to a dashboard page creates two history entries (#98333) 2025-01-10 14:59:06 +01:00
grafana-pr-automation[bot]
6c1cce407a
I18n: Download translations from Crowdin (#98690)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-01-10 13:45:54 +00:00
Torkel Ödegaard
7639934818
RuntimeDataSource: Support in core for runtime registered data sources (#93956)
* RuntimeDataSource: Support in core for runtime registered data sources

* Added tests for runtime datasource.

* added another test to make sure runtime ds isn't included in datasource list.

* changed so we not are expecting the settings to be returned by name.

* Fixed betterer error.

* fixed type issues.

* updated comment according to feedback.

* will prevent runtime ds registration from overwriting regular ds.

---------

Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com>
2025-01-10 14:42:49 +01:00
renovate[bot]
d4de5022eb
Update dependency core-js to v3.40.0 (#98805)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 13:40:26 +00:00
Misi
de290cf6a5
Auth: Fallback to default client authentication setting in AzureAD OAuth (#98798)
Fallback to default client authentication setting for backwards compatibility
2025-01-10 14:21:16 +01:00
Selene
0501ff9079
Codegen: Isolate schema generation code (#98742)
* Create go.mod files for plugins and core kinds

* Update go work and main go.mod dependencies

* Update pfs import

* Missing update of pfs dependency

* Remove fixed cuelang dependency

* Update codeowners

* Update workspace

* Update Dockerfile

* Missing go.mod codeowner

* Use intermediate kin-openapi dependency to make all workspaces to work
2025-01-10 13:33:51 +01:00
renovate[bot]
32cb6d9dab
Update scenes to v5.36.4 (#98797)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 11:57:40 +00:00
renovate[bot]
6e8bbe7964
Update dependency uuid to v11.0.5 (#98796)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 11:29:48 +00:00
Michael Mandrus
7aa747eb7b
CloudMigrations: Enable feature toggle by default in 11.5 (#98686)
* update toggle state for 11.5

* remove unneeded e2c toggle

* remove public preview condition

* regen some stuff
2025-01-10 05:28:35 -06:00
renovate[bot]
ae257246bc
Update dependency glob to v11.0.1 (#98793)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 11:02:30 +00:00
Timur Olzhabayev
50668d527a
Chore: Lift pluginsFrontendSandbox feature toggle to the next stage (#98789)
Move pluginsFrontendSandbox feature toggle to the next stage
2025-01-10 13:00:31 +02:00
Karl Persson
c593b20465
Zanana: Add custom verb for get_permissions and set_permissions. (#98616)
* Add custom verb for get_permissions and update_permissions.

Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com>
2025-01-10 11:49:26 +01:00
renovate[bot]
c62864a7ea
Update dependency @swc/core to v1.10.7 (#98791)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 10:41:04 +00:00
renovate[bot]
fa7f5d1a5c
Update dependency @grafana/plugin-e2e to v1.14.6 (#98788)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 10:20:39 +00:00
Alex Khomenko
16d899f1b0
Announcement banner: Remove feature toggle (#98782) 2025-01-10 12:18:43 +02:00
Andrej Ocenas
41c120ba89
Sidecar: Fix cases when sidecar wouldn't open depending on the first loaded route (#98679)
Update mainOnAllowedRoute even if no activeId
2025-01-10 11:09:12 +01:00
renovate[bot]
a0a32fc5df
Update dependency @prometheus-io/lezer-promql to v0.301.0 (#98770)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-10 09:49:33 +00:00
Karl Persson
bdb4725768
UserDisplay: Handle both service accounts and user names when resolving "createdBy" (#98719)
* Handle both user and service accounts when resolving identity name for dashboards and folders

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
2025-01-10 10:06:59 +01:00