Commit Graph

56456 Commits

Author SHA1 Message Date
Ida Štambuk
dfc565db8d
Datasources: Replace deprecated @grafana/experimental with @grafana/plugin-ui in Cloudwatch and Elasticsearch (#99374) 2025-01-23 03:00:30 +01:00
Brendan O'Handley
1a634b0539
Explore metrics: Add metadata heuristic for native histograms (#99348) 2025-01-22 18:09:03 -06:00
Brendan O'Handley
887e9fb5b5
Explore metrics: fix flexGrow issue with native histograms banner (#99346) 2025-01-22 18:07:51 -06:00
Ryan McKinley
7564ce8ce1
Chore: update feature toggle git stats (#99390) 2025-01-22 14:48:51 -05:00
maicon
8de4b64047
Unistore: get folder by title (#99391)
Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
2025-01-22 16:47:46 -03:00
Haris Rozajac
1c8a7d8872
Dashboard Schema V2: Remove type assertions and anys from schemav2 code (#99222)
* Remove type assertions and anys from schemav2 code

* Handle type conversion

* fix test

* Filter undefined
2025-01-22 09:45:49 -07:00
Alex Spencer
29d9d8cf51
GroupingToMatrix: Defensively guard against null column name (#99286)
* bugfix: defensive guard against null columnName

* fix: per suggestion limit diff and revert alphabetization of properties

* test: add test for null case

* chore: remove it.only

* test: convert to inline snapshot
2025-01-22 09:37:21 -07:00
Haris Rozajac
a0e7569e4f
Dashboard Schema V2: ResponseTransformers: Transform layout, panels, annotations and variables when ensuring v1 (#99050)
* wip

* Fix annotationV1

* variables

* tests

* Fix query variable

* Don't need extra chaining arg in maxPerRow

* Logic for libary panels; tests for variables and library panels

* lint
2025-01-22 08:56:20 -07:00
Dominik Prokop
daced46d27
Schema v2: Remove schemaVersion property (#99375)
* Schema v2: Remove schemaVersion property

* ah snap
2025-01-22 16:52:34 +01:00
ismail simsek
88ab29f6ba
Explore Metrics: Open queries that have utf8 labels in explore properly (#99117)
* open queries that have utf8 labels in explore properly

* remove unnecessary line

* Revert "open queries that have utf8 labels in explore properly"

This reverts commit 85b81c96

* remove quoting

* support open in explore
2025-01-22 16:41:40 +01:00
renovate[bot]
974cec2936
Update dependency fs-extra to v11.3.0 (#99378)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 17:05:55 +02:00
renovate[bot]
a05bb05e60
Update dependency eslint-plugin-jest to v28.11.0 (#99365)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 14:44:52 +00:00
Andres Martinez Gotor
003f0e5918
Plugins: Expose function to retrieve gcom info (#99372) 2025-01-22 16:41:34 +02:00
Ivana Huckova
23f495d4cd
Big tent data sources: Replace deprecated @grafana/experimental with @grafana/plugin-ui (#99331)
* Zipkin: Replace deprecated @grafana/experimental with @grafana/plugin-ui

* Prometheus: Replace deprecated @grafana/experimental with @grafana/plugin-ui

* Mysql: Replace deprecated @grafana/experimental with @grafana/plugin-ui

* Jaeger: Replace deprecated @grafana/experimental with @grafana/plugin-ui

* Postgresql: Replace deprecated @grafana/experimental with @grafana/plugin-ui

* Brin experimental back to main package.json - accidentally removed

* Fix order of imports
2025-01-22 15:18:41 +01:00
Bogdan Matei
d2d6dd2e5f
Dashboards: Prevent rows nesting (#99246) 2025-01-22 15:57:45 +02:00
Dominik Prokop
51b4ac50aa
Panel inspect: Fix inspect keyboard shortcut when grafana served from subpath (#99366)
* Panel inspect: Fix inspect keyboard shortcut when grafana served from a subpath

* Add e2e test
2025-01-22 13:25:10 +01:00
Sven Grossmann
5b8e6f8fa8
Explore: Prevent hidden queries from being run as supplementary query (#99356)
fix(loki/elasticsearch): prevent hidden queries from being run as supplementary query
2025-01-22 13:13:57 +01:00
Ida Štambuk
149bc74191
ElasticSearch: Parse histogram interval as float instead int (#99270) 2025-01-22 12:51:24 +01:00
owensmallwood
dd483fc17f
Unified Storage: Search permissions put behind feature flag (#99340)
* add feature flag

* puts search permission filtering behind a feature flag

* fixes issue with doc match id. When the match is for an in-memory index, the internal id is a string (this is what we expected). However, when its a file-based index, the internal id is a binary encoded int64 that point to something internally. So to get the id, we need to use ExternalID() instead of relying on the indexInternalID to be the correct format.

* adds debug log

* update comment

* formatting
2025-01-22 05:38:37 -06:00
Torkel Ödegaard
5b5831ae34
Dashboard: Simplify repeating logic and panel menu interaction (#99352)
* Dashboard: Simplify repeating logic and panel menu interaction

* Update

* Remove unused behavior
2025-01-22 12:25:04 +01:00
Ryan McKinley
9d30911107
SQL/Storage: Use xorm code migration for DeletionMarker (#99353) 2025-01-22 14:07:08 +03:00
renovate[bot]
3ae6e09fee
Update scenes to v5.37.1 (#99364)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 11:01:37 +00:00
dependabot[bot]
2dfa0abfbe
Bump undici from 6.19.8 to 6.21.1 (#99345)
Bumps [undici](https://github.com/nodejs/undici) from 6.19.8 to 6.21.1.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v6.19.8...v6.21.1)

---
updated-dependencies:
- dependency-name: undici
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-22 11:59:57 +01:00
Sam Jewell
97db8b19c7
[Prometheus]: Mark ALERTS synthetic metric as a gauge (#99328)
Mark ALERTS synthetic metric as a gauge

It's not a counter. It can go down in value, but counters cannot
2025-01-22 10:50:33 +00:00
renovate[bot]
4b8e6b3401
Update dependency @grafana/plugin-e2e to v1.16.0 (#99358)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 10:39:10 +00:00
antonio
88d5ae8153
docs>alert-rules>templates:example-fix (#99355)
* docs>alert-rules>templates:example-fix

* second-fix

* fixed 2 other label templates
2025-01-22 11:01:11 +01:00
renovate[bot]
5791115b0a
Update dependency centrifuge to v5.3.0 (#99337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-22 09:41:11 +00:00
maicon
28ad61ff6c
Unistore: Get Folder By ID (#99131)
* Unistore: Get Folder By ID

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

---------

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>
2025-01-22 01:45:59 -03:00
Matthew Jacobson
20d25c6ad9
Alerting: Use rule uid in silenceURL template instead of alertname and folder (#99221)
* Update grafana/alerting to a5e8136407d4

Includes:
- Alerting: Use rule uid in silenceURL template instead of alertname and folder (#266)

* Fix tests
2025-01-21 18:11:22 -05:00
Dave Henderson
f1e9c5b1ef
chore: Use non-zero version to reference github.com/grafana/grafana Go module (#99343)
Signed-off-by: Dave Henderson <dave.henderson@grafana.com>
2025-01-21 23:59:22 +02:00
Todd Treece
2622449718
Dashboards: Use dashboard service in access control (#99053) 2025-01-21 22:57:43 +02:00
maicon
45e2f95a41
Unistore: Avoid circular dependency when injecting restcfgprovider into FolderSvc (#99295)
* Avoid circular dependency when getting a restCfgProvider for Folder Svc

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

---------

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
2025-01-21 17:42:38 -03:00
Leon Sorokin
1c858caec3
Transformations: Use FrameMultiSelectionEditor in Filter data by refId (#97212)
Co-authored-by: Sergej-Vlasov <sergej.s.vlasov@gmail.com>
2025-01-21 13:36:34 -06:00
Leon Sorokin
a03f897cd5
Table: Fix viz suggestions (#99335) 2025-01-21 13:25:33 -06:00
Matias Chomicki
dccca0729f
Logs Volume: Do not throw when fields are missing (#99318)
* Logs Volume: Do not throw when fields are missing

* Add removed line back

* Prevent permanent mutations

* Decrease nesting

* Move conditional up

* Update public/app/features/logs/utils.ts

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

* Use dataframe length and remove from function

* Use getFieldDisplayName

* Keep original dependency array

* Keep original dependency array

---------

Co-authored-by: Galen Kistler <109082771+gtk-grafana@users.noreply.github.com>
2025-01-21 20:02:07 +01:00
renovate[bot]
ad30ca2ccd
Update dependency @react-types/shared to v3.27.0 (#99332)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 17:54:06 +00:00
Syerikjan Kh
97d8f68b70
Feat: Data source connections tab in plugin detail page (#99049)
* feat: datasource connections tab in plugin detail page

* test: no ds defined test added

* feat: configure feature toggle

* chore: i18n extract

* test: added unit tests for page and list
2025-01-21 12:39:48 -05:00
Bogdan Matei
b11d3bc045
Dashboards: Prevent panel selection on drag and items click (#99190) 2025-01-21 19:26:06 +02:00
Ashley Harrison
2982d95a74
Chore: Convert query library to use generated RTK query apis (#99314)
* add generate script and endpoints.gen.ts

* temp state with delete working

* list + save working

* edit working

* starting to clean up

* fix remaining type errors

* remove withNamespace function

* fix richhistory

* clean up some types

* extract query limit to endpoint definition

* extract namespace logic into common util

* update CODEOWNERS

* move script to be nearer generated endpoints

* remove nonexistent script from CODEOWNERS
2025-01-21 17:25:45 +00:00
renovate[bot]
bd84fdad51
Update dependency @swc/core to v1.10.9 (#99330)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 16:37:29 +00:00
Ryan McKinley
3bc9f10bb3
Dashboards/SQL: Improve SQL query behavior (#99253)
* update legacy dashboard SQL

* merge main

* trim message
2025-01-21 19:35:33 +03:00
Victor Marin
eaca8e501f
DashboardScenes: Fix issue where timezone was not considered in relative time override (#99316)
* Fix issue where timezone was not considered in relative time override

* fix
2025-01-21 18:09:23 +02:00
renovate[bot]
5532d7007c
Update dependency @grafana/plugin-e2e to v1.15.0 (#99320)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 16:01:21 +00:00
ismail simsek
12ae2a520c
Explore Metrics: Remove overview tab in metric select view (#97118)
* introduce the exploreMetricsRemoveOverviewTab feature toggle

* handle actionView equal to overview in url

* set description in selected metric scene

* fix import

* ExploreMetrics: Disable the Overview tab by default (#98988)

feat: disable overview tab by default

* fix: remove unnecessary feature toggle

* chore: remove overview

* make i18n-extract

---------

Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com>
Co-authored-by: Nick Richmond <nick.richmond@grafana.com>
2025-01-21 16:51:02 +01:00
owensmallwood
6f12b8e3a4
Unified Storage: Add more debug logs to permission filtering (#99325)
add more debug logs
2025-01-21 17:34:58 +02:00
Stephanie Hingtgen
2fe510eb6f
Dashboards: set max length of message to 500 (#99229) 2025-01-21 08:50:24 -06:00
Ezequiel Victorero
865e911e10
Share: Add analytics to invite user flow (#99116) 2025-01-21 11:47:57 -03:00
Pepe Cano
c7edbffd82
Alerting docs: add Admonitions to Link Doc pages with practical Tutorials (#99317)
Alerting docs: add admonitions to link to practical tutorials
2025-01-21 15:18:57 +01:00
Galen Kistler
ee0129e8cf
Loki datasource: move loki-editor e2e test to playwright (#99192)
* test: rewrite cypress test in playwright

* Update e2e/plugin-e2e/plugin-e2e-api-tests/as-admin-user/lokiEditor.spec.ts

Co-authored-by: Matias Chomicki <matyax@gmail.com>

---------

Co-authored-by: Matias Chomicki <matyax@gmail.com>
2025-01-21 15:39:33 +02:00
renovate[bot]
5a45f59573
Update dependency @faker-js/faker to v9.4.0 (#99315)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-21 13:37:00 +00:00