Commit Graph

56360 Commits

Author SHA1 Message Date
Stephanie Hingtgen
1a2a284972
K8s: Dashboards: Set message as annotation (#99230) 2025-01-20 08:40:23 +03:00
Stephanie Hingtgen
b309c5daed
K8s: Refactor client to be generic (#99231) 2025-01-19 16:53:53 -06:00
antonio
d346819d62
add note to part 4 (#99194) 2025-01-19 09:37:36 +01:00
Matias Chomicki
a61548c5b9
PreviewLogRow: fix LogRowMessageDisplayedFields being unnecessarily rendered (#99217) 2025-01-17 23:40:53 +02:00
Stephanie Hingtgen
e33936398c
Public dashboards: return full list when more than 1000 (#99216) 2025-01-17 23:16:30 +02:00
Sonia Aguilar
8fabc66bd2
Alerting: Fix not showing metadata in contact point when rendering an existing alert rule (#98956)
show metadata in contact point when loading an existing alert rule
2025-01-17 22:02:10 +01:00
Matthew Jacobson
a6dffd7552
Upgrade grafana/alerting to 209e052dba64 (#99118)
Update grafana/alerting to 209e052dba64

Includes:
- Add NoopDecode function for non-base64-encoded secrets (#264)
- Log duplicated receivers (#265)
2025-01-17 21:53:41 +02:00
Stephanie Hingtgen
fb3a858726
Revert "Remove dependency on dashboards table to get library element and library element connection" (#99213)
Revert "Remove dependency on dashboards table to get library element and libr…"

This reverts commit 32790c6918.
2025-01-17 21:43:14 +02:00
Andreas Christou
414f8d14f4
Azure: User-auth updates (#99113)
* Bump Azure sdk

* Minor fix because of credentials update

* Revert "Minor fix because of credentials update"

This reverts commit 1f49949ee3.
2025-01-17 12:13:34 -06:00
Andreas Christou
f39c5bb45c
Azure: Correctly set instance settings based on new credentials (#99112)
Correctly set value based on new credentials
2025-01-17 12:13:15 -06:00
Sonia Aguilar
798b32138d
Alerting: Use useProduceNewAlertmanagerConfiguration for notification policies (#98615)
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2025-01-17 20:06:50 +02:00
Ronald McCollam
59184628e1
Add Apache instructions (#97369)
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com>
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com>
2025-01-17 11:53:25 -06:00
Haris Rozajac
4f337b99d4
Dashboards Schema V2: ResponseTransformers: Transform remaining variables when ensuring v2 (#98777)
* add missing vars

* Don't create undefined variable fields

* tests

* Fix test; remove allValue from groupBy

* Fix tests

* betterer

* Use @ts-expect-error

* betterer
2025-01-17 09:54:42 -07:00
SeamusGrafana
40baca699a
Alerting: Add Missing Quotes to Failed Evaluations Queries (#99067)
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2025-01-17 16:43:33 +00:00
Tom Ratcliffe
55644faa9d
Chore: Remove alerting frontend from app/alerting codeowners (#99147)
Remove alerting frontend from app/alerting codeowners
2025-01-17 18:06:31 +02:00
Ashley Harrison
7411663b74
Chore: Upgrade to React 18.3 (#99183)
upgrade to react 18.3
2025-01-17 15:56:44 +00:00
Brendan O'Handley
ac94e81423
Explore metrics: Update copy for missing metrics message when OTel is on (#99056)
* Update copy for missing metrics when OTel is on

* update message

* Add OTel message in no metrics found message, not the warning banner

* Otel > OTel
2025-01-17 09:32:22 -06:00
Brendan O'Handley
7ccc811203
Explore metrics: Add class to metric prefix dropdown for fullstory (#99106)
add class to metric prefix dropdown for fullstory
2025-01-17 09:31:30 -06:00
Ivan Ortega Alba
feae06d81c
QueryVariable: Default query is not set when creating a new variable (#99029)
* QueryVariable: Default query is not set when creating a new variable

* use correct getDefaultQuery

---------

Co-authored-by: Sergej-Vlasov <sergej.s.vlasov@gmail.com>
2025-01-17 15:11:25 +00:00
Arati R.
2bce8c5e29
Folders: Use folder UID instead of folder ID in query for getting library elements (#99028) 2025-01-17 16:04:11 +01:00
Isabel Matwawana
348c0319c4
Docs: move DynamoDB to Unsupported list (#99120) 2025-01-17 09:52:37 -05:00
Igor Suleymanov
bc6b7a4df6
Update playlists app schemas to work with app SDK v0.29.0 (#98974)
* Update playlists app schemas to work with app SDK v0.29.0

What

* Added the manifest for the playlists app
* Updated playlist kind definition to match the new format
* Re-generated the files
* Changed Makefile to not use post-processing flag

Why

To make sure the codegen works with the latest version of the app SDK.

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>

* Update app SDK to v0.30.0

* Skip generating custom resource definitions

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>

* Fix SDK not generating the manifest Go file

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>

---------

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com>
2025-01-17 16:17:31 +02:00
Bogdan Matei
1d7d658934
Dashboard: Show hidden elements (#99073) 2025-01-17 15:40:18 +02:00
Ryan McKinley
356b32008b
Storage: Show history+trash using the list command (#99009)
Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>
2025-01-17 15:54:25 +03:00
Karl Persson
67252dfa46
Zanzana: Add grpc health and readiness checks for standalone zanzana (#99176)
Add grpc health and readiness checks for standalone zanzana
2025-01-17 13:39:42 +01:00
Daniel Holmes
032f465ac6
Grafana UI: W/m2 should still support SI prefixes (#98362)
fix: W/m2 should still support SI prefixes

Co-authored-by: oscarkilhed <oscar.kilhed@grafana.com>
2025-01-17 12:59:21 +01:00
Ryan McKinley
7c04247d6f
K8s/Dashboard: Set generation from version (#99142) 2025-01-17 13:52:01 +02:00
Arati R.
a0d1a197e3
Folders: Use folder UID when deleting library elements in folder (#98967)
* Refactor  deleteLibraryElementsInFolderUID to use folder UID only
* Convert dashboard error to folder one when deleting library elements
* Fix incorrectly set folder UID in nested folder test

---------

Co-authored-by: kay delaney <45561153+kaydelaney@users.noreply.github.com>
2025-01-17 12:04:02 +01:00
Esteban Beltran
f65e9fa9ab
Sandbox: Add SRI validation for CDN assets loaded in the sandbox (#99023)
Add SRI validation for frontend sandbox
2025-01-17 11:47:36 +01:00
Mariell Hoversholm
f9cc08a42d
Test: Skip loki-editor spec test for being flaky (#99145)
test: skip loki-editor spec test

This is a flaky test. Examples:

 * Failure:    https://drone.grafana.net/grafana/grafana/217717/6/21
 * Successful: https://drone.grafana.net/grafana/grafana/217748/6/21
 * Failure:    https://drone.grafana.net/grafana/grafana/217795/6/21
 * Successful: https://drone.grafana.net/grafana/grafana/217796/6/21
 * Failure:    https://drone.grafana.net/grafana/grafana/217826/6/21
 * Failure:    https://drone.grafana.net/grafana/grafana/217834/6/21
2025-01-17 12:20:47 +02:00
Alexander Zobnin
c5f14407cc
Zanzana: Refactor stores listing (#99098)
Zanzana: Refactor store loading
2025-01-17 11:10:22 +01:00
Ivana Huckova
5e23b2c07f
Zipkin: Improve error source (#99099)
* Zipkin: Improve error source

* Revert file name change
2025-01-17 10:04:33 +01:00
renovate[bot]
f9a61e2eb2
Update React Aria (#99129)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-17 09:49:39 +01:00
Alexander Zobnin
17a09c28dd
Chore: Upgrade openfga to 1.8.4 (#99095) 2025-01-17 09:36:08 +01:00
Mariell Hoversholm
a08f406781
Security: Update to Go 1.23.5 (#99121)
* feat: update to Go 1.23.5

* chore: make drone

* chore: make update-workspace

* CI: Force re-build

* CI: Force re-build
2025-01-17 09:29:52 +01:00
Stephanie Hingtgen
e019e34eb5
Stats: use dashboard stats rather than list (#99130) 2025-01-17 08:19:56 +03:00
Stephanie Hingtgen
5a930e0ec6
K8s search: add legacy id to dashboard response (#99132) 2025-01-17 08:16:48 +03:00
ismail simsek
6901bad03b
Chore: Export some more from index for explore metrics (#99110)
* export some more from index.ts for explore metrics

* lint

* export default member

* update imports in explore metrics

* Update packages/grafana-prometheus/src/index.ts

Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com>

* Update public/app/features/trails/helpers/MetricDatasourceHelper.ts

Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com>

---------

Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com>
2025-01-16 22:38:40 +01:00
Nick Richmond
c63c869bca
ExploreMetrics: Add label cross-reference technique in Related Logs tab (#98775)
* feat: fetch logs containing active labels

* refactor: simplify & handle unhappy path

* refactor: avoid local plugins

* refactor: simplify, clarify, and add operator flexibility

* fix: messaging for no related logs

* refactor: prefer early return

* refactor: avoid problematic `instanceof` checks

* test: `getDataSources` + `getLokiQueryExpr` functionality

* refactor: add clarity

* refactor: clean up

* refactor: add clarity

* feat: account for known label name differences

* refactor: prefer shared type

* test: label name conversions

* test: update to match refactor

* fix: multi-connector query combination

* perf: prefer labels queries to full Loki queries

* fix: limit number of Loki data sources

* docs: explain purpose of parsing solution

* refactor: simplify logs queries

* docs: add clarity

* fix: handle unhappy path w/variable updates

* fix: handle unhealthy Loki data sources
2025-01-16 14:29:17 -05:00
Andreas Christou
f6194931f5
Azure: Improve resource request error handling (#99017)
* Improve resource request error handling

- Correctly parse JSON responses
- Log erroneous failures in JSON marshalling/unmarshalling
- Correctly set response status code
- Do not attempt to use the response writer as it will be nil

* Minor change

* Improve type assertion handling
2025-01-16 18:38:20 +00:00
maicon
b4ec11e150
Unistore: Ensure deprecated Folder ID gets stored on all modes (#99043)
* Unistore: Ensure deprecated Folder ID gets stored on all modes

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

---------

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
2025-01-16 15:01:00 -03:00
Ashley Harrison
8e59f618c1
CodeEditor: Fix cursor alignment (#99090)
* remeasure fonts once they've loaded

* add test mock

* fix unit test

* remeasure fonts after the editor has mounted just to be safe
2025-01-16 16:54:16 +00:00
Irene Rodríguez
54440811b3
Add DynamoDB to unconfirmed list (#99087) 2025-01-16 17:32:13 +01:00
ismail simsek
e96b5a68c4
Prometheus: Support utf8 metrics and labels in scopes (#99015)
* support utf8 in scopes

* separate the utf8 tests

* remove redundant test after enabling utf8 validation in prometheus
2025-01-16 18:11:44 +02:00
kay delaney
c0b3932168
Graphite: Fix issue where duplicated panels share same query object (#99077) 2025-01-16 16:07:57 +00:00
Brendan O'Handley
1eb45dd0f8
Explore metrics: Do not show otel switch in related metrics tab (#99054)
do not show otel switch in related metrics tab
2025-01-16 10:00:39 -06:00
Ashley Harrison
cff07c9fb6
Chore: Replace rc-time-picker with rc-picker (#99022)
* replace rc-time-picker with rc-picker

* remove unnecessary stack

* remove TimePickerInput

* make props stricter

* fix type assertions

* remove outdated comment

* fix types

* fix clear icon

* fix styling

* fix z-index and 6 tests

* fix remaining unit tests

* betterer results

* styling tweaks

* don't show/hide scrollbars on hover
2025-01-16 15:58:02 +00:00
ismail simsek
106af5d0ee
Prometheus: UTF8 support in metrics browser (#98612)
* utf8 metrics for prometheus devenv

* introduce utf8 support

* completions and suggestions

* don't wrap the utf8 label in quotes

* linting

* support utf8 labels and metrics on visual query builder

* lint

* update raw view for utf8 metric syntax

* betterer

* support utf8 metric names in explore metrics

* utf8 support in grouop by

* utf8 support in label break down

* utf8 metric and label support in metric_find_query for label values

* use the same regex to check label values

* no need to escape

* support series endpoint

* support series endpoint

* support series endpoint

* support series endpoint

* fix tests

* fix extracting labels from labelValuesQuery

* show explanation with right syntax

* support utf8 metrics and labels
2025-01-16 17:50:35 +02:00
ismail simsek
029edcb6be
Prometheus: Render metrics and labels in explanation with right syntax (#98591)
* utf8 metrics for prometheus devenv

* introduce utf8 support

* completions and suggestions

* don't wrap the utf8 label in quotes

* linting

* support utf8 labels and metrics on visual query builder

* lint

* update raw view for utf8 metric syntax

* betterer

* support utf8 metric names in explore metrics

* utf8 support in grouop by

* utf8 support in label break down

* utf8 metric and label support in metric_find_query for label values

* use the same regex to check label values

* no need to escape

* support series endpoint

* support series endpoint

* support series endpoint

* support series endpoint

* fix tests

* fix extracting labels from labelValuesQuery

* show explanation with right syntax

* betterer
2025-01-16 17:30:29 +02:00
ismail simsek
4386cfc984
Prometheus: Support utf8 metrics and labels in variable editor (#98345)
* utf8 metrics for prometheus devenv

* introduce utf8 support

* completions and suggestions

* don't wrap the utf8 label in quotes

* linting

* support utf8 labels and metrics on visual query builder

* lint

* update raw view for utf8 metric syntax

* betterer

* support utf8 metric names in explore metrics

* utf8 support in grouop by

* utf8 support in label break down

* utf8 metric and label support in metric_find_query for label values

* use the same regex to check label values

* no need to escape

* support series endpoint

* support series endpoint

* support series endpoint

* support series endpoint

* fix tests

* fix extracting labels from labelValuesQuery

* betterer
2025-01-16 17:10:34 +02:00