Commit Graph

57324 Commits

Author SHA1 Message Date
Jev Forsberg a7ecb19c31
Chore: Update base alpine docker image (#101320)
* baldm0mma/ update base image arg

* baldm0mma/ update alpine image

* baldm0mma/ skip failing test

* baldm0mma/ specifiy patch

* baldm0mma/ flaky test?
2025-02-25 16:23:28 -07:00
Yuri Tseretyan 2681a93b47
Fix permissions for Update Alerting Module action (#101223)
* add id-token permission

* use alerting-team app
2025-02-25 15:05:29 -05:00
Adela Almasan cd7a1d515c
Canvas: Fix oneClick migration (#101311) 2025-02-25 13:54:07 -06:00
Eric Leijonmarck 4538c8cad9
DS proxy: Remove ft `datasourceProxyDisableRBAC` and logic (#101239)
delete ft datasourceproxy
2025-02-25 17:30:58 +00:00
Ben Sully 142a100915
fix(timeseries): allow annotations without color/isRegion/timeEnd (#101301) 2025-02-25 17:07:17 +00:00
Adela Almasan bc00462875
Table: Enable actions option (#101069) 2025-02-25 10:52:06 -06:00
Georges Chaudy 53e91fd5e8
unistore: close event stream on context cancelation (#101293)
* add tests for broacaster

* fix sql notifier not closing the stream

* fix sql notifier not closing the stream

* close sub

* fix broadcaster test

* fix broadcaster test

* suggestion
2025-02-25 08:28:31 -08:00
Matias Chomicki c5250311fc
Logs: Re-run Loki queries in Explore when direction and sort order are changed (#99994) 2025-02-25 16:06:48 +01:00
Andreas Christou 1302ee48b9
OpenTSDB: Support v2.4 (#100673)
* Add version 2.4 to frontend

* Update settings and types

- Set all properties on backend for consistency

* Update query logic to parse new and old format

- Minor naming updates
- Extract logic for initial frame creation
- When parsing old api responses, ensure data is in ascending order
- Update tests

* Update docs and provisioning file

* Fix lint

* Update docs/sources/datasources/opentsdb/_index.md

Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>

* Update docs/sources/datasources/opentsdb/_index.md

Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>

* Review nit

---------

Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com>
2025-02-25 16:59:58 +02:00
Alexander Akhmetov 6eb335a8ce
Alerting: API to read rule groups using mimirtool (#100674) 2025-02-25 15:49:08 +01:00
Isabella Siu d83db31a23
Elasticsearch: Replace level in adhoc filters with level field name (#100315)
Elasticsearch: replace level in adhoc filters with level field name
2025-02-25 09:16:55 -05:00
Karl Persson c1d9d4d15a
User: Handle unique constraints errors (#101274)
* Handle unique constraints errors
2025-02-25 15:06:25 +01:00
Torkel Ödegaard 8d7108d774
Dashboard: Add new elements logic (#101162) 2025-02-25 15:03:29 +01:00
Leon Sorokin 2e78bcfb41
Transformations: Add round() to Unary mode of `Add field from calc` (#101295) 2025-02-25 15:50:32 +02:00
Gabriel MABILLE f3433fd472
RBAC: Remove accessControlOnCall feature toggle (#101222)
* RBAC: Remove accessControlOnCall feature toggle

* Leave the other one in place

* Tests

* frontend

* Readd empty ft to frontend test

* Remove legacy RBAC check

* Fix test

* no need for context

* Remove unused variable

* Remove unecessary param

* remove unecessary param from tests

* More tests :D
2025-02-25 13:44:40 +01:00
Will Assis 1a65154e74
fix (unified-storage): Fix error when trying to get parents of folder as a viewer (#101245)
* Fix error when trying to get parents of folder as a viewer with unified-storage enabled
2025-02-25 14:38:32 +02:00
Andres Martinez Gotor ce8a874bf0
Advisor: Preinstall app plugin if enabled (#101289) 2025-02-25 13:37:41 +01:00
Oscar Kilhed df99c92823
Dashboards: Disable flaky import dashboard test in old architecture. (#101282)
disable flaky test
2025-02-25 13:44:11 +02:00
antonio 87a4034332
docs: link to tutorial from docs (#101277)
* docs: link to tutorial from docs

* missing part of url
2025-02-25 12:13:16 +01:00
Ieva bfabe2ce82
Ks8/Folders: Fix status codes returned on GET (#101237)
return the correct status code for folder fetching failures
2025-02-25 11:07:27 +00:00
Pepe Cano 2585fec99e
Alerting: Clarify that the AWS SNS subject field cannot be empty (#100780)
* Alerting: Clarify that the AWS SNS subject field cannot be empty

* minor copy change
2025-02-25 12:06:38 +01:00
Jack Baldry 305f05d852
Use version 2 of the deploy preview workflow (#101266)
* Use v2 deploy preview

Supports building with multiple documentation sources together.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

* Lint a file

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2025-02-25 10:47:46 +00:00
Andres Martinez Gotor 120b277664
Advisor: Cloud fixes (#101136) 2025-02-25 11:41:44 +01:00
Alexander Akhmetov 03e94e7a3e
Alerting: Update grafana/alerting (#101215)
* Update grafana/alerting from 9d7e00921e44 to 2acbeef29642

* Change the package for the TLSClient

* Fix TestContactPointFromContactPointExports test
2025-02-25 11:32:28 +01:00
Alexander Akhmetov b641fd64f9
Alerting: API to create rule groups using mimirtool (#100558)
What is this feature?

Adds an API endpoint to create alert rules with mimirtool:

- POST /convert/prometheus/config/v1/rules/{NamespaceTitle} - Accepts a single rule group in a Prometheus YAML format and creates or updates a Grafana rule group from it.

The endpoint uses the conversion package from #100224.

Key parts

The API works similarly to the provisioning API. If the rule does not exist, it will be created, otherwise updated. Any rules not present in the new group will be deleted, ensuring the group is fully synchronized with the provided configuration.

Since the API works with namespace titles (folders), the handler automatically creates a folder in the root based on the provided title if it does not exist. It also requires a special header, X-Grafana-Alerting-Datasource-UID. This header specifies which datasource to use for the new rules.

If the rule group's evaluation interval is not specified, it uses the DefaultRuleEvaluationInterval from settings.
2025-02-25 11:26:36 +01:00
Josh Hunt e78136c568
Navigation: Send isNew flag in grafana_navigation_item_clicked events (#101209) 2025-02-25 10:17:02 +00:00
Matheus Macabu 3aedb9159e
Chore: Update golang.org/x/crypto and golang.org/x/ouath2 to address security issues (#101268)
- CVE-2025-22869 and Go issue https://go.dev/issue/71931.
- CVE-2025-22868 and Go issue https://go.dev/issue/71490.
2025-02-25 11:15:41 +01:00
Josh Hunt bceddd78a8
Navigation: Revert new items auto-expanding (#101230) 2025-02-25 09:59:13 +00:00
grafana-pr-automation[bot] 00f51f8b76
I18n: Download translations from Crowdin (#101260)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-02-25 11:34:26 +02:00
Marcus Andersson 7773c658bb
PluginExtensions: Start using new APIs for datasource config extensions point (#101139) 2025-02-25 09:17:17 +01:00
Jack Westbrook eca045bc11
Build: Reduce repetition in rollup configs (#93916)
* build(packages): add extendable pieces of rollup config

* build(packages): rewrite rollup configs to make use of extendable parts
2025-02-25 09:11:09 +01:00
nbav12 047136c830
Docs: Change link title (#101043)
Update _index.md

Proposal to change the link title (also the relref behind, respectively).  At the sidebar, under: Set up > Install Grafana - there is a link with the title "RHEL or Fedora". Just to be uniform...
2025-02-25 09:11:00 +01:00
nbav12 43ef27e17e
Update dashboard.md (#101190)
Typo
2025-02-25 09:10:51 +01:00
jackyin 24f9126cdf
Interval variable: Fix $__auto value behavior (#100479) 2025-02-24 21:53:51 -07:00
Jean-Philippe Quéméner 9282e4cad4
fix(unified-storage): don't use in-process if db type is not set (#101254) 2025-02-24 21:44:42 +01:00
Ryan McKinley e482c037bf
Chore: Update drone promote support (#101241) 2025-02-24 20:36:13 +02:00
Johnny Kartheiser 9073f1a525
docs: document new alerting threshold operators (#101013)
* docs: document new alerting threshold operators

adding new operators to alerting docs
Equal
Not Equal
Greater or Equal
Less or Equal
Within Range Inclusive
Outside Range Inclusive

* cAPITALIZATION fIX

* Update docs/sources/alerting/fundamentals/alert-rules/queries-conditions.md

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>

* Update docs/sources/alerting/fundamentals/alert-rules/queries-conditions.md

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>

* Update docs/sources/alerting/fundamentals/alert-rules/queries-conditions.md

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>

* Update queries-conditions.md

matching with ui

---------

Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com>
2025-02-24 12:17:13 -06:00
Kristina a01ab790c0
Panel Edit: Add Annotations data (#101149)
* Add annotations data to panel editor

* Add tests for getVisualizationOptions2

* Add annotation check to test
2025-02-24 11:52:12 -06:00
Ashley Harrison a2b805ba17
Chore: add new `FeatureState` (#101228)
add new featurestate
2025-02-24 17:15:51 +00:00
renovate[bot] 9c940c67ed
Update dependency react-inlinesvg to v4.2.0 (#98968)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-02-24 17:15:23 +00:00
Saroj C. Mohanty ffa6db7a5e
TimeRange: Fix spelling in comment (#100553)
fixing spelling
2025-02-24 16:37:15 +00:00
Joey 6348031de1
NodeGraph: Fix for dangling edge lines (#100866)
* Make sure edge line has a unique key

* Update keys
2025-02-24 16:23:56 +00:00
Georges Chaudy e13bd52da6
unistore: move continue to the resource package (#101206)
* minor improvements to tests

* move continue token

* update sql backend
2025-02-24 18:02:30 +02:00
Karl Persson 74632a25c3
Authz: folder api tls settings (#101213)
* Skip certificate verification

* Add more settings for folder api
2025-02-24 16:03:14 +01:00
Santiago b58d616495
Alerting: Handle err-mimir-max-label-names-per-series as a user error in the prom writer (#101214) 2025-02-24 15:43:19 +01:00
Agnès Toulet 608d974585
Rendering: Stop preloading apps for rendering requests (#100221)
* Rendering: stop preloading apps

* add feature toggle

* add comment

* add const

* fix linter

* rename feature toggle

* delete old ff

* update toggles_gen.json
2025-02-24 15:43:06 +01:00
jackyin ec14822dd0
Panel: Histogram tooltip unit unexpected show (#100163)
* unit unexpected show

* format

* Build display in while building the counts, and remove the post processing iteration over the counts.

---------

Co-authored-by: Kristina Durivage <kristina.durivage@grafana.com>
2025-02-24 07:45:32 -06:00
Laura Fernández 19789cf5f8
Combobox: use `useOptions` (#100604) 2025-02-24 13:12:56 +01:00
Sonia Aguilar 9f00e086e4
Alerting: Use uid instead of id in AnnotationsStateHistory (#101207)
Use uid instead of id in AnnotationsStateHistory
2025-02-24 14:10:23 +02:00
Gilles De Mey 10b4868d91
Alerting: Use RTKQ for fetching folder information (#100645) 2025-02-24 12:26:17 +01:00