Commit Graph

56871 Commits

Author SHA1 Message Date
Moustafa Baiou
b820fd6bef
Alerting: Fix Alertmanager configuration updates (#99610)
* Alerting: Fix Alertmanager configuration updates

Alertmanager configuration updates would behave inconsistently when performing no-op updates with `mysql` as the store.

In particular this bug manifested as a failure to reload the provisioned alertmanager configuration components with no changes to the configuration itself. This would result in a 500 error with mysql store only.

The core issue is that we were relying on the number of rows affected by the update query to determine if the configuration was found in the db or not.
While this behavior works for certain sql dialects, mysql does not return the number of rows matched by the update query but rather the number of rows actually updated.

Also discovered and fixed the mismatched `xorm` tag for the `CreatedAt` field to match the actual column name in the db.

References: https://dev.mysql.com/doc/refman/8.4/en/update.html
2025-01-29 23:00:45 +02:00
Oscar Kilhed
83d4f6e868
Remove e2e benchmark (#99695) 2025-01-29 21:36:57 +01:00
Leon Sorokin
3954a1948c
Data links: Remove messaging around deprecating compact Explore URLs (#99780) 2025-01-29 13:44:09 -06:00
Kristina
1795a2b4e3
Bar Gauge: Add extra padding for scrollbar (#99722)
* Add extra padding in bar gauge if scroll exists

* Add thin scroll bars, and fix test

* add comment about height calculation
2025-01-29 13:02:56 -06:00
renovate[bot]
1048e23872
Update dependency react-i18next to v15.4.0 (#99772)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 17:57:54 +00:00
Gilles De Mey
49bd8a608e
Alerting: Fix fieldSelector encoding (#99751)
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com>
2025-01-29 19:54:41 +02:00
Santiago
7d4895c3c9
Alerting: Use exponential backoff in the remote Alertmanager readiness check (#99756)
* Alerting: Use exponential backoff in the remote Alertmanager readiness check

* fix capitalized error

* remove unnecessary 'for'

* refactor, use time.After() instead of channel
2025-01-29 18:53:30 +01:00
renovate[bot]
243ce03b93
Update dependency @types/babel__preset-env to v7.10.0 (#99768)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 17:29:43 +00:00
Ashley Harrison
8f60308e73
Chore: centralise getK8sNamespace (#99767)
* create new public/app/api folder, expose getK8sNamespace

* rename to getAPINamespace
2025-01-29 17:29:16 +00:00
Scott Lepper
07601bee6f
[search] title search wildcard (#99769) 2025-01-29 10:48:19 -06:00
renovate[bot]
be9a7ce908
Update dependency knip to v5.43.6 (#99766)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 16:12:47 +00:00
Alex Khomenko
9f4e8ee206
Query Library: Update API client (#99382)
* Add process script

* Working version

* Use new types

* Use new types

* Update client

* Tweaks

* Process multiple specs

* Remove 'any' types

* Use BASE_URL

* Update CODEOWNERS

* Fix filename

* add openapi

* update CODEOWNDER

* use JSONeq

* Use existing specs

* Filter ForAllNamespaces

* Add instructions

* Switch to tsx

* Use openapi-types

* Update src path

* Expand docs

* Update docs

* Rename script

* codeowners

* More docs

* Move openapi-types to dev deps

* Update error message

* Update doc

* Fix typo

---------

Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2025-01-29 18:05:40 +02:00
renovate[bot]
0613ed1f11
Update dependency i18next to v24.2.2 (#99763)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 15:47:25 +00:00
Ashley Harrison
d198fa1dd0
Chore: add lint rule prevent t import from i18next (#99761)
* also handle i18next import

* fix violations
2025-01-29 15:46:13 +00:00
Joey
7883215c68
Tempo: Support TraceQL instant metrics queries (#99732)
Support TraceQL instant metrics
2025-01-29 15:40:06 +00:00
Jean-Philippe Quéméner
90c18099a5
fix(unified-storage): return folder title in legacy search (#99762) 2025-01-29 16:38:25 +01:00
renovate[bot]
9b37337f7b
Update dependency @types/webpack-env to v1.18.8 (#99759)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 17:14:41 +02:00
Kevin Minehart
c0600969e0
CI: update changelog generator to use compare API (#99688)
update changelog generator to use compare API
2025-01-29 09:04:12 -06:00
renovate[bot]
f39517304b
Update dependency @tanstack/react-virtual to v3.11.3 (#99746)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 14:53:26 +00:00
Dana Axinte
b4802e7116
CloudMigrations: Update Banner on Cloud Stack (#99741)
* add message with flag

* message only in cloud
2025-01-29 14:11:01 +00:00
Laura Fernández
03f89a1925
MultiCombobox: Show placeholder when there is no options selected (#99743) 2025-01-29 15:02:53 +01:00
Mariell Hoversholm
baaff6296f
Logging: Use slog adapter for go-kit/log with App SDK logger (#99740)
* feat: use slog adapter for go-kit/log

The adapter library is Apache-2.0, which is compatible with AGPL-3.0 as a dependency.

The adapter library outputs a little more info than we'd like, but rather a couple fields too many than it outputting
ERROR logs as INFO.

* feat: update dependencies

* chore: attribute ownership of dependency

* refactor: move require

* chore: make update-workspace
2025-01-29 14:59:37 +01:00
Jean-Philippe Quéméner
1087ed623f
feat(unified-storage): fetch full path if needed (#99747) 2025-01-29 14:50:49 +01:00
Jack Westbrook
514da10f46
Revert "Bug: Fix broken ui components when angular is disabled" (#99730)
Revert "Bug: Fix broken ui components when angular is disabled (#78208)"

This reverts commit 1112e9006b.
2025-01-29 14:22:23 +01:00
renovate[bot]
eb52af2b14
Update dependency @grafana/plugin-e2e to v1.17.0 (#99736)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 13:08:19 +00:00
Torkel Ödegaard
ebe2f442bd
Dashboard: Simplify handling of variables that update on time range change when used in repeats (#99432)
* Dashboard: Simplify handling of variables that update on time range change when used in repeats

* Update

* Update

* Update

* Update

* Update

* Update
2025-01-29 13:32:50 +01:00
Fayzal Ghantiwala
1444051b65
Alerting: Feature flag to fetch rules by passing down RBAC namespaces (#99738)
New feature flag
2025-01-29 12:17:44 +00:00
renovate[bot]
9b0078326a
Update dependency ol-ext to v4.0.26 (#99734)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 11:11:23 +00:00
Sven Grossmann
336449c169
Explore: Add hide_logs_download and hide button to download logs (#99512)
* Explore: Add `disableLogsDownload` and hide button to download logs

* change copy

* Explore: Change `disableLogsDownload` to `hide_logs_download`

* change casing in frontend

* also hide from inspector

* add test

* lint
2025-01-29 11:53:52 +01:00
renovate[bot]
6ea87802ed
Update dependency @types/webpack-env to v1.18.8 (#99731)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 10:47:15 +00:00
Jean-Philippe Quéméner
e6c2db82e0
fix(search): use the right services when unfied search is enabled for folders (#99661)
Co-authored-by: Scott Lepper <scott.lepper@gmail.com>
Co-authored-by: joshhunt <josh@trtr.co>
2025-01-29 11:45:24 +01:00
renovate[bot]
a0f27caff2
Update dependency eslint to v9.19.0 (#99702)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-01-29 09:46:59 +00:00
Josh Hunt
978101b7a5
ImportDashboards: Use NestedFolderPicker (#99696) 2025-01-29 09:24:41 +00:00
Alexa V
30c8ac7108
Dashboard: Schema V2 - Remove Dashboard id from spec (#99590)
* Dashboard: Schema V2 - Remove Dashboard id from spec

* Fix issue with dashboard id used in examples and serializers for schema v2

* Fix snapshot test
2025-01-29 10:13:56 +01:00
Jack Baldry
8e5a4560e8
Add workflow that comments when PRs include the add to what's new label (#99637)
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com>
2025-01-29 08:36:53 +00:00
Ryan McKinley
8415059290
K8s/OpenAPI: Move openapi snapshots out of the root (#99728) 2025-01-29 09:26:17 +02:00
Stephanie Hingtgen
c7f83b7311
K8s: Fix internal id setting in mode4 (#99720) 2025-01-29 08:17:17 +03:00
Stephanie Hingtgen
b06f83670e
Cleanup: comment out unreachable code (#99723) 2025-01-29 07:00:49 +03:00
maicon
20f02ec12f
Unistore: refactor provisioning to work with folder service (#99473) 2025-01-29 05:19:38 +02:00
Stephanie Hingtgen
6908f91428
Search fallback: prevent for now (#99725) 2025-01-29 04:57:34 +02:00
Stephanie Hingtgen
745a25ad0a
Folders API: Return orgID in response (#99724) 2025-01-28 23:13:26 -03:00
Ryan McKinley
5cd1efb2d1
K8s/Dashboard: Improve legacy error handling (#99658) 2025-01-28 18:47:02 -06:00
Stephanie Hingtgen
6ba18d05be
Folders: fix deletion logic that relies on the dashboard store (#99715) 2025-01-29 00:06:53 +02:00
Stephanie Hingtgen
d7070d11f6
k8s: Dashboard history: Fix created by (#99714) 2025-01-28 18:53:12 -03:00
Stephanie Hingtgen
b4b49fc587
K8s: Dashboards: use title sort field instead (#99712) 2025-01-28 23:24:55 +02:00
Isabel Matwawana
055a63873b
Docs: add pan and zoom key combos (#99523) 2025-01-28 15:21:41 -05:00
Nikita Pande
046754c3c2
[TLS] Remove the hard-coded TLS ciphers in http.go to fix Pen test findings (#98749)
Remove the hard-coded TLS ciphers in http.go to fix Pen test findings

Signed-off-by: GitHub <noreply@github.com>
2025-01-28 12:57:53 -07:00
owensmallwood
f55686a0b4
Unified Storage: Adds some more traces to search and the bleve search impl (#99704)
adds some more traces to search and the bleve search impl
2025-01-28 21:27:01 +02:00
Alexander Akhmetov
a0bf9202f5
Alerting: Clear the state cache when the alert routine stops (#99681) 2025-01-28 21:15:19 +02:00
Aleksandar Petrov
97f4a164d1
[DOC] Add connection URL info to Pyroscope datasource doc (#99605)
* [DOC] Add connection URL info to Pyroscope datasource doc

* Fix wordlist violation

* Apply suggestions from code review

Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>

---------

Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com>
2025-01-28 15:02:53 -04:00