grafana-delivery-bot[bot]
8bc94106e2
[v11.3.x] Alerting docs: clarify $labels and query labels ( #97356 )
...
Alerting docs: clarify `$labels` and query labels (#97350 )
* Alerting docs: clarify `$labels` and query labels
* fix mispell
(cherry picked from commit 8fe36e1c83 )
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
2024-12-03 16:11:23 +01:00
grafana-delivery-bot[bot]
54ff80afb1
[v11.3.x] Deprecate notice for metrics summary and Aggregate by ( #94788 )
...
Deprecate notice for metrics summary and Aggregate by (#94761 )
(cherry picked from commit a5022d9dc6 )
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com >
2024-12-03 10:06:38 -05:00
grafana-delivery-bot[bot]
780e191177
[v11.3.x] Packaging: Remove sysvinit references / support from rhel packaging ( #97309 )
...
Packaging: Remove sysvinit references / support from rhel packaging (#97068 )
Remove sysvinit references / support from rhel packaging
(cherry picked from commit 3448384e0d )
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-12-02 22:20:45 +02:00
Jev Forsberg
e80e6e532c
[v11.3.x] Chore: Remove verification steps for deb/rpm in drone ( #97297 )
...
Chore: Remove verification steps for deb/rpm in drone (#96991 )
remove verification steps for deb/rpm in drone
(cherry picked from commit feeb2c6ce0 )
Co-authored-by: Serge Zaitsev <serge.zaitsev@grafana.com >
2024-12-02 11:57:59 -07:00
grafana-delivery-bot[bot]
17d7ca7232
[v11.3.x] Docs: Canvas visualization refactor ( #97286 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-12-02 12:11:29 -05:00
grafana-delivery-bot[bot]
bc3fd9d808
[v11.3.x] Docs: Add more information on wrap text override ( #97273 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-12-02 11:12:36 -05:00
grafana-delivery-bot[bot]
1de9f9477f
[v11.3.x] Fix: Do not fetch Orgs if the user is authenticated by apikey/sa or render key ( #97262 )
...
Fix: Do not fetch Orgs if the user is authenticated by apikey/sa or render key (#97162 )
* Do not fetch Orgs if the user is authenticated by apikey/sa or render svc
* Lint
(cherry picked from commit fa634e1476 )
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
2024-12-02 16:06:48 +01:00
grafana-delivery-bot[bot]
4428bf7025
[v11.3.x] Alerting: Fix incorrect 500 code on missing alert rule dashboardUID / panelID ( #96775 )
...
Alerting: Fix incorrect 500 code on missing alert rule dashboardUID / panelID (#96491 )
(cherry picked from commit 64c93217ff )
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
2024-12-02 09:15:40 -05:00
grafana-delivery-bot[bot]
b35522672b
[v11.3.x] doc: Fix spacing in sample values for enabling persistence ( #97238 )
...
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
Co-authored-by: horacimacias <horacimacias@gmail.com >
Fix spacing in sample values for enabling persistence (#97220 )
2024-12-02 12:47:48 +02:00
grafana-delivery-bot[bot]
c8031ed338
[v11.3.x] Update index.md to add a note about provisioned data source ( #97232 )
...
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
Co-authored-by: Gaurav Soni <raveformails@gmail.com >
2024-12-02 12:00:00 +02:00
Sergej-Vlasov
9c606f2302
Update to scenes 5.28.1 ( #97204 ) ( #97207 )
...
update to scenes 5.28.1
(cherry picked from commit 174e9ae193 )
2024-11-29 18:16:56 +02:00
grafana-delivery-bot[bot]
8395bda60f
[v11.3.x] Alerting: Fix contact points secure settings migration ( #97146 )
...
Alerting: Fix contact points secure settings migration (#95787 )
Add missing migration for secure settings, add types to notifiers mocks
(cherry picked from commit 3c8d29fa46 )
Co-authored-by: Konrad Lalik <konradlalik@gmail.com >
2024-11-28 14:40:16 +01:00
grafana-delivery-bot[bot]
f8dfaebf4c
[v11.3.x] DashboardScene: Fix layout issues with repeated panels when repeatDirection is missing ( #97156 )
...
DashboardScene: Fix layout issues with repeated panels when `repeatDirection` is missing (#97149 )
fix
(cherry picked from commit 0bf9d68070 )
Co-authored-by: Victor Marin <36818606+mdvictor@users.noreply.github.com >
2024-11-28 14:48:02 +02:00
grafana-delivery-bot[bot]
1c201629d5
[v11.3.x] Docs: Fix broken link ( #97121 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Fix broken link (#97119 )
2024-11-27 12:07:19 -05:00
grafana-delivery-bot[bot]
37858e7e24
[v11.3.x] Docs: Add note to refresh page after saving dashboards ( #97114 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-11-27 11:28:46 -05:00
grafana-delivery-bot[bot]
60370b4ea6
[v11.3.x] Docs: Add column lists to panel config pages ( #97111 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-11-27 10:37:12 -05:00
Sergej-Vlasov
70c37c9b03
Update scenes to v5.26.0 ( #96968 ) ( #97089 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit b23805a78a )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-27 13:38:19 +00:00
Sergej-Vlasov
55cb58b8be
Update scenes to v5.25.1 ( #96782 ) ( #97086 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 68e7f6069c )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-27 09:53:29 +00:00
Sergej-Vlasov
1695d2716f
Update scenes to v5.25.0 ( #96463 ) ( #97060 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit 8375fcd350 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-27 09:06:10 +00:00
Sergej-Vlasov
9ab6d23f77
Update scenes to v5.23.1 ( #95951 ) ( #97050 )
...
* Update scenes to v5.23.1
* Fix e2e tests
* Fix unit tests
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com >
(cherry picked from commit 70c21a2e4d )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-26 15:43:57 +00:00
Sergej-Vlasov
13e8921d27
Update scenes to v5.22.1 ( #95655 ) ( #97047 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
(cherry picked from commit b4012b6ac8 )
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-26 14:58:43 +00:00
grafana-delivery-bot[bot]
d0e5c87992
[v11.3.x] [DOC] Remove simple configuration in Tempo data source docs ( #97002 )
...
[DOC] Remove simple configuration in Tempo data source docs (#96932 )
* Remove simple configuration from Tempo data source docs
* Change deprecation to 11.5 for aggregate by
* Update docs/sources/shared/datasources/tempo-search-traceql.md
(cherry picked from commit 18c8ed3088 )
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com >
2024-11-25 21:11:36 -05:00
grafana-delivery-bot[bot]
4cb555fa8b
[v11.3.x] Docs: Add correlations youtube link to What's new ( #95281 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-11-25 10:07:12 -05:00
Alexander Akhmetov
98be4ac047
[v11.3.x] Alerting: Update state manager to have immutable state in cache ( #96843 )
...
* Alerting: Update state manager to have immutable state in cache (#95985 )
* create a new state and set at the end
* propagate labels datasource_uid and ref_id from current state if it's error
* copy the state when apply to all
(cherry picked from commit 420db99d16 )
* Remove unused states variables
---------
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-11-25 15:22:40 +01:00
Kevin Minehart
9c7c333856
[v11.3.x] CI: Add github app token generation in pipelines that use GITHUB_TOKEN ( #96874 )
...
CI: Add github app token generation in pipelines that use GITHUB_TOKEN (#96646 )
* Add github app token generation in pipelines that use GITHUB_TOKEN
* ci?
* clone gh repo using x-access-token user
* address linting issues
* use mounted volume for exporting token
* remove unused github_token env var swagger gen step
* replace pat on release_pr pipepline
* cleanup GH PAT references
* linting
* Update scripts/drone/steps/lib.star
* make drone
---------
Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com >
(cherry picked from commit 2400483d6c )
2024-11-21 21:08:48 -06:00
Jacob Valdez
d15321179e
[v11.3.x] Docs: Removing outdated versioning info in create reports ( #96808 )
...
Docs: Removing outdated versioning info in create reports (#96804 )
Removing outdated versioning info in create reports
(cherry picked from commit e6a771cf4a )
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-11-21 15:28:19 -06:00
grafana-delivery-bot[bot]
f0e56bdf64
[v11.3.x] Docs: Update InfluxDB data source documentation ( #96864 )
...
Docs: Update InfluxDB data source documentation (#96343 )
* created config doc, made initial changes
* initial draft of config doc completed
* additional edits
* moved config doc into directory, renamed
* made additional updates
* template variables updates/cleanup
* cleaned up intro page, some more minor edits
* edited and re-formatted configure the data source doc
* final edits
* more edits
* minor changes prior to PR
* fix typo
* Update docs/sources/datasources/influxdb/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/influxdb/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/influxdb/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/influxdb/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/influxdb/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/influxdb/query-editor/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/influxdb/query-editor/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/influxdb/template-variables/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/influxdb/query-editor/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/influxdb/configure-influxdb-data-source/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/influxdb/query-editor/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* updates based on feedback
* ran prettier
---------
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
(cherry picked from commit 26be86ee15 )
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com >
2024-11-21 13:48:12 -06:00
grafana-delivery-bot[bot]
bc89fe04b9
[v11.3.x] Alerting docs: fix data source link ( #96844 )
...
Alerting docs: fix data source link (#96819 )
* Alerting docs: fix data source link
* updates
* corrects menu path
* correct pattern destination
(cherry picked from commit b392a44737 )
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-11-21 15:10:28 +01:00
grafana-delivery-bot[bot]
e3367ccf9a
[v11.3.x] Scenes: Fix angular migrations that are using the targets property on the old panel model ( #96831 )
...
Scenes: Fix angular migrations that are using the targets property on the old panel model (#96626 )
Fix angular migrations using target
(cherry picked from commit 5986b03a8f )
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com >
2024-11-21 13:32:12 +01:00
grafana-delivery-bot[bot]
dfb1f9a3c1
[v11.3.x] Docs: stat visualization refactor ( #96801 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-11-20 15:40:58 -05:00
grafana-delivery-bot[bot]
f5cf121eb5
[v11.3.x] Docs: Moved and renamed navigation section ( #96797 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-11-20 15:25:33 -05:00
grafana-delivery-bot[bot]
64b556c137
[v11.3.x] Added docket tag note to security section ( #96726 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: margotphelps <123196595+margotphelps@users.noreply.github.com >
2024-11-19 15:45:02 -05:00
github-actions[bot]
8d6bbb7a4b
Release: 11.3.1 ( #96714 )
...
* Update changelog
* Update version to 11.3.1
* Update version
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-11-19 18:36:29 +00:00
Isabel Matwawana
08e10ff665
[v11.3.x] Docs: Node graph visualization refactor ( #96707 )
2024-11-19 11:40:10 -05:00
grafana-delivery-bot[bot]
13d60c9bd4
[v11.3.x] Docs: Logs visualization refactor ( #96637 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-11-18 10:22:53 -05:00
grafana-delivery-bot[bot]
96d1d5a07b
[v11.3.x] Alerting docs: fix query syntax sentence ( #96618 )
...
Alerting docs: fix query syntax sentence (#96614 )
* Alerting docs: fix query syntax sentence
* updates sentence
* pepes feedback
(cherry picked from commit d187716e73 )
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-11-18 12:26:24 +01:00
grafana-delivery-bot[bot]
c97b64e9ff
[v11.3.x] Docs: Added New Release Dates,Security Versioning and Freezes ( #96571 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
Co-authored-by: margotphelps <123196595+margotphelps@users.noreply.github.com >
2024-11-15 11:09:33 -05:00
grafana-delivery-bot[bot]
54eca5c73f
[v11.3.x] Docs: Bar chart visualization refactor ( #96560 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-11-15 10:09:40 -05:00
grafana-delivery-bot[bot]
4b634e887d
[v11.3.x] Docs: Plugin Installation - reorganize and add air-gapped environments ( #96533 )
...
Docs: Plugin Installation - reorganize and add air-gapped environments (#96437 )
* rewriting installation docs and including info about airgapped environments
* Changing example to lokieexplore app
* run prettier
* adding corrections
* running prettier
---------
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
(cherry picked from commit 0f4517df98 )
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com >
2024-11-15 13:55:27 +01:00
Konrad Lalik
9225f4a1cb
[v11.3.x] Alerting: Add useReturnTo hook to safely handle returnTo parameter ( #96481 )
...
Alerting: Add useReturnTo hook to safely handle returnTo parameter (#96474 )
Add useReturnTo hook to safely handle returnTo parameter
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com >
(cherry picked from commit 54cc666aa0 )
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-11-15 10:10:37 +02:00
grafana-delivery-bot[bot]
a09dcda92d
[v11.3.x] Alerting: Fix per-receiver RBAC for receivers with long names ( #95165 )
...
Alerting: Fix per-receiver RBAC for receivers with long names (#95084 )
* Implement uidToResourceID
* add middleware
* Move uidToResourceID to alerting package
* Only hash uid if it's too long
* Use hashed uid in access control
* Move ReceiverUidToResourceId to ScopeProvider
* resolve uid in middleware only if param exists
* Tests
* Linting
---------
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
(cherry picked from commit 4aad44e848 )
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
2024-11-14 13:01:31 -05:00
grafana-delivery-bot[bot]
a6bc76df32
[v11.3.x] Docs: Add canvas custom images and icon guidance ( #96470 )
...
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-11-14 11:02:48 -05:00
grafana-delivery-bot[bot]
d5cbf07090
[v11.3.x] Docs/adding information on using variable expansion and env variable for TLS certs when provisioning data sources ( #96471 )
...
Docs/adding information on using variable expansion and env variable for TLS certs when provisioning data sources (#96400 )
Docs/adding information on using variable expansion and env variables for TLS certs when provisioning data sources
(cherry picked from commit 28ad9684e9 )
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com >
2024-11-14 17:36:23 +02:00
kay delaney
d32c02ae14
[v11.3.x] Dashboard datasource: Return annotations as series when query topic is "annotations" ( #95971 )
...
Dashboard datasource: Return annotations as series when query topic is "annotations" (#95965 )
(cherry picked from commit 26b0e8f105 )
2024-11-14 14:45:17 +00:00
grafana-delivery-bot[bot]
d815e1107d
[v11.3.x] Alerting docs: adds cloud alert rule limits ( #96442 )
...
Alerting docs: adds cloud alert rule limits (#96441 )
(cherry picked from commit 14d868a791 )
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-11-14 12:38:07 +02:00
Victor Marin
700f59a0ea
[v11.3.x] Fix dashboards listing table appearing distorted ( #96390 )
...
Fix dashboards listing table appearing distorted (#96371 )
* fix CSS
* approx height calc to account for header div
(cherry picked from commit 19c04168c3 )
2024-11-14 09:37:27 +02:00
grafana-delivery-bot[bot]
a6cdb48249
[v11.3.x] Docs: Add auth entries to what's new 11.2 ( #96394 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-11-13 09:29:15 -05:00
grafana-delivery-bot[bot]
ecf127c0fa
[v11.3.x] Docs/removing outdated versioning info in OSS data source docs ( #96352 )
...
Docs/removing outdated versioning info in OSS data source docs (#96351 )
docs/removing outdated versioning info in oss data source docs
(cherry picked from commit f83f7332a1 )
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com >
2024-11-12 15:02:20 -06:00
lean.dev
9241bc5f5c
[v11.3.x] MigrationAssistant: Restrict dashboards, folders and datasources by the org id of the signed in user ( #96345 )
...
apply security patch: v11.3.x/194-202410181505.patch
2024-11-12 16:33:00 -03:00
github-actions[bot]
a2b1cda210
Release: 11.3.0+security-01 ( #96295 )
...
* Update changelog
* add relevant CVE fix to the changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sergej-Vlasov <sergej.s.vlasov@gmail.com >
2024-11-12 16:01:43 +00:00
grafana-delivery-bot[bot]
50762226a0
[v11.3.x] docs: Fixed title wording from bar gauge to canvas ( #96319 )
...
Co-authored-by: Señor Performo - Leandro Melendez <54183040+srperf@users.noreply.github.com >
Fixed title wording from bar gauge to canvas (#96312 )
2024-11-12 10:13:31 -05:00
grafana-delivery-bot[bot]
58333e0507
[v11.3.x] Alerting: Fix setting datasource uid, when datasource is string in old version ( #96273 )
...
Alerting: Fix setting datasource uid, when datasource is string in old version (#96085 )
fix setting datasource uid, when datasource is string in old versions rules
(cherry picked from commit 2f58311eea )
Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com >
2024-11-12 14:23:44 +01:00
Adela Almasan
5cc78ea219
[v11.3.x] Actions: Fix interpolation ( #96247 )
...
øActions: Fix interpolation (#96161 )
(cherry picked from commit 754351273b )
2024-11-12 07:21:59 -06:00
grafana-delivery-bot[bot]
a8cb62f05a
[v11.3.x] Alerting docs: adds prereqs to configure data source ( #96274 )
...
Alerting docs: adds prereqs to configure data source (#96272 )
* Alerting docs: adds prereqs to configure data source
* fixes numbering
(cherry picked from commit 35572c9731 )
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-11-12 11:59:30 +01:00
grafana-delivery-bot[bot]
89ea2a15ce
[v11.3.x] docs: Update CanvasDoc adding video link ( #95994 )
...
docs: Update CanvasDoc adding video link (#95953 )
Update CanvasDoc adding video link
(cherry picked from commit cd3a71e7cb )
Co-authored-by: Señor Performo - Leandro Melendez <54183040+srperf@users.noreply.github.com >
2024-11-11 15:14:34 +01:00
grafana-delivery-bot[bot]
5e1479d887
[v11.3.x] Alerting docs: fixes broken oncall link ( #96217 )
...
Alerting docs: fixes broken oncall link (#96215 )
(cherry picked from commit ca04cf780b )
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-11-11 14:08:58 +01:00
grafana-delivery-bot[bot]
f1c4e83865
[v11.3.x] Flame Graph: Fix crash when it receives empty data ( #96211 )
...
Flame Graph: Fix crash when it receives empty data (#95604 )
flame graph crash
(cherry picked from commit 3012d4c043 )
Co-authored-by: jackyin <yincong@baidu.com >
2024-11-11 13:00:23 +00:00
grafana-delivery-bot[bot]
cfa3ef73a1
[v11.3.x] Alerting docs: updates to landing page ( #96214 )
...
Alerting docs: updates to landing page (#96200 )
* Alerting docs: updates to landing page
* Update docs/sources/alerting/_index.md
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
---------
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
(cherry picked from commit 19bed65d9b )
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-11-11 13:45:21 +01:00
grafana-delivery-bot[bot]
c99c8c56e2
[v11.3.x] Alerting docs: Move Meta monitoring to Additional configuration section ( #96207 )
...
Alerting docs: Move `Meta monitoring` to `Additional configuration` section (#96150 )
(cherry picked from commit 154a2e0d06 )
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
2024-11-11 11:23:50 +01:00
grafana-delivery-bot[bot]
5b1a386dac
[v11.3.x] BarChart: Fix threshold lines rendering for horizontal orientation ( #96137 )
...
BarChart: Fix threshold lines rendering for horizontal orientation (#95737 )
* Use different threshold x/y coordinates depending on orientation
* invert wording / semantics
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
(cherry picked from commit 95692b3d68 )
Co-authored-by: Kristina <kristina.durivage@grafana.com >
2024-11-09 13:45:03 -06:00
Fayzal Ghantiwala
8bc0014845
[v11.3.x] Alerting: Make context deadline on AlertNG service startup configurable ( #96135 )
...
Alerting: Make context deadline on AlertNG service startup configurable (#96053 )
* Make alerting context deadline configurable
* Remove debug logs
* Change default timeout
* Update tests
(cherry picked from commit 1fdc48faba )
2024-11-08 16:46:50 +00:00
grafana-delivery-bot[bot]
8f10dbe12d
[v11.3.x] Alerting: Fix editing expressions refId ( #95035 )
...
Alerting: Fix editing expressions refId (#94941 )
Fix refId editing
(cherry picked from commit 836881b713 )
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com >
2024-11-08 16:54:01 +01:00
grafana-delivery-bot[bot]
546e0e214b
[v11.3.x] Alerting: Force refetch prom rules when refreshing panel ( #96125 )
...
Alerting: Force refetch prom rules when refreshing panel (#96120 )
Force refetch prom rules when refreshing panel
(cherry picked from commit ea0a6a1f7f )
Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com >
2024-11-08 16:36:51 +01:00
grafana-delivery-bot[bot]
3704073e6f
[v11.3.x] Alerting docs: reuse Additional configuration page for Cloud docs ( #96121 )
...
Alerting docs: reuse `Additional configuration` page for Cloud docs (#96101 )
(cherry picked from commit b953190328 )
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
2024-11-08 16:19:04 +01:00
grafana-delivery-bot[bot]
c9c1bbfa6e
[v11.3.x] Alerting docs: changes advanced to additional ( #96092 )
...
Alerting docs: changes advanced to additional (#96083 )
(cherry picked from commit 86bc087257 )
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-11-08 14:32:30 +02:00
grafana-delivery-bot[bot]
402b023b45
[v11.3.x] Alerting docs: adds advanced config section ( #96050 )
...
Alerting docs: adds advanced config section (#96013 )
* Alerting docs: adds advanced config section
* corrects ref
* feedback from pepe
* renames detect and respond
(cherry picked from commit b2af163dc5 )
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-11-08 09:58:18 +01:00
grafana-delivery-bot[bot]
be895603c8
[v11.3.x] Docs: clarify the description of actions_allow_post_url ( #96045 )
...
Docs: clarify the description of actions_allow_post_url (#95995 )
* Docs: clarify the description of actions_allow_post_url
* adding a word to clarify this extends the default behavior and doesn't replace it
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Beverly Buchanan <131809838+BeverlyJaneJ@users.noreply.github.com >
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Beverly Buchanan <131809838+BeverlyJaneJ@users.noreply.github.com >
---------
Co-authored-by: Beverly Buchanan <131809838+BeverlyJaneJ@users.noreply.github.com >
(cherry picked from commit 4cc204affe )
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com >
2024-11-07 10:15:59 -06:00
grafana-delivery-bot[bot]
c2d85230b1
[v11.3.x] Alerting docs: Introduction - brief overview of notification messages. ( #96042 )
...
Alerting docs: Introduction - brief overview of notification messages. (#95987 )
* Intro: simplify `Architecture`. Add a new guideline
* Define `Notification policies` as an advanced option
* Intro: include about "Notification messages"
* Minor copy changes
(cherry picked from commit ff2f612412 )
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
2024-11-07 16:51:12 +01:00
Jack Westbrook
3824dc412d
[v11.3.x] Chore: Resolve duplicate e2e-selectors packages to workspace ( #94945 )
...
chore(yarn): resolve scenes e2e selectors to workspace version
2024-11-07 16:40:35 +01:00
grafana-delivery-bot[bot]
0e0a2c0371
[v11.3.x] Alerting: Fix saving advanced mode toggle state in the alert rule editor ( #95981 )
...
Alerting: Fix saving advanced mode toggle state in the alert rule editor (#95924 )
(cherry picked from commit 4ce1abc6f9 )
Co-authored-by: Alexander Akhmetov <me@alx.cx >
2024-11-06 19:04:59 +01:00
grafana-delivery-bot[bot]
8273628550
[v11.3.x] Alerting docs: specify using multiple contact point integrations in the UI and HTTP API ( #95967 )
...
Alerting docs: specify using multiple contact point integrations in the UI and HTTP API (#95890 )
* Sort list of contact points on the sidebar
* Update `Configure contact points` to clarify contact point integrations
* Alerting HTTP API: fix `EmbeddedContactPoint` properties table
* HTTP Alerting API: clarify how `ContactPoint.name` groups contact points
* Update docs/sources/alerting/configure-notifications/manage-contact-points/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
(cherry picked from commit 290612e366 )
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
2024-11-06 15:45:52 +01:00
grafana-delivery-bot[bot]
d489ecf794
[v11.3.x] Dashboard: Append orgId to URL ( #95963 )
...
Dashboard: Append orgId to URL (#95960 )
(cherry picked from commit 52f4bd64e0 )
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com >
2024-11-06 16:28:37 +02:00
grafana-delivery-bot[bot]
16411b1b4a
[v11.3.x] ServerLock: Fix pg concurrency/locking issue ( #95935 )
...
ServerLock: Fix pg concurrency/locking issue (#95916 )
Fix pg unique constraint validation in serverlock
(cherry picked from commit ab974ddf14 )
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
2024-11-06 11:09:20 +02:00
grafana-delivery-bot[bot]
8567089ed2
[v11.3.x] Docs: Updating steps for pulling Grafana metrics into Prometheus ( #95918 )
...
Docs: Updating steps for pulling Grafana metrics into Prometheus (#95913 )
* Docs: Updating steps for pulling Grafana metrics into Prometheus
* slight update based on review
(cherry picked from commit 9a1e7de79d )
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com >
2024-11-06 00:17:12 +02:00
grafana-delivery-bot[bot]
1100a0409f
[v11.3.x] [DOC] Add Pyroscope to list of products ( #95911 )
...
[DOC] Add Pyroscope to list of products (#95884 )
* Add Pyroscope to list of products
* Update docs/sources/shared/basics/what-is-grafana.md
* Apply suggestions from code review
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
Co-authored-by: Bryan Huhta <32787160+bryanhuhta@users.noreply.github.com >
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
Co-authored-by: Bryan Huhta <32787160+bryanhuhta@users.noreply.github.com >
(cherry picked from commit 78c5fe61df )
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com >
2024-11-05 15:00:20 -05:00
grafana-delivery-bot[bot]
a7c1f37435
[v11.3.x] Azure: Handle namespace request rejection ( #95909 )
...
Azure: Handle namespace request rejection (#95574 )
Handle rejection and add test
(cherry picked from commit da1a5426d0 )
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-11-05 21:06:30 +02:00
grafana-delivery-bot[bot]
cbf9e323b6
[v11.3.x] Docs: updating auto_refresh_license information ( #95902 )
...
Docs: updating auto_refresh_license information (#95804 )
(cherry picked from commit a8578484bb )
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com >
2024-11-05 18:38:53 +01:00
grafana-delivery-bot[bot]
0826aa0078
[v11.3.x] Alerting docs: Update Create alert rules from panels ( #95818 )
...
Alerting docs: Update `Create alert rules from panels` (#95566 )
* Alerting docs: Update `Create alert rules from panels`
* Remove screenshots except when the panel displays alert status
* Further changes sync with Brenda
* minor changes
* Relocate admonition
* Specify `dashboardUId` and `panelId` must be set together
* Update docs/sources/alerting/alerting-rules/link-alert-rules-to-dashboards.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* change title
* change URL
* fix spell error
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
(cherry picked from commit facca37f4d )
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
2024-11-05 10:13:57 +01:00
grafana-delivery-bot[bot]
9bb7d77cdb
[v11.3.x] Timeseries: Utilize min/max on stacking percentage ( #95793 )
...
Timeseries: Utilize min/max on stacking percentage (#95581 )
* Bring in defined min/max into stacking range
* simplify logic
* different approach
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
(cherry picked from commit 68aefc73b6 )
Co-authored-by: Kristina <kristina.durivage@grafana.com >
2024-11-04 15:09:28 -06:00
grafana-delivery-bot[bot]
e31c4fc59b
[v11.3.x] Alerting: Fix contact points secrets validation ( #95777 )
...
Alerting: Fix contact points secrets validation (#95651 )
Add new condition to the determineRequired function
(cherry picked from commit e43bec2cd8 )
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com >
2024-11-04 15:10:03 +01:00
grafana-delivery-bot[bot]
28f9eb3221
[v11.3.x] Alerting docs: add Time type documentation for notification templates ( #95776 )
...
Alerting docs: add `Time` type documentation for notification templates (#95688 )
* Improve `tz` and `date` docs
* Add documentation for `Time` type
(cherry picked from commit 9d937725ad )
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
2024-11-04 12:48:55 +01:00
grafana-delivery-bot[bot]
693ed6dddd
[v11.3.x] Alerting docs: fix alertname label name ( #95767 )
...
Alerting docs: fix `alertname` label name (#95665 )
(cherry picked from commit 8a0c920106 )
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
2024-11-04 10:54:58 +01:00
grafana-delivery-bot[bot]
8f030aa210
[v11.3.x] Alerting docs: Add one notification template example that prints a title or subject ( #95766 )
...
Alerting docs: Add one notification template example that prints a title or subject (#95680 )
(cherry picked from commit d3a3e53354 )
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
2024-11-04 10:54:40 +01:00
grafana-delivery-bot[bot]
ef12cfe67d
[v11.3.x] E2E: remove duplicate loki e2e tests ( #95667 )
...
E2E: remove duplicate loki e2e tests (#95644 )
* remove duplicate loki e2e tests to avoid flakiness
* unskip test
* adjust panel ids
(cherry picked from commit 9f5258717e )
Co-authored-by: Sergej-Vlasov <37613182+Sergej-Vlasov@users.noreply.github.com >
2024-11-01 09:56:38 +00:00
grafana-delivery-bot[bot]
4f80c4c55c
[v11.3.x] Unified Storage: Use ssl_mode instead of sslmode ( #95662 )
...
Unified Storage: Use ssl_mode instead of sslmode (#95658 )
change unistore to use ssl_mode instead of sslmode
(cherry picked from commit 76b43267c8 )
Co-authored-by: Georges Chaudy <chaudyg@gmail.com >
2024-10-31 15:30:34 +00:00
grafana-delivery-bot[bot]
66518db34c
[v11.3.x] Docs: Updating versions in activating AWS marketplace license ( #95656 )
...
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com >
2024-10-31 15:08:25 +01:00
grafana-delivery-bot[bot]
855dcd7b7b
[v11.3.x] Migration: Remove table aliasing in delete statement to make it work for mariadb ( #95232 )
...
Migration: Remove table aliasing in delete statement to make it work for mariadb (#95226 )
Migration: remove table aliasing in delete statement to make it work in mariadb
(cherry picked from commit 6f7528f896 )
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2024-10-31 07:51:27 +00:00
grafana-delivery-bot[bot]
ab85eacea6
[v11.3.x] Docs: adding SAML name parameter configuration info ( #95621 )
...
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com >
2024-10-30 18:03:22 +01:00
grafana-delivery-bot[bot]
11aedea347
[v11.3.x] Graphite: Fix Multi Dimensional Alias Name ( #95618 )
...
Graphite: Fix Multi Dimensional Alias Name (#94563 )
(cherry picked from commit 89da7d6fe5 )
Co-authored-by: Alyssa (Bull) Joyner <58453566+alyssabull@users.noreply.github.com >
2024-10-30 16:12:41 +00:00
grafana-delivery-bot[bot]
fdc1859d0d
[v11.3.x] GCM: Fix error checking for GCE project getter ( #95617 )
...
GCM: Fix error checking for GCE project getter (#95613 )
Appropriately check error
(cherry picked from commit 08e880a823 )
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-10-30 15:50:25 +00:00
grafana-delivery-bot[bot]
1540c767cc
[v11.3.x] Folders: Don't show error pop-up if the user can't fetch the root folder ( #95600 )
...
Folders: Don't show error pop-up if the user can't fetch the root folder (#95569 )
don't show error pop-up if the user can't read general folder
(cherry picked from commit 092a1813ef )
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-10-30 11:06:06 +00:00
grafana-delivery-bot[bot]
7f36355451
[v11.3.x] Remove second aliases section ( #95595 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-10-30 10:00:21 +00:00
grafana-delivery-bot[bot]
397c96c1cc
[v11.3.x] Docs: Adding memory requirements to image renderer docs ( #95572 )
...
Docs: Adding memory requirements to image renderer docs (#95571 )
Adding memory requirements to image renderer docs
(cherry picked from commit d480900a9b )
Co-authored-by: Jacob Valdez <jacob.valdez@grafana.com >
2024-10-29 13:10:44 -05:00
grafana-delivery-bot[bot]
13336dd198
[v11.3.x] Alerting docs: Update Recording Rules ( #95535 )
...
Alerting docs: Update Recording Rules (#95435 )
* WIP - Restructure recording rule pages
* Add more `Recording rules` use cases
* Update `Intro > Alert rules`. Minor style changes and updates to the recording rules section
* Minor verb change
* Switch `aliases` and fix broken link
* Bold for clarity
* Complete `Create recording rules in Grafana Alerting`
* Complete data source-managed recording rules
* Final update
(cherry picked from commit 9b91be739d )
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
2024-10-29 09:58:35 +01:00
grafana-delivery-bot[bot]
cb5df488a8
[v11.3.x] Replace myself with Irene who oversees Grafana documentation ( #95494 )
...
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-10-28 15:35:58 +02:00
grafana-delivery-bot[bot]
5af40ed44f
[v11.3.x] User: Check SignedInUser OrgID in RevokeInvite ( #95490 )
...
User: Check SignedInUser OrgID in RevokeInvite (#95476 )
Check SignedInUser OrgID in RevokeInvite
(cherry picked from commit fedcf47702 )
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
2024-10-28 14:42:19 +02:00
grafana-delivery-bot[bot]
c081bb53d0
[v11.3.x] Update _index.md ( #95475 )
...
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
Co-authored-by: Jay <92761481+JayEkin@users.noreply.github.com >
2024-10-28 12:01:23 +02:00
grafana-delivery-bot[bot]
8ea5af7335
[v11.3.x] Update _index.md ( #95470 )
...
Co-authored-by: Irene Rodríguez <irene.rodriguez@grafana.com >
Co-authored-by: Jay <92761481+JayEkin@users.noreply.github.com >
2024-10-28 11:28:27 +02:00
grafana-delivery-bot[bot]
d763aae5f2
[v11.3.x] Service Accounts: Run service account creation in transaction ( #94803 )
...
Service Accounts: Run service account creation in transaction (#94744 )
* run service account creation DB queries in transaction
* extract the signed in user from the context
* undo unneeded change
* don't error out if a user is not found
* Update pkg/services/serviceaccounts/manager/service.go
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
* Update pkg/services/serviceaccounts/manager/service.go
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
---------
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
(cherry picked from commit ca1fd028a2 )
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-10-27 20:50:20 +01:00
Kevin Minehart
4a30c85b77
[v11.3.x] CI: Consolidate package and docker steps ( #95419 )
...
update .drone.yml
2024-10-25 12:44:15 -05:00
Drew Slobodnjak
a78607432e
[v11.3.x] Table: Fix text wrapping applying to wrong field ( #95425 )
...
Table: Fix text wrapping applying to wrong field (#93707 )
* Fix text wrap
---------
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com >
(cherry picked from commit d7ee3ea086 )
Co-authored-by: Kyle Cunningham <codeincarnate@users.noreply.github.com >
2024-10-25 08:55:39 -07:00
grafana-delivery-bot[bot]
12a54c2414
[v11.3.x] Docs: Fix shared file references ( #95289 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Fix shared file references (#95287 )
2024-10-25 11:15:23 -04:00
grafana-delivery-bot[bot]
bb4e253c76
[v11.3.x] Docs: Table visualization update ( #95286 )
...
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-10-25 11:09:50 -04:00
Kevin Minehart
90a562257c
[v11.3.x] CI: Remove drone steps for building windows because its done in grafana-… ( #95413 )
...
CI: Remove drone steps for building windows because it's done in grafana-… (#95373 )
Remove drone steps for building windows because it's done in grafana-build now
(cherry picked from commit 67b3848fd9 )
2024-10-25 07:53:52 -06:00
grafana-delivery-bot[bot]
5889d680e9
[v11.3.x] Folders: Add admin permissions upon creation of a folder w. SA ( #95365 )
...
Folders: Add admin permissions upon creation of a folder w. SA (#95072 )
* add admin permissions upon creation of a folder w. SA
* Update pkg/services/folder/folderimpl/folder.go
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
* Grant service account permissions for creation of dashboards
* Grant service account admin permissions upon creating a datasource
* fetch user using the userservice with the userid
* Revert "fetch user using the userservice with the userid"
This reverts commit 23cba78752 .
* revert back to original datasource creation
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
(cherry picked from commit 9ab064bfc5 )
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
2024-10-25 08:51:09 +01:00
grafana-delivery-bot[bot]
86deb2b4c4
[v11.3.x] Auth: Increase name_id and session_id length to 1024 in user_external_session ( #95360 )
...
Auth: Increase name_id and session_id length to 1024 in user_external_session (#95352 )
Increase name_id and session_id length to 1024
(cherry picked from commit b8b7c7901c )
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
2024-10-24 18:36:43 +03:00
grafana-delivery-bot[bot]
c5d7a954ef
[v11.3.x] Alerting: Fix escaping of silence matchers in utf8 mode ( #95347 )
...
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
Fix escaping of silence matchers in utf8 mode (#95067 )
2024-10-24 16:33:15 +03:00
kay delaney
54e5e6c1b5
[v11.3.x] Update scenes to v5.20.4 ( #95337 )
...
Update scenes to v5.20.4
2024-10-24 12:57:24 +01:00
grafana-delivery-bot[bot]
c99956285b
[v11.3.x] Dashboards: Fixes performance issue expanding a row ( #95321 )
...
Dashboards: Fixes performance issue expanding a row (#95311 )
* DashboardScene: Optimize change detection
* Remove arg
* remove console log
(cherry picked from commit 3523289e98 )
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2024-10-24 12:23:21 +03:00
grafana-delivery-bot[bot]
9d867a4441
[v11.3.x] Remove doc-validator requirement to run on all pull requests ( #95316 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-10-24 11:38:12 +03:00
grafana-delivery-bot[bot]
a9088a7bbb
[v11.3.x] CI: use linux to build msi installers ( #95292 )
...
CI: use linux to build msi installers (#95215 )
* Build the MSI installers using Linux and wine
(cherry picked from commit 66c728d26b )
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-10-23 14:51:29 -05:00
grafana-delivery-bot[bot]
7cf08ebaf9
[v11.3.x] Prometheus: Fix passing query timeout to upstream queries ( #95264 )
...
Prometheus: Fix passing query timeout to upstream queries (#95104 )
* remove queryTimeout from constructor
* use queryTimeout for range and instant queries
* remove comment
* remove default query timeout
* fix linting
(cherry picked from commit 78a00d09cd )
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-10-23 17:02:18 +02:00
grafana-delivery-bot[bot]
c76d97bb13
[v11.3.x] Azure: Fix duplicated traces in multi-resource trace query ( #95247 )
...
Azure: Fix duplicated traces in multi-resource trace query (#95156 )
Use first resource as base resource for query
(cherry picked from commit 8bb7475e4f )
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-10-23 15:24:33 +03:00
Pepe Cano
f8cb0ccb71
[v11.3.x] Alerting Docs: Update Alert rule and Notification Templating ( #95242 )
...
Alerting Docs: Update Alert rule and Notification Templating (#94069 )
* Update links to the new location of the Templates intro page
* Set alert rule template structure
* Update the `Template notifications` structure/sidebar
* Move examples to examples pages
* Update menu titles and URL paths
* WIP reference
* added intro to examples.md
* reference page section intros
* examples title
* Template
* Continue Alert Template Reference
* example sections
* Almost finish with Reference page
* weight pages
* WIP - template variables Intro
* Edits Alert rule templates + Differences with notification templates
* examples-draft-2
* how to map annotations to notif templates
* examples v2
* moved example
* Continue Template annotations and labels
* Preview annotation templates
* Complete `Template annotations and labels`
* Update `Differences with notification templates`
* Polish a bit `Differences with notification tempaltes`
* added logic examples to `Examples`
* Finish sharing Template language
* Minor: set `anchor` link
* Minor edit
* Minor edit
* Minor changes
* Template language changes
* Document missing functions for alert rule templates
* 'Examples' v3
* `Examples` v3.1
* `Examples` v3.2
* added context/intro to `Examples`
* added a how to section to `Examples`
* moved legacy info in `Examples`
* added examples, sections in `Examples`
* formatting
* examples v5
* examples v5.1
* Complete update to `Notification template reference`
* Update `$values` description
* moved steps to `index`
* fixed urls
* removed section in `examples`
* added refs
* fixed urls
* refs fix
* blended the use case into the explanation
* Notification template reference: Minor readibility changes
* Edit `$value` in Alert rule template reference
* Edit `Manage notification templates
* links to ref and lang pages
* Minor copy changes
* Edit Template annotation overview + Prepare Template notifications overview
* `Select` vs `Choose`
* Template Overview
* Fix `heading` does not match `title`
* examples v6
* examples v6.1
* Fix spell errors
* Run `prettier --write` to fix md format errors
* examples v7
* examples v7.1
* examples v7.2
* examples v7.4
* examples v7.5
* examples v7.6
* all pretty, no pity
* Update alert rule examples
* Complete `Labels and annotations template examples`
* Minor changes
* Use `.` notation instead of `index` in examples
* rename `extendeddata` to `notificationdata`
* Complete Notification examples
* minor changes
* Set `go` language when displaying template examples
* Revert "minor changes"
This reverts commit f647c55c87 .
* Update example and admonition for consistency
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/manage-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/manage-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/shared/alerts/template-language.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/shared/alerts/template-language.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/manage-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/language.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/examples.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/examples.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/examples.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/templates/examples.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/examples.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/manage-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/manage-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/manage-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/manage-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/manage-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* use `add` instead of `enrich`
* fix prettier content errors
* minor copy change
* Specify which Alert properties are exclusive to Grafana-managed alerts
* Use `Monitor` instead of `Meta monitoring`
* Be more detailed about notifation template limitations
---------
Co-authored-by: tonypowa <tonypowa@gmail.com >
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
(cherry picked from commit 813632dff1 )
2024-10-23 13:03:58 +02:00
grafana-delivery-bot[bot]
f702577e83
[v11.3.x] format datasources list with columns ( #95234 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: Robby Milo <robbymilo@fastmail.com >
2024-10-23 10:07:21 +01:00
grafana-delivery-bot[bot]
b8c43bcf3d
[v11.3.x] Alerting docs: Update Labels and Annotations to detail use cases ( #95221 )
...
Alerting docs: Update `Labels and Annotations` to detail use cases (#95213 )
* Alerting docs: Update `Labels and Annotations` to detail use cases
* Update docs/sources/alerting/fundamentals/alert-rules/annotation-label.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
(cherry picked from commit 8072286daf )
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
2024-10-23 09:07:06 +02:00
grafana-delivery-bot[bot]
d865fa64ce
[v11.3.x] Docs: Add what's new video ( #95210 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-10-22 16:43:14 -04:00
Kevin Yu
a292f838fe
fix changelog ( #95208 )
2024-10-22 13:09:39 -07:00
github-actions[bot]
50c5d806c1
Release: 11.3.0 ( #95196 )
...
* Update changelog
* Update version to 11.3.0
* bump @grafana/plugin-configs from 11.3.0-pre to 11.3.0
* update changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kevin Yu <kevinwcyu@users.noreply.github.com >
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com >
2024-10-22 12:39:12 -07:00
grafana-delivery-bot[bot]
6d5fa7b7a0
[v11.3.x] Docs: Add Correlations entry to what's new ( #95172 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-10-22 10:58:26 -04:00
grafana-delivery-bot[bot]
035f6dde73
[v11.3.x] Canvas: Fix data links target ( #95171 )
...
Canvas: Fix data links target (#95113 )
(cherry picked from commit b2e53997e2 )
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com >
2024-10-22 17:54:54 +03:00
grafana-delivery-bot[bot]
494ddad79d
[v11.3.x] Azure Monitor: Support metric namespaces fallback ( #95155 )
...
Azure Monitor: Support metric namespaces fallback (#94722 )
* Update display names
* Update multi-resource types
* Update default metric namespace list
* Initialise namespace list with fallback namespaces
* Add test
* Update test
(cherry picked from commit 986bd2f9f8 )
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-10-22 16:39:56 +03:00
grafana-delivery-bot[bot]
2e81653b68
[v11.3.x] Anonymous User: Adds validator service for anonymous users ( #94994 )
...
Anonymous User: Adds validator service for anonymous users (#94700 )
(cherry picked from commit 3438196010 )
Co-authored-by: lean.dev <34773040+leandro-deveikis@users.noreply.github.com >
2024-10-22 09:26:00 -03:00
grafana-delivery-bot[bot]
6924b9641a
[v11.3.x] Alerting: Fix overflow for long receiver names ( #95133 )
...
Alerting: Fix overflow for long receiver names (#95064 )
(cherry picked from commit 94f5e21493 )
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-10-22 14:23:38 +02:00
grafana-delivery-bot[bot]
f68938c842
[v11.3.x] DashboardScene: Re-add support for default datasource var ( #95138 )
...
DashboardScene: Re-add support for default datasource var (#94806 )
re-add support for default datasource var
(cherry picked from commit 96893aef2a )
Co-authored-by: Victor Marin <36818606+mdvictor@users.noreply.github.com >
2024-10-22 13:52:01 +03:00
grafana-delivery-bot[bot]
c426f12df7
[v11.3.x] DashboardScene: Rerender dashboard links on timerange change ( #95140 )
...
DashboardScene: Rerender dashboard links on timerange change (#94570 )
* fix
* refactor
* refactor
(cherry picked from commit aaba5a43bd )
Co-authored-by: Victor Marin <36818606+mdvictor@users.noreply.github.com >
2024-10-22 13:49:07 +03:00
grafana-delivery-bot[bot]
bbc76071b5
[v11.3.x] DashboardScene: Update timerange in datalinks on change ( #95137 )
...
DashboardScene: Update timerange in datalinks on change (#94419 )
* fix types
* mods
* refactor
* refactor
(cherry picked from commit 516e0cf7e2 )
Co-authored-by: Victor Marin <36818606+mdvictor@users.noreply.github.com >
2024-10-22 13:27:29 +03:00
grafana-delivery-bot[bot]
ca7156d411
[v11.3.x] DashboardScenes: Fix missing query options in library panels ( #95132 )
...
DashboardScenes: Fix missing query options in library panels (#94808 )
Fix missing query options in library panels
(cherry picked from commit d608668335 )
Co-authored-by: Victor Marin <36818606+mdvictor@users.noreply.github.com >
2024-10-22 13:09:16 +03:00
grafana-delivery-bot[bot]
8e7ba6f123
[v11.3.x] Docs note on Cross-account observability permissions for CW datasource ( #95125 )
...
Co-authored-by: Jara Suárez de Puga García <jara.suarezdepuga@grafana.com >
2024-10-22 10:07:02 +01:00
grafana-delivery-bot[bot]
6e0e8d0370
[v11.3.x] Loki query editor: update CompletionDataProvider time range when it changes ( #95127 )
...
Loki query editor: update CompletionDataProvider time range when it changes (#94905 )
* Loki query editor: update CompletionDataProvider time range when it changes
* CompletionDataProvider: update test and add regression
* Formatting
* Completion Data Provider: clear cache when the time range changes
* Completion Data Provider: specifically test for undefined values vs empty string
(cherry picked from commit 89c215a9ff )
Co-authored-by: Matias Chomicki <matyax@gmail.com >
2024-10-22 12:06:54 +03:00
grafana-delivery-bot[bot]
073436f2f8
[v11.3.x] [docs] fix provisioning folder name ( #95101 )
...
Co-authored-by: Scott Lepper <scott.lepper@gmail.com >
fix provisioning folder name (#95099 )
2024-10-21 23:43:52 +03:00
grafana-delivery-bot[bot]
367c82bd51
[v11.3.x] BarChart: Skip formatting null-valued ticks ( #95094 )
...
BarChart: Skip formatting null-valued ticks (#94935 )
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com >
(cherry picked from commit 594e9b1b73 )
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-10-21 22:48:13 +03:00
grafana-delivery-bot[bot]
a2db7105a9
[v11.3.x] Docs: What’s new & Upgrade guide v11.3 ( #95088 )
...
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-10-21 15:20:12 -04:00
grafana-delivery-bot[bot]
bdf41feda9
[v11.3.x] Alerting: Fix remote Alertmanager readiness check path ( #95066 )
...
Alerting: Fix remote Alertmanager readiness check path (#95063 )
(cherry picked from commit 4f8f82f5f1 )
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com >
2024-10-21 18:45:49 +03:00
grafana-delivery-bot[bot]
aa8c58abd0
[v11.3.x] Alerting: Fix templates editing validation ( #94963 )
...
* Alerting: Fix templates editing validation (#94960 )
Fix title validation when editing template files
(cherry picked from commit 5548e5976b )
* Adjust tests
---------
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com >
2024-10-21 10:52:10 +02:00
grafana-delivery-bot[bot]
48d083d495
[v11.3.x] Chore: Fix population of details when converting from errutil errors to K8s error ( #94998 )
...
Chore: Fix population of details when converting from errutil errors to K8s error (#94996 )
(cherry picked from commit 672d5f92f2 )
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-10-18 23:11:44 +03:00
grafana-delivery-bot[bot]
e0da40ea8c
[v11.3.x] CloudWatch: Interpolate region in log context query ( #94990 )
...
CloudWatch: Interpolate region in log context query (#94930 )
CloudWatch: interpolate region in log context query
(cherry picked from commit fd5f351a6f )
Co-authored-by: Isabella Siu <Isabella.siu@grafana.com >
2024-10-18 14:25:21 -04:00
grafana-delivery-bot[bot]
aba5388a42
[v11.3.x] Alerting: Fix time-interval conversion to return bad request if payload is incorrect ( #94999 )
...
Alerting: Fix time-interval conversion to return bad request if payload is incorrect (#94995 )
(cherry picked from commit 00bb3215cb )
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-10-18 20:35:15 +03:00
Isabel Matwawana
48ce1636bd
Revert "[v11.3.x] Revert some scenes documentation" ( #94984 )
2024-10-18 11:42:32 -04:00
Josh Hunt
71e980ee9a
bump whatsnew url ( #94982 )
2024-10-18 18:32:07 +03:00
grafana-delivery-bot[bot]
060846d056
[v11.3.x] Dashboards: Links to explore should respect subpath ( #94975 )
...
Dashboards: Links to explore should respect subpath (#94525 )
* Links to explore should respect subpath
* Change to using assureBaseUrl
* Change back to normal single quotes
(cherry picked from commit 315778227b )
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com >
2024-10-18 17:38:26 +03:00
Sam Jewell
df57ba1b70
[v11.3.x] ServerSideExpressions: Disable SQL Expressions to prevent RCE and LFI vulnerability ( #94955 )
...
ServerSideExpressions: Disable SQL Expressions to prevent RCE and LFI vulnerability (#94942 )
* disable sql expressions
remove duckdb ref
* Run `make update-workspace`
---------
Co-authored-by: Scott Lepper <scott.lepper@gmail.com >
(cherry picked from commit ea71201ddc )
2024-10-18 12:46:53 +01:00
grafana-delivery-bot[bot]
4a800ace30
[v11.3.x] Docs: Update Grafana-Managed Recording Rule docs ( #94908 )
...
Docs: Update Grafana-Managed Recording Rule docs (#94895 )
* Config ini section
* Extend header
* Drop hysteresis line which doesnt apply to recording rules
* Touch up evaluation behavior section
* Dissolve incorrect/unrelated section
* Update docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Run linter
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
(cherry picked from commit be0d8b4f19 )
Co-authored-by: Alexander Weaver <weaver.alex.d@gmail.com >
2024-10-17 16:43:29 -05:00
grafana-delivery-bot[bot]
a577031ba9
[v11.3.x] CI: Additional changes for +security versions ( #94923 )
...
CI: Additional changes for +security versions (#94854 )
* Build: Fix docker manifest create not using correct IMAGE_TAG
* Support publishing security versions of NPM packages
---------
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com >
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
(cherry picked from commit 8f7352e862 )
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com >
2024-10-17 17:12:44 -03:00
grafana-delivery-bot[bot]
efeb05386b
[v11.3.x] DataLinks: Fix onClick functionality ( #94907 )
...
DataLinks: Fix onClick functionality (#94815 )
* fix: add onclick functionality back to DataLinks in VizPanelFooter
---------
Co-authored-by: Adela Almasan <adela.almasan@grafana.com >
Co-authored-by: Matias Chomicki <matyax@gmail.com >
(cherry picked from commit 5fe5e8a5a6 )
Co-authored-by: Galen Kistler <109082771+gtk-grafana@users.noreply.github.com >
2024-10-17 20:27:29 +03:00
grafana-delivery-bot[bot]
1ac972f086
[v11.3.x] Revert some scenes documentation ( #94903 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-10-17 17:12:20 +01:00
grafana-delivery-bot[bot]
4590698e10
[v11.3.x] Alerting: Update texts for gm rr in the form ( #94886 )
...
Alerting: Update texts for gm rr in the form (#94844 )
* Update texts for gm rr in the form
* fix translations
* Fix test
* address review comments
* address review comments - part2
* translations
* update docs for new term: output
(cherry picked from commit 1860737117 )
Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com >
2024-10-17 16:29:16 +02:00
grafana-delivery-bot[bot]
ab368bfb06
[v11.3.x] Alerting: Update docs for grafana recording rules ( #94841 )
...
Alerting: Update docs for grafana recording rules (#94811 )
* update docs for grafana recording rules
* Update docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* remove notes
* fix note tag
* update note for grafana-managed feature toggle
* Update docs/sources/alerting/alerting-rules/create-mimir-loki-managed-recording-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
(cherry picked from commit f9ba4e3e5d )
Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com >
2024-10-17 11:14:03 +02:00
grafana-delivery-bot[bot]
489c9db173
[v11.3.x] Geomap: Fix tooltip positioning when screen is scrolled ( #94842 )
...
Geomap: Fix tooltip positioning when screen is scrolled (#94827 )
* account for y-scrolling when positioning geomap tooltip
* remove config import
(cherry picked from commit 241dca57cf )
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-10-17 12:02:13 +03:00
grafana-delivery-bot[bot]
8bbf0a1869
[v11.3.x] Update Pyroscope data source for Exlore Profiles ( #94832 )
...
Update Pyroscope data source for Exlore Profiles (#94825 )
* Update Pyroscope data source for Exlore Profiles
* Update docs/sources/datasources/pyroscope/query-profile-data.md
* Update docs/sources/datasources/pyroscope/query-profile-data.md
(cherry picked from commit e8f23bb2cf )
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com >
2024-10-16 20:57:07 -04:00
grafana-delivery-bot[bot]
8b8a67fad6
[v11.3.x] [DOC] Add streamingEnabled to Tempo ds docs ( #94830 )
...
[DOC] Add streamingEnabled to Tempo ds docs (#94751 )
* Add streamingEnabled to Tempo ds docs
* Update docs/sources/datasources/tempo/configure-tempo-data-source.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
(cherry picked from commit 17eff37104 )
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com >
2024-10-16 16:53:37 -04:00
grafana-delivery-bot[bot]
2e956696a4
[v11.3.x] GCM: Time field naming ( #94819 )
...
GCM: Time field naming (#94548 )
* Name time field correctly
* Update tests
* Lint
(cherry picked from commit 7c79f8f7a5 )
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-10-16 18:34:50 +03:00
grafana-delivery-bot[bot]
d58468b60b
[v11.3.x] Plugins: Skip install errors if dependency plugin already exists ( #94718 )
...
Plugins: Skip install errors if dependency plugin already exists (#94710 )
* skip install errors if dependency plugin already exists
* add test
(cherry picked from commit f97f489c2c )
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
2024-10-16 13:13:41 +03:00
Kevin Minehart
d784d370d3
[v11.3.x] CI: Support more version formats in publishing ( #94750 )
...
CI: Support more version formats in publishing (#94575 )
* cleanup dead code
* add tests and rewrite publish grafanacom steps to reuse
* add pkg/build tests; don't upload CDN assets on grafana releases
(cherry picked from commit 7a2edd35d5 )
2024-10-15 13:57:07 -05:00
grafana-delivery-bot[bot]
d4beddfb0e
[v11.3.x] Docs: Update alerting notifications documentation ( #94733 )
...
Docs: Update alerting notifications documentation (#93944 )
* add new permissions and fixed roles
* Apply suggestions from code review
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* address comments
* add actions to complete list
* fmt
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
(cherry picked from commit ced5497ba1 )
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-10-15 11:20:31 -04:00
grafana-delivery-bot[bot]
ae3419cd79
[v11.3.x] Folders: Correctly show new folder button under root folder ( #94713 )
...
Folders: Correctly show new folder button under root folder (#94687 )
show new folder button under root folder if nested folders are disabled and user has the right perms
(cherry picked from commit 284c2d6f71 )
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-10-15 13:05:13 +03:00
grafana-delivery-bot[bot]
65c759c76a
[v11.3.x] Fix list indentation to ensure continuous numbering ( #94696 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
Fix list indentation to ensure continuous numbering (#94692 )
2024-10-14 19:27:48 +01:00
grafana-delivery-bot[bot]
e6475b80c2
[v11.3.x] Alerting: Use advanced options when query params are not transformable ( #94670 )
...
Alerting: Use advanced options when query params are not transformable (#94588 )
* Use advanced options when query params are not transformable
* Update public/app/features/alerting/unified/components/rule-editor/query-and-alert-condition/QueryAndExpressionsStep.tsx
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com >
---------
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com >
(cherry picked from commit fb5fb76ad1 )
Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com >
2024-10-14 12:16:36 +02:00
grafana-delivery-bot[bot]
749714fe50
[v11.3.x] Create strategies-for-upgrading-grafana ( #94635 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-10-11 17:33:50 +02:00
grafana-delivery-bot[bot]
e1a4fcda48
[v11.3.x] fix missing hyperlink to permissions page in docs ( #94630 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Vishal N <vnaccounts@tutanota.com >
fix missing hyperlink to permissions page in docs (#94077 )
2024-10-11 10:40:01 -04:00
grafana-delivery-bot[bot]
9af2af8b9f
[v11.3.x] docs: added configure structure and youtube video link ( #94629 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Señor Performo - Leandro Melendez <54183040+srperf@users.noreply.github.com >
2024-10-11 10:30:42 -04:00
Jack Baldry
50de92f873
Revert Sharing documentation changes ( #94585 )
...
Fix Sharing page aliases (#94118 )"
2024-10-11 14:58:36 +01:00
grafana-delivery-bot[bot]
2a7d8279a2
[v11.3.x] OrgSync: Do not set default Organization for a user to a non-existent Organization ( #94613 )
...
OrgSync: Do not set default Organization for a user to a non-existent Organization (#94537 )
Do not set default org for a user to a missing org
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
(cherry picked from commit c872cad879 )
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
2024-10-11 15:44:17 +03:00
grafana-delivery-bot[bot]
f5d29152c9
[v11.3.x] SSO: Fix client side validations for LDAP ( #94596 )
...
SSO: Fix client side validations for LDAP (#94561 )
* fix client side validations for LDAP
* add translations for new messages
* simplify code in isInvalidField()
(cherry picked from commit 0bd3ad1d5a )
Co-authored-by: Mihai Doarna <mihai.doarna@grafana.com >
2024-10-11 13:04:31 +03:00
grafana-delivery-bot[bot]
c938b751cf
[v11.3.x] Alerting: Fix detail view not showing instances nor history tab ( #94586 )
...
Alerting: Fix detail view not showing instances nor history tab (#94424 )
* Fix detail view not showing instances nor history tab
* small refactor
* Update public/app/features/alerting/unified/hooks/useCombinedRule.ts
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com >
* refactor
---------
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com >
(cherry picked from commit 3924751827 )
Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com >
2024-10-11 11:12:17 +03:00
grafana-delivery-bot[bot]
f24f59225d
[v11.3.x] Alerting: Fix getSimpleConditionFromExpressions ( #94584 )
...
Alerting: Fix getSimpleConditionFromExpressions (#94516 )
fix getSimpleConditionFromExpressions
(cherry picked from commit 419598c745 )
Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com >
2024-10-11 11:07:16 +03:00
grafana-delivery-bot[bot]
5f7e46f886
[v11.3.x] Explore metrics: set options directly because of scenes error when options not set ( #94571 )
...
Explore metrics: set options directly because of scenes error when options not set (#94284 )
* scenes error when options not set
* add all of the options that are updated in onOptionsChange
* add options to all the other places we are building timeseries panels
* Update public/app/features/trails/AutomaticMetricQueries/graph-builders/percentiles.ts
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
* remove activation handlers and unused code
* Update public/app/features/trails/AutomaticMetricQueries/graph-builders/simple.ts
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
* Update public/app/features/trails/AutomaticMetricQueries/graph-builders/percentiles.ts
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
---------
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
(cherry picked from commit ce857c2680 )
Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com >
2024-10-10 20:35:08 +03:00
Scott Lepper
a3764ebeba
[Search] fix: add and delete ( #94438 )
...
[search] fix: add and delete from index
2024-10-08 16:17:31 -04:00
Karl Persson
2d0ea60017
ServiceAccounts: Run migration in batches ( #94429 )
...
* ServiceAccounts: Run migration in batches
2024-10-08 19:53:23 +02:00
Scott Lepper
c2fb2dcfbe
wire up unified search from the ui; add basic search support ( #94358 )
...
* wire up search from the ui; add basic search support
2024-10-08 13:09:56 -04:00
Ieva
8cade5c550
Role mapping: Add new query parameter to docs ( #94413 )
...
* small doc addition
* swagger gen
* pr feedback
2024-10-08 17:53:21 +01:00
Ezequiel Victorero
19844220db
Playlists: Remove from menu for users without permissions ( #94403 )
2024-10-08 13:04:18 -03:00
Lucy Chen
e1067b817d
ShareDrawer: Export CTA UI tweaks ( #94348 )
...
change arrow size
2024-10-08 11:57:13 -04:00
Mihai Doarna
4bbae5eb0a
LDAP: Render root CA and client cert as text fields ( #94382 )
...
render root CA and client cert as text fields
2024-10-08 18:54:34 +03:00
renovate[bot]
546d1517fa
Update dependency @grafana/aws-sdk to v0.5.0 ( #94416 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-08 16:37:56 +01:00
Scott Lepper
52b70ca976
Grafana indexing poc - load and watch index ( #93843 )
...
* list resources and load into index
* watch for changes and update index
2024-10-08 09:43:23 -04:00
renovate[bot]
0e13719ec6
Update dependency rudder-sdk-js to v2.48.19
2024-10-08 13:27:39 +00:00
Nick Richmond
ff7a96d60e
ExploreMetrics: Ensure compatibility with Incremental Querying ( #94355 )
...
fix: use unique refs in breakdown panels
2024-10-08 09:15:07 -04:00
Matheus Macabu
96384b5181
CloudMigrations: cover cases where library panel has no folder ( #94405 )
2024-10-08 15:14:23 +02:00
Haris Rozajac
ee65f89533
Query Library: Enhance user data ( #94231 )
...
* Enhance user data
* Remove irrrelevant logic outside of try block
* Encode user uid for url
2024-10-08 07:12:33 -06:00
Piotr Jamróz
c6387854c5
TraceView: Fix icon background after making a copy of an attribute ( #94402 )
...
Fix icon color after making a copy
2024-10-08 15:09:06 +02:00
renovate[bot]
f2093c9f05
Update dependency react-dropzone to v14.2.9
2024-10-08 13:01:24 +00:00
Diego Augusto Molina
0cc90f2492
Chore: Add Makefile target to efficiently lint only locally changed Go files ( #94228 )
...
* add Makefile target to efficiently lint only locally changed files
* fix xargs usage; only run if Go files changed
2024-10-08 12:47:33 +00:00
Esteban Beltran
84554735b0
Improve levitate detect breaking changes pipeline ( #94391 )
...
* Update .github/workflows/detect-breaking-changes-levitate.yml
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com >
---------
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com >
2024-10-08 15:45:54 +03:00
Andres Martinez Gotor
02f5e1f930
Add Sandbox settings feature flag ( #94388 )
2024-10-08 13:38:54 +01:00
renovate[bot]
5b7ae2bb93
Update dependency rc-slider to v11.1.7
2024-10-08 12:30:04 +00:00
renovate[bot]
8fbd8eabec
Update dependency @types/node to v20.16.11
2024-10-08 11:48:39 +00:00
kay delaney
1d244ae1ec
Chore: Rewrite TraceView css using object styles ( #87621 )
2024-10-08 14:39:22 +03:00
Gabriel MABILLE
b90e09e966
Fix: Deduplicate OrgID in SA logins ( #94378 )
...
* Fix: Deduplicate OrgID in SA logins
2024-10-08 13:35:08 +02:00
renovate[bot]
33326c5a9e
Update dependency @types/diff to v5.2.3
2024-10-08 11:22:41 +00:00
renovate[bot]
1e3009e665
Update dependency @reduxjs/toolkit to v2.2.8
2024-10-08 10:45:43 +00:00
renovate[bot]
7977aa6a84
Update dependency @grafana/scenes to v5.18.3
2024-10-08 09:55:34 +00:00
Mihai Doarna
501f1bc7a9
LDAP: Render bind password as a secret input field ( #94376 )
...
render bind password as a secret input field
2024-10-08 12:54:16 +03:00
renovate[bot]
6190499f03
Update dependency moment-timezone to v0.5.46 ( #94331 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-08 10:04:06 +01:00
Misi
bd7850853e
Auth: Attach external session info to Grafana session ( #93849 )
...
* initial from poc changes
* wip
* Remove public external session service
* Update swagger
* Fix merge
* Cleanup
* Add backgroud service for cleanup
* Add auth_module to user_external_session
* Add tests for token revocation functions
* Add secret migration capabilities for user_external_session fields
* Cleanup, refactor to address feedback
* Fix test
2024-10-08 11:03:29 +02:00
Jo
9eea0e99fc
Chore: Use UIDs as identifiers for teams frontend ( #94345 )
...
* Team frontend now uses UIDs as identifiers. Safe to revert
2024-10-08 09:48:35 +02:00
Jo
945dd052b1
Fix: Ensure SA migrations doesn't hit migrated SAs if rerun ( #94347 )
...
* ensure mig doesn't hit migrated SAs if rerun
* Fix small issue with the test
---------
Co-authored-by: gamab <gabriel.mabille@grafana.com >
2024-10-08 09:45:14 +02:00
Victor Marin
f70fefc67c
DashboardScene: Fix dependencies on field overrides ( #94335 )
...
fix deps on field overrides
2024-10-08 08:25:42 +03:00
Victor Marin
a63a271f88
DashboardScene: Fix row actions removing behavior on second update ( #94333 )
...
fix row actions removing behavior on second update
2024-10-08 08:25:29 +03:00
Yuri Tseretyan
b8df574aba
Alerting: Support optimistic concurrency in notification policies service ( #93932 )
...
* update notification policy provisioning service to support optimistic concurrency
* rewrite tests and include concurrency tests
2024-10-08 00:09:02 +03:00
Jev Forsberg
0e8fa1f5f8
CI: Remove redundant FE and BE tests from release pipeline ( #94173 )
...
baldm0mma/remove_tests/ remove fe and be tests
2024-10-07 13:55:17 -06:00
Yuri Tseretyan
4c1cb79069
Alerting: Add access control to receiver status API ( #94287 )
2024-10-07 15:21:29 -04:00
Ezequiel Victorero
cc40211f71
Chore: Update api docs ( #92616 )
2024-10-07 14:49:58 -03:00
Drew Slobodnjak
3e583ff423
VizRepeater: Prevent opposite scrollbar ( #94230 )
...
* VizRepeater: Prevent opposite scrollbar
* Update packages/grafana-ui/src/components/VizRepeater/VizRepeater.tsx
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com >
* Update packages/grafana-ui/src/components/VizRepeater/VizRepeater.tsx
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com >
---------
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com >
2024-10-07 10:05:09 -07:00
grafana-pr-automation[bot]
45eb292a74
I18n: Download translations from Crowdin ( #94343 )
2024-10-07 17:38:59 +01:00
Brendan O'Handley
2113c13e6e
Explore metrics: Add bookmarks empty state ( #94291 )
...
* add empty state component for bookmarks
* translations
* remove image, update text
* all text
2024-10-07 10:59:06 -05:00
renovate[bot]
1545a58d3c
Update dependency @grafana/scenes to v5.18.2 ( #94321 )
...
* Update dependency @grafana/scenes to v5.18.2
* fix e2e test
* update e2e test
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-10-07 16:04:20 +01:00
Arati R.
ea5cf7c51f
Unified Storage /Folders: Allow Unified Storage subfolders creation ( #94327 )
...
* Add parents field to folder DTO
* Allow subfolder creation when folder flag is enabled
* Update UnstructuredToLegacyFolder
* Include parents field when creating folder
2024-10-07 16:48:56 +02:00
renovate[bot]
0d67b5a6e9
Update dependency jest-fail-on-console to v3.3.1
2024-10-07 14:48:24 +00:00
Ieva
d7aca7d0fe
Role mapping: Add group_mapping_uid column to user_role table ( #93810 )
...
* add group_mapping_uid column to user_role table
* add group mapping UID to user role struct
2024-10-07 15:47:16 +01:00
jackyin
63bdbb67fc
SubMenu: Fix expanding sub menu items on touch devices ( #93208 )
...
* click more in mobile phone
* use stopPropagation stop event
* delete log
* delete inspect click and add stopPropagation
* bug fix
* fix unit tests
* fix e2e tests
* fix old-arch tests
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-10-07 15:22:18 +01:00
grafana-pr-automation[bot]
1a3365d99b
I18n: Download translations from Crowdin ( #94317 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-07 17:19:19 +03:00
renovate[bot]
72aa6d6e28
Update dependency i18next to v23.15.2
2024-10-07 14:08:19 +00:00
Brendan O'Handley
aefe08f738
Explore metrics: Add limit for adhoc filters options in providers functions ( #94036 )
...
* add limit for adhoc filters in providers functions
* add comments to describe function
* return early if filtersVariable is not an instance of AdHocFiltersVariable
* update function comments
* add tests to confirm the providers are limited to 10000
2024-10-07 09:06:50 -05:00
Lars Stegman
f9361bf5bf
PageHeader: Fill title container width ( #94213 )
...
page-header title: flex 1
2024-10-07 15:41:18 +02:00
Juan Cabanas
e2735dd9c8
ShareInternally: Remove menu item description ( #94326 )
...
Share internally menu item description removed
2024-10-07 10:36:36 -03:00
renovate[bot]
65fc40385a
Update dependency eslint-plugin-react to v7.37.1
2024-10-07 13:33:33 +00:00
renovate[bot]
32c55555cb
Update dependency @types/node to v20.16.10
2024-10-07 13:00:31 +00:00
Misi
0539ccf10d
Auth: Fix redirection when auto_login is enabled ( #94311 )
...
* Fix for SAML auto login
* Fix for OAuth auto login
2024-10-07 14:59:00 +02:00
Matheus Macabu
6bd2f9f3ea
CloudMigrations: remove duplicated import on test ( #94322 )
2024-10-07 15:32:52 +03:00
renovate[bot]
45835f7ea2
Update dependency @types/lodash to v4.17.10
2024-10-07 10:54:58 +00:00
Matheus Macabu
712314e832
CloudMigrations: create onPremToCloudMigrationsAlerts feature toggle in experimental stage ( #94257 )
...
CloudMigrations: create onPremToCloudMigrationsAlerts feature toggle in experimental stage
This feature toggle requires the `onPremToCloudMigrations` toggle to be enabled in order to work.
Given migration of Alerts (and child resources) is more critical, this flag was separated from
the main one.
2024-10-07 12:53:24 +02:00
Matheus Macabu
e89aef57cb
CloudMigrations: wire ngalert to cloud migration service and add slicesext.Map helper ( #94254 )
...
* CloudMigrations: add slicesext.Map function to simplify dto creation
* CloudMigrations: wire ngalert to cloud migration service
2024-10-07 12:53:14 +02:00
Matheus Macabu
9af095d730
CloudMigrations: Add data types for alerts resources ( #94251 )
2024-10-07 12:52:31 +02:00
Dana Axinte
d88be2819d
CloudMigrations: Store parent folder name in cloud_migration_resource table ( #94009 )
...
* use name in fe
* store parent folder name in local db
* clean up
* tiny test
* trial react
* rename to parent name
* go lint
* generate api and ts
* go tests
* rearrange
* clean
* update with suggestions from josh
* make library elements work
* updates from comments
* global migration types
* parent name for alter table
2024-10-07 11:35:08 +01:00
Arati R.
5a9bd1d1cf
K8s/Folders: Fix folder create payload ( #94273 )
...
* Fix createdBy and updatedBy
* Fix refreshing permission cache
* Update created time
* Fix user identifier parsing
2024-10-07 13:32:25 +03:00
Ashley Harrison
d04dcb3da0
SingleTopNav: Fix tab order for docked menu ( #94306 )
...
fix tab order for docked menu when singleTopNav is enabled
2024-10-07 11:16:30 +01:00
renovate[bot]
0c8433c9e5
Update dependency @react-types/overlays to v3.8.10
2024-10-07 10:10:31 +00:00
renovate[bot]
b65fc7c74e
Update dependency @grafana/scenes to v5.18.1
2024-10-07 10:09:35 +00:00
maicon
261be0facd
UniStore: Evaluate Folder DTO attributes ( #93968 )
...
* UniStore: Evaluate Folder DTO attributes
* Handle AccessControl
* Reduce the number of parameters to newToFolderDto
* Detach Metadata helpers from HTTPServer
* Add tests
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-10-07 12:08:16 +02:00
renovate[bot]
5a7d6c104e
Update dependency @grafana/faro-web-tracing to v1.10.2
2024-10-07 09:33:22 +00:00
Roberto Jiménez Sánchez
19c77eaae1
CloudMigrations: Fix traceability & HTTP Client initialisation ( #94141 )
...
* Add traceability to Migration Assistant feature
* Fix some compilation errors
* Fix lint issues
* Use async context
* Add trace for LibraryElements
2024-10-07 11:31:45 +02:00
Alex Khomenko
9680722b78
Dashboards: Switch to useParams hook ( #94060 )
...
* Update DashboardScenePage
* Update SoloPanelPage
* Update DashboardPage
* Cleanup
* Switch to useLocation
* Do not use location from history
2024-10-07 12:11:57 +03:00
Matheus Macabu
4bc7a35f56
UnifiedStorage: fix watcher test ( #94301 )
2024-10-07 12:07:48 +03:00
kay delaney
4569872048
Chore: Add tests for HelpWizard ( #94271 )
2024-10-07 10:02:01 +01:00
Jo
acd13e05ef
Teams: Support team UIDs in APIs ( #94011 )
...
* support team UIDs in APIs
* unify middleware logic and add team tests
* add UID test to resource permissions
* remove unused middleware
2024-10-07 10:18:24 +02:00
Tim Mulqueen
413548806d
add zendesk to enterprise ds list ( #91751 )
2024-10-07 11:10:20 +03:00
Georges Chaudy
03f55e5288
Unistore : Ensure Watch works in HA mode ( #94120 )
...
* Revert "Revert "Unistore : Ensure Watch works in HA mode." (#94097 )"
This reverts commit 7c3fc2f261 .
* make previous_resource_version nullable
* handle nil case
2024-10-07 10:01:53 +02:00
Alex Khomenko
3bda6c2c0a
Routing: Use location from hooks ( #94148 )
...
* Update GrafanaRoute
* Update Silences
* Update PublicDashboardPage
* Cleanup
* Switch to the location from locationService
* Move location to render
2024-10-07 09:31:13 +03:00
Alex Khomenko
d730c66579
Routing: Remove useRouteMatch hook ( #94152 )
...
* Update useSilenceNavData.ts
* Update MuteTimings
* Update AppRootPage.tsx
* Cleanup props
* Remove empty file
2024-10-07 08:21:44 +03:00
Brandon
fbad76007d
Alerting: Limit and clean up old alert rules versions ( #89754 )
2024-10-05 00:31:21 +03:00
Drew Slobodnjak
4ec75bcc60
Transformations: Show filter for single query ( #94238 )
2024-10-04 14:17:46 -07:00
Matthew Jacobson
099055e8a5
Alerting: Verify receiver permission read on rule create/update ( #94286 )
...
* Alerting: Verify receiver permission read on rule create/update
2024-10-04 23:52:38 +03:00
Yuri Tseretyan
27c7e33217
Alerting: Update permissions to reciever and template test API ( #94282 )
...
* add action "alert.notifications.receivers:test" to receiver creator
* update API permissions to accept new granular actions
2024-10-04 15:52:44 -04:00
renovate[bot]
03ff8a5cdb
Update dependency @react-types/menu to v3.9.12
2024-10-04 19:06:30 +00:00
Drew Slobodnjak
d0abb08f31
Limit: Prevent negative limit ( #94237 )
2024-10-04 12:05:16 -07:00
renovate[bot]
797da67467
Update dependency @lezer/common to v1.2.2
2024-10-04 17:27:16 +00:00
renovate[bot]
a18482da38
Update dependency @grafana/scenes to v5.18.0 ( #94281 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 20:26:11 +03:00
Ivan Ortega Alba
d09017f7a2
Dashboard Scene: Sync variable state with TemplateSrv result ( #93327 )
...
* Generate options for variables through TemplateSrv
* Add refresh when object changes
* Remove unnecesary static function
* Extract logic
* Add extra test case when variable changes and refresh event is triggered
* bring back old logic, query options should not live in the dashboard json
* add missing change
* Add support to keep variable options in query
* tests
* move refreshEvent to DashboardVariableDependency
---------
Co-authored-by: alexandra vargas <alexa1866@gmail.com >
Co-authored-by: Victor Marin <victor.marin@grafana.com >
2024-10-04 20:19:18 +03:00
Misi
2b320b0f9e
Auth: Only apply redirection if the user is signed in (session storage redirection) ( #94279 )
...
Fix: do not redirect if the user is not signed in
2024-10-04 20:06:06 +03:00
renovate[bot]
6344eeac3b
Update dependency @grafana/faro-web-sdk to v1.10.2
2024-10-04 16:52:13 +00:00
Torkel Ödegaard
938bc9c2cc
DashboardScene: Update matcher options immutably ( #93960 )
2024-10-04 17:39:35 +02:00
Haris Rozajac
84cee7cab6
Query Library: Vertical space between rows; change "Run query" button color ( #94177 )
2024-10-04 09:38:23 -06:00
Gabriel MABILLE
fe3ada4a6c
Revert "AuthN: Managed plugin Service Accounts general availability" ( #94270 )
...
Revert "AuthN: Managed plugin Service Accounts general availability (#93384 )"
This reverts commit 943525391e .
2024-10-04 17:28:24 +02:00
renovate[bot]
b70650e098
Update dependency @grafana/faro-web-sdk to v1.10.2
2024-10-04 15:24:27 +00:00
Mihai Doarna
82a5913dfa
SSO: Fix secrets migration for LDAP in SSO settings ( #94252 )
...
fix secrets migration for LDAP in SSO settings
2024-10-04 18:18:53 +03:00
Ieva
6eeef432de
RBAC: Add dash and folder action sets where they are missing ( #92832 )
...
* add dash and folder action sets where they are missing
* remove an empty line, try to make linting pass
2024-10-04 16:03:04 +01:00
renovate[bot]
77e1f222a0
Update babel monorepo to v7.25.7 ( #94262 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 15:58:12 +01:00
Josh Hunt
c7c66ccf4a
BrowseDashboards: Limit the type for folder parents to just a few fields ( #94244 )
...
* BrowseDashboards: Limit the type for folder parents to just title, uid, and url
* export type, use in buildNavModel
2024-10-04 17:32:50 +03:00
Ashley Harrison
e43e430e6a
SingleTopNav: Move scopes selector to second bar ( #94186 )
...
move scopes selector to second bar
2024-10-04 15:31:28 +01:00
renovate[bot]
6ed3868921
Update dependency @emotion/css to v11.13.4
2024-10-04 14:22:51 +00:00
grafana-pr-automation[bot]
89b292f514
I18n: Download translations from Crowdin ( #94261 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-04 17:21:48 +03:00
Ashley Harrison
40ad52fdbc
SingleTopNav: Handle for non-scenes dashboards ( #94198 )
...
handle singleTopNav for non-scenes dashboards
2024-10-04 15:11:32 +01:00
Sergej-Vlasov
f32fe9a846
PanelEditor: add data provider when switching from non data panel ( #94220 )
...
* add data provider when switching from non data panel
* handle adding and cleaning up data provider in panel editor on panel switch
* add data provider check sin panel editor tests
2024-10-04 15:05:52 +01:00
renovate[bot]
b2d930e079
Update dependency @tanstack/react-virtual to v3.10.8
2024-10-04 14:02:27 +00:00
kay delaney
b5821ef473
PanelSearch: Add support for rows & repeats ( #94243 )
...
* PanelSearch: Add support for rows & repeats
* Show message if there are no matches
2024-10-04 15:01:01 +01:00
renovate[bot]
94444319ec
Update React Aria
2024-10-04 13:59:26 +00:00
Sonia Aguilar
4c27b2c59d
Alerting: Fix default value for input in simple condition ( #94248 )
...
fix default value for input
2024-10-04 16:57:29 +03:00
renovate[bot]
93b8243da7
Update dependency @grafana/experimental to v2 ( #93919 )
...
* Update dependency @grafana/experimental to v2
* add data-testid to old save button so it works properly in e2e test
* fix azure monitor e2e tests
* use raw selectors
* remove .only
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-10-04 14:21:10 +01:00
Jo
544b5f905c
Anonymous: Fix anonymous cache ignoring device limit evaluation ( #94218 )
...
* ensure cache contains the evaluation result for device limit
* add device limit errors and warnings
* fix lint
2024-10-04 15:20:55 +02:00
renovate[bot]
6dfe9aef95
Update dependency @grafana/scenes to v5.17.0 ( #94249 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-04 16:10:01 +03:00
Giuseppe Guerra
0db65d229e
Plugins: Add Subresource Integrity checks ( #93024 )
...
* Plugins: Pass hashes for SRI to frontend
* Add SRI hashes to frontendsettings DTOs
* Add docstring
* TestSriHashes
* Fix typo
* Changed SriHashes to ModuleHash
* update loader_test compareOpts
* update ModuleHash error message
* Add TestModuleHash/no_module.js
* Add omitEmpty to moduleHash
* Add ModuleHash to api/plugins/${pluginId}/settings
* moved ModuleHash field
* feat(plugins): add moduleHash to bootData and plugin types
* feat(plugins): if moduleHash is available apply it to systemjs importmap
* Calculate ModuleHash for CDN provisioned plugins
* Add ModuleHash tests for TestCalculate
* adjust test case name
* removed .envrc
* Fix signature verification failing for internal plugins
* fix tests
* Add pluginsFilesystemSriChecks feature togglemk
* renamed FilesystemSriChecksEnabled
* refactor(plugin_loader): prefer extending type declaration over ts-error
* added a couple more tests
* Removed unused features
* Removed unused argument from signature.DefaultCalculator call
* Removed unused argument from bootstrap.DefaultConstructFunc
* Moved ModuleHash to pluginassets service
* update docstring
* lint
* Removed cdn dependency from manifest.Signature
* add tests
* fix extra parameters in tests
* "fix" tests
* removed outdated test
* removed unused cdn dependency in signature.DefaultCalculator
* reduce diff
* Cache returned values
* Add support for deeply nested plugins (more than 1 hierarchy level)
* simplify cache usage
* refactor TestService_ModuleHash_Cache
* removed unused testdata
* re-generate feature toggles
* use version for module hash cache
* Renamed feature toggle to pluginsSriChecks and use it for both cdn and filesystem
* Removed app/types/system-integrity.d.ts
* re-generate feature toggles
* re-generate feature toggles
* feat(plugins): put systemjs integrity hash behind feature flag
---------
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
2024-10-04 14:55:09 +02:00
Misi
153036be2e
Docs: Add docs for configuring kc_idp_hint ( #94226 )
...
Add docs for configuring kc_idp_hint
2024-10-04 14:32:26 +02:00
Diego Augusto Molina
7d32d5eff4
Unistore: Reuse MySQL and Postgres Grafana core config instead of the object ( #94223 )
...
* Reuse MySQL and Postgres Grafana config instead of the object
- Only reuse the Grafana DB object for SQLite. Support for SQLite will be added in a different PR
- Fail when reusing the Grafana DB object if it is using DB instrumentation
- In the case that we have to reuse a Grafana DB with its instrumentation, fail with an error that describes a workaround
- Add regression tests to reproduce incident 2144
* remove temp file
* fix linter
* fix linter x2
* fix linter x3
2024-10-04 12:07:20 +00:00
Mihai Doarna
a82f102878
Auth: Promote ssoSettingsLDAP flag to public preview ( #94242 )
...
* promote ssoSettingsLDAP flag to public preview
* add generated file
2024-10-04 14:59:42 +03:00
Aaron Godin
458fc69616
IAM: Add test for AddDataSource managed permissions ( #94113 )
...
Add test for AddDataSource managed permissions and fix control flow issues
2024-10-04 06:35:25 -05:00
Ihor Yeromin
9801b92c3d
Table: Fix table cell text jumping on hover ( #93913 )
...
fix(table): table cell text jumping on hover
2024-10-04 13:20:15 +02:00
linoman
e37b43117b
SSO LDAP: Implement documentation ( #94215 )
...
* Add documentation for LDAP UI
* Add hyphen to string
* Polish writing
---------
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-10-04 12:33:47 +02:00
Alexander Zobnin
5d724c2482
Zanzana: Initial dashboard search ( #93093 )
...
* Zanzana: Search in a background and compare results
* refactor
* Search with check
* instrument zanzana client
* add single_read option
* refactor
* refactor move check into separate function
* Fix tests
* refactor
* refactor getFindDashboardsFn
* add resource type to span attributes
* run ListObjects concurrently
* Use list and search in less cases
* adjust metrics buckets
* refactor: move Check and ListObjects to AccessControl implementation
* Revert "Fix tests"
This reverts commit b0c2f072a2 .
* refactor: use own types for Check and ListObjects inside accesscontrol package
* Fix search scenario with low limit and empty query string
* more accurate search with checks
* revert
* fix linter
* Revert "revert"
This reverts commit ee5f14eea8 .
* add search errors metric
* fix query performance under some conditions
* simplify check strategy
* fix pagination
* refactor findDashboardsZanzanaList
* Iterate over multiple pages while making check request
* refactor listUserResources
* avoid unnecessary db call
* remove unused zclient
* Add notes for SkipAccessControlFilter
* use more accurate check loop
* always use check for search with provided UIDs
* rename single_read to zanzana_only_evaluation
* refactor
* update go workspace
* fix linter
* don't use deprecated fields
* refactor
* fail if no org specified
* refactor
* initial integration tests
* Fix tests
* fix linter errors
* fix linter
* Fix tests
* review suggestions
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* fix limit
* refactor
* refactor tests
* fix db config in tests
* fix migrator (postgres)
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2024-10-04 12:27:10 +02:00
Arati R.
f403bc57d5
K8s/Folders: Clear permissions cache on create ( #94214 )
...
* Clear user permissions cache after folder creation
* Use k8s client only for create
2024-10-04 11:26:36 +02:00
Sven Grossmann
a766b378d0
Explore Logs: Preinstall for onprem Grafana instances ( #94221 )
2024-10-04 11:15:29 +02:00
grafana-pr-automation[bot]
788ef7fec3
I18n: Download translations from Crowdin ( #94210 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-04 10:00:30 +01:00
Ashley Harrison
d4bb8122cb
SingleTopNav: Tweaks for mobile responsiveness ( #94188 )
...
tweaks for mobile responsiveness
2024-10-04 09:54:17 +01:00
Karl Persson
c7ca2bfcf5
ServiceAccounts: Remove permissions to service account when it is deleted ( #93877 )
...
* Service account: clean up permissions related to service accounts when deleted
* Add migration for deleting orphaned service account permissions
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-10-04 09:01:09 +02:00
Gabriel MABILLE
943525391e
AuthN: Managed plugin Service Accounts general availability ( #93384 )
...
External Service Accounts: General availability
2024-10-04 08:48:38 +02:00
Levente Balogh
6096f46774
Plugin Extensions: Require meta-data to be defined in plugin.json during development mode ( #93429 )
...
* feat: add extensions to the backend plugin model
* feat: update the frontend plugin types
* feat(pluginContext): return a `null` if there is no context found
This will be necessary to understand if a certain hook is running inside a plugin context or not.
* feat: add utility functions for checking extension configs
* tests: fix failing tests due to the type updates
* feat(AddedComponentsRegistry): validate plugin meta-info
* feat(AddedLinksRegistry): validate meta-info
* feat(ExposedComponentsRegistry): validate meta-info
* feat(usePluginComponent): add meta-info validation
* feat(usePluginComponents): add meta-info validation
* feat(usePluginLinks): add meta-info validation
* fix: only validate meta-info in registries if dev mode is enabled
* tests: add unit tests for the restrictions functionality
* tests: fix Go tests
* fix(tests): revert accidental changes
* fix: run goimports
* fix: api tests
* add nested app so that meta data can bested e2e tested
* refactor(types): extract the ExtensionInfo into a separate type
* refactor(extensions/utils): use Array.prototype.some() instead of .find()
* refactor(usePluginLinks): update warning message
* feat(usePluginExtensions()): validate plugin meta-info
* Wip
* fix(e2e): E2E tests for extensions
* fix(extensions): allow multiple "/" slashes in the extension point id
* fix(extensions/validators): stop validating the plugin id pattern
---------
Co-authored-by: Erik Sundell <erik.sundell87@gmail.com >
2024-10-04 08:41:26 +02:00
Nathan Marrs
7188c13d22
ElasticSearch: Add keywords to plugin.json ( #94174 )
...
* add keywords
* add additional keywords
2024-10-04 01:52:19 +03:00
Haris Rozajac
2ea662854a
QueryLibrary: Don't use description when generating name ( #94236 )
2024-10-03 16:24:39 -06:00
Todd Treece
a4d919c157
Chore: Update k8s.io dependencies to v0.31.1 ( #93696 )
2024-10-03 15:50:15 -04:00
Kyle Cunningham
a38d6e57c2
Get help: Make quality of life updates ( #93594 )
...
* Get help updates
* Remove beta badge
* Further cleanups
* Some updates
* Fix tests
* Prettier
* Update betterer results
* i18n
* i18n extraction
* Bettererest
2024-10-03 13:38:18 -05:00
Stephanie Hingtgen
4623a6471b
SQLStore: Fix parseTime check ( #94175 )
2024-10-03 08:58:33 -05:00
Misi
ee8bb63d2d
Auth: Replace jmespath/go-jmespath with jmespath-community/go-jmespath ( #94203 )
...
Replace jmespath/go-jmespath with jmespath-community/go-jmespath
2024-10-03 15:43:15 +02:00
Laura Benz
f92ef0e126
RestoreDashboards: Add link to dashboards browse view ( #94000 )
...
* feat: add button
* refactor: clean up
* feat: add tracking
* refactor: change button copy
* refactor: add payload to tracking
* refactor: add subURL
* refactor: user permissions
* refactor: group conditions
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
---------
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2024-10-03 15:13:29 +02:00
Gilles De Mey
4224d05934
Alerting: Hoist routes for mute timings ( #94201 )
2024-10-03 14:41:11 +02:00
Ashley Harrison
87fd36aecf
SingleTopNav: Add chevron and tooltip to menu trigger ( #94199 )
...
add chevron and tooltip to menu trigger
2024-10-03 13:20:32 +01:00
Joey
eb60773073
Tempo: Add deprecation notice for Aggregate By ( #94050 )
...
Add deprecation notice
2024-10-03 12:13:56 +01:00
Joao Silva
c04027919b
Bookmarks: Turn feature toggle on by default ( #94194 )
2024-10-03 13:45:31 +03:00
Joey
75640a6ad3
Tempo: Update lezer-traceql version ( #94197 )
...
Update lezer-traceql version
2024-10-03 11:40:38 +01:00
grafana-pr-automation[bot]
cda3791d49
I18n: Download translations from Crowdin ( #94196 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-03 11:22:17 +01:00
Arati R.
a42caa7a61
K8s/Folders: Fix tests for creating folders ( #94192 )
...
* Add feature toggle grafanaAPIServerTestingWithExperimentalAPIs
* Customise registration of FolderAPIBuilder for tests and fix tests
2024-10-03 12:11:40 +02:00
Matheus Macabu
1635a3cd67
CloudMigrations: Add support for migration of Library Elements (Panels) resources ( #93898 )
...
* CloudMigrations: create snapshots of Library Elements
* CloudMigrations: render library element resource in resources table
* CloudMigrations: create newtype with necessary fields for library element creation
2024-10-03 11:54:54 +02:00
Ashley Harrison
dd7f45011d
SingleTopNav: Add toolbar to Page and replace usage of AppChromeUpdate ( #94022 )
...
* add page-level toolbar for actions
* handle explore
* fix panel edit sizing
* remove comments
* remove TOGGLE_BUTTON_ID
* undo alerting changes
* use fixed position header
* feature toggle Page changes
* add page context for alerting use cases
* simplify
* prettier...
2024-10-03 09:52:01 +01:00
Tobias Skarhed
e48d166c3e
New Select: width auto sets width based on content ( #93800 )
...
* Add inline prop for AutoSizeInput
* Rename to autoSize
* Use conditional props and width auto
* remove variable
* Remove 100% max width
2024-10-03 11:45:22 +03:00
Alexander Zobnin
bd1741653d
Annotations: Fix composite store read ( #94158 )
...
* Annotations: Fix composite store read
* Add test
* check error
2024-10-03 09:14:06 +02:00
Andres Martinez Gotor
4c4f7a3331
Chore: Restore permissions used to create plugins dir ( #94139 )
2024-10-03 09:09:54 +02:00
grafana-pr-automation[bot]
bcee44db5f
I18n: Download translations from Crowdin ( #94168 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-03 07:27:27 +03:00
Yuri Tseretyan
3fcc259703
Move CVE-2024-8118 to correct versions ( #94167 )
2024-10-02 17:24:46 -04:00
Isabella Siu
4be5ccaece
Cloudwatch: Update grafana-aws-sdk ( #94155 )
...
Cloudwatch: update grafana-aws-sdk
2024-10-02 14:22:41 -04:00
Haris Rozajac
eb7573828e
Query Library: Search and filter ( #94038 )
...
* Search by query text, pagination
* Support default filtering by active datasource; filter by datasource name; improve table display
* Cleanup
* Fix update and delete url paths
* Fix test
* Use Stack, remove uneccessary function wrapper
* Notify when something is wrong with a row, add interaction tracking
* i18n
2024-10-02 11:33:14 -06:00
grafana-delivery-bot[bot]
c38eab33f5
Release: update changelog for 11.2.2 ( #94114 )
...
* Update changelog
* add CVE to 11.2.1
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-10-02 12:46:10 -04:00
Timur Olzhabayev
0f5eaac6df
Chore: Updating codeowners for plugins cli commands ( #94136 )
...
Updating codeowners for plugins cli commands
2024-10-02 18:35:25 +02:00
Misi
d3d5735098
Auth; Fix shourt url redirect when useSessionStorageForRedirection is enabled ( #94163 )
...
Fix shourt url redirect
2024-10-02 18:25:47 +02:00
Isabel Matwawana
fb3b13b567
Docs: Geomap visualization refactor ( #94101 )
...
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-10-02 11:34:22 -04:00
Laura Benz
a0542e7307
RestoreDashboards: Fix restoring to 'Dashboards' ( #94086 )
...
* pairing WIP
* refactor: clean up
---------
Co-authored-by: joshhunt <josh@trtr.co >
2024-10-02 17:15:31 +02:00
Konrad Lalik
9fff736549
Alerting: Support k8s templates API ( #92112 )
...
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com >
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-10-02 17:14:54 +02:00
Sonia Aguilar
fe656229c3
Alerting: Pluralize error tag ( #94157 )
2024-10-02 18:14:35 +03:00
Marcus Efraimsson
e22b510cd8
API Server: Fix extracting jaeger remote trace from incoming request ( #93998 )
2024-10-02 17:07:31 +02:00
Karl Persson
d75a9b6aeb
User: Pass name to list users to filter out the correct one ( #94153 )
...
Pass name to list users to filter out the correct one
2024-10-02 17:02:32 +02:00
Gilles De Mey
41b175e7ae
Alerting: Use useProduceNewAlertmanagerConfiguration for contact points ( #88456 )
2024-10-02 17:56:35 +03:00
Isabel Matwawana
02f608ed05
Docs: Fix Sharing page aliases ( #94118 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-10-02 10:21:43 -04:00
Michael Derynck
97f480386f
Alerting: Update OnCall integration url ( #93407 )
...
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-10-02 16:13:55 +02:00
Kyle Brandt
a1556fded2
Prometheus: Suggestions - log parse errors and continue ( #94143 )
...
* Prometheus: Suggestions - log parse errors and continue
2024-10-02 13:29:45 +01:00
Sonia Aguilar
e80ef522bb
Alerting: Hide query name when using simplified mode in the alert rule ( #93779 )
...
* Hide query name when using simplified mode in the alert rule
* rename hideName to hideRefId
2024-10-02 13:55:48 +02:00
kay delaney
dae492f6c8
PanelSearchLayout: Support repeat panels ( #94140 )
2024-10-02 12:27:27 +01:00
Diego Augusto Molina
658c79e1d5
Chore: fix initialization data race in infra usagestats ( #94070 )
...
fix initialization data race in usagestats
2024-10-02 07:30:44 -03:00
grafana-pr-automation[bot]
a7497ae846
I18n: Download translations from Crowdin ( #94138 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-02 11:19:31 +01:00
Ashley Harrison
cf61ab3da2
SingleTopNav: Flip collapse arrows for better alignment ( #94081 )
...
flip megamenu arrows for better alignment
2024-10-02 11:08:34 +01:00
Misi
ddbbf8df4b
Auth: Fix redirection in case of ERR_TOKEN_REVOKED ( #94137 )
...
Fix redirection in case of token revoked error
2024-10-02 12:08:25 +02:00
renovate[bot]
573ba9be18
Update dependency @grafana/scenes to v5.16.2 ( #94082 )
...
* Update dependency @grafana/scenes to v5.16.2
* fix e2e test
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-10-02 10:58:24 +01:00
Erik Sundell
d6d51f0316
Plugin E2E: Add more api tests ( #94073 )
...
* add tests
* bump plugin-e2e
* use range
* update lock file
2024-10-02 11:55:04 +02:00
linoman
763163603c
SSO LDAP: Bug-bashing follow-up changes ( #94093 )
...
* fix html encoding rendering
* Redirect to providers page
* Fix cert isEmpty
* Rework input fields into multiselect
* add disable button
* Rework MultiSelect design
* Remove prompt modal
2024-10-02 11:42:23 +02:00
Alexander Zobnin
3f6a64cc57
Navigation: Don't show "add new connection" if user has no permissions ( #94058 )
...
Navigation: Don't show "add new connection" if user does not have permissions
2024-10-02 10:02:28 +02:00
David Garcia
dd8c50ec12
FIX: typo in generic oauth org mapping json ( #94117 )
2024-10-02 07:34:23 +00:00
Alex Khomenko
f55f7f2634
Routing: Replace Redirect component with Navigate ( #94072 )
...
* Routing: Replace Redirect with Navigate
* Use replace state
* Update routes.tsx
* Fix test
2024-10-02 09:44:18 +03:00
Brendan O'Handley
28d9cc7310
Explore metrics: Fix bug that turns off otel experience when selecting otel variables ( #94106 )
...
fix bug that turns of otel experience when selecting otel variables
2024-10-01 15:09:39 -05:00
Kevin Minehart
26c3ed89a3
CI: upgrade grabpl v3.0.53 ( #94112 )
...
* upgrade grabpl to v3.0.53
* upgrade grabpl to v3.0.53
2024-10-01 21:03:38 +01:00
grafana-delivery-bot[bot]
518afa5a24
Release: update changelog for 11.1.7 ( #94102 )
...
* Update changelog
* Add CVE
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-10-01 15:26:27 -04:00
Yuri Tseretyan
2d89a27741
Update CHANGELOG.md ( #94103 )
...
Updates Changelog to include CVE to 10.3.11 and 10.4.10 versions
2024-10-01 15:03:34 -04:00
Georges Chaudy
7c3fc2f261
Revert "Unistore : Ensure Watch works in HA mode." ( #94097 )
...
Revert "Unistore : Ensure Watch works in HA mode. (#93428 )"
This reverts commit 0a26c9e9ae .
2024-10-01 18:45:47 +00:00
Yuri Tseretyan
78290301f4
Alerting: Update GettableRuleGroupConfig and PostableRuleGroupConfig with missing fields supported by Prometheus ( #94030 )
2024-10-01 14:17:57 -04:00
grafana-delivery-bot[bot]
aa225a4450
Release: update changelog for 11.0.6 ( #94098 )
...
* Update changelog
* add alerting cve fix note
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com >
2024-10-01 17:57:14 +00:00
grafana-delivery-bot[bot]
74fa0af1c2
Release: update changelog for 10.4.10 ( #94095 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-01 17:29:32 +01:00
grafana-delivery-bot[bot]
e0294b0b83
Release: update changelog for 10.3.11 ( #94090 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-01 16:57:59 +01:00
Bogdan Matei
a87df0528b
Prometheus: Interpolate vars in adhoc filters request ( #94087 )
...
* Interpolate vars in adhoc filters request
* interpolate variables on BE
---------
Co-authored-by: Kyle Brandt <kyle@grafana.com >
2024-10-01 18:33:06 +03:00
brendamuir
cbf8e7e679
Alerting docs: update that test functionality only for G Alertmanager ( #94064 )
...
* Alerting docs: update that test functionality only for G Alertmanager
* ran prettier
* fixed alphabetical order
* indentation
* format
* all pretty, no pity
---------
Co-authored-by: tonypowa <tonypowa@gmail.com >
2024-10-01 17:28:26 +02:00
kay delaney
1b82595251
UI/AutoSizeInput: Fixes issue where controlledValue being null caused crash ( #94078 )
2024-10-01 16:02:26 +01:00
grafana-pr-automation[bot]
a9095b1dd1
I18n: Download translations from Crowdin ( #94076 )
2024-10-01 15:27:28 +01:00
Matthew Jacobson
f39c5ed9f7
Alerting: Improve Amazon SNS documentation ( #93862 )
...
* Alerting: Improve Amazon SNS documentation
2024-10-01 09:43:58 -04:00
Alex Khomenko
586c95654d
Routing: Update more components using props.match to use hooks ( #93918 )
...
* RuleViewed: Get params from hook
* ProviderConfigPage: Use hooks for redux logic
* Update NewDashboardWithDS
* Update StorageFolderPage
* Update StoragePage
* Cleanup
* Update PublicDashboardPage
* Update RuleEditor
* Update BrowseFolderAlertingPage
* Update BrowseFolderLibraryPanelsPage
* Update SoloPanelPage
* Fix test
* Add useParams mocks
* Update ServiceAccountPage
* Simplify mocks
* Update SignupInvited
* Update Playlist pages
* Update AdminEditOrgPage
* Update UserAdminPage
* Update Silences
* Update BrowseDashboardsPage
* Update GrafanaModifyExport
* Update AppRootPage
* Remove useParams mock
* Update PublicDashboardsPages
* Cleanup
* Update PublicDashboardPage.test
* Cleanup
* Update PublicDashboardScenePage.test.tsx
* Update imports
* Revert AppRootPage changes
* Add back AppRootPage changes
2024-10-01 16:29:11 +03:00
Laura Benz
bc3e1df5e3
RestoreDashboards: Improve tracking ( #93934 )
...
feat: add tracking in DeleteModal
2024-10-01 15:27:25 +02:00
Laura Benz
6a30240f58
RestoreDashboards: Fix 'Dashboards' typo in folder picker ( #94046 )
...
fix: typo
2024-10-01 15:25:04 +02:00
Alexa V
5cc11bd1a1
Dashboard Scene: Improve Angular experience ( #92847 )
...
In Dashboard Scene:
* Display a warning in the panel header when rendering an angular panel
* Display a warning in the dashboard when rendering one or more angular panels
* Display a button to migrate in the dashboard banner
* Display a button to migrate in the panel editor
* Display a button to "Edit options" when it is an Angular panel, to open the panel JSON inspector to be able to edit the options
* Add tests
---------
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2024-10-01 15:02:13 +02:00
Juan Cabanas
6c91b65aca
ShareButton: Split copy link button and dropdown ( #94020 )
2024-10-01 09:46:32 -03:00
grafana-pr-automation[bot]
dc31bbb555
I18n: Download translations from Crowdin ( #94065 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-01 14:24:52 +02:00
Matheus Macabu
821bb235b3
CloudMigrations: document and re-generate api for syncing ( #94063 )
...
* CloudMigrations: document frontend open-api generator steps
* CloudMigrations: re-run api generation
2024-10-01 14:09:42 +02:00
Arati R.
e399fe6d09
Folders: Set folder creation permission as part of legacy create ( #94040 )
...
* Add folder store to dashboard permissions
* Include folder store in annotation scope resolver
* Add folder store when initialising library elements
* Include folder store in search v2 service initialisation
* Include folder store in GetInheritedScopes
* Add folder store to folder permissions provider
* Include cfg, folder permissions in folder service
* Move setting of folder permissions for folder service create method
2024-10-01 14:03:02 +02:00
Kyle Brandt
2a73b89374
Prometheus: Add resource for suggestions that include scopes/adhoc filters ( #94001 )
...
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com >
2024-10-01 07:17:59 -04:00
Alex Khomenko
a20ebbc8f8
Routing: Replace useHistory hook ( #94061 )
...
* Update ConfigureIRM
* Update Browse
2024-10-01 14:11:58 +03:00
Tim Levett
8de1047f65
Change from Apps to "More Apps" ( #93454 )
...
* Change the label used for additional app links from apps to more apps so it doesn't conflict with applications, which is application observability, not the other bucket
* update to more apps
* more in german is mehr
* fix case, update translations correctly
* revert changes to de
* fix be tests
---------
Co-authored-by: joshhunt <josh@trtr.co >
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-10-01 11:31:31 +01:00
Alex Khomenko
95d379368a
Announcement banner: Enable feature toggle by default ( #94041 )
...
* Announcement banner: Enable by default
* Update feature stage
2024-10-01 11:23:21 +01:00
Pepe Cano
38ad0d3ebf
Alerting docs: relocate Intro>Notifications>Templates ( #94057 )
...
* Alerting docs: relocate `Intro>Notifications>Templates`
* Rename to `Templates`
2024-10-01 12:08:47 +02:00
Ashley Harrison
a8b94fe203
SingleTopNav: Move org switcher into Megamenu header ( #94053 )
...
move org switcher into megamenu header
2024-10-01 10:55:48 +01:00
Bogdan Matei
137da12c99
Fix panel search ( #94043 )
2024-10-01 12:45:31 +03:00
renovate[bot]
8338e92a70
Update dependency sass-loader to v16 ( #94006 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-01 10:30:32 +01:00
Alexander Zobnin
9144e3b44a
Navigation: Fix empty admin menu ( #94024 )
2024-10-01 11:28:33 +02:00
Robert Goltz
299fe3e5b1
Chore: bump module github.com/rs/cors from v1.10.1 to v1.11.1 ( #93363 )
...
* Chore: Update module github.com/rs/cors to v1.11.0
* Fix: rs/cors to v1.11.1 to benefit from fix regarding support for multiple Access-Control-Request-Headers field, e.g. API Gateway
* update go.sum
---------
Co-authored-by: Jo <me@jguer.space >
2024-10-01 10:59:23 +02:00
ismail simsek
f8fd45892d
Chore: Fix legend changing when using incremental querying ( #93529 )
...
* rename variables
* fix setting legend
* yarn prettier:write
* only update displayNameFromDS
2024-10-01 10:58:08 +02:00
Sergej-Vlasov
d75fee5207
DataTrail: Remove newFiltersUI feature toggle usage from explore metrics ( #93693 )
...
remove newFiltersUI feature toggle usage from explore metrics
2024-10-01 09:45:16 +01:00
Dana Axinte
1a31abe254
CloudMigrations: Limit frontend query to get latest snapshots ( #93639 )
...
* latest param to endpoint and adapt frontend query
* change to sort param
* api
* remove description
2024-10-01 09:28:25 +01:00
grafana-pr-automation[bot]
8b6cbae96b
I18n: Download translations from Crowdin ( #94032 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-01 06:22:27 +01:00
Michael Mandrus
1c648fd010
Chore: Fix flaky cloud migration test ( #94035 )
...
* attempt to fix flaky test
* remove skip from test
2024-10-01 03:24:47 +01:00
Yuri Tseretyan
0c1aafd643
Alerting: skip flaky test TestBroadcastAndHandleMessages ( #94039 )
2024-09-30 18:50:55 -04:00
Alexander Weaver
393faa8732
Alerting: Move rule evaluation status logic out of prometheus API and into scheduler ( #89141 )
...
* Add health fields to rules and an aggregator method to the scheduler
* Move health, last error, and last eval time in together to minimize state processing
* Wire up a readonly scheduler to prom api
* Extract to exported function
* Use health in api_prometheus and fix up tests
* Rename health struct to status
* Fix tests one more time
* Several new tests
* Handle inactive rules
* Push state mapping into state manager
* rename to StatusReader
* Rectify cyclo complexity rebase
* Convert existing package local status implementation to models one
* fix tests
* undo RuleDefs rename
2024-09-30 16:52:49 -05:00
owensmallwood
6a3eb276ef
Grafana Indexing PoC: Adds feature flag and gRPC endpoint ( #93356 )
...
* adds Filter gRPC and make protobuf
* adds route for querying the filter gRPC
* wires up Filter gRPC call
* [WIP] index from start
* renames gRPC endpoint to "Search"
* adds /apis/search route into k8s routes. Hacky for now.
* updates readme - wrong casing
* adds feature toggle for unified storage search
* hides US search behind feature flag. Clean up print statements.
* removes indexer - will be added in another PR
* Search: Add API Builder
* adds required method
* implementing UpdateAPIGroupInfo (WIP)
* adds groupversion
* commenting out for now
* remove unneeded code from experimenting and update register.go to match interface required
* namespaces search route
---------
Co-authored-by: leonorfmartins <leonorfmartins@gmail.com >
Co-authored-by: Todd Treece <todd.treece@grafana.com >
2024-09-30 13:46:14 -06:00
Sonia Aguilar
cebcb38df2
Alerting: Style nits for the simple query mode ( #93930 )
...
* Style nits for the simple query mode
* update translations
* update text
* update translations
* update disable word to deactivate
* update preview text when not advanced options
* update text
* update text
2024-09-30 19:47:16 +01:00
dependabot[bot]
52f208d3ac
Bump github.com/beevik/etree from 1.2.0 to 1.4.1 ( #90707 )
...
Bumps [github.com/beevik/etree](https://github.com/beevik/etree ) from 1.2.0 to 1.4.1.
- [Release notes](https://github.com/beevik/etree/releases )
- [Changelog](https://github.com/beevik/etree/blob/main/RELEASE_NOTES.md )
- [Commits](https://github.com/beevik/etree/compare/v1.2.0...v1.4.1 )
---
updated-dependencies:
- dependency-name: github.com/beevik/etree
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com >
2024-09-30 17:51:41 +01:00
Santiago
aa77023008
Alerting: Fix panics when attempting to create an Alertmanager after failing ( #94023 )
2024-09-30 13:50:35 -03:00
Santiago
80611b381c
Alerting: Decrypt secure settings when testing receivers in the remote Alertmanager ( #93864 )
...
* Alerting: Decrypt secure settings when testing receivers in the remote Alertmanager
* go work sync
* make update-workspace
* point to latest main in grafana/alerting
* unit test
* import definitions only once
2024-09-30 13:28:30 -03:00
grafana-pr-automation[bot]
fcbaf188c2
I18n: Download translations from Crowdin ( #94013 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-30 17:19:54 +01:00
Matheus Macabu
7bb3fe3da1
CloudMigrations: Remove unused code from sync migration approach ( #94016 )
2024-09-30 17:54:12 +02:00
Steven Dungan
362b5a1c22
Docs - direction param for Loki in Explore ( #91905 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-09-30 16:46:21 +01:00
Alexa V
8b215d60ac
Dashboard Scene: Add sceneGraph missing dependency ( #94014 )
...
Add sceneGraph missing dependency
2024-09-30 16:25:58 +01:00
Esteban Beltran
a1cedb4160
Auto triager: Update labels for dashboards squad ( #93989 )
2024-09-30 17:05:01 +02:00
Torkel Ödegaard
0c22aac7f0
Dashboards: Add support for systemPanelFilterVar and systemDynamicRowSizeVar variables in scenes ( #93670 )
...
Co-authored-by: kay delaney <kay@grafana.com >
2024-09-30 15:46:43 +01:00
brendamuir
bb41ff267b
Alerting docs: updates to default and advanced options ( #93999 )
...
* Alerting docs: updates to default and advanced options
* feedback sonia
2024-09-30 16:41:44 +02:00
Marcus Efraimsson
b7a7f2bd62
Plugins: Use handler middleware from the SDK ( #93445 )
...
updates sdk to v0.251.0
2024-09-30 16:33:15 +02:00
Pepe Cano
54faa541c3
Alerting docs: Move the Condition operators to the Classic condition section ( #93997 )
...
Alerting docs: Move the `Condition operators` to the Classic conditions section
2024-09-30 16:23:37 +02:00
Joao Silva
b937b70a46
Internationalization: Restore some plurals text ( #94002 )
2024-09-30 15:05:16 +01:00
grafana-pr-automation[bot]
ae05e4422d
I18n: Download translations from Crowdin ( #93983 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-30 15:00:20 +01:00
Joao Silva
a45662bf2d
Revert "Restore Dashboards: Add e2e tests (again) ( #93214 )" ( #94003 )
2024-09-30 14:26:16 +01:00
Bruno
6f92fd64ce
Cloud migrations: add more context to errors ( #93814 )
...
* Cloud migrations: add more context to errors
* calls to assert.ErrorIs was passing arguments in the wrong order
2024-09-30 09:57:25 -03:00
Kristina
ddbf0a05af
Correlations: Update docs to include information on external correlation type ( #93772 )
...
Change docs to reflect different correlation types
2024-09-30 07:43:45 -05:00
Georges Chaudy
0a26c9e9ae
Unistore : Ensure Watch works in HA mode. ( #93428 )
...
* Replace Watch with WatchNext
* remove watchset
* fix previous page and closing the channel
* Remove the broadcaster cache to prevent dupplicated events
* add watch bookmark
* add watch bookmark
* cleanup comments
* disable the tests for bookmarks for now
* Ensure we send previosu events
* lint
* re-introduce the cache
* load from cache
* disabling legacy test
* disabling legacy test
* Update pkg/storage/unified/resource/server.go
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
* Could not read previous events
* add proper migration
* Add previous_resource_version to both history and resource
* First event should have an RV of 2 and not 1
* Test both storage backends
* fix the inital RV for the sql backend
* ensure graceful stop of the stream decoder
* gocyclo
---------
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
2024-09-30 13:14:07 +02:00
Ronald McCollam
e1146120f4
Update MySQL example dashboard ( #93853 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-09-30 11:56:12 +01:00
Ronald McCollam
673b98cf10
Add PostgreSQL example dashboard link ( #93854 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-09-30 11:56:02 +01:00
Torkel Ödegaard
b17e256a3c
DashboardScene: Fixes url issue with subpath when exiting edit mode ( #93962 )
2024-09-30 12:19:47 +02:00
Torkel Ödegaard
1c14c85b97
Dashboards: Fixes view & edit keyboard shortcuts when grafana is behind a subpath ( #93955 )
...
DashboardScene: Fixes view & edit keyboard shortcuts when grafana is behind a subpath
2024-09-30 12:19:24 +02:00
antonio
e6c962e37c
docs>tutorial:improve set up section ( #93988 )
...
* docs>tutorial:improve set up section
* removed section
* simplified content/fixed link
2024-09-30 12:05:39 +02:00
Ivan Ortega Alba
7bca69849f
Dashboards: Enable scenes by default ( #93818 )
...
* Mark Scenes feature toggles as GA
* Move old arch e2e to a new folder
* Run E2E on scenes by default
* Upgrade e2e-selectors to ensure the tests in Playwright works
2024-09-30 10:49:02 +01:00
Joao Silva
42f1fcaf2c
Restore Dashboards: Add e2e tests (again) ( #93214 )
2024-09-30 10:44:15 +01:00
Pepe Cano
405887eebf
Alerting Docs: Update the introduction to Templates ( #93935 )
...
* Intro/Templates: update Intro and Template annotations sections
* Template labels section + adjustements
* Template notifications
* Use diagram for `meta_image`
2024-09-30 11:31:18 +02:00
antonio
66b881ae2f
tutorials: alerting > evaluation ( #93981 )
2024-09-30 11:30:55 +02:00
Tom Ratcliffe
af82dfa95d
Alerting/Chore: Fix TimeRangeInput not working across multiple months ( #93622 )
2024-09-30 10:26:07 +01:00
Sonia Aguilar
fc93d6f795
Alerting: Update texts in annotations step ( #93977 )
...
* Update texts in annotations step
* add translations
2024-09-30 09:57:09 +01:00
grafana-pr-automation[bot]
ef06724a2d
I18n: Download translations from Crowdin ( #93910 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-30 09:32:50 +01:00
Arati R.
ed75aea21d
Folders: Export folder store implementation ( #93897 )
...
* Export folder store implementation
* Rename folder store
* Add folder store as a parameter to folder service
* Add folder store to dash service implementation
* Fix folder store comments
2024-09-30 10:28:47 +02:00
Erik Sundell
daf9273cd1
E2E: Build test plugins before running the tests ( #93979 )
...
build test plugins before starting server
2024-09-30 10:21:14 +02:00
Tom Ratcliffe
0b2478859a
Alerting: Allow linking to silence form with __alert_rule_uid__ value preset ( #93526 )
2024-09-30 09:20:53 +01:00
Tom Ratcliffe
e4698d9c52
Alerting: Fix eval interval not being saved when creating a new group ( #93821 )
2024-09-30 09:19:01 +01:00
Jack Westbrook
1aed1d8017
Chore: Bump webpack for e2e test plugins ( #93831 )
...
chore(e2e-plugins): bump version of webpack to silence dependabot
2024-09-30 10:06:54 +02:00
Dai Nguyen
8b3615b576
Update Image Render Dependencies ( #93959 )
2024-09-30 09:58:52 +02:00
Ryan Crutchfield
369a8a2b5f
Docs: Add org mapping feature to generic OAuth ( #91365 )
...
* Doc fix - Add org mapping feature to generic OAuth
https://grafana.com/docs/grafana/latest/setup-grafana/configure-security/configure-authentication/generic-oauth/#org-roles-mapping-example
* Reviewer correction
Added org mapping for all OAuth providers with the exception of GCOM
2024-09-30 09:56:55 +02:00
Dai Nguyen
fb9e12c106
Update Okta SAML attributes documentation ( #93966 )
...
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-09-30 07:35:33 +00:00
jackyin
e23ba32722
Transformations: Fix crash in Config from query results ( #93427 )
2024-09-28 09:04:40 -05:00
Adela Almasan
47b51326cc
VizTooltip: Update datalinks styling ( #93950 )
2024-09-28 05:33:10 +01:00
Adela Almasan
f9f85131a9
FieldConfig: Add support for Actions ( #92874 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-09-27 23:12:37 -05:00
Leon Sorokin
165ca3b4e8
Chore: uPlot v1.6.31 ( #93952 )
2024-09-27 23:11:05 -05:00
Yuri Tseretyan
84c079d93f
Alerting: Add time intervals fixed roles ( #93942 )
...
add time intervals role
2024-09-27 16:12:25 -04:00
Brendan O'Handley
54ada3fc47
Explore metrics: Fix bug when switching from OTel enabled Prometheus DS to non OTel PRometheus DS ( #93941 )
2024-09-27 15:03:37 -05:00
Isabella Siu
76406d65cd
ElasticSearch: Fix errorsource in newInstanceSettings ( #93859 )
2024-09-27 15:40:35 -04:00
Alexander Weaver
c2799b4901
Alerting: Fix incorrect permission on POST external rule groups endpoint [CVE-2024-8118] ( #93940 )
...
Fix endpoint permission on rule write endpoint
2024-09-27 14:23:21 -05:00
Tom Ratcliffe
fc51ec70ba
Alerting: Add manage permissions UI logic for Contact Points ( #92885 )
...
* Add showPolicies prop
* Add manage permissions component for easier reuse within alerting
* Add method for checking whether to show access control within alerting
* Remove accidental console.log from main
* Tweak styling for contact point width and add manage permissions drawer
* Improve typing for access control type response
* Add basic test for manage permissions on contact points list
* Only show manage permissions if grafana AM and alertingApiServer is enabled
* Update i18n
* Add test utils for turning features on and back off
* Add access control handlers
* Update tests with new util
* Pass AM in and add tests
* Receiver OSS resource permissions
There is a complication that is not fully addressed: Viewer defaults to read:*
and Editor defaults to read+write+delete:*
This is different to other resource permissions where non-admin are not granted
any global permissions and instead access is handled solely by resource-specific
permissions that are populated on create and removed on delete.
This allows them to easily remove permission to view or edit a single resource
from basic roles.
The reason this is tricky here is that we have multiple APIs that can
create/delete receivers: config api, provisioning api, and k8s receivers api.
Config api in particular is not well-equipped to determine when creates/deletes
are happening and thus ensuring that the proper resource-specific permissions
are created/deleted is finicky.
We would also have to create a migration to populate resource-specific
permissions for all current receivers. This migration would need to be reset so
it can run again if the flag is disabled.
* Add access control permissions
* Pass in contact point ID to receivers form
* Temporarily remove access control check for contact points
* Include access control metadata in k8s receiver List & Get
GET: Always included.
LIST: Included by adding a label selector with value `grafana.com/accessControl`
* Include new permissions for contact points navbar
* Fix receiver creator fixed role to not give global read
* Include in-use metadata in k8s receiver List & Get
GET: Always included.
LIST: Included by adding a label selector with value `grafana.com/inUse`
* Add receiver creator permission to receiver writer
* Add receiver creator permission to navbar
* Always allow listing receivers, don't return 403
* Remove receiver read precondition from receiver create
Otherwise, Creator role will not be able to create their first receiver
* Update routes permissions
* Add further support for RBAC in contact points
* Update routes permissions
* Update contact points header logic
* Back out test feature toggle refactor
Not working atm, not sure why
* Tidy up imports
* Update mock permissions
* Revert more test changes
* Update i18n
* Sync inuse metadata pr
* Add back canAdmin permissions after main merge
* Split out check for policies navtree item
* Tidy up utils and imports and fix rules in use
* Fix contact point tests and act warnings
* Add missing ReceiverPermissionAdmin after merge conflict
* Move contact points permissions
* Only show contact points filter when permissions are correct
* Move to constants
* Fallback to empty array and remove labelSelectors (not needed)
* Allow `toAbility` to take multiple actions
* Show builtin alertmanager if contact points permission
* Add empty state and hide templates if missing permissions
* Translations
* Tidy up mock data
* Fix tests and templates permission
* Update message for unused contact points
* Don't return 403 when user lists receivers and has access to none
* Fix receiver create not adding empty uid permissions
* Move SetDefaultPermissions to ReceiverPermissionService
* Have SetDefaultPermissions use uid from string
Fixes circular dependency
* Add FakeReceiverPermissionsService and fix test wiring
* Implement resource permission handling in provisioning API and renames
Create: Sets to default permissions
Delete: Removes permissions
Update: If receiver name is modified and the new name doesn't exist, it copies
the permissions from the old receiver to the newly created one. If old receiver
is now empty, it removes the old permissions as well.
* Split contact point permissions checks for read/modify
* Generalise getting annotation values from k8s entities
* Proxy RouteDeleteAlertingConfig through MultiOrgAlertmanager
* Cleanup permissions on config api reset and restore
* Cleanup permissions on config api POST
note this is still not available with feature flag enabled
* Gate the permission manager behind FF until initial migration is added
* Sync changes from config api PR
* Switch to named export
* Revert unnecessary changes
* Revert Filter auth change and implement in k8s api only
* Don't allow new scoped permissions to give access without FF
Prevents complications around mixed support for the scoped permissions causing
oddities in the UI.
* Fix integration tests to account for list permission change
* Move to `permissions` file
* Add additional tests for contact points
* Fix redirect for viewer on edit page
* Combine alerting test utils and move to new file location
* Allow new permissions to access provisioning export paths with FF
* Always allow exporting if its grafana flavoured
* Fix logic for showing auto generated policies
* Fix delete logic for contact point only referenced by a rule
* Suppress warning message when renaming a contact point
* Clear team and role perm cache on receiver rename
Prevents temporarily broken UI permissions after rename when a user's source of
elevated permissions comes from a cached team or basic role permission.
* Debug log failed cache clear on CopyPermissions
---------
Co-authored-by: Matt Jacobson <matthew.jacobson@grafana.com >
2024-09-27 19:56:32 +01:00
Yuri Tseretyan
86faeae6d2
Alerting: Update GetTemplates to return sorted list of templates ( #93933 )
2024-09-27 18:49:37 +01:00
Sven Grossmann
157ded7c3f
Tempo: Create trace to logs links with traces in structured metadata ( #93923 )
2024-09-27 17:11:09 +01:00
Timothee
f3ba16d3b7
Tidying up the Grafana setup documentation ( #93860 )
2024-09-27 15:57:38 +00:00
Bruno
8f66b7fdb0
Cloud migrations: disable flaky test ( #93921 )
...
* Cloud migrations: disable flaky test
* Update pkg/services/cloudmigration/cloudmigrationimpl/xorm_store_test.go
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
---------
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-09-27 16:36:08 +01:00
Ihor Yeromin
d5e35c4b78
Legend: Render legend threshold colors ( #92838 )
...
* feat(barchart): render legend threshold and value mapping colors
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-09-27 17:02:03 +02:00
Mark Visser
c46736f490
Adjust Grafana setup docs ( #93894 )
...
* Fix duplicate command and code format
* Minor adjustment
* add bash to code line
added bash to a code line
* run prettier
---------
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-09-27 15:00:37 +00:00
renovate[bot]
0401fa1652
Update dependency @faker-js/faker to v9 ( #93917 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-27 15:35:15 +01:00
brendamuir
ff5e6da358
Alerting docs: adds simple mode for query section ( #93909 )
...
* Alerting docs: adds simple mode for query section
* prettier and add steps section
* delete space
* feedback from sonia
* prettier
2024-09-27 16:22:34 +02:00
Ashley Harrison
bc6752a51c
SingleTopNav: Add "Grafana" header to MegaMenu ( #93798 )
...
* add "Grafana" header to MegaMenu
* add truncation for really long custom app titles
* revert padding change since paddingLeft will handle it
2024-09-27 15:20:45 +01:00
renovate[bot]
0e4c90dd87
Update emotion monorepo ( #93914 )
...
* Update emotion monorepo
* add @emotion/serialize package + update unit test
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-09-27 15:16:12 +01:00
xiyu95
ce8c42ab35
chore: enforce the validationMessageHorizontalOverflow for InlineField ( #93858 )
...
chore: enforce the validationMessageHorizontalOverflow prop for inlineField
2024-09-27 07:01:18 -07:00
Karl Persson
0160f4f72c
RBAC: Add legacy authorization checks to service accounts ( #93753 )
...
* Extract a helper funtion to perform list with authorization checks
* Add k8s verb to utils package
* Construct default mapping when no custom mapping is passed
* Configure authorization checks for service accounts
* Fix helper and add filtering to service accounts
2024-09-27 15:53:11 +02:00
renovate[bot]
7710f1c3cf
Update dependency rollup to v4.22.5
2024-09-27 13:36:59 +00:00
renovate[bot]
e5d0877af7
Update dependency knip to v5.30.6
2024-09-27 13:13:07 +00:00
Torkel Ödegaard
1941ae21d7
DashboardScene: Refactor body property to be layout manager interface ( #93738 )
...
* Began layout refactor
* fixing tests
* Progress
* Progress
* Progress
* Progress
* Progress
* Progress
* finally no errors
* Remove unused interface
* Remove unused interface
* fixed tests
* Update
* Update
* Fixes to keyboard shortcuts and solo route
* fix lint issues
2024-09-27 15:11:28 +02:00
Misi
7e94d05d39
Auth: Fix token rotation redirect when session storage redirect is enabled ( #93906 )
...
Fix token rotation redirect when session storage redirect is enabled
2024-09-27 14:57:46 +02:00
renovate[bot]
598179227c
Update dependency yaml to v2.5.1 ( #93899 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-27 13:44:00 +01:00
Alex Khomenko
5b53b37634
Routing: Update components using props.match to use hooks ( #93792 )
...
* RuleViewed: Get params from hook
* ProviderConfigPage: Use hooks for redux logic
* Update NewDashboardWithDS
* Update StorageFolderPage
* Update StoragePage
* Cleanup
* Update PublicDashboardPage
* Update RuleEditor
* Update BrowseFolderAlertingPage
* Update BrowseFolderLibraryPanelsPage
* Update SoloPanelPage
* Fix test
* Add useParams mocks
* Update ServiceAccountPage
* Simplify mocks
* Cleanup
* Reuse types for path params
* Remove mock for router compat in test
* Switch to element
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2024-09-27 15:39:29 +03:00
grafana-pr-automation[bot]
9fc4436418
I18n: Download translations from Crowdin ( #93904 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-27 13:28:37 +01:00
Konrad Lalik
db42af20ca
Alerting: Prometheus primary mode for the alert list page ( #92975 )
...
* Lazy loading of mimir groups
* Refactor rule statuses
* Use prometheus endpoint to populate namespace and group dropdowns
* Add a feature toggle
* Use lazy loading ruler rules if the feature toggle enabled
* Remove unnecessary props form dynamic table
* Remove query from hash calculation
* Conditionally load ns and group autocompletions from Prom or Ruler APIs
* Fix prometheus dto labels property type
* Add a new suggestions hook which provides autocomplete options for the alert rule form
* Improve delete status handling
* Add waiting for Prometheus endpoint consistency after update submission
* Get rule definition from ruler or prometheus endpoint in useCombinedRule
* Add Prometheus consistency check. Fix view page redirects
* Remove rules reload after rule creation, remove statuses from Prom primary mode
* Add waiting for Prometheus consistency on delete rule action
* Add groups list rendering improvements
* Add memo to useAbilities
* Fix GMA consistency check, fix GMA statuses
* defer filered rules rendering
* Update failing tests
* Update locales
* Add rule-id tests
* Remove unused action
* update loading styles
* Fix unrelated test
* Add a new object for reading alerting feature toggles, address minor review issues
* Improve consistency check
* update i18n
* Improve rule form redirects
* Refactor feature toggle handling
* Update docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update public/app/features/alerting/unified/components/rule-viewer/RuleViewer.tsx
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Fix prettier issues
* Fix i18n
* Fix the feature toggle description
* Fix rule updates, fix ruler-based suggestions, wait for deletion for GMA rules
* Fix rename
* Remove unused code, improve copy
* Update i18n
* Fix url redirect when serving from subpath
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-09-27 14:27:16 +02:00
Matheus Macabu
fcb17379ea
LibraryElements: add fake service implementation and replace its usage in Dashboard API ( #93783 )
...
* LibraryElements: add fake service implementation
* Dashboards: replace fake LibraryElements implementation
2024-09-27 14:22:29 +02:00
Roman Pertl
3437c8be7f
Docs: grafana image renderer instructions custom cert in container ( #93646 )
...
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com >
2024-09-27 13:00:57 +01:00
Sam Jewell
51d73249b2
Docs: Update Usage insights logs docs- Scope ( #93425 )
...
Update Usage insights logs docs: Scope
As far as I can tell, in https://github.com/grafana/grafana/pull/59931
we started to record Usage Insights events for Explore queries.
And in https://github.com/grafana/grafana/pull/78097 we further improved
our implementation of that logging.
This documentation should have been updated back then to match. So I'm
updating it now.
2024-09-27 12:33:24 +01:00
Jack Westbrook
012d62782c
Fix: Prevent import errors caused by Rollup 4 ( #93903 )
...
fix(packages): prevent import errors by injecting exports.esmodule and check for default prop
2024-09-27 12:18:52 +01:00
Artur Wierzbicki
35f5ef007c
Chore: update ownership of grafana live FE code ( #93823 )
...
update ownership of live FE
2024-09-27 11:43:02 +01:00
Tobias Skarhed
f49b4d35f2
OAuth: Add custom unauthorized message option in configuration ( #93717 )
...
* read custom message from config
* Read error key from bootdata
* oopsie
* Remove console.log
* Update docs and sample/default inis
* Add default key value to the config
2024-09-27 12:11:27 +02:00
renovate[bot]
08dab3f816
Update dependency eslint-plugin-react to v7.37.0 ( #93891 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-27 10:48:11 +01:00
Gabriel MABILLE
6137a75552
Docs: document the managed_service_accounts_enabled configuration option ( #93883 )
...
* Config: Disclaimer single-org support for managed service accounts
* Add docs update
* Update docs/sources/setup-grafana/configure-grafana/_index.md
2024-09-27 11:07:02 +02:00
Jack Westbrook
f22bee8ca2
Build: Migrate packages to rollup v4 ( #93731 )
...
* chore(packages): bump rollup and rollup plugins to latest
* chore(packages): fix rollup node-externals plugin imports
* chore(packages): update build/bundle scripts to pass configPlugin arg to rollup
* feat(packages): migrate rollup configs to be esm compliant
* feat(packages): build using es2018 target and use same tsconfig and tsc for rollup
2024-09-27 11:00:13 +02:00
renovate[bot]
52611d4d02
Update dependency webpack-dev-server to v5.1.0 ( #93845 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-27 09:42:03 +01:00
Sonia Aguilar
3dbba3e509
Alerting: Fix Grafana recording rules expressions ( #93878 )
...
fix grafana recording rules expressions
2024-09-27 10:07:48 +02:00
Roberto Jiménez Sánchez
826245f511
CloudMigrations: Avoid building GMS base path when provided ( #93793 )
...
Avoid building GMS base path when provided
2024-09-27 09:22:38 +02:00
Gabriel MABILLE
7928245eb6
ManagedServiceAccounts: Add a config option to disable the feature on-prem ( #93571 )
...
* ManagedServiceAccounts: Add a config option to disabled by default
* Update log in pkg/services/extsvcauth/registry/service.go
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-09-27 09:11:59 +02:00
Torkel Ödegaard
2cfba519f1
DashboardScene: Fixes urlsync issue when going from normal to home dashboard ( #93758 )
...
* DashboardScene: Fixes urlsync issue when going from normal to home dashboard
* Better fix
* Update
2024-09-27 09:10:49 +02:00
Matheus Macabu
40bcd0df41
LibraryElements: export GetAllElements to service ( #93782 )
2024-09-27 08:48:56 +02:00
Ryan McKinley
87c81825b7
K8s: Move standalone apiserver CLI to enterprise ( #93799 )
2024-09-27 09:04:35 +03:00
Michael Mandrus
e672796632
CloudMigrations: Fix OrderBy clause in GetSnapshotList sql handler ( #93857 )
...
fix order_by clause in list query
2024-09-26 22:51:01 -04:00
Jev Forsberg
dc1670ed9a
CI: Bump alpine version ( #93865 )
...
* baldm0mma/up_alpine/ update alpine
* baldm0mma/resolve commits
2024-09-26 20:50:28 -05:00
Jev Forsberg
b17b98aeb9
CI: Update retry_command function ( #93863 )
...
* baldm0mma/update args
* baldm0mma/update_args/ conflict
2024-09-26 19:19:38 -06:00
Jev Forsberg
dc03cc0f9a
CI: Bump alpine version ( #93861 )
...
baldm0mma/bump_alpine
2024-09-26 18:58:21 -06:00
Alexander Weaver
378d92130d
Alerting: Don't suppress translation errors in PointsFromFrames ( #93747 )
...
* don't suppress error
* reorder
* re-add nilcheck
2024-09-26 16:30:50 -05:00
Steve Simpson
acb051b314
Alerting: Fix logging for failed annotations writing. ( #93856 )
2024-09-26 23:27:40 +02:00
Kevin Minehart
a847608061
CI: add promotion step for publish grafanacom ( #93851 )
...
* add promotion step for publish grafanacom
* publish-grafanacom depends on compile-build-cmd
* use DRONE_TAG
* add docstring comment for depends_on
2024-09-26 22:19:19 +01:00
Kim Nylander
6951feff88
[DOC] Add videos to Explore docs ( #93847 )
...
* Add videos to Explore docs
* Apply suggestions from code review
2024-09-26 15:32:43 -04:00
renovate[bot]
125a8a41dd
Update dependency nx to v19.8.2
2024-09-26 16:57:15 +00:00
Santiago
920d79680d
Alerting: Fix Slack notification errors when using bad title template ( #93771 )
...
* Alerting: Fix Slack notification errors when using bad title template
* upgrade grafana/alerting to latest main
2024-09-26 12:58:58 -03:00
renovate[bot]
7e4eb61be8
Update dependency dompurify to v3.1.7
2024-09-26 15:49:43 +00:00
Joao Silva
1418e88695
Bookmarks: Do not query preferences if no user logged in ( #93840 )
2024-09-26 16:47:57 +01:00
grafana-delivery-bot[bot]
80adb74205
Release: update changelog for 11.2.1 ( #93835 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-26 16:06:40 +01:00
renovate[bot]
efe8739864
Update dependency @types/node to v20.16.9
2024-09-26 14:55:59 +00:00
Santiago
7098c22f39
Docs: Remove deprecation warning on webhook payload fields ( #92604 )
2024-09-26 11:53:22 -03:00
Claudiu Dragalina-Paraipan
59ea63384d
[bugfix] Fix missing URI in breadcrumbs in Teams view ( #93828 )
...
Fix missing URI in breadcrumbs in Teams view
2024-09-26 17:41:56 +03:00
Jack Westbrook
5a5d57311b
Chore: Bump path-to-regexp ( #93830 )
...
chore(frontend): bump path-to-regexp to solve dependabot alert
2024-09-26 15:40:22 +01:00
renovate[bot]
ad960827cc
Update dependency @types/jquery to v3.5.31
2024-09-26 14:33:05 +00:00
grafana-delivery-bot[bot]
fc84ec7618
Release: update changelog for 11.1.6 ( #93825 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-26 15:31:29 +01:00
Bruno
1b7cd4c684
Cloud migrations: store resource name in the cloud_migration_resource table ( #93612 )
...
* Cloud migrations: store resource name in the cloud_migration_resource table
* remove unused function: convertMigrateDataResponseToDTO
* make swagger-clean && make openapi3-gen
* use DB_Text for cloud_migration_resource.name instead of DB_Varchar
2024-09-26 11:16:52 -03:00
Ihor Yeromin
2e559bb333
Transformation: UI date field transformation ( #93807 )
...
fix(transformation): ui date field transformation
2024-09-26 16:12:58 +02:00
Haris Rozajac
eb8e6c6a9f
Query Library: Display query text even when datasource doesn't have getQueryDisplayText ( #93668 )
...
Display query text even when datasource doesn't have getQueryDisplayText
2024-09-26 08:10:02 -06:00
renovate[bot]
02fff05607
Update dependency @grafana/faro-web-tracing to v1.10.1
2024-09-26 14:08:13 +00:00
Hugo Kiyodi Oshiro
be8c8baf6f
ConfirmModal: Allow button disable to be externally managed ( #93446 )
2024-09-26 15:56:25 +02:00
Gilles De Mey
4b1d8eeef0
Alerting: Remove filter for state without reason ( #93604 )
2024-09-26 15:40:04 +02:00
Brendan O'Handley
7aaa4b241e
Explore metrics: Fix warning message for limiting metrics ( #93817 )
...
don't show undefined error
2024-09-26 14:34:28 +01:00
grafana-delivery-bot[bot]
570c5934d3
Release: update changelog for 11.0.5 ( #93816 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-26 14:33:10 +01:00
renovate[bot]
eee53810c0
Update dependency @grafana/faro-web-sdk to v1.10.1
2024-09-26 13:31:09 +00:00
Matheus Macabu
14abf2dab3
CloudMigrations: add Library Element as a valid migration resource type ( #93781 )
2024-09-26 15:29:28 +02:00
Ryan McKinley
afe464bc20
K8s/Storage: add a reusable generic storage builder ( #93778 )
2024-09-26 14:26:45 +01:00
renovate[bot]
b80bba387f
Update dependency @grafana/faro-web-sdk to v1.10.1
2024-09-26 13:12:10 +00:00
grafana-delivery-bot[bot]
a68993825e
Release: update changelog for 10.4.9 ( #93808 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Sergej-Vlasov <sergej.s.vlasov@gmail.com >
2024-09-26 14:06:12 +01:00
grafana-delivery-bot[bot]
dbd8b082a6
Release: update changelog for 10.3.10 ( #93802 )
...
Update changelog
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-26 13:54:38 +01:00
renovate[bot]
65a12e46a6
Update dependency @grafana/faro-core to v1.10.1
2024-09-26 12:53:08 +00:00
linoman
e2816ee51a
RolePickerDrawer: Add feature toggle ( #93752 )
...
Add feature toggle
2024-09-26 14:51:38 +02:00
Todd Treece
df9925f3bb
Live: Clean up redis after test run ( #93806 )
2024-09-26 08:41:47 -04:00
kay delaney
c602041f4a
Fix failing tests
2024-09-26 13:13:41 +01:00
renovate[bot]
415b4b5782
Update dependency @grafana/scenes to v5.16.0
2024-09-26 13:13:41 +01:00
Edvard Falkskär
20a66343bd
SparklineCell: Improve text alignment factor ( #93539 )
2024-09-26 14:41:03 +03:00
kay delaney
6c8f24adc9
Dashboards: Fix issue with percentage difference formatting ( #93389 )
...
* Dashboards: Fix issue with percentage difference formatting
---------
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com >
2024-09-26 11:15:51 +01:00
Ashley Harrison
0a01b60305
Chore: Add mock for useChromeHeaderHeight ( #93788 )
...
add mock for useChromeHeaderHeight
2024-09-26 10:23:20 +01:00
grafana-pr-automation[bot]
9531be9162
I18n: Download translations from Crowdin ( #93760 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-26 10:19:24 +01:00
Josh Hunt
6be7033d29
Chore: Delete mockServiceWorker.js ( #93768 )
2024-09-26 10:10:33 +01:00
Roman Pertl
fa4baa7c38
Docs: update grafana-renderer auth token documentation ( #93645 )
2024-09-26 09:08:31 +00:00
Irene Rodriguez
c63c5857df
Update CODEOWNERS ( #93786 )
2024-09-26 09:54:51 +01:00
Hugo Kiyodi Oshiro
368fc0f120
Plugins: Improve update all modal UX ( #93448 )
2024-09-26 10:19:26 +02:00
Ryan McKinley
cdbc04ab2b
GRPC/Authn: Remove org name header ( #93780 )
2024-09-26 10:58:59 +03:00
Sonia Aguilar
536edee7bf
Alerting: Query and expressions section simplification ( #93022 )
...
* Add mode switch in Query section
* Implement simple query mode : WIP
* fix logic switching mode
* move guard and get methodd to another folder
* Add more requiremts for being transformable from advanced to not advanced mode
* fix usig mode when it's not a grafana managed alert
* Show warning when switching to not advanced and its not possible to convert
* Add feature toggle alertingQueryAndExpressionsStepMode
* fix test
* add translations
* address PR feedback
* Use form context for sharing simplfied mode used, save in local storage and use the new fields in the api
* add check to valid reducer and threshold when switching to simplified mode
* Use only one expression list
* fix test
* move existing rule check outside storeInLocalStorageValues
* add id in InlineSwitch to handle onClick on label
* fix
* Fix default values when editing existing rule
* Update dto fields for the api request
* fix snapshot
* Fix recording rules to not show switch mode
* remove unnecessary Boolean conversion
* fix areQueriesTransformableToSimpleCondition
* update text
* pr review nit
* pr review part2
2024-09-26 08:33:14 +02:00
Adela Almasan
c36f7aa92b
VizTooltip: Improved sizing ( #93762 )
...
Co-authored-by: Staton Hysell <staton.hysell@grafana.com >
2024-09-25 20:47:03 -05:00
Jeff Levin
a21a232a8e
Revert read replica POC ( #93551 )
...
* Revert "chore: add replDB to team service (#91799 )"
This reverts commit c6ae2d7999 .
* Revert "experiment: use read replica for Get and Find Dashboards (#91706 )"
This reverts commit 54177ca619 .
* Revert "QuotaService: refactor to use ReplDB for Get queries (#91333 )"
This reverts commit 299c142f6a .
* Revert "refactor replCfg to look more like plugins/plugin config (#91142 )"
This reverts commit ac0b4bb34d .
* Revert "chore (replstore): fix registration with multiple sql drivers, again (#90990 )"
This reverts commit daedb358dd .
* Revert "Chore (sqlstore): add validation and testing for repl config (#90683 )"
This reverts commit af19f039b6 .
* Revert "ReplStore: Add support for round robin load balancing between multiple read replicas (#90530 )"
This reverts commit 27b52b1507 .
* Revert "DashboardStore: Use ReplDB and get dashboard quotas from the ReadReplica (#90235 )"
This reverts commit 8a6107cd35 .
* Revert "accesscontrol service read replica (#89963 )"
This reverts commit 77a4869fca .
* Revert "Fix: add mapping for the new mysqlRepl driver (#89551 )"
This reverts commit ab5a079bcc .
* Revert "fix: sql instrumentation dual registration error (#89508 )"
This reverts commit d988f5c3b0 .
* Revert "Experimental Feature Toggle: databaseReadReplica (#89232 )"
This reverts commit 50244ed4a1 .
2024-09-25 15:21:39 -08:00
Isabel Matwawana
25ca760ee1
Docs: Fix broken links ( #93767 )
2024-09-25 16:39:14 -04:00
Alexander Akhmetov
b9964865cb
Alerting: Copy alert rule metadata when the rule is updated via provisioning API ( #93723 )
...
Alerting: Copy alert rule metadata when the rule is updated
2024-09-25 22:31:02 +02:00
Todd Treece
277d82db9a
Live: Add ha_prefix ( #93759 )
2024-09-25 22:20:35 +02:00
Torkel Ödegaard
57ab354139
DashboardScene: Fixes issue with dashboard starting with auto refresh set ( #93756 )
2024-09-25 20:14:52 +02:00
Oscar Kilhed
b68d9630fb
PanelEdit: Hide overflow for query options in small viewports ( #93700 )
...
Hide overflow for query options in small viewports
2024-09-25 20:08:05 +02:00
Serena
c822feff9e
Home: add setup guide tab under home tab ( #92947 )
...
* feat: add setup guide in home tab
* chore: add feature toggle for setup guide
* chore: add feature toggle for sub menu
* chore: run pretier
* chore: run i18n
* chore: run generated files again
* chore: update description
* chore: update comment to trigger test flow
* chore: trigger test
* chore: fix styling
2024-09-25 18:20:04 +01:00
Isabel Matwawana
26a3e70cfa
Docs: Table visualization refactor ( #93633 )
2024-09-25 13:06:33 -04:00
Laura Fernández
95b998d77f
SingleTopNav: MegaMenu full page height ( #93729 )
2024-09-25 17:56:47 +02:00
ismail simsek
5fe4a2f6a9
Explore Metrics: Add consistent maxDataPoints value across the app ( #93618 )
...
Add consistent maxDataPoints value across the app
2024-09-25 17:53:26 +02:00
renovate[bot]
2c98767d17
Update dependency webpack to v5.95.0 [SECURITY] ( #93751 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 16:19:58 +01:00
Matheus Macabu
1e720306dd
CloudMigrations: replace slicesext.Chunk with stdlib implementation ( #93743 )
2024-09-25 16:52:22 +02:00
renovate[bot]
5880579be8
Update dependency sass to v1.79.3 ( #93741 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 17:30:12 +03:00
Tobias Skarhed
1f7457c02c
New Select: Extract floating ui setup into hook ( #93387 )
...
* New Select: Extratc floating ui setup into hook
* Remove unused exports
* Rename exported floatStyles
* Set maxHeight instead of using js to find it
* Extarct into seperate file
2024-09-25 16:27:17 +02:00
grafana-pr-automation[bot]
2651ce5dce
I18n: Download translations from Crowdin ( #93744 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-25 15:22:50 +01:00
Matheus Macabu
40ce035ed7
LibraryElements: remove viewer check when connecting a dashboard on General folder ( #93737 )
2024-09-25 16:16:59 +02:00
Isabel Matwawana
d24d59299b
Docs: Change weight of sharing page ( #93746 )
2024-09-25 10:15:35 -04:00
Juan Cabanas
682a4073b4
ShareDrawer: Add share button tracking ( #93742 )
2024-09-25 17:03:30 +03:00
linoman
b6906cc866
SSO LDAP: ironing details ( #93584 )
...
* Rework description tooltip
* Null protect empty
* Add missing ref properties for form controllers
* Rework LDAP provider label
* Add missing `*` for required input
* Hide multiselect visual queues
* Add modal
* Adjust translated text hierarchies
* Add redirect confirmation modal
2024-09-25 15:59:57 +02:00
Isabel Matwawana
267f417924
Docs: update docs to reflect new sharing UI - 2 ( #93002 )
2024-09-25 09:47:33 -04:00
Isabel Matwawana
10a1bee86d
Docs: Update use dashboard image for sharing redesign ( #92957 )
2024-09-25 09:43:47 -04:00
Isabel Matwawana
dbf0949ca7
Docs: update docs to reflect new sharing UI ( #90630 )
...
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-09-25 09:42:58 -04:00
renovate[bot]
f80d3d687d
Update dependency @grafana/scenes to v5.15.0 ( #93730 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 14:41:48 +01:00
renovate[bot]
5cd9ef562d
Update dependency react-loading-skeleton to v3.5.0 ( #93740 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 16:41:18 +03:00
Matthew Jacobson
e86929eb0a
Alerting: Managed receiver resource permission in config api ( #93632 )
...
* Alerting: Managed receiver resource permission in config api
2024-09-25 09:39:36 -04:00
Yuri Tseretyan
10582e48f7
Alerting: Notifications Templates API ( #91349 )
2024-09-25 09:31:57 -04:00
ismail simsek
5472478ee8
Prometheus: Fix e2e selector by using "data-test-id" instead of "id" ( #93736 )
...
* use data-test-id instead of id
* don't skip
2024-09-25 15:29:19 +02:00
renovate[bot]
85bffcf787
Update dependency browserslist to v4.24.0 ( #93733 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 14:20:12 +01:00
Andres Martinez Gotor
225600a08b
Expose queryconvert endpoint ( #93656 )
2024-09-25 15:10:19 +02:00
Todd Treece
177965704d
Storage: Test mode 5 ( #93714 )
2024-09-25 08:29:17 -04:00
Laura Fernández
618e4014a7
Dashboards: SaveButton not available after changing the folder ( #93216 )
2024-09-25 13:30:36 +02:00
Ashley Harrison
8e5459791b
SingleTopNav: Initial changes ( #93694 )
...
initial changes for single top nav
2024-09-25 14:27:30 +03:00
renovate[bot]
9a67cd614d
Update dependency @grafana/plugin-e2e to v1.8.1
2024-09-25 11:06:34 +00:00
Josh Hunt
d2d1de39a7
GrafanaUI: Make Drawer extend to full height ( #93725 )
2024-09-25 12:05:20 +01:00
Ben Sully
4791d91408
fix(datasources): add option to avoid adding '-- Grafana --' DS ( #90175 )
...
* fix(datasources): add option to avoid adding '-- Grafana --' DS
Currently the `getList` method of `DatasourceSrv` adds the
'-- Grafana --' datasource in the majority of situations, unless a few
of the other filters are set, all of which affect the results in other
ways. This is the case even if the `filter` function is passed.
This causes the `DataSourcePicker` component to include the
'-- Grafana --' datasource in cases it's unsupported, such as in
Grafana ML where we only support specific datasource types.
This commit adds a new optional `grafana` field to the filter interface.
If explicitly set to `false`, the '-- Grafana --' datasource will not be
added to the list of datasources returned.
This should be backwards compatible and should allow developers to prevent
that datasource from appearing in the `DataSourcePicker`.
Relates to https://github.com/grafana/machine-learning/issues/4578 .
* Use filter func to see if we should add '-- Grafana --', instead
2024-09-25 11:04:45 +00:00
renovate[bot]
a0de3ef867
Update dependency @types/node to v20.16.7
2024-09-25 10:46:05 +00:00
Pepe Cano
75900139ae
Alerting docs: update Configure Alertmanagers ( #93712 )
...
* Alerting docs: update `Configure Alertmanagers`
- clarify alertmanager types
- specify that each alertmanager manages its own alerting resources
* Update docs/sources/alerting/set-up/configure-alertmanager/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/set-up/configure-alertmanager/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/set-up/configure-alertmanager/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* use `Alertmanager` - capitalize the first letter
* Small copy changes
* Minor cosmetic updates to `Add an Alertmanager` section
* Update docs/sources/alerting/set-up/configure-alertmanager/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-09-25 12:44:17 +02:00
Josh Hunt
54d52d0bf9
E2C: Add rudderstack reporting for cloud-side token generation ( #93334 )
2024-09-25 10:23:31 +01:00
renovate[bot]
d447fc3a82
Update dependency re-resizable to v6.10.0 ( #93695 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-25 10:05:54 +01:00
Torkel Ödegaard
d371fae3c8
DashboardScene: Fixes issue with updating repeated panels after coming back from panel edit ( #93716 )
2024-09-25 11:04:20 +02:00
Joe Blubaugh
14a5d605ae
Docs: Remove some duplication in alerting rules docs. ( #93376 )
2024-09-25 09:11:29 +02:00
Arati R.
2c26053be8
K8s/Folders: Convert additional fields when creating k8s resources ( #93395 )
...
* Add separate folder registration function
* Convert to k8s resource directly after legacy create
* Use create command when creating folders
* Set additional fields when converting to k8s resource
* Add created/updated timestamps during conversion
* Refactor UnstructuredToLegacyFolderDTO
* Return errors when doing k8s conversions
2024-09-25 08:56:15 +02:00
grafana-pr-automation[bot]
8c5dfa33d4
I18n: Download translations from Crowdin ( #93683 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-25 09:38:23 +03:00
Adela Almasan
1726567fcf
Canvas: Restore support for field-level data links ( #93708 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-09-25 05:25:39 +03:00
Adela Almasan
2b94a82baa
AngularMigration: Migrate series Graph to BarGauge ( #92609 )
2024-09-25 00:42:59 +03:00
Isabel Matwawana
1cbe8772c2
Docs: Restructure Search content ( #93636 )
2024-09-24 16:12:08 -04:00
Tokoro
a0122187b0
Dashboards: Check if Grafana Javascript agent is enabled before using faro.api ( #90509 )
...
Check if Grafana Javascript agent is enabled before using faro.api
2024-09-24 22:18:15 +03:00
maicon
377079d8b3
UniStore: Add config to enable periodic DualWriter DataSyncer ( #93555 )
...
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-09-24 22:03:15 +03:00
Misi
59af06e36a
Devenv: Add serve_from_sub_path scenario to nginx devenv ( #93691 )
...
Setup serve_from_sub_path scenario with nginx
2024-09-24 19:53:29 +02:00
Andreas Christou
564ee32b04
AzureMonitor: Improve errorsource ( #93533 )
...
* Improve errorsource
* Fix imports
2024-09-24 12:45:44 -05:00
Andreas Christou
76c8975b4f
AzureMonitor: Deduplicate resource picker rows ( #93129 )
...
* Use URI for querying resources in RG
- Ensure resource group names are correctly slash separated
* Update test
2024-09-24 12:45:08 -05:00
Andreas Christou
488e71226b
InfluxDB: Add support for LIST arrow type ( #93227 )
...
Add support for LIST arrow type
2024-09-24 18:36:07 +01:00
renovate[bot]
7e61d4f80d
Update dependency babel-loader to v9.2.1 ( #93681 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-24 17:46:50 +01:00
Andreas Christou
090958489c
MSSQL: Update dependencies ( #93692 )
...
Use appropriate deps and bumpy TS to match root
2024-09-24 19:45:22 +03:00
Misi
d411ce2664
Auth: Use sessionStorage instead of cookie for automatic redirection ( #92759 )
...
* WIP: working as expected, has to be tested
* Rename query param, small changes
* Remove unused code
* Address feedback
* Cleanup
* Use the feature toggle to control the behaviour
* Use the toggle on the FE too
* Prevent the extra redirect/reload
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com >
* Return to login if user is not authenticated
* Add tracking issue
* Align BE redirect constructor to locationSvc
2024-09-24 18:38:09 +02:00
ismail simsek
18f8f38418
Prometheus: Fix query interval string interpolation in query cache ( #93678 )
...
fix query interval string interpolation in query cache
2024-09-24 18:03:16 +02:00
Torkel Ödegaard
05dbba4c85
DashboardScene: Fix broken error handling and error rendering ( #93680 )
2024-09-24 17:59:32 +02:00
Torkel Ödegaard
038d9cabde
PanelEdit: Edit the source panel, refactor out VizPanelManager, simplify ( #93045 )
...
* Options pane, data pane queries tab and transformations tab working
* Update
* Discard works
* Panel inspect working
* Table viw works
* Repeat options
* Began fixing tests
* More tests fixed
* Progress on tests
* no errors
* init full width when enabling repeat
* Began moving VizPanelManager tests to where the code was moved
* Unlink libray panel code and unit test
* Fixes and unit tests for change tracking and resetting original state and dirty flag when saving
* migrating and improving unit tests
* Done with VizPanelManager tests refactoring
* Update
* Update
* remove console.log
* Removed unnesssary behavior and fixed test
* Update
* Fix unrelated test
* conditional options fix
* remove
* Fixing issue with editing repeated panels and scoping variable to first value
* Minor fix
* Fix discard query runner changes
* Review comment changes
* fix discard issue with new panels
* Add loading state to panel edit
* Fix test
* Update
* fix test
* fix lint
* lint
* Fix
* Fix overrides editing mutating fieldConfig
---------
Co-authored-by: alexandra vargas <alexa1866@gmail.com >
2024-09-24 17:13:32 +02:00
Oscar Kilhed
9adb7b03a7
Remove buildstamp from build hash. Version and commit should be enough ( #93658 )
...
Remove buildstamp from build hash, version and commit should be enough
2024-09-24 17:10:29 +02:00
Torkel Ödegaard
ae5a7a53a9
TimePicker: Support strings in ISO formats ( #93479 )
...
* TimePicker: Support strings in ISO formats
* changed fix and added test
2024-09-24 17:00:15 +02:00
renovate[bot]
db697a3e23
Update dependency @rollup/plugin-node-resolve to v15.3.0 ( #93677 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-24 15:43:03 +01:00
Kristina
002f872ce1
Correlations: Allow correlations to target URLs ( #92442 )
...
* Pass one
* Fix linter and add new betterer problem (sorry)
* fix swagger
* Add type to tests and update single correlations sql
* Fix provisioning test and other function that needs a type
* Add errors around query/external typing and add tests
* increment number of correlations tested as we added one for testing v1 type placement
* try merging back the swagger that is in main
* try again?
* Style form a little
* Update public/app/features/logs/components/logParser.ts
Co-authored-by: Matias Chomicki <matyax@gmail.com >
* fix bad commit, simplify logic
* Demonstrating type difficulties
* Fix distributed union changes
* Additional type changes
* Update types in form
* Fix swagger
* Add comment around the assertion and explicit typing
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com >
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com >
2024-09-24 09:38:17 -05:00
renovate[bot]
8da1d78c92
Update dependency @grafana/faro-web-tracing to v1.10.0 ( #93666 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-24 15:16:26 +01:00
Jihoon Park
4290d0e459
Docs: fix typo in developers/http_api/data_source.md ( #93650 )
2024-09-24 14:08:43 +00:00
Piotr Jamróz
813e1c1364
Correlations: Limit access to correlations page to users who can access Explore ( #93519 )
...
Correlations: Limit access to correlations page to users who can access Explore
2024-09-24 16:02:02 +02:00
Joey
d30dc3ad50
TraceView: Fix for toString() usage in span filters ( #93648 )
...
Fix for toString() usage
2024-09-24 14:47:22 +01:00
Torkel Ödegaard
ae6ea459b9
DashboardScene: Do not add hide flags to URL ( #93641 )
...
* DashboardScene: Do not add hide flags to URL
* Update
2024-09-24 15:24:56 +02:00
Karl Persson
c28b37a67b
RBAC: Add option to skip rbac check for specified verbs ( #93654 )
...
* Add option to skip rbac check for specified verbs
2024-09-24 15:13:04 +02:00
renovate[bot]
b04799dab9
Update dependency @types/node to v20.16.6
2024-09-24 12:58:22 +00:00
Will Browne
52f8cecd4a
Plugins: Add state logs for plugin client retrieval ( #93630 )
...
* add state to grpc plugin
* tidy
* fix lint
* fix issues
* return true
* use defer
* update err message
2024-09-24 15:55:02 +03:00
Ashley Harrison
a54308138f
Navigation: Remove bodyScrolling toggle and make it default ( #93652 )
...
* remove bodyScrolling toggle and make it default
* fix e2e tests
2024-09-24 13:23:18 +01:00
Oscar Kilhed
7f7fed8c3c
Playlists: Check if playlist is playing before reloading for assets ( #93605 )
...
* Check if playlist is playing before updating
* add tests
2024-09-24 14:00:03 +02:00
Torkel Ödegaard
f04e032cf1
FieldOverrides: Clear displayName caching after applying field overrides ( #93651 )
...
* FieldOverrides: Clear displayName caching after applying field overrides
* Remove old comment
2024-09-24 13:51:02 +02:00
renovate[bot]
5193318c56
Update dependency @types/lodash to v4.17.9
2024-09-24 11:47:46 +00:00
Jean-Philippe Quéméner
bfc6c032c4
refactor(alerting): remove transformation that is now done by the querier ( #93660 )
2024-09-24 14:46:03 +03:00
renovate[bot]
314f770a71
Update Yarn to v4.5.0 ( #93626 )
...
* Update Yarn to v4.5.0
* commit new version
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-09-24 14:03:04 +03:00
Todd Treece
3221f493f9
K8s: Prevent registration of frontend datasources ( #93635 )
2024-09-24 06:39:11 -04:00
Vitaly Orlov
4e93e2c7f1
Jaeger: Add references to trace view UI ( #92607 )
...
* Jaeger: Add references to trace view UI
* Fixes
* Fix tests
---------
Co-authored-by: Ivana Huckova <ivana.huckova@gmail.com >
2024-09-24 12:38:13 +02:00
Victor Marin
764ec264c8
Fix deps on panel options ( #93647 )
2024-09-24 13:23:00 +03:00
grafana-pr-automation[bot]
2ceb3c699d
I18n: Download translations from Crowdin ( #93322 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-24 13:19:39 +03:00
renovate[bot]
fa25b10bf8
Update dependency @floating-ui/react to v0.26.24 ( #93580 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-24 09:58:58 +01:00
Gabriel MABILLE
6b89e3f711
go.mod: Authlib update ( #93642 )
2024-09-24 09:41:52 +02:00
Torkel Ödegaard
6c63aec586
Calendar/TimePickers: By default use the system/user start of week ( #93464 )
...
Calendar: Should automatically use user or system start of week
2024-09-24 08:19:55 +02:00
Claudiu Dragalina-Paraipan
a8b07b0c81
[authn] use authlib client+interceptors for in-proc mode ( #93124 )
...
* Add authlib gRPC authenticators for in-proc mode
* implement `StaticRequester` signing in the unified resource client
- [x] when the `claims.AuthInfo` value type is `identity.StaticRequester`, and there's no ID token set, create an internal token and sign it with symmetrical key. This is a workaround for `go-jose` not offering the possibility to create an unsigned token.
- [x] update `IDClaimsWrapper` to support the scenario above
- [x] Switch to using `claims.From()` in `dashboardSqlAccess.SaveDashboard()`
---------
Co-authored-by: gamab <gabriel.mabille@grafana.com >
2024-09-24 09:03:48 +03:00
Charandas
db97da3465
K8s: handle multiple versions of the same group in standalone mode ( #93199 )
2024-09-23 19:07:52 -07:00
Matthew Jacobson
e699348d39
Alerting: Managed receiver resource permission in provisioning ( #93631 )
...
* Alerting: Managed receiver resource permission in provisioning
2024-09-23 17:52:14 -04:00
Brian Gann
5c9486afbc
area/configuration: adds docs for actions_allow_post_url security option ( #93629 )
...
adds docs for actions_allow_post_url security option
2024-09-23 15:41:29 -04:00
owensmallwood
4c8f6b742b
Grafana: Skip flaky test influxdb ( #93627 )
...
* skip flaky test
* remove slack link
2024-09-23 21:37:13 +03:00
Matthew Jacobson
6652233493
Alerting: Managed receiver resource permission in receiver_svc ( #93556 )
...
* Alerting: Managed receiver resource permission in receiver_svc
2024-09-23 21:12:25 +03:00
renovate[bot]
ff37d477fd
Update dependency react-select to v5.8.1
2024-09-23 17:15:58 +00:00
brendamuir
5a1a3204c9
Alerting docs: adds ha-advertise-address to alerting docs ( #93303 )
...
* Alerting docs: adds ha-advertise-address to alerting docs
* Change description of setting [ha_advertise_address]
---------
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-09-23 19:14:34 +02:00
Will Browne
7cd546238b
Revert "Plugins: Add logs for plugin proto client retrieval" ( #93617 )
...
Revert "Plugins: Add logs for plugin proto client retrieval (#93527 )"
This reverts commit ccf6fbebfa .
2024-09-23 19:26:02 +03:00
renovate[bot]
eee7270b07
Update dependency rc-tooltip to v6.2.1
2024-09-23 19:19:24 +03:00
antonio
f16f0c2e46
autotriager:update commands.json ( #93613 )
...
autotriager:updated commands.json
2024-09-23 18:55:48 +03:00
Adela Almasan
d630e9bcb3
Chore: Update Action interface ( #93248 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2024-09-23 10:41:05 -05:00
renovate[bot]
026748a5ab
Update dependency rc-slider to v11.1.6
2024-09-23 18:38:45 +03:00
Alexander Zobnin
5e713673e1
Annotations: Optimize search by tags ( #93547 )
...
* Annotations: Optimize search on large number of dashboards
* refactor
* fix batch size
* Return early if no annotations found
* revert go.mod
* return nil in case of error
* Move default limit to the API package
* fix empty access control filter
* Set default limit to 100
* optimize query when number of annotations is less than limit
* Update pkg/services/annotations/annotationsimpl/annotations.go
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
* remove limit from store since it's set in API
* set default limit in Find method (do not break tests)
* Only add limit to the query if it's set
* use limit trick for all searches without dashboard filter
* set default page if not provided
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-09-23 17:29:29 +02:00
linoman
5bc7a47ecb
Auth: Update extra_hosts property ( #93545 )
...
Update extra_hosts property
2024-09-23 17:21:09 +02:00
renovate[bot]
f314220be1
Update dependency postcss to v8.4.47
2024-09-23 15:18:40 +00:00
Misi
d6f4246f77
Docs: Update SAML docs ( #93379 )
...
SAML docs update
2024-09-23 17:16:53 +02:00
renovate[bot]
a20a0debf7
Update dependency msw to v2.4.9
2024-09-23 14:59:01 +00:00
Gabriel MABILLE
7714b65f32
Cfg: Deduplicate DefaultOrgID code ( #93588 )
...
Cfg: Expose DefaultOrgID function
2024-09-23 16:50:11 +02:00
renovate[bot]
d38e2feab9
Update dependency knip to v5.30.5
2024-09-23 17:33:16 +03:00
Juan Cabanas
cedd66cefc
ShareDrawer: Export as JSON code editor fix ( #93593 )
2024-09-23 16:31:23 +02:00
owensmallwood
8bbfbc61be
Unified Storage: Adds a few readme updates from issues I ran into with local dev ( #93553 )
...
adds a few readme updates from issues I ran into with local dev
2024-09-23 08:25:19 -06:00
Mat Ryer
b9d325884b
update 'Simplified exploration' page ( #93565 )
...
* update 'Simplified exploration' page
* removed extra 'Explore' heading, which is a little confusing in this context
* simplified the intro text to sound more like the rest of the docs
* Update docs/sources/explore/simplified-exploration/_index.md
Co-authored-by: Jennifer Villa <jvilla2013@gmail.com >
---------
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com >
Co-authored-by: Jennifer Villa <jvilla2013@gmail.com >
2024-09-23 10:21:24 -04:00
Alexa V
067ea66cbb
Dashboard: Annotations - Fix issue of angularEditorLoader when angular is not supported ( #93583 )
...
Dashboard: Annotations - Fix issue of angularEditorLoader when angular is not supported
2024-09-23 16:17:59 +02:00
renovate[bot]
1a13e7fd95
Update dependency @types/systemjs to v6.15.1
2024-09-23 14:11:17 +00:00
Premkumar Chalmeti
ac9015bb2f
Update _index.md ( #93572 )
...
Updated `grafana.ini` file path for macOS apple sillicon
2024-09-23 09:10:36 -05:00
Andres Martinez Gotor
a45167a595
Remove backgroundPluginInstaller feature flag ( #93540 )
2024-09-23 15:49:18 +02:00
renovate[bot]
07f11e9222
Update dependency @rollup/plugin-node-resolve to v15.2.4
2024-09-23 13:37:26 +00:00
maicon
d60351d8e8
Unistore: fix DualWriter context cancelation on mode 1 ( #93377 )
...
* Unistore: fix DualWriter context cancelation on mode 1
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-09-23 10:34:36 -03:00
renovate[bot]
83cde35668
Update dependency @playwright/test to v1.47.2
2024-09-23 13:12:56 +00:00
Tom Ratcliffe
cc68f1b673
Alerting: Fix sending secure settings when using K8S API for contact points ( #93498 )
2024-09-23 14:02:58 +01:00
renovate[bot]
bcab60d9e6
Update dependency @msagl/parser to v1.1.23
2024-09-23 12:47:18 +00:00
Galen Kistler
26b039bb81
Prometheus: Incremental query cache keep extra datapoint before new 'from' ( #93186 )
...
* fix: keep extra datapoint before new 'from' when evicting datapoints in incremental query cache
* remove redundant comments
* Update todo
* move prometheus specific code in a new function
* add unit test
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-09-23 14:45:31 +02:00
renovate[bot]
5a2f22c60d
Update dependency @msagl/core to v1.1.23
2024-09-23 12:23:10 +00:00
renovate[bot]
861423a209
Update dependency nx to v19.8.0 ( #91393 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 12:30:35 +01:00
Juan Cabanas
bafb69d877
ShareDrawer: GA enablement ( #93344 )
2024-09-23 13:28:48 +02:00
renovate[bot]
08b2805d07
Update dependency esbuild to v0.24.0 ( #87650 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-23 12:27:38 +01:00
antonio
c78ea87751
Docs > alerting: example of conditional notification based on labels ( #93541 )
...
* Docs > alerting: example of conditional notification based on labels
* typos
* Update docs/sources/alerting/configure-notifications/template-notifications/create-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-09-23 10:24:09 +00:00
Hugo Kiyodi Oshiro
6f3f8c0e99
Plugins: Add rudderstack events to plugins update ( #92989 )
2024-09-23 11:52:46 +02:00
Misi
b369341868
Chore: Add feature toggle for session storage redirect handling ( #93575 )
...
Add feature toggle for session storage redirect handling
2024-09-23 12:31:23 +03:00
Karl Persson
2e38329026
RBAC: Add required component to perform access control checks for user api when running single tenant ( #93104 )
...
* Unexport store and create new constructor function
* Add ResourceAuthorizer and LegacyAccessClient
* Configure checks for user store
* List with checks if AccessClient is configured
* Allow system user service account to read all users
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2024-09-23 11:26:44 +02:00
Matias Chomicki
bca8bd3c8b
Logs: Added query splitting support for forward searching logs ( #93450 )
...
Query splitting: add support for forward searching logs
2024-09-23 11:22:06 +02:00
Sven Grossmann
7189a4af81
Loki: Add UI support for detected_level ( #93574 )
...
feat(detected_level): Add UI support for `detected_level`
2024-09-23 11:20:16 +02:00
Karl Persson
da60c561a8
Docs: Update to use correct config key for saml token url ( #93569 )
...
Update to use correct config key for saml token url
2024-09-23 09:19:38 +02:00
Kim Nylander
76d5608473
[DOC] Add landing page for simplified exploration ( #93515 )
...
* Add landing page for simplified exploration
* shortened the sentences
* Apply suggestions from code review
* Apply suggestions from code review
---------
Co-authored-by: Mat Ryer <matryer@users.noreply.github.com >
2024-09-21 01:47:21 -04:00
Matthew Jacobson
1ede1e32b8
Alerting: Receiver resource permissions service ( #93552 )
2024-09-20 18:31:42 -04:00
Matthew Jacobson
7398fe3fcb
Alerting: Proxy RouteDeleteAlertingConfig through MultiOrgAlertmanager ( #93549 )
...
Proxy RouteDeleteAlertingConfig through MultiOrgAlertmanager
2024-09-20 15:25:14 -04:00
Will Browne
ccf6fbebfa
Plugins: Add logs for plugin proto client retrieval ( #93527 )
2024-09-20 17:36:11 +01:00
Ezequiel Victorero
e22540b763
PublicDashboards: Fix import email sharing api ( #93480 )
2024-09-20 17:00:02 +01:00
Alexander Akhmetov
0ed70d0b2f
Alerting: Add a metric to track the number of rules with simplified editor settings ( #93511 )
...
* Alerting: Add a metric to track the number of rules with simplified editor settings
2024-09-20 17:56:40 +02:00
Isabella Siu
fac98d9084
Elasticsearch: Fix source for invalid query error ( #93501 )
2024-09-20 11:06:30 -04:00
Isabella Siu
2ad558d046
CloudWatch: Fix segfault when migrating legacy queries ( #93543 )
2024-09-20 10:54:34 -04:00
Georges Chaudy
216b63549d
unistore: fix watch events forever looping ( #93517 )
2024-09-20 15:51:09 +02:00
Syerikjan Kh
715ee35abc
RBAC: Check forceLogin inside CanAdminPlugins ( #93449 )
2024-09-20 09:35:58 -04:00
Eric Leijonmarck
f9ad81f715
LBAC for datasources: Allow self serve ( #93477 )
...
* LBAC for datasources: Allow self serve
* capitilized LogQL
2024-09-20 14:24:40 +01:00
brendamuir
a2859de5b6
Alerting docs: updates duration type to string ( #93532 )
...
* Alerting docs: updates duration type to string
* ran prettier
2024-09-20 14:55:44 +02:00
Gabriel MABILLE
8d84517103
AuthN: Introduce DefaultOrgID function for managed service accounts ( #93432 )
...
* Managed Service Accounts: Use AutoAssignOrgID
* Fix the IsExternalServiceAccount function
* Reassign service account role
* Account for AutoAssignOrg
* Update pkg/services/serviceaccounts/models.go
* Simplify IsExternalServiceAccount function
* Add tests
* Easier to understand test
* Revert small change
2024-09-20 14:43:29 +02:00
renovate[bot]
bb69afed7c
Update dependency @grafana/faro-web-sdk to v1.10.0 ( #93347 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-20 11:32:47 +01:00
Timur Olzhabayev
e32810b9f2
Docs: Clarifying the messaging around dependencies a bit more ( #93029 )
...
* Clarifying the messaging around dependencies a bit more
* Update docs/sources/developers/plugins/plugin.schema.json
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com >
---------
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com >
2024-09-20 10:23:17 +00:00
Andreas Christou
e18d029a24
GCM: Improve error handling ( #93474 )
...
* Improve error handling
* More manual errorsource
* Revert some changes from original PR
* Update test
2024-09-20 10:40:05 +01:00
ismail simsek
19c7e1f376
Chore: Refactor explore metrics breakdown scene ( #93368 )
...
* refactor breakdown scene
* refactor BreakdownScene along with LayoutSwitcher
* rename
* don't pass default layout
* better type handling
* betterer
* add @bsull/augurs
* implement LabelBreakdownScene
* integrate SortByScene in LabelBreakdownScene
* move to new directory
* introduce BreakdownSearchScene
* integrate searchScene
* cleaning
* initialize @bsull/augurs
* add interaction
* use new breakdown scene
* resolve merge conflicts
* ugrade @bsull/augurs
* update import
* update css
* update tooltip text
* refine sorting
* fix unit test
* fix
* implement outlier detector
* support wasm
* jest testing fix
* localization fix
* use unknown instead of any
* update i18n
* update betterer
* fix locales
* update test
* fix tests maybe
* prettier
* chore: update jest config
* chore: create mock for @bsull/augurs (#92156 )
chore: create mock for bsull/augurs
@bsull/augurs assumes it will be running as an ESM, not
a CommonJS module, so can't be loaded by Jest (specifically
because it contains a reference to import.meta.url).
This PR provides a mock implementation which gets tests passing
again.
Ideally we'd be able to load the actual @bsull/augurs module
in tests so this is just a stopgap really, until a better
solution appears.
* fix unit tests
* remove unused BreakdownScene.tsx
* set outliers as undefined if an error occurs
* Add labels
* betterer
* reset event implemented
* fix controls positioning
* remove sorting
* fix type guard
* more clean up
* remove wasm support from webpack
* betterer
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com >
Co-authored-by: Ben Sully <ben.sully@grafana.com >
2024-09-20 10:22:34 +02:00
Andres Martinez Gotor
74b2d38e37
Chore: Update grafana-plugin-sdk ( #93426 )
2024-09-20 10:20:59 +02:00
Matheus Macabu
945484232c
CloudMigrations: remove unused code from sync migration approach ( #93430 )
2024-09-20 08:58:11 +02:00
Andrew Hackmann
8b6cec2356
Azure Monitor: Blank result formats are not overwritten ( #93493 )
...
* if result format is null from previous query, it will be null and not correct to a different format
* update to not have empty value in result format field
* fix tests
* add check to see if options are in list
* reformat stuff so logic lives on the right layer
* linterrrrrrrrrrrrrrrrrrRR
* Apply suggestions from code review
* if result format is null from previous query, it will be null and not correct to a different format
* update to not have empty value in result format field
* fix tests
* add check to see if options are in list
* reformat stuff so logic lives on the right layer
* linterrrrrrrrrrrrrrrrrrRR
* frontend linter
* linter
* feedback :)
2024-09-20 02:30:03 +03:00
William Wernert
f1ba7deff5
Alerting: Also clear fields in model/store validation for recording rules ( #93506 )
...
* Fix model validation
* Remove validation from provisioning service
2024-09-20 00:27:37 +03:00
Larissa Wandzura
9a40e8dca6
Docs: Removed public preview note from Explore Metrics ( #93503 )
...
removed public preview, EM is now GA
2024-09-19 16:21:26 -05:00
Aaron Godin
735332570f
feat: GroupSync extension UI ( #91777 )
...
* feat: supporting code for groupsync extension UI
* Add result of running i18n extraction
* Place the UI behind a feature toggle as well as the license feature
* Also add access checks to route loading of groupsync route with feature toggle
* Add access check on permissions to show External group sync in nav
* fix: New version of multiOrgRoleOptions hook
* Remove OSS route definition
* Apply feedback on nav title
2024-09-19 14:58:11 -05:00
Alexander Weaver
534bfba7e3
Alerting: Use typed errors in prometheus remote writer ( #93500 )
...
Strongly typed writer errors
2024-09-19 13:34:35 -05:00
lean.dev
5522c3a01b
Grafana: Adds support for PKCS1 encrypted certs ( #93451 )
2024-09-19 15:03:06 -03:00
Jean-Philippe Quéméner
caa967b270
fix(querier): handle single alerting queries without expression ( #93497 )
2024-09-19 19:20:39 +02:00
Michael Mandrus
f4c5c5c418
Chore: Fix flaky cloud migration test due to ordered steps running in parallel ( #93491 )
...
don't run test in parallel
2024-09-19 18:45:02 +03:00
Alexander Akhmetov
9f5b05f936
Alerting: Add metadata field with editor_settings to alert rule ( #93245 )
2024-09-19 16:43:41 +02:00
Brendan O'Handley
4d1adf9db4
Explore Metrics: Get OTel resources and filter metrics and labels ( #91221 )
...
* add OTel filter in metric select scene
* add resource query to get matching OTEL job&instance
* filter metrics by OTEL resources
* only add otel select if DS has OTEL matching job and instance
* add folder for otel resources
* upate metric select for new otel folder
* move otel api call
* get otel resources for labels for single series job/instance target_info
* add otel resources to adhoc variable dropdown
* update otel api to check for standardization and return labels
* label types for api
* check standardization, show otel variable, select depenv, update other variables
* remove otel target list from metric select scene
* load resources if dep_env label has already been selected
* exclude previously used filters
* do not check standardization if there are already otel filters
* drop filters when switching data sources
* add experience var for switching to otel experience
* remove otel from variables and place near settings
* add error for non-standard prom with otel resources
* fix typescript errors, remove ts-ignores
* add custom variable for deployment environment like app-olly
* fix name of otel variable
* add function for getting otel resources from variables
* add otel join query const
* update standard check to be simpler
* allow for unstandard otel data sources but give warning
* add otelJoinQuery to the base query and clean up variables when state changes
* refactor otel functions to return filters for targets, use targets to filter metrics
* update metric names on otel target filter change
* when no otel targets for otel resource filter, show no metrics
* move switch to settings, default to use experience, refactor otel checks
* clean code
* fix refactor to add hasOtelResources for showing the switch in settings
* sort otel resources by blessed list
* reset otel when data source is changed
* move otel experience toggle back outside settings
* move showPreviews into settings
* do not re-add otel resources from blessed list to filters when already selected
* add otel join query variable to histogram base query
* only show settings for appropriate scenes
* show info tooltip the same but show error on hover for disabling otel exp for unstandard DS
* refactor tagKeys and tagValues for otel resources variable, fix promoted list ordering, fix dep env state bug
* default dep env value
* apply var filters only where they are using VAR_FILTER_EXPR in queryies
* change copy for labels to attributes
* do not group_left job label when already joining by job
* update copy for label variable when using otel
* remove isStandard check for now because of data staleness in Prometheus
* default to showing heatmap for histograms
* add trail history for selecting dep env and otel resources
* add otel resource attributes tests for DataTrail
* move otel functions to utils
* write tests for otel api calls
* write tests for otel utils functions
* fix history
* standard otel has target_info metric and deployment_environment resource attributes
* fix tests
* refactor otel functions for updating state and variables
* clean code
* fix tests
* fix tests
* mock checkDataSourceForOtelResources
* fix tests
* update query tests with otelJoinQuery and default to heatmap for _bucket metrics
* fix tests for otel api
* fix trail history test
* fix trail store tests for missing otel variables
* make i18n-extract
* handle target_info with inconsistent job and instance labels
* fix otel copy and <Trans> component
* fix custom variable deployment environment bug when switchiing data sources from non otel to otel
* fix linting error for trans component
* format i18nKey correctly
* clean up old comments
* add frontend hardening for OTel job and instance metric list filtering
* fix test for deployment environment custom variable to use changeValueTo
* fix i18n
* remove comments for fixed bug
* edit skipped tests
2024-09-19 09:34:31 -05:00
Ryan McKinley
542105b680
ResourceClient: Exercise resource client in k8s apis tests ( #93473 )
2024-09-19 17:16:48 +03:00
linoman
63195664f4
SSO LDAP: Fix ldap provider in providers list ( #93472 )
...
* Correct comment about provider filter
* Add type for LDAP provider
* Ignore old LDAP init setup when using SSO
2024-09-19 16:05:55 +02:00
Will Browne
362ffff591
Plugins: Avoid returning 404 for AutoEnabled apps ( #93436 )
...
avoid errors for autoenabled apps
2024-09-19 14:00:34 +01:00
Jack Baldry
d5f205fdef
Update workflows to use actions that don't need organization secrets ( #92603 )
2024-09-19 13:53:45 +01:00
Gabriel MABILLE
7ef13497a8
AuthN: Ext JWT support actions ( #92486 )
2024-09-19 14:25:43 +02:00
Ryan McKinley
1e3816a6f8
K8s/Dashboard: Read DTO from the registered storage, not just legacy ( #93406 )
2024-09-19 12:45:32 +03:00
Esteban Beltran
b48f288583
Chore: Change condition to run auto triager based on user association ( #93466 )
2024-09-19 11:49:54 +03:00
Ryan McKinley
f21a5987a2
Plugins: Expose datasources as apiservers feature toggle ( #93250 )
2024-09-19 11:28:27 +03:00
Ashley Harrison
73eff837e8
Select: Fix last option in an option group to be selectable ( #93457 )
...
don't completely overwrite innerProps
2024-09-19 09:05:23 +01:00
DaRK AnGeL
224e96effa
Chore: Add ILS (Israeli New Shekels) currency to value formatter ( #93390 )
...
add ILS to Currency
2024-09-19 08:05:28 +02:00
Jean-Philippe Quéméner
4f04b5849e
feat(apiserver): add flag to control the request size limit ( #93431 )
2024-09-18 20:39:32 +03:00
Torkel Ödegaard
d177e57f7e
DashboardScene: Fix url state sync issue when coming form Home dashboard to a cached dashboard scene ( #93442 )
...
* DashboardScene: Fixes preserve dashboard state for hidden options
* DashboardScene: Alt fix for pervering only specific url keys
* DashboardScene: Fixes url sync issue when coming from Home route
* Update
* Fix test
2024-09-18 17:57:15 +02:00
ismail simsek
37e4353a18
Chore: Fix running frontend unit tests in JetBrains ( #93441 )
...
read the files with their absolute paths
2024-09-18 17:51:58 +02:00
Andreas Christou
6a3dbe7d41
AzureMonitor: Improve resource picker efficiency ( #93127 )
...
* Parameterise region building metric namespace URL
- Add parameter for region (this parameter takes precedence over if global is set)
- Update tests
- Support this parameter on the data source method
* Refactor fetchAllNamespaces
- Use Set rather than an array for greater performance
- Request namespaces across WestEurope, EastUS, and JapanEast concurrently
- Update test
* Maintain existing behaviour
2024-09-18 15:17:36 +01:00
Jean-Philippe Quéméner
72bfa624ce
fix(apiserver): append errors correctly from options ( #93434 )
2024-09-18 16:38:59 +03:00
Eric Leijonmarck
6ee7f7dc79
Docs: Add http docs for lbac for datasources ( #93399 )
...
* Add: http docs for lbac for datasources
* spelling
* update with only cloud loki
* rename to lbac for datasources
* moved it
* Update _index.md
This commit fixes minor style and punctuation issus
* change datasource to data source
* replace datasource with data source
minor updates and style fixes
* minor style changes
* prettier
---------
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-09-18 11:54:21 +01:00
Juan Cabanas
af42f31fe6
ShareDrawer: Update documentation link buttons ( #93339 )
2024-09-18 11:53:02 +01:00
wt
f7232b997c
Dashboards: Fix typo in PublicDashboardNotAvailable component ( #93418 )
2024-09-18 12:56:08 +03:00
Alexander Zobnin
3e1fd80831
Docs: Add announcement banners to list of RBAC actions ( #93421 )
2024-09-18 11:54:11 +02:00
kay delaney
98a4d2858a
Dashboards: Fix 'days' unit pluralization ( #93326 )
2024-09-18 10:00:42 +01:00
Esteban Beltran
eb3f64b3f8
Chore: Fix issue-labeled workflow permission errors ( #93417 )
...
* Chore: Fix issue-labeled workflow permission errors
* fix comparison
2024-09-18 11:09:53 +03:00
Gabriel MABILLE
bfb25e33eb
RBAC: AccessControlOnCall general availability ( #93383 )
...
RBAC: GA accessControlOnCall
2024-09-18 08:58:05 +02:00
Alexander Akhmetov
e59ea00518
Alerting: Add TLS, QoS and retain options to the MQTT receiver ( #92331 )
2024-09-17 21:11:16 +02:00
Ryan McKinley
b52e6ba552
Chore: Convert tabs to spaces in playlists.cue ( #93403 )
2024-09-17 20:09:54 +03:00
Yuri Tseretyan
0f788d8d83
Alerting: Support for renaming receivers ( #93349 )
...
* update RenameReceiverInNotificationSettings in DbStore to check for provisioning
* implement renaming in receiver service and provisioning
* do not patch route when stitching
* fix bug in stitching because it returned new name but the old one was expected
* update receiver service to always return result converted from storage model this makes sure that UID and version are consistent with GET\LIST operations
* use provided metadata.name for UID of domain model because rename changes UID and request fails
* remove rename guard
* update UI to not disable receiver name when k8s api enabled
* create should calculate uid from name because new receiver does not have UID yet.
2024-09-17 19:07:31 +03:00
linoman
fb0d3b944a
SSO LDAP: Fix search base dns parsing ( #93179 )
...
* Fix parse of
* Add i18n files
* Add default value
* Replace input field with multiselect
* rename delete form function
* Use Controller for MultiSelect
2024-09-17 17:52:53 +02:00
Matthew Jacobson
1ea873950b
Alerting: Reject receiver update in config API when FlagAlertingApiServer enabled ( #93300 )
...
* Reject receiver update in config API when FlagAlertingApiServer enabled
2024-09-17 16:49:17 +03:00
kay delaney
cbf2aa993e
LibraryPanels: Fix folderUid nil pointer dereference ( #93400 )
2024-09-17 13:03:49 +00:00
Oscar Kilhed
4d50cb2b7b
Scenes: Ensure scenes dashboards interpolate variables in sql queries the same as old arch ( #93270 )
...
Ensure scenes dashboards interpolate variables in sql queries the same as old arch
2024-09-17 13:33:06 +01:00
Levente Balogh
f0ce33e569
Plugin.json schema: Update the meta-info for extensions ( #92732 )
...
* feat(plugin.json): update the extensions definition schema
* feat(plugin.json): add `exposedComponents` definition to the dependencies
* feat(plugin.schema.json): add descriptions for the new schema fields
* review: wrap extensions related dependencies
* review: add a pattern for the extension point id
* review: add a min-length to added link & component titles
* add a pattern to the exposed component id
2024-09-17 12:06:23 +00:00
Jean-Philippe Quéméner
10314585ec
fix(alerting): extend instant vector check for non-nullable types ( #93323 )
2024-09-17 13:20:40 +02:00
Misi
41cd0f5180
Auth: Add improvedExternalSessionHandling feature toggle ( #93385 )
...
Add improvedExternalSessionHandling feature toggle
2024-09-17 13:54:39 +03:00
Esteban Beltran
43cad93e62
Chore: use github app for issue commands workflow ( #93304 )
...
* Chore: use github app for issue commands workflow
* use it in issue-opened too
* update comments and permissions
* use issue app for triager token
* add spaces
* add config as requirement
* only run main if it has secrets
* Check for repository name,
* remove config work
* get secrets after sleep
2024-09-17 12:32:58 +02:00
antonio
aee9458d98
alerting>docs>notification template example ( #93330 )
...
* alerting>docs>notification template example
* all pretty no pity
* Update docs/sources/alerting/configure-notifications/template-notifications/create-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/create-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/create-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/template-notifications/create-notification-templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* replaced future tense
* pretty
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-09-17 10:27:44 +00:00
Artur Wierzbicki
1782b3dd39
Chore: Add update-workspace to build-go deps ( #93386 )
...
* Revert "Chore: Remove update-workspace from build-go deps (#93352 )"
This reverts commit 8a712fd510 .
* workspace update changes
2024-09-17 12:47:00 +03:00
Jan-Otto Kröpke
e2bce38a79
App Plugins: Allow resource handle to define Cache-Control Header ( #92559 )
2024-09-17 10:28:38 +02:00
Matheus Macabu
4f21ecf982
CloudMigrations: improve nil handling ( #93257 )
...
* CloudMigrations: fail token decryption if session is not found or without a token
* CloudMigrations: do not report event if session is nil
2024-09-17 08:59:47 +02:00
Ieva
f72401e23b
Docs: Add a doc page for RBAC for app plugins ( #93274 )
...
add a doc page for RBAC for app plugins
2024-09-16 10:14:52 +01:00
Todd Treece
d1ffcc22d9
Playlists: Migrate to App SDK codegen ( #93246 )
2024-09-13 16:27:40 -04:00
Todd Treece
8a712fd510
Chore: Remove update-workspace from build-go deps ( #93352 )
2024-09-13 14:09:09 -06:00
Todd Treece
80795fcfd5
Aggregator: Add README and example query ( #93351 )
2024-09-13 22:55:26 +03:00
Andrew Hackmann
3df62c28bb
InfluxDB: Add Influx to check if series need to be fixed labels ( #93299 )
...
add influx to check if series need to be fixed labels
2024-09-13 14:05:15 -05:00
Matthew Jacobson
3bf77d2e05
Alerting: Include in-use metadata in k8s receiver LIST & GET ( #93016 )
...
* Include in-use metadata in k8s receiver List & Get
2024-09-13 20:20:09 +03:00
Matthew Jacobson
bd9fc8127b
Alerting: Fix config api POST provenance guard ( #93244 )
...
* Add failing tests
* Fix bug in provenance guard on renaming receivers or moving integrations
* Linting
2024-09-13 12:42:33 -04:00
renovate[bot]
a5c122af78
Update dependency msw to v2.4.6
2024-09-13 16:06:46 +00:00
Juan Cabanas
683dbcf57c
ShareDrawer: Flaky test fixed ( #93345 )
2024-09-13 19:04:52 +03:00
Will Browne
ffbf6cf72d
Plugins: Add test case for relative parent directory path ( #93338 )
...
add case for testing relative path
2024-09-13 18:30:19 +03:00
brendamuir
bb923db279
Alerting docs: improve alert rule definitions ( #93321 )
...
* Alerting docs: improve alert rule definitions
* more edits
* corrects numbering
2024-09-13 17:29:48 +02:00
renovate[bot]
7ea2410272
Update dependency @grafana/faro-web-sdk to v1.10.0 ( #93335 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-13 16:25:58 +01:00
Gilles De Mey
70b5bd609c
Alerting: Update rules empty state CTA ( #93276 )
2024-09-13 18:21:17 +03:00
Victor Marin
a214fbd7cf
Fix panels in rows stuck in loading ( #93168 )
...
* Fix panels in rows stuck in loading
* fix
* fix + tests
* force reperform in case All value is selected and actual options change
* bump scenes so tests pass
* redo yarn.lock
* redo yarn.lock
2024-09-13 17:51:12 +03:00
oscarkilhed
ad6cd55301
update tests to include Selected (x) in variable multi select boxes
2024-09-13 17:32:52 +03:00
renovate[bot]
1641570c3e
Update dependency @grafana/scenes to v5.14.7
2024-09-13 17:32:52 +03:00
Josh Hunt
9fbd05773a
Chore: Clean up old API methods in manage-dashboards/actions ( #93329 )
...
Chore: Deprecate createFolder() function, and remove other unused functions
2024-09-13 17:11:41 +03:00
Juan Cabanas
c56870e511
ShareDrawer: Test coverage ( #93111 )
2024-09-13 11:01:21 -03:00
renovate[bot]
c87b3c4bbf
Update dependency @grafana/faro-core to v1.10.0 ( #93319 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-13 13:56:57 +01:00
Tom Ratcliffe
f9796f05fe
Alerting: Fix sending secure settings when using k8s API ( #93320 )
2024-09-13 15:01:05 +03:00
Carl Bergquist
56616e69a1
scopes: sort scope dashboard bindings on dashboard title ( #93305 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-09-13 07:51:08 -04:00
Sonia Aguilar
d28e76e93b
Alerting: Show a warning when contact point has not receivers in it ( #93318 )
...
Show a warning when contact point has not receivers in it
2024-09-13 14:40:52 +03:00
Sonia Aguilar
8a743b2e2f
Alerting: Fix reseting secure fields ( #93278 )
...
fix reseting secure fields
2024-09-13 13:33:26 +02:00
renovate[bot]
48dd1af524
Update dependency knip to v5.30.2
2024-09-13 11:33:11 +00:00
renovate[bot]
cbe850b558
Update dependency rudder-sdk-js to v2.48.18
2024-09-13 11:05:56 +00:00
renovate[bot]
dc2a777edb
Update dependency @types/jest to v29.5.13
2024-09-13 10:27:38 +00:00
Sonia Aguilar
be4798096a
Alerting: Fix incorrect warning for OnCall integration ( #93085 )
...
Remove warning when geting oncall metadata
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-09-13 11:59:00 +02:00
renovate[bot]
1783b47545
Update dependency eslint-plugin-react to v7.36.1 ( #93255 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-13 10:46:49 +01:00
Raiko Wielk
c539e3627c
Docs: Fix broken links in contribute/backend/README.md ( #92261 )
...
Co-authored-by: Dave Henderson <dhenderson@gmail.com >
2024-09-13 12:34:31 +03:00
hemerfaSICKAG
d54ede607c
Update playlist.md to align with Grafana 11 ( #92884 )
...
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-09-13 08:59:20 +00:00
Ashley Harrison
161d452841
Chore: Type improvements ( #93267 )
...
* some type fixes + ignore graveyard folder
* few more fixes
* remove comment
* ignore global styles
* few more type fixes
2024-09-13 09:50:55 +01:00
Piotr Jamróz
3514504240
Tracing: Remove redundant types ( #91835 )
...
* Display event name of a span
* Clean up
* Retrigger the build
* Show colon only when there are fields to display
* Rollback
* Use event name when exporting to OTLP
* Allow filtering spans by event name
* Remove redundant types
* Remove redundant TraceLog
* Update betterer report
2024-09-13 10:05:37 +02:00
Erik Sundell
8c702d4a6b
Plugin extensions: Make sure core features use new hooks ( #92723 )
...
* use new extensions APIs across grafana core
* setup setPluginLinksHook
* fix tests
* fix mock
* fix more broken tests
* use plugin components hook
* remove unused func
* fix tests
* remove unused import
2024-09-13 09:23:18 +02:00
Andres Martinez Gotor
01a4e6b9af
Remove the need for plugins to implement AdmissionHandler for v0alpha1 ( #93272 )
2024-09-13 09:08:26 +02:00
Kevin Minehart
d60a28b3c8
CI: Update grafanabot github token ( #93291 )
...
Update grafanabot github token
2024-09-12 14:37:30 -05:00
Matthew Jacobson
ff6a20f54a
Alerting: Include access control metadata in k8s receiver LIST & GET ( #93013 )
...
* Include access control metadata in k8s receiver List & Get
* Add tests for receiver access
* Simplify receiver access provisioning extension
- prevents edge case infinite recursion
- removes read requirement from create
2024-09-12 20:57:53 +03:00
Matthew Jacobson
0aa87fd1d4
Alerting: Fix DashboardUID typo in json provisioning api ( #65143 )
...
* Alerting: Fix dasboardUid typo in json provisioning api
The json tag for DashboardUID was incorrectly set to dasboardUid in the provisioning api. This change fixes the typo while keeping backwards compatibility for the typo.
* Add alerting-squad as CODEOWNER for services/provisioning/alerting
2024-09-12 20:44:03 +03:00
maicon
d1d578785c
Add remaining k8s endpoints for Folders ( #93146 )
...
* Add remaining Folders k8s endpoints
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* Remove duplicated import
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-09-12 14:38:27 -03:00
Yuri Tseretyan
f8fa5286a1
Alerting: Introduce alert rule models in storage ( #93187 )
...
* introduce storage model for alert rule tables
* remove AlertRuleVersion from models because it's not used anywhere other than in storage
* update historian xorm store to use alerting store to fetch rules
* fix folder tests
---------
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
2024-09-12 13:20:33 -04:00
Ashley Harrison
0a976f831c
Breadcrumbs: Tweak padding so they remain equally spaced ( #93284 )
...
tweak breadcrumb padding so it's equally spaced
2024-09-12 19:24:52 +03:00
Drew Slobodnjak
e6f359f90b
Transformations: Binary operation on all numbers ( #92172 )
...
* Transformations: Binary operation on all numbers
* Handle replaceFields option
* Change left clear out to string
* Handle time field
* Fix filtering
* Update new field names to remove double space
* Add tests
* Add BinaryValue interface and update editor
* Fix initial behavior
* Rollback rendering standards
* Add ctx interpolate
* Fix fixed value variable
* Add function to convert old binary value type
* Update tests for new structures
* Add bullet for all number field option
* baldm0mma/run content build script
* Disable alias control for type matching
2024-09-12 08:50:23 -07:00
Ashley Harrison
dceba35a55
Portal: Fix positioning when bodyScrolling is disabled ( #93277 )
...
fix portal when bodyScrolling is disabled
2024-09-12 16:24:36 +01:00
Laura Fernández
2a8f6755d5
Search: add folders and subforders to search info ( #93177 )
2024-09-12 17:20:54 +02:00
Alexa V
22fe575925
Dashboard Scene: Fix issue for Dashboard Datasource and library panel ( #93220 )
2024-09-12 16:49:22 +02:00
William Wernert
efe62086f9
Alerting: Add type label rule_group_rules metric ( #91425 )
...
* Add group and type labels to rule_group_rules metric
* Don't include group to avoid high cardinality
* Add comments
* Reset rule_group_rules before recording new values
* Edit description for rule_group_rules
* Include ruleGroup combo key in labels
* Fix lint
2024-09-12 17:27:09 +03:00
Ryan McKinley
45eb72e95a
K8s: Use wire to initalize the resource client ( #93221 )
2024-09-12 17:22:27 +03:00
brendamuir
85fbc8e8e5
Alerting docs: some edits to recording rules ( #93260 )
...
* Alerting docs: some edits to recording rules
* ran prettier
* removes refs
* fixes link
* fixing links
* corrects typo
* removes type step
* corrects typo
2024-09-12 14:00:12 +00:00
Jean-Philippe Quéméner
eabf3b9f73
feat(alerting): add support for query service instant vectors ( #92091 )
2024-09-12 15:33:00 +02:00
colin-stuart
04d9fa04a7
Auth: Prevent scheduled token rotation jobs with large delay from rolling back to 1 ms ( #93242 )
...
Auth: prevent scheduled token rotation jobs with large delay from rolling back to 1 ms
2024-09-12 09:21:30 -04:00
Tom Ratcliffe
03c48844dd
Chore: Remove MSW worker from source control and rely on installation instead ( #93268 )
2024-09-12 16:03:50 +03:00
Will Browne
3f8d127410
Plugins: Ensure only updateable plugins can be updated via the UI ( #93205 )
...
* only updateable plugins can be updated via the UI
* add missing state
* Apply levi brains
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* apply same style throughout
---------
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2024-09-12 13:51:50 +01:00
Raiko Wielk
3d9ae801cb
Docs: Fix broken links in contribute/**/*.md ( #92182 )
...
Co-authored-by: Dave Henderson <dhenderson@gmail.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-09-12 15:51:30 +03:00
Esteban Beltran
1c84e76d32
Triager: Add area/query-library to commands.json ( #92963 )
2024-09-12 14:46:45 +02:00
Arati R.
b918739a98
K8s/Folders: Add basic folder integration tests (create, read) ( #93232 )
...
* Add initial folder tests
* Add test for get/reading folders
* Compare legacy and k8s create and read
* Remove dependency on grafanaAPIServerWithExperimentalAPIs
2024-09-12 14:36:46 +02:00
Carl Bergquist
350c227da6
Scopes: Add more logging in custom handler ( #93263 )
...
scope api:add more logging in custom handler
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-09-12 15:03:16 +03:00
Jack Westbrook
29243658ce
Performance: Code split login page ( #92704 )
...
feat(frontend): lazy load login page
2024-09-12 14:01:08 +02:00
Bogdan Matei
2a2813b577
Scopes: Reload dashboards when on scopes change ( #92804 )
2024-09-12 13:58:45 +02:00
grafana-pr-automation[bot]
ce7533eb3b
I18n: Download translations from Crowdin ( #93211 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-12 13:20:22 +03:00
brendamuir
98f766a50d
Alerting docs: adds recording rule info ( #93204 )
...
* Alerting docs: adds recording rule info
* ran prettier
* Updates with feedback from pepe and removes external reference
* couple of minor edits
* removes reference
* feedback from sonia
* adds links per gilles
* adds correct version link
2024-09-12 12:06:23 +02:00
renovate[bot]
bc0d4f9903
Update dependency @grafana/aws-sdk to v0.4.2 ( #93253 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 10:23:41 +01:00
renovate[bot]
be0f2a131a
Update dependency type-fest to v4.26.1 ( #93238 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 09:33:53 +01:00
linoman
785240d51c
SSO LDAP: Add LDAP to providers list ( #93120 )
...
* Add LDAP to providers list
* fix bug when there are no group mappings
2024-09-12 10:31:24 +02:00
Tito Lins
a910188675
Replace prom MustRegister with Register ( #92725 )
2024-09-12 10:24:12 +02:00
janlugt
9d6935388c
Notifications: Add Message-ID header to outgoing emails ( #83752 )
...
* Add Message-ID header to outgoing emails
* change message-id format
* parse adddresses with name
2024-09-12 03:58:06 +00:00
Faye Lin
634d590cf1
Search: Fix a bug when searching folders under the general folder ( #91042 )
...
* fix: search returns all folders when folder uid is general
* test: add unit test for FolderUIDFilter when NestedFolders is enabled
2024-09-12 05:55:28 +02:00
renovate[bot]
b5dd8a5e89
Update dependency sass to v1.78.0 ( #93237 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-11 17:25:03 +01:00
renovate[bot]
14e29247aa
Update dependency rc-tree to v5.9.0 ( #93235 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-11 17:00:05 +01:00
Ieva
700636b3b9
RBAC: Hide the root level dashboard creation button from users who can't create dashboards on root level ( #92942 )
...
hide the root level dashboard creation button from users who can't create dashboards on the root level
2024-09-11 16:40:08 +01:00
Isabel Matwawana
1f7ebde0de
Revert "move Search page to Dashboards category" ( #93234 )
2024-09-11 11:12:24 -04:00
renovate[bot]
d0e2ab642c
Update dependency @grafana/plugin-e2e to v1.8.0 ( #93228 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-11 15:34:04 +01:00
Esteban Beltran
7b69d5b44f
Add missing permissions for auto-triage bot ( #93230 )
2024-09-11 16:51:15 +03:00
Will Browne
0469b0f52e
Plugins: Ensure fetch loading strategy cases for nested plugins ( #93209 )
...
* fix
* fix func name
2024-09-11 16:35:13 +03:00
Andreas Christou
f5926af99a
InfluxDB: Update macro regexp ( #93040 )
...
Update macro and tests
2024-09-11 14:26:09 +01:00
Raiko Wielk
9d5f8e2998
Docs: Fix broken link in contribute/backend/README.md ( #92103 )
...
Co-authored-by: Dave Henderson <dhenderson@gmail.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-09-11 14:18:56 +01:00
Brendan O'Handley
d41ee6bbc3
Explore metrics: Fix long metrics and labels in landing page ( #92443 )
...
* word wrap long metric names
* trunctate long labels
* use css for filters
2024-09-11 08:17:41 -05:00
renovate[bot]
ff5ed75ea9
Update dependency @grafana/scenes to v5.14.3
2024-09-11 13:13:25 +00:00
Leon Sorokin
77eefcbc4c
XYChart: Avoid tick collisions on x-axis ( #93195 )
2024-09-11 08:10:30 -05:00
Ashley Harrison
766e256c5c
Chore: Update mockServiceWorker version ( #93223 )
...
update version
2024-09-11 16:06:04 +03:00
Todd Treece
b4918f40c4
Chore: Update plugin SDK to v0.248.0 ( #93217 )
2024-09-11 15:17:29 +03:00
Gilles De Mey
90ee52e8d9
Alerting: New search UI – Part 1 ( #91620 )
2024-09-11 14:29:26 +03:00
Esteban Beltran
05023d9d31
Enable auto-triager to automatically add labels to community issues ( #93206 )
...
* Chore: Enable auto-triager to set labels
* pass the correct token to add labels
2024-09-11 12:53:16 +02:00
Irene Rodriguez
900608b50b
Update admonition to show differences across plans ( #93202 )
...
As per https://github.com/grafana/support-escalations/issues/11312#issuecomment-2342024943 , this PR updates the admonition to reflect that some features such as branding are not available for all plans.
2024-09-11 11:26:42 +01:00
Hugo Kiyodi Oshiro
ecd1a6e421
Plugins: Fix plugins count in update all plugins button ( #93126 )
...
* Plugins: Fix plugins count in update all plugins button
* Plugins: Fix new updates filter
* Plugins: Update tests
2024-09-11 12:12:06 +02:00
renovate[bot]
b18593ca4e
Update dependency msw to v2.4.5 ( #93161 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-11 11:03:29 +01:00
Daniel Strobusch
748425cd66
[docs] remove misplaced heading. ( #93166 )
2024-09-11 12:59:29 +03:00
Laura Fernández
902c658c9a
POC: Refresh footer on SaveDashboardAsForm when title and folder data change by the user ( #92330 )
2024-09-11 11:51:48 +02:00
Yulia Shanyrova
f88571c2e7
Plugins: Plugin details right panel UI improvements ( #93171 )
...
* UI improvements WIP
* change links appearance and layout for plugin details right panel
* Changed external links back
* Update public/app/features/plugins/admin/components/PluginDetailsRightPanel.tsx
Co-authored-by: David Harris <david.harris@grafana.com >
* Update public/locales/en-US/grafana.json
Co-authored-by: David Harris <david.harris@grafana.com >
* fix report abuse to report concern
---------
Co-authored-by: David Harris <david.harris@grafana.com >
2024-09-11 11:44:16 +02:00
Ryan McKinley
7efadb0a00
Testing: Integration tests for unified-grpc start a local gRPC server ( #93201 )
2024-09-11 11:50:14 +03:00
grafana-pr-automation[bot]
91c3e3478a
I18n: Download translations from Crowdin ( #93185 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-11 09:32:21 +01:00
Ashley Harrison
79a86b9e6a
Chore: Improve typings ( #93180 )
...
* fix some any's/type assertions
* fix some more any/type assertions
2024-09-11 09:30:33 +01:00
Alex Khomenko
25ebb5b76f
Users/teams: Update to be compatible with react router 6 ( #93163 )
...
* UserCreatePage: Make compatible with react router 6
* ServiceAccountPage.test: Make compatible with react router 6
* Update TeamPages
2024-09-11 10:02:11 +03:00
Yuri Tseretyan
cb372d3fa8
Alerting: Support secrets in contact points nested fields ( #92035 )
...
Back-end:
* update alerting module
* update GetSecretKeysForContactPointType to extract secret fields from nested options
* Update RemoveSecretsForContactPoint to support complex settings
* update PostableGrafanaReceiverToEmbeddedContactPoint to support nested secrets
* update Integration to support nested settings in models.Integration
* make sigv4 fields optional
Front-end:
* add UI support for encrypted subform fields
* allow emptying nested secure fields
* Omit non touched secure fields in POST payload when saving a contact point
* Use SecretInput from grafana-ui instead of the new EncryptedInput
* use produce from immer
* rename mapClone
* rename sliceClone
* Don't use produce from immer as we need to delete the fileds afterwards
---------
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com >
Co-authored-by: Matt Jacobson <matthew.jacobson@grafana.com >
2024-09-10 22:26:23 -04:00
Juan Cabanas
78ce9b8f39
ShareDrawer: Remove URL param in share externally cancel ( #93191 )
2024-09-10 17:48:45 -03:00
Isabel Matwawana
1c52d7b994
Docs: Update forward direction search for Loki entry ( #92875 )
2024-09-10 16:48:32 -04:00
Leon Sorokin
e9901acfb4
TimeSeries: Increase y-axis tick density for small-height panels ( #93188 )
2024-09-10 15:20:24 -05:00
Juan Cabanas
afe457306a
ShareDrawer: Change alert texts ( #93184 )
2024-09-10 17:11:54 -03:00
Andreas Christou
00ace4678c
GCM: Add errorsource ( #92151 )
...
* Add errorsource
* Minor lint fixes
2024-09-10 19:34:20 +01:00
Oscar Kilhed
acbd50c7d6
GrafanaUI: Add select all toggle to selectbox ( #92483 )
...
* Add select all toggle
2024-09-10 20:33:17 +02:00
Ryan McKinley
d724d463b1
DualWriter: Add mode 5 that always uses storage ( #93169 )
2024-09-10 13:07:06 -04:00
Gilles De Mey
c8dc4d93d4
Alerting: Rename list view section titles ( #93182 )
2024-09-10 19:31:11 +03:00
Gabriel MABILLE
697afc71b4
RBAC: FIX Allow specifying several valid scopes for a kind ( #93176 )
...
* PermRegistry: Fix regression with actions applying to multiple scopes
* Add tests
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-09-10 17:22:40 +01:00
Irene Rodriguez
3f9227183d
move Search page to Dashboards category ( #92968 )
...
* move Search page to Dashboards category
* fix Vale suggestions
* Update docs/sources/dashboards/search/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-09-10 18:14:11 +02:00
Joao Silva
15bf1348ab
GrafanaUI: Show focus on selected date of the date picker ( #93181 )
2024-09-10 16:51:53 +01:00
linoman
56f361198c
SSO LDAP: Adjust button behavior ( #93173 )
...
* Extract getSettings behaviour
* Replace string values format
* Reload settings
* Add new option to discad settings
* update i18n files
* run frontend linter
2024-09-10 18:06:40 +03:00
Matthew Jacobson
eea28172e0
Alerting: Add field selectors for k8s receivers API ( #93015 )
...
Add field selectors for k8s receivers API
metadata.provenance
spec.title
2024-09-10 10:58:14 -04:00
Adela Almasan
f64b121ddb
Canvas: Allow API calls to grafana origin ( #91822 )
...
* allow post URL
* check for config
* allow relative paths
* add allowed internal pattern; add checks for method
* update defaults.ini
* add custom header
* update config comment
* use globbing, switch to older middleware - deprecated call
* add codeowner
* update to use current api, add test
* update fall through logic
* Update pkg/middleware/validate_action_url.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update pkg/middleware/validate_action_url.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* add more tests
* Update pkg/middleware/validate_action_url_test.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* fix request headers
* add additional tests for all verbs
* fix request headers++
* throw error when method is unknown
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
Co-authored-by: Brian Gann <bkgann@gmail.com >
Co-authored-by: Brian Gann <briangann@users.noreply.github.com >
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-09-10 10:45:27 -04:00
Esteban Beltran
462560d544
Chore: Only auto-triage issues for authors non associated to the repository ( #93174 )
...
Only triage issues for authors non associated to the repository
2024-09-10 16:29:58 +02:00
Tobias Skarhed
096105fed6
New Select: Try it out with some core components ( #92826 )
...
* Export Combobox and add portalling
* Use floatingui fixed strategy and fix z-index
* Check non null
* Make value string type only
* Try with fiscal year setting
* Use combobox for WeekStartPicker
* Improve screen reader handling
* Fix faulty import
* Fix type issue
* Fix failing tests and export unstable
* Rename option and remove export
* Use comboboxMockSetup function
* Add support for number type
* menuClosed styles to emotion
2024-09-10 17:28:00 +03:00
Aaron Godin
2c93120a42
feat: add QueryIntWithDefault to web context ( #93130 )
2024-09-10 09:04:49 -05:00
Ryan McKinley
22c63ea3c5
DualWriter: remove mode4 wrapper ( #93172 )
2024-09-10 16:01:14 +03:00
Ryan McKinley
2f792ee4ae
DualWriter: Return error for unsupported watch ( #93159 )
2024-09-10 15:42:17 +03:00
Jack Westbrook
e3fd9f9e58
Fix: Resolution of css for plugins using loadPluginCSS ( #93128 )
...
* fix(plugins): resolve loadPluginCss urls for filesystem and cdn hosted plugins
* fix(plugins): should a registry lookup fail in getLoadPluginCssUrl fallback to relative path
* refactor(plugins): rename var to id for legibility
* test(plugins): add some extra test cases for getLoadPluginCssUrl function
2024-09-10 14:35:21 +02:00
Laura Fernández
1701dc85e7
A11y: Focus outline is not fully visible in several areas of the application ( #93030 )
2024-09-10 13:50:12 +02:00
Gábor Farkas
c48caf0921
logging: log plugin request start ( #92925 )
...
log plugin request start
2024-09-10 13:25:50 +02:00
Ryan McKinley
9210414782
K8s: support unstructured spec+status mutation with GrafanaMetaAccessor ( #92970 )
2024-09-10 13:32:18 +03:00
renovate[bot]
86b9f76291
Update dependency knip to v5.30.1 ( #93155 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 11:23:09 +01:00
grafana-pr-automation[bot]
3278ab543b
I18n: Download translations from Crowdin ( #92834 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-10 11:22:44 +01:00
Leonor Oliveira
8d2b8378ed
Remove UID on update in dual writer mode 2 ( #93032 )
...
* Remove UID on update in dual writer mode 2
* WIP: add dashboard tests
* Add more crud tests for dashboards in each mode
* trigger build
* Fix test
2024-09-10 11:57:28 +02:00
Arati R.
b12a29a1da
K8s: Implement partial folders api with k8s client ( #93089 )
...
* Add kubernetes folder feature toggle
* Add kubernetes routes for getting and creating a folder
* Add documentation for interacting with k8s folders
2024-09-10 11:22:08 +02:00
Ashley Harrison
442bb1d35f
Internationalization: make i18nKey required in grafana-ui as well ( #93154 )
...
make i18nKey required in grafana-ui as well
2024-09-10 12:20:30 +03:00
Eric Leijonmarck
f3ede1f53d
Datasources: allow for query but with warning ( #93091 )
...
allow for query but with warning
2024-09-10 10:19:02 +01:00
renovate[bot]
544dbce708
Update dependency i18next to v23.15.1 ( #93153 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 12:14:28 +03:00
Jay
c4e0baa95f
Update _index.md ( #92790 )
...
Update to explain grafana_net is older and grafana_com is the preferred config name. However, grafana_net config is still accepted and parsed to grafana_com config.
2024-09-10 09:06:13 +00:00
renovate[bot]
691f93b204
Update dependency re-resizable to v6.9.18
2024-09-10 08:52:38 +00:00
Ieva
3197c5de8d
RBAC: Add available scopes to RBAC docs ( #93131 )
...
* update the list with some allowed RBAC scopes
* extend the http api docs as well
* display without bulletpoints
* add prettier ignores
2024-09-10 08:50:03 +00:00
Levente Balogh
831493278f
UI Extensions: Share the registries using a React context ( #92014 )
...
* feat: add a context for the extension registries
* feat: add a provider for registries to `AppWrapper`
* feat(extensions): add a read-only registry version
* feat: share the registry for exposed components using the context
* fix: tests
* feat: share the registry for added components using the context
* feat: share the addedLinks registry using react context
* use read-only registry versions
2024-09-10 10:42:07 +02:00
renovate[bot]
9255230d02
Update dependency @playwright/test to v1.47.0 ( #93138 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-10 09:30:22 +01:00
Pepe Cano
7eb7b51dce
Docs: update IAM links for Cloud docs ( #93147 )
2024-09-10 09:33:45 +02:00
Jack Baldry
639b1319fd
Use Docker Compose V2 if available but fall back to V1 with warning ( #93082 )
2024-09-10 07:36:41 +01:00
Ryan McKinley
aac66e9119
Slugs: use shorter slug fallback ( #93081 )
2024-09-10 09:04:23 +03:00
Leon Sorokin
f650a17030
Transformations: Fix inner join by field for zero-length frames ( #93144 )
2024-09-09 21:22:03 -05:00
Juan Cabanas
644a315667
ShareDrawer: Improvements ( #93107 )
2024-09-09 19:32:45 -03:00
Señor Performo - Leandro Melendez
40b5c30b94
docs: Update Gauges adding why, how with data reqs and images ( #92451 )
...
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-09-09 16:24:50 -04:00
renovate[bot]
baa0f073d8
Update dependency eslint-plugin-jest to v28.8.3
2024-09-09 20:08:40 +00:00
renovate[bot]
1e6735706d
Update dependency @types/node to v20.16.5
2024-09-09 19:39:19 +00:00
Alyssa (Bull) Joyner
0049e4f997
Add basic logs enabled check ( #92324 )
2024-09-09 13:35:56 -06:00
renovate[bot]
951f676ac8
Update dependency @grafana/plugin-e2e to v1.7.2
2024-09-09 18:50:49 +00:00
Leon Sorokin
53e59b27cd
FieldColor: Prefer displayName for hashing ( #93062 )
...
* FieldColor: Prefer displayName for hashing
2024-09-09 17:58:22 +00:00
Ashley Harrison
a6e2962319
update mock to work with react-virtual
2024-09-09 19:19:30 +03:00
renovate[bot]
b5d218e06e
Update dependency @grafana/scenes to v5.14.2
2024-09-09 19:19:30 +03:00
Aaron Godin
6ded6a8872
feat: Add feature toggle for groupAttributeSync ( #93116 )
2024-09-09 10:29:43 -05:00
Andreas Christou
11c1af0c5f
AzureMonitor: Remove Basic Logs retention warning ( #92870 )
...
Remove retention warning
2024-09-09 16:15:55 +01:00
Joao Silva
94068977f5
GrafanaUI: Improve Switch cursor focus on screen readers ( #93100 )
2024-09-09 16:06:05 +01:00
Esteban Beltran
0fb2eacba1
Chore: Move auto-triager workflow to issue-opened workflow file ( #93101 )
...
* move auto-triager to issue-opened workflow
* remove autotriager from codeowners
2024-09-09 16:44:01 +02:00
linoman
904b0a9ee6
SSO LDAP: Fix documentation render ( #93041 )
...
* Fix documentation link render
* Add i18n changes
2024-09-09 16:32:23 +02:00
Adela Almasan
af48d3db1e
Canvas: Add actions support ( #90677 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-09-09 09:11:55 -05:00
Kyle Brandt
b89f3f8115
Ad-Hoc Filters & Scopes: don't remap one-of to regex in frontend ( #92995 )
...
* send "one-of" and "not-one-of" directly to datasource (instead of changing them to regex)
* Added to Ad-hoc and and Scope Filters: The "values" prop ([]string) and the "one-of" and "not-one-"of" operators. "values" is used with one-of and not-one-of.
* adds prometheus support for the above
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
Co-authored-by: Todd Treece <todd.treece@grafana.com >
2024-09-09 16:56:43 +03:00
Andreas Christou
9c7029fa3e
Azure: Upgrade grafana-azure-sdk-go ( #93009 )
...
* Upgrade grafana-azure-sdk-go
* Run update-workspace
* Update go work
* Fix deps
* Update go.sum
2024-09-09 16:44:35 +03:00
Oscar Kilhed
c0df15dcde
InfluxDB: Fix variable interpolation in influx db ( #92988 )
...
Fix variable interpolation in influx db
2024-09-09 15:35:30 +02:00
Ashley Harrison
58907a8464
i18n: Add test to check languages match a canonical locale ( #93105 )
...
add test to check languages match a canonical locale
2024-09-09 14:25:49 +01:00
Alex Khomenko
2585c58dd4
OptionsUI: Change owners to dashboard squad ( #92592 )
...
* OptionsUI: Change owners to dashboard squad
* Update .github/CODEOWNERS
Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com >
---------
Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com >
2024-09-09 16:21:05 +03:00
Alex Khomenko
7e4500c7c9
Dashboards: Update tests to be compatible with react router 6 ( #93080 )
...
* Dashboards: Update tests to be compatible with react router 6
* Update VersionsSettings.test
* Update DashboardGrid.test
* Update TimeSrv.test
* Remove redundant mock
* Update PublicDashboardListTable.test
* Update PlaylistEditPage.test
* Revert TimeSrv changes
2024-09-09 16:03:57 +03:00
Andreas Christou
4ab61cea0e
MSSQL: Add errorsource ( #92152 )
...
* Add errorsource to mssql
* Fix args
* Use fmt.Errorf
2024-09-09 14:02:09 +01:00
Tom Ratcliffe
ef486133c2
Alerting: Make query wrapper match up datasource UIDs if necessary ( #93057 )
2024-09-09 14:01:46 +01:00
Polidoro-root
3fde6bd730
I18n: Add constants value tests to avoid typos ( #93070 )
2024-09-09 15:49:47 +03:00
Claudiu Dragalina-Paraipan
3aeb8d390e
[authn] update authlib and claims versions ( #93098 )
...
* update authlib version to latest
* make update-workspace -- 2nd run
* manual cleanup of old version
2024-09-09 15:45:59 +03:00
Andrej Ocenas
5e2ac24890
Sidecar: Add split view and basic APIs for extensions ( #91648 )
...
* Add split view and basic APIs to extensions
* Add comments
* Update public/app/AppWrapper.tsx
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* Moved the .grafana-app element and deduplicate some code
* Remove the provider variants of usePluginLinks/Components
* Change buildPluginSectionNav
* Update comment
* Use eventBus
* Remove non existent exports
* refactor: use a sidecar service to encapsulate the state
* Don't wrap single app in split wrapper
* Use hook splitter
* Remove inline styles
* Type the style props from useSplitter
* Move the overflow style changes to appWrapper
* Deduplicate some common top level providers
* Move modals
* Move routes wrappers to it's own file
* Use better css and add comments
* Remove query rows app extension point
* Fix test
---------
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2024-09-09 14:45:05 +02:00
Ieva
ba9f1da28e
Data sources: Hide the datasource redirection banner for users who can't interact with data sources ( #92886 )
...
* hide the datasource redirection banner for users who can't list data sources
* readding explore evaluation
* add a test
2024-09-09 14:50:09 +03:00
ismail simsek
6548ea377d
Chore: Bump grafana-plugin-sdk-go version to v0.247.0 ( #93095 )
...
* Bump grafana-plugin-sdk-go version to v0.247.0
* make update-workspace
* make update-workspace
2024-09-09 14:36:59 +03:00
Gábor Farkas
7afe6d7023
CODEOWNERS: improve ownership of query apis ( #93087 )
2024-09-09 14:31:05 +03:00
ismail simsek
5ecc927f08
Explore Metrics: Skip DataTrailsHistory tests ( #93096 )
...
* Fix tests
* Skip tests
* revert the change
2024-09-09 14:10:36 +03:00
Alex Khomenko
adf1402ff8
Grafana/ui: Update Link component to react router 6 ( #92976 )
...
* Grafana/ui: Update Link component to react router 6
* Add compat package to grafana/ui
2024-09-09 13:54:43 +03:00
Will Browne
2c47d246fc
Plugins: Introduce LoadingStrategy for frontend loading logic ( #92392 )
...
* do it all
* feat(plugins): move loadingStrategy to ds pluginMeta and add to plugin settings endpoint
* support child plugins and update tests
* use relative path for nested plugins
* feat(plugins): support nested plugins in the plugin loader cache by extracting pluginId from path
* feat(grafana-data): add plugin loading strategy to plugin meta and export
* feat(plugins): pass down loadingStrategy to fe plugin loader
* refactor(plugins): make PluginLoadingStrategy an enum
* feat(plugins): add the loading strategy to the fe plugin loader cache
* feat(plugins): load fe plugin js assets as script tags based on be loadingStrategy
* add more tests
* feat(plugins): add loading strategy to plugin preloader
* feat(plugins): make loadingStrategy a maybe and provide fetch fallback
* test(alerting): update config.apps mocks to include loadingStrategy
* fix format
---------
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
2024-09-09 10:38:35 +01:00
Andreas Christou
d61530941a
AzureMonitor: Add errorsource ( #92094 )
...
* Add errorsource
* Migrate to individually build metric queries
* Migrate logs queries to be built individually
* Migrate to individually build resource graph queries
2024-09-09 10:29:35 +01:00
Victor Marin
8eb7e55f8f
DashboardScenes: Fix duplicate query modifying original query on panel duplication ( #93038 )
...
make sure queries are cloned on panel duplicate
2024-09-09 10:09:22 +03:00
Leon Sorokin
fc4b3a2b03
Prometheus: Retain time field's interval with Table formatted queries ( #93065 )
2024-09-08 13:18:58 -05:00
Pepe Cano
c43bd82c92
IAM Docs: replace relref with refs links to enable IAM docs in Grafana Cloud docs ( #92890 )
...
* Update `refs` links in `Service accounts` to enable the Cloud docs
* Update `refs` links in `Migrate API keys` to enable the Cloud docs
* Update `refs` links in `RBAC docs` to enable the Cloud docs
* 2 - Update `refs` links in `RBAC docs` to enable the Cloud docs
* 3 - Update `refs` links in `RBAC docs` to enable the Cloud docs
* Apply Jack suggestions
* Set `folder permissions` for OSS and Cloud
* Set adminition shortcode to support GC ref links
* Fix `//` in URLs
2024-09-07 08:02:59 +02:00
Jean-Philippe Quéméner
368c4e53f1
feat(apiserver): refactor the hooking mechanism for standalone apiserver ( #93001 )
...
It now uses a full build handler chain that can be passed from up top to `SetupConfig`.
Co-authored-by: Charandas Batra <charandas.batra@grafana.com >
2024-09-06 14:12:12 -07:00
Larissa Wandzura
a1a18922e5
Docs: Minor updates to Explore metrics ( #93053 )
...
fixed some wording for clarity
2024-09-06 13:22:50 -05:00
Russ
c71aae8c5c
Icons: update Asserts menu icon ( #92888 )
...
Chore: update Asserts menu icon
2024-09-06 10:08:30 -08:00
Dave Henderson
e1090db5d9
Chore: Bump Go to 1.23.1 ( #93007 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-09-06 20:58:50 +03:00
Lucy Chen
2218841aa6
SharePanel: Add icons to panel options Share and More ( #92622 )
...
* add icon
* update icons
* add svg
* update legend
* remove new svg
* try again
* remove again
* add legend icons
* make review changes
2024-09-06 12:25:35 -05:00
Todd Treece
85759da360
Tracing: Add Start helper ( #93052 )
2024-09-06 13:02:17 -04:00
Tito Lins
539d363d2c
Create histogram and observe grafana config size ( #93028 )
2024-09-06 18:25:16 +02:00
Andre Pereira
72ed3107fa
Tempo: Remove usage of traceQLStreaming feature toggle ( #93033 )
...
* Remove usage of traceqlStreaming feature toggle and stop checking for Tempo version
* Increase Grafana Live's ClientQueueMaxSize to 4mb to support larger responses from Tempo
2024-09-06 16:12:21 +01:00
Irene Rodriguez
ffa925718e
fix broken link in backend style guide ( #93049 )
...
fix broken link
2024-09-06 15:03:50 +00:00
Josh Hunt
cad56df002
Make Combobox Storybook story public, with indev disclaimer ( #93042 )
2024-09-06 17:56:03 +03:00
Alex Khomenko
3d6c938e59
RolePicker: Improve overlay positioning ( #92590 )
...
* RolePicker: Improve overlay positioning
* Fix vertical position
* More fixes
2024-09-06 17:36:55 +03:00
Torkel Ödegaard
3111f23bf1
ViewPanel: Refactoring to simplify logic by rendering the source panel instead of a clone ( #93000 )
...
* ViewPanel: Refactoring to simplify logic by rendering the source panel instead of a clone
* Moved util function to utils
* Update
2024-09-06 16:00:59 +02:00
Sonia Aguilar
427af2e7ec
Ops: Add query param essentials to open Essentials drawer ( #93023 )
...
* Add query param essentials to open Essentials drawer
* use query param for keeping the state of the essentials drawer
2024-09-06 15:55:33 +02:00
linoman
9b2c2be82d
SSO LDAP: Add login form alert ( #93037 )
...
* add alert if login form is disabled
* add i18n texts
2024-09-06 16:13:22 +03:00
Juan Cabanas
8b2091ee4f
ShareDrawer: Improvements ( #92956 )
2024-09-06 09:37:00 -03:00
Martin Lehmann
55abfd7858
Docs: fix a typo on the Configure Grafana page (oentelemetry -> opentelemetry) ( #93021 )
...
chore(docs): fix a typo on the Configure Grafana page (oentelemetry -> opentelemetry)
2024-09-06 07:35:35 -05:00
Laura Benz
1be0105eb7
RestoreDashboards: Show root location as 'Dashboards' in folder picker ( #92936 )
...
* refactor: replace label if its value is Root
* refactor: replace label in the backend
2024-09-06 14:19:39 +02:00
João Calisto
a45ec2670d
chore(tests): fix flaky SMTP test ( #93031 )
2024-09-06 13:17:26 +01:00
linoman
8ea374b773
SSO LDAP: Add Group Mappings field ( #92993 )
...
* Add GroupMApping component
* Add remove/add buttons
* Implement role fields
* Change value as number for org ids
* Add i18n extracts
* Use conditional for GrafanaAdmin switch
2024-09-06 13:42:33 +02:00
Joao Silva
20f7e11987
Restore Dashboards: Revert e2e tests ( #93026 )
2024-09-06 11:18:49 +01:00
Ryan McKinley
3cf84d1921
Chore: update centrifuge library ( #93020 )
2024-09-06 12:17:43 +03:00
Pepe Cano
e87140bf75
API Docs: create Authentication page and order sidebar menu ( #92900 )
...
* API Docs: create `Authentication` page and order sidebar menu
* fix minor typos
* Update capitalization
We don't capitalize titles as per https://grafana.com/docs/writers-toolkit/write/style-guide/capitalization-punctuation/
* Update docs/sources/developers/http_api/examples/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/developers/http_api/authentication.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
---------
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-09-06 08:17:20 +02:00
Ivan Ortega Alba
d8c3645f31
TextVariable: Datalinks do not update variable value ( #93003 )
2024-09-05 22:19:30 +02:00
ismail simsek
9e6e41c6f8
Explore Metrics: Fix infinite loop while opening a panel in explore metrics ( #92946 )
...
* Fix infinite loop while opening a panel in explore metrics
* clean up
2024-09-05 21:04:43 +02:00
ismail simsek
0ba808805e
Explore Metrics: Fix existing parent error while opening a panel in explore metrics ( #92948 )
...
Fix exiting parent error while opening a panel in explore metrics
2024-09-05 21:04:33 +02:00
Ivan Ortega Alba
ae0e970bef
DetectChanges: Serialize message payload to avoid non-clonable props ( #92831 )
...
Detect changes: Serialize message payload to avoid non-clonable properties
2024-09-05 20:52:05 +02:00
Ivan Ortega Alba
35ba8fbad1
AutoSizeInput: Allow to be controlled by value ( #92997 )
2024-09-05 20:50:40 +03:00
Claudiu Dragalina-Paraipan
d5ebaa0ef9
[authn] adding appPlatformAccessTokens featureflag ( #92991 )
...
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2024-09-05 19:18:44 +03:00
Claudiu Dragalina-Paraipan
1ce43b4c42
[authn] update authlib and claims versions ( #92987 )
...
* update authlib and claims versions
* 2nd make update-workspace
* manual fix
2024-09-05 19:17:15 +03:00
linoman
a0c886922e
Auth: Add LDAP scope to Grafana Admin ( #92990 )
...
Add LDAP scope to Grafana Admin
2024-09-05 17:15:47 +01:00
Ashley Harrison
6b6355e418
Chore: migrate _grid SCSS styles to emotion globals ( #92986 )
...
migrate _grid styles to emotion globals
2024-09-05 16:39:12 +01:00
Victor Marin
4a4e3a4063
DashboardScenes: Use behavior for library panels ( #90886 )
...
* wip - refactor using libPanelBehavior
* wip
* wip
* wip
* migrate test
* wip
* nearly all tests done, except one commented which breaks
* migrate last test
* revert defaults.ini
* fix tests
* tests + fixes
* fix
* fix bug -- adding lib panel through CTA in empty dashboard didn't enter edit mode
* show unsaved lib panel changes modal
* fix height problems
* fix
* LibPanelBehavior: Fixes view panel and edit panel full page reload issues (alt fix) (#92850 )
* LibPanelsBehavior: Fixes view panel
* Sort of working except panel edit
* Got panel edit working
* LibraryPanelsBehavior: Simpler fix
* Cleanup
* Remove more stuff
* Update tests
* fix tests
* Work around timing issues
* remove log
* fix repeated panels not showing due to gridItem height not being set + translations
* remove log that affects tests
---------
Co-authored-by: Victor Marin <victor.marin@grafana.com >
* fix translations
* Fix save issue
---------
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2024-09-05 18:08:25 +03:00
Jev Forsberg
d3ceaf41c2
CI/CD: Update retry logic for package validation ( #92943 )
...
* baldm0mma/retry_command/ update retry logic for package validation
* baldm0mma/retry_command/ update to 15 minutes
* baldm0mma/retry_command/ update to 30 minute retry
* baldm0mma/retry_command/ make drone
2024-09-05 08:34:05 -06:00
Karl Persson
bc20592fd4
IAM: Add and use identity ref ( #92978 )
...
* Add and use identity ref
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2024-09-05 16:10:23 +02:00
Matheus Macabu
95ef2a1eb2
CloudMigrations: Fix snapshot creation on Windows systems ( #92941 )
...
* cloudmigration: improve error logging stringify body
* deps: update migration snapshot library to v1.3.0 (fix to Windows)
2024-09-05 15:34:20 +02:00
Hugo Kiyodi Oshiro
c6fb9884a0
Plugins: Add sync update all plugins in cloud ( #92742 )
2024-09-05 15:04:37 +02:00
Ashley Harrison
82fe497b9d
Chore: remove adhocFilterOneOf toggle ( #92979 )
...
remove adhocFilterOneOf toggle
2024-09-05 15:49:24 +03:00
Claudiu Dragalina-Paraipan
085aaec958
Fix playlist tests ( #92837 )
2024-09-05 15:41:28 +03:00
Santiago
87f4df4bc3
Remote Alertmanager: update github.com/go-openapi/runtime (v0.27.1 -> v0.28.0) ( #92951 )
2024-09-05 08:47:38 -03:00
Karl Persson
2bfa607ad0
ServiceAccount: Update service account api resource and add service account token ( #92972 )
...
* Create own legacy store function to list service accounts and update api model
* Add service account tokens as a sub resource for service accounts
2024-09-05 13:43:54 +02:00
Arati R.
47cd8288cd
SearchV2: Fix reading library panels ( #92961 )
...
* Fix reading of library panel field
* Add test to check reading of library panel field
2024-09-05 13:42:15 +02:00
Mihai Doarna
ebd17adecf
API keys: Return 410 Gone status from POST /auth/keys endpoint ( #92965 )
...
* return 410 Gone status from POST /auth/keys endpoint
* generate swagger
* remove postAPIkeyResponse
* re-generate swagger
* remove docs for api key creation endpoint
2024-09-05 13:10:24 +03:00
renovate[bot]
de5bbd2539
Update dependency rc-cascader to v3.28.1 ( #92931 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 10:53:59 +01:00
Ryan McKinley
5441e4c752
Storage: create a client with access to all interfaces, not just ResourceStore ( #92967 )
2024-09-05 12:52:30 +03:00
Ryan McKinley
9338e40dc3
K8s/IAM: Move identity.grafana.app to iam.grafana.app ( #92929 )
2024-09-05 09:43:54 +03:00
Torkel Ödegaard
aae788ae46
DashboardScene: Add browser history step when changing time range ( #92950 )
...
DashboardScene: Upgrade scene and turn on url history
2024-09-05 07:43:52 +02:00
Dave Henderson
c00a3bed42
chore(tests): Attempting to fix flaxy SMTP unit test ( #92786 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-09-04 16:25:44 -04:00
kay delaney
d8b6a5bde2
DashGPT: Fixes issue with generation on Safari ( #90337 )
...
* DashGPT: Fixes issue with generation on Safari
* Fix infinite loop issue + more refactoring
* Solve linter
---------
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com >
2024-09-04 18:56:20 +03:00
Marcus Efraimsson
0a337ff3b3
Chore: Update SDK to v0.246.0 ( #92938 )
2024-09-04 17:30:37 +02:00
Ashley Harrison
d14a551ee8
Chore: Migrate _reboot SCSS styles to emotion globals ( #92934 )
...
migrate reboot styles to emotion globals
2024-09-04 16:27:07 +01:00
Ashley Harrison
86844142a9
Translations: Crowdin action now works on subsequent pushes ( #92939 )
...
* try using the generated token in the checkout action
* comment out github_user_name
* try adding with: token
* try env var
* try removing github_user_name
* restore user_name etc
* update action
* try persist-credentials: false;
* remove persist-creds false
* test
* restore github actions name
2024-09-04 16:20:00 +01:00
Joao Silva
b20017cf8c
Restore Dashboards: Add e2e tests ( #92514 )
2024-09-04 15:47:15 +01:00
antonio
1d5dffc51d
update commmands.json ( #92930 )
2024-09-04 17:02:32 +03:00
Brendan O'Handley
4bf350cc62
Prometheus: Variable query editor, display selected label when using query type of label values ( #92513 )
...
display label, add test
2024-09-04 08:11:17 -05:00
Gabriel MABILLE
cffaefddc3
Signer: Fix typo ( #92928 )
2024-09-04 15:01:24 +02:00
renovate[bot]
c17d1a3a4c
Update dependency rc-slider to v11 ( #92921 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 12:57:31 +01:00
renovate[bot]
58d9bc2cad
Update dependency react-calendar to v5 ( #92922 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 12:55:14 +01:00
Ryan McKinley
cb484f9883
K8s: Move ResourceInfo from common to utils ( #92924 )
2024-09-04 14:53:14 +03:00
Hugo Kiyodi Oshiro
668d87b19f
Plugins: Add message on levitate workflow failure ( #92906 )
2024-09-04 13:52:42 +02:00
renovate[bot]
7c88d50ac4
Update dependency blob-polyfill to v9 ( #92919 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 12:41:25 +01:00
renovate[bot]
b404dabc55
Update dependency rimraf to v6 ( #92923 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 12:40:52 +01:00
renovate[bot]
468c1fcb9c
Update dependency glob to v11 ( #92920 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 14:03:38 +03:00
renovate[bot]
d9dc7cba50
Update dependency eslint-plugin-jsx-a11y to v6.10.0 ( #92917 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 11:48:21 +01:00
Eric Leijonmarck
ded95af136
LBAC for datasources: doc improvements ( #92872 )
...
* LBAC for datasources: doc improvements
* fixed formatting of prettier
* Update docs/sources/administration/data-source-management/teamlbac/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-09-04 11:21:29 +01:00
linoman
b213ecc2dd
SSO LDAP: Add configuration for root ca, client key and client certificate ( #92866 )
...
* Add missing properties with `_value` prefix
* Add RadioButtonGrpoup
* Add file/value section for certs
* Add mapping for keys and certificates
* Rename base and file types
* Add styles
* Add base64 values configuration flags
* Add function to render root ca certificate contents
* generate i18n files
2024-09-04 12:19:45 +02:00
renovate[bot]
13c8f4d212
Update dependency postcss to v8.4.45
2024-09-04 10:17:55 +00:00
Andreas Christou
8daa6f1f30
CI: Ensure changelogs are prettified prior to commit ( #92580 )
...
* Ensure changelogs are prettified prior to commit
* Remove cache property
* Include .yarn directory
* Include packages directory
* Try just using npx
* Update workflows
2024-09-04 11:03:17 +01:00
Sonia Aguilar
14e1403b9e
Alerting: Recording rules detail view nits ( #92643 )
...
* Hide some fields in the details tab (view page) when it's a grafana recording rule
* link to the explore view from the metric name in the detail view
* Revert "link to the explore view from the metric name in the detail view"
This reverts commit 3c17d16cf6 .
* move logic to usePendingPeriod hook
* move logic to getPendingPeriod function
* move logic for getting annotations to a new getAnnotations function
2024-09-04 13:02:06 +03:00
renovate[bot]
9c837407bf
Update dependency eslint-plugin-react to v7.35.2
2024-09-04 09:57:10 +00:00
brendamuir
9d3d1703f7
Alerting docs: adds caps not supported in email contact points ( #92902 )
...
* Alerting docs: adds caps not supported in email contact points
* ran prettier
* feedback from antonio
* ran prettier
2024-09-04 09:54:38 +00:00
renovate[bot]
7933cbd204
Update dependency @types/node to v20.16.4
2024-09-04 09:25:17 +00:00
Tom Ratcliffe
aec73f3501
Alerting/Chore: Mock API (MSW) in browser ( #89223 )
...
Co-authored-by: joshhunt <josh@trtr.co >
2024-09-04 10:22:03 +01:00
renovate[bot]
636b831d90
Update dependency knip to v5.29.2 ( #92882 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-04 11:38:00 +03:00
brendamuir
4749064f57
Alerting docs: responds to feedback on alerting state or error alerts ( #92859 )
...
* Alerting docs: responds to feedback on alerting state or error alerts
* ran prettier
2024-09-04 08:10:55 +02:00
Leon Sorokin
43c960dc97
Templating: Fix searching non-latin template variables ( #92789 )
2024-09-03 17:22:04 -05:00
Kyle Cunningham
437472811e
Table: Fix nested table overlap when table is sorted ( #92716 )
2024-09-03 15:27:14 -05:00
Jean-Philippe Quéméner
5dce149221
feat(querier): propagate all known alerting headers ( #92873 )
2024-09-03 18:01:27 +02:00
renovate[bot]
db579877bd
Update dependency eslint-plugin-import to v2.30.0 ( #92878 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 16:53:01 +01:00
renovate[bot]
3acb43cf2e
Update dependency @types/systemjs to v6.15.0 ( #92876 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 16:15:55 +01:00
renovate[bot]
5a3acbb15d
Update dependency postcss to v8.4.44
2024-09-03 14:33:20 +00:00
Victor Marin
2bbce8a7f7
DashboardScene: Re-perform repeat when returning to dashboard from panel edit ( #92754 )
...
* Reset prev values on panel deactivation/reactivation
* add comments
* fix
* add test
2024-09-03 17:12:55 +03:00
renovate[bot]
cb9c7de0ff
Update dependency eslint-plugin-react to v7.35.1
2024-09-03 13:57:20 +00:00
Kyle Brandt
d382ea773a
Prometheus: Enable the promQLScope (Scopes, Adhoc filters and groupby) by default ( #92080 )
2024-09-03 09:56:25 -04:00
Alexander Zobnin
88259da745
RBAC: Optimize permissions caching ( #92673 )
...
* Access control: Use composite cache key for team permissions
* use composite key for teams
* use cache for hotpath (getCachedUserPermissions)
* don't cache empty teams set
* don't pass permissions as argument
* early return if no teams found
* reload cache correctly
* optimize allocations
* Clear user's teams cache
* remove composite cache for teams
* fix linter
* don't clear teams permissions
* pre-allocate memory for basic roles permissions
2024-09-03 15:46:56 +02:00
renovate[bot]
6244c2be2c
Update dependency eslint-plugin-jest to v28.8.2
2024-09-03 13:33:28 +00:00
Ivan Ortega Alba
351864653b
Scenes: Upgrade to v5.12.0 ( #92862 )
2024-09-03 16:05:21 +03:00
Ashley Harrison
f34f5b80b4
Chore: Migrate _widths SCSS to global emotion styles ( #92863 )
...
* migrate widths to global styles
* only calculate width once per loop
2024-09-03 16:04:21 +03:00
renovate[bot]
9d974f7560
Update dependency @swc/helpers to v0.5.13 ( #92858 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-03 13:44:51 +01:00
Serge Zaitsev
e699a71340
Chore: Bump moby version ( #92857 )
...
* bump moby version
* update workspace
2024-09-03 15:43:36 +03:00
Konrad Lalik
1128c417d8
Alerting: Fix cloud rules edit url ( #92853 )
...
Update cloud rule edit page url after successful update
2024-09-03 14:18:02 +02:00
Ashley Harrison
d9385d8a76
add missing await
2024-09-03 14:02:27 +03:00
oscarkilhed
aa2175822e
Fix bad mock in unittest
2024-09-03 14:02:27 +03:00
renovate[bot]
6c968f90ae
Update dependency @grafana/scenes to v5.11.2
2024-09-03 14:02:27 +03:00
Jack Westbrook
e7d7ed5406
Chore: Remove side-effect import from app ( #92650 )
...
* chore(frontend): remove stray side-effect features import that brings the whole jungle
* chore(app): delete features/all.ts and its friends
* chore(codeowners): remove public/app/features/all.ts from file
2024-09-03 13:43:13 +03:00
Ieva
46e81e98cf
RBAC: Always store action sets ( #92833 )
...
always store action sets, even if FT is disabled
2024-09-03 11:30:47 +01:00
Alexa V
9dc333dfa7
Dashboard Scene: Add close visualization button in panel edit ( #92848 )
2024-09-03 12:11:09 +02:00
Piotr Jamróz
d7d22bbbb8
TraceView: Display event names of a span ( #91382 )
...
* Display event name of a span
* Clean up
* Retrigger the build
* Show colon only when there are fields to display
* Rollback
* Use event name when exporting to OTLP
* Allow filtering spans by event name
* Show duration as a key/value pair
* Update betterer report (we do not translate panels that are planned to be externalized)
* Fix tests after changing how duration is rendered
* Handle long names
* Test handling long names
* Make parenthesis gray
* Fix a test
* Fix linting
* Fix tests
* Update label
2024-09-03 11:18:50 +02:00
Alexander Akhmetov
1df622641c
Alerting: Update documentation about alert instance limit ( #92668 )
2024-09-03 11:02:20 +02:00
Tom Ratcliffe
13ea3d85ae
Alerting: Fix preview of silences when label name contains spaces ( #92802 )
2024-09-03 09:14:11 +01:00
Pepe Cano
15de549093
Alerting docs: HA - configure alertmanager to prevent duplicated notifications ( #92611 )
...
* Alerting docs: HA - configure shared alertmanager
* Update docs/sources/alerting/set-up/configure-high-availability/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/set-up/configure-high-availability/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Apply minor content suggestion
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-09-03 06:31:09 +02:00
Laura Benz
cdf035f813
Scenes/RestoreDashboards: Adjust DeleteDashboardModal and Toast message ( #92601 )
...
* refactor: replace soft delete method
* refactor: adjust test to new naming
* refactor: clean up unused functions
* refactor: replace delete modal
* refactor: use new delete modal outside of scenes
2024-09-02 18:04:02 +02:00
Josh Hunt
a1190b165b
Revert "Update dependency msw to v2.4.1" ( #92829 )
...
Revert "Update dependency msw to v2.4.1 (#92648 )"
This reverts commit acab4c9438 .
2024-09-02 15:51:12 +00:00
Sven Grossmann
5ad7c47816
Plugin Instrumentation: Add target property to request logs ( #91946 )
...
* Plugin Instrumentation: Add `target` property to request logs
* remove comment
* remove error
2024-09-02 17:41:26 +02:00
Timur Olzhabayev
564d09c9be
Chore: fixing triage link ( #92828 )
...
fixing triage link
2024-09-02 18:24:04 +03:00
grafana-pr-automation[bot]
71e7d37727
I18n: Download translations from Crowdin ( #92827 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-02 18:21:53 +03:00
piyushfs
a038d4136e
NodeGraph: Allow to add datalinks ( #90163 )
...
* NodeGraph: allow to add datalinks
* chore: filter list
2024-09-02 16:06:56 +01:00
Andreas Christou
9459626372
AzureMonitor: Update logs workspaces ( #92809 )
...
Update logs workspaces and code to retrieve
2024-09-02 16:03:13 +01:00
Alex Khomenko
6ecc9b1d21
Announcement banner: Update docs ( #92820 )
2024-09-02 17:59:01 +03:00
Alexa V
f8cd448441
Dashboard: Fix Annotation runtime error when a data source does not support annotations ( #92504 )
...
When data source does not support annotations, shows an inline Error in Annotation Settings page
2024-09-02 16:46:20 +02:00
antonio
0df5a6aefc
alerting: docs / highlight tutorial in landing page ( #92805 )
2024-09-02 16:40:16 +02:00
Esteban Beltran
045c57af23
Chore: Update auto triager github action to use private repository ( #92819 )
...
* Update auto triager to use private repository
* Check for other secrets too
2024-09-02 16:39:22 +02:00
Tom Ratcliffe
d1dc595692
Alerting: Fix target rule group for moving alert rule group ( #92816 )
2024-09-02 15:28:12 +01:00
Arati R.
f26f655615
Provisioning: Fix admin reloading of dashboard configuration ( #92462 )
...
* Set dashboard provisioner before provisioning dashboards
* Test provisioner instantiation during dashboard provisioning
2024-09-02 15:48:13 +02:00
grafana-pr-automation[bot]
401658e650
I18n: Download translations from Crowdin ( #92810 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-09-02 16:39:54 +03:00
Esteban Beltran
a3e7e3dbfa
Chore: Add auto-triager github action ( #92807 )
...
* Chore: Add auto-triager github action
* Add codeowners
* Add link
* Update .github/workflows/auto-triager.yml
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com >
---------
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com >
2024-09-02 15:23:04 +02:00
renovate[bot]
1395cd89da
Update dependency @types/node to v20.16.3
2024-09-02 13:05:54 +00:00
Joey
bd5bd52a2c
TraceView: Update feedback link style ( #91845 )
...
Update feedback link style
2024-09-02 14:02:00 +01:00
Tobias Skarhed
220215c9ca
New Select: Create custom value ( #92652 )
...
* Display custom value in option list
* Ignore create new value when there is an exact match
* Support displaying custom value
* Add i18n string
* Update failing test
2024-09-02 14:42:42 +02:00
Eugene Apollonsky
5871362ccf
Grafana SQL: Fix broken import in NumberInput component ( #92803 )
...
SQL: Fix broken import
2024-09-02 14:34:06 +02:00
Dzmitry Skachkou
f0d100d17a
ValueFormats: Fix formatting of 'clock' unit when duration is more than 100 hours ( #92656 )
2024-09-02 13:50:54 +02:00
antonio
2226446318
tutorial : alerts with logs : add missisng interactive ( #92800 )
2024-09-02 10:48:40 +00:00
Esteban Beltran
51e27b8f3b
Chore: Update commands.json to expand labels and their related projects ( #92734 )
...
* Chore: Update commands.json to expand labels and their related projects
* Fix trailing slashes
2024-09-02 11:27:22 +02:00
linoman
8c92d2a0ef
SAML: Add description for Graph API permissions step ( #92408 )
...
* Add description for permissions step
* Update docs/sources/setup-grafana/configure-security/configure-authentication/saml/index.md
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2024-09-02 11:23:02 +02:00
Victor Marin
47a0efd581
DashboardScenes: Default to first variable value when editing a repeated panel ( #91123 )
...
* DashboardScenes: Default to first variable value when editing a repeated panel
* cleanup
* tests
* refactor
* refactor
* refactor
* refactor
2024-09-02 12:05:14 +03:00
renovate[bot]
cf541b8869
Update dependency tslib to v2.7.0 ( #92744 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 10:00:07 +01:00
Ashley Harrison
714f2d6d51
Playlist: Add default border radius to PlaylistTableRows ( #92666 )
...
add default border radius to PlaylistTableRows
2024-09-02 09:39:47 +01:00
Konrad Lalik
5942d8595d
Alerting: Fix pending period for vanilla prom rules ( #92728 )
...
* Add support for reading pending period value from prom duration property
* Add tests
* Refactor the hook
* Remove unused import
2024-09-02 10:32:47 +02:00
Isabella Siu
2d10068714
CloudWatch: Logs queries should retry on throttling errors ( #92535 )
...
CloudWatch: logs queries should retry on throttling errors
2024-08-30 13:55:00 -04:00
Señor Performo - Leandro Melendez
d6f871490e
docs: Canvas updates adding why and how describing data needs ( #92375 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
2024-08-30 13:18:12 -04:00
Señor Performo - Leandro Melendez
129783ad8c
docs: Histogram update added missing options ( #92617 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-30 13:14:36 -04:00
Señor Performo - Leandro Melendez
88d12be9f2
docs: Alert list update adding missing elements and descriptions. ( #92619 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-30 12:19:43 -04:00
Piotr Jamróz
3b7021dabc
FieldConfig: Add missing "min/max" FieldConfigProperty option ( #92596 )
...
Add missing FieldConfigProperty standard option
2024-08-30 17:16:22 +02:00
Señor Performo - Leandro Melendez
7ce5ce4957
docs: updates to Pie chart documentation ( #91608 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
2024-08-30 11:16:11 -04:00
Tom Ratcliffe
9f5dca96f2
Alerting: Don't redirect after failed contact point creation ( #92761 )
2024-08-30 16:04:46 +01:00
Adela Almasan
91cbaa4afe
Table: Fix JSON formatting ( #92715 )
2024-08-30 17:51:51 +03:00
Victor Marin
962fcf1fa8
DashboardScenes: Row repeater panels cannot be dragged outside and adding new panels to a cloned row updates all rows ( #91062 )
...
* Disallow dragging panels in repeated rows + dropping panels into cloned rows will update all repeated rows
* test
2024-08-30 09:50:22 -04:00
Tom Ratcliffe
172662af58
Alerting: Stop rule state view from crashing when prom rule state is missing ( #91483 )
2024-08-30 14:47:28 +01:00
Victor Marin
a0c1fc20ec
DashboardScene: Update view panel scene variables properly after row repeat is performed ( #92698 )
...
* update view panel scene variables properly after row repeat is performed
* refactor
* Fix case where view mode from panel menu would not work
Co-authored-by: ivanortegaalba <ivan.ortega@grafana.com >
* add context
---------
Co-authored-by: ivanortegaalba <ivan.ortega@grafana.com >
2024-08-30 16:36:22 +03:00
Isabel Matwawana
b788f43cee
Docs: Moved data source UID info into technical notes ( #92712 )
2024-08-30 09:34:30 -04:00
Señor Performo - Leandro Melendez
f048c3273b
docs: StatusHistory update added missing option and reordered headers ( #92613 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-30 09:28:50 -04:00
Jack Baldry
7473ad6469
Lint "RBAC permissions, actions, and scopes" page for style ( #92740 )
2024-08-30 14:11:35 +01:00
Karl Persson
294712d7ef
User: Add sub resource and api for user teams ( #92649 )
...
* Add sub resource for user teams
* Add test snapshots
* Update to use ref:s
2024-08-30 15:05:27 +02:00
Torkel Ödegaard
31c9084a3a
DashboardGridItem: Fixes repeating panels issue when variable depends on time range ( #92661 )
...
* DashboardGridItem: Fixes repeating panels issue when variable depends on time range
* tests
---------
Co-authored-by: Victor Marin <victor.marin@grafana.com >
2024-08-30 15:50:09 +03:00
Sergej-Vlasov
00ae49a61a
FeatureToggle - new filters UI feature toggle ( #92189 )
...
* add newFiltersUI experimental feature toggle
* adjust Ad hoc filter varibale layout property based on feature toggle
* restore file
* bump to latest scenes
2024-08-30 15:48:13 +03:00
Tom Ratcliffe
3262f0256e
A11y: Fix some accessibility issues on the build error page ( #92691 )
...
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com >
2024-08-30 13:42:45 +01:00
Ashley Harrison
a59474cf13
Chore: Migrate _forms styles to emotion globals ( #92690 )
...
migrate _forms styles to emotion globals
2024-08-30 13:04:31 +01:00
antonio
1f01a679f6
tutorial: link fix ( #92748 )
...
* tutorial: link fix
* typo
* link to tutorial pt 2
2024-08-30 11:56:16 +00:00
antonio
f670cf7920
update + sandboxfy tutorial ( #92419 )
...
* update + sandboxfy tutorial
* fix formatting
* update
* update2
* numbering
* final draft v1
* draft v1
* added jay's feedback
* query
* latest fixes
* typo
* all pretty no pity
2024-08-30 13:15:35 +02:00
Tom Ratcliffe
690fbe6077
Alerting: Edit, create and delete contact points via k8s API ( #91701 )
2024-08-30 12:10:30 +01:00
grafana-pr-automation[bot]
f4a8e0a214
I18n: Download translations from Crowdin ( #92696 )
...
* New Crowdin translations by GitHub Action
* New Crowdin translations by GitHub Action
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Clarity-89 <homes89@ukr.net >
2024-08-30 14:00:10 +03:00
Ieva
b99d1249db
Docs: Update the docs for folder creation permissions ( #92703 )
...
* update the docs to reflect permissions needed to create subfolders
* Minor language fix
---------
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-08-30 10:55:32 +00:00
Alexander Akhmetov
152d3540db
Alerting: Log number of dimensions instead of all evaluation results ( #92733 )
2024-08-30 12:35:02 +02:00
renovate[bot]
a0e237dacf
Update dependency eslint-plugin-jest to v28.8.1
2024-08-30 10:05:24 +00:00
Ashley Harrison
c16cc488c9
AdHocFilters: Add support for new isOneOf multi value operator ( #91837 )
...
* handle oneOf operator in prometheus
* use new supportsMultiValueOperators
* remap oneOf to regex in prometheus datasource
* Remap one of operators for scope filters
* use plugin.json property instead of feature toggle
* optional chaining
* fix unit tests
* use getInstanceSettings
* update to latest scenes
* fix unit tests
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2024-08-30 11:03:44 +01:00
Leonor Oliveira
2e451b2ed7
Use dw dynamic config ( #91882 )
...
* Remove kubernetesPlaylists feature_toggle
* Remove unified_storage_mode
* Remove double import
* Read from config instead from feature_toggle
* cover scenario for when unified storage is not defined
* Be temporarily retro compatible with previous feature toggle
* Properly read unified_storage section
* [WIP] Read new format of config
* Fix test
* Fix other tests
* Generate feature flags file
* Use <group>.<resource> schema
* Use <group>.resource format on the FE as well
* Hide UniStore config from Frontend
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
* unwanted changes
* Use feature toggles in the FE. Enforce FTs are present before enabling dual writing
Co-authored-by: Ryan McKinley <ryantxu@users.noreply.github.com >
* use kubernetes playlists feature toggle on the FE
* Remove unwanted code
* Remove configs from the FE
* Remove commented code
* Add more explicit example
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
Co-authored-by: Maicon Costa <maiconscosta@gmail.com >
2024-08-30 11:59:42 +02:00
renovate[bot]
f8765087b5
Update dependency @tanstack/react-virtual to v3.10.6
2024-08-30 09:44:21 +00:00
antonio
cf951ab589
tutorials: sandboxfy grafana fundamentals ( #92206 )
...
* tutorials: sandboxfy grafana fundamentals
* applied feedback
* applied feedback2
* fixed description
* interactives
* ignore new tab instructions
* ignore new tab
* update instructions
* updated alert term / alert isntance
* fix numbering
* adding Lisa's feedback
* changees to fundamentals tutorial
* Fix minor typos and style
* all pretty, no pity
---------
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-08-30 11:42:46 +02:00
Pepe Cano
6a29e4aecf
IAM docs: Transform API keys to Migrate API keys docs ( #92380 )
...
* IAM docs: Transform `API keys` to `Migrate API keys` docs
* Update links to `API keys` in other doc pages
* Grafana UI: update help button link
* Update OpenAPI/Swagger links
* Update docs/sources/administration/service-accounts/migrate-api-keys.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update `relref` links to the new URL
* fix space before em dash
spaces before or after em dashes are not recommended (https://developers.google.com/style/dashes )
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-08-30 11:37:36 +02:00
renovate[bot]
48f8be2cfc
Update dependency @babel/runtime to v7.25.6
2024-08-30 09:22:20 +00:00
Alex Khomenko
6abf50b0c9
Routing: Update core tests ( #92582 )
...
* Update MegaMenu.test.tsx
* Update GrafanaRoute.test.tsx
* Remove unused file
* Update SignupInvited.test.tsx
* Remove usage of match
* Update betterer
2024-08-30 12:01:32 +03:00
renovate[bot]
acab4c9438
Update dependency msw to v2.4.1 ( #92648 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-30 11:50:49 +03:00
Pepe Cano
fcb4b3d39e
Docs: keep the HTTP API list updated ( #92635 )
...
* Docs: keep the HTTP API list updated
* Update menu title to be consistent with the HTTP API list
* Update docs/sources/developers/http_api/preferences.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/developers/http_api/snapshot.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
---------
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-30 10:27:24 +02:00
Erik Sundell
db0cc24f2b
Plugin extensions: Introduce new registry for added links ( #92343 )
...
* add added component registry
* fix broken test
* add tests for usePluginComponents hook
* readd expose components
* add type assertion exceptions to betterer results
* use new addedComponent registry in legacy endpoints
* remove unused code
* cleanup
* revert test code
* remove commented code
* initial commit
* refactor sync method and hook
* fix tests
* subscribe to the correct registry
* remove old registry
* cleanup types
* add use usePluginLinks hook
* add more tests
* fix import order
* fix typo
* fix and temporarly skip failing tests
* wip
* add hook tests
* add more tests
* remove old hook
* fix versioning
* add version to all extension point ids
* remove cleanup
* remove unused imports
* revert touched file
* fix test
* test: remove hook creation
* catch init error
* send error to faro
* fix broken hook
* comment out call hook initialization
* use the right import ofr isString
* remove unused import
* remove registryState type
* pr feedback
* Update public/app/features/plugins/extensions/validators.test.tsx
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* Update public/app/features/plugins/extensions/validators.test.tsx
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* remove no longer relevant comment
* fix broken tests
* Fixed test to verify that the memotization works properly.
* simplify hooks
---------
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
2024-08-30 10:09:01 +02:00
brendamuir
16c618f4d3
Alerting docs: add info on changing default time out for evaluation ( #92391 )
...
* Alerting docs: add info on changing default time out for evaluation
* ran prettier
* Update docs/sources/alerting/fundamentals/alert-rule-evaluation/state-and-health.md
Co-authored-by: antonio <45235678+tonypowa@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/alert-rule-evaluation/state-and-health.md
Co-authored-by: antonio <45235678+tonypowa@users.noreply.github.com >
* ran prettier
* updates with yuris feedback
* ran prettier
---------
Co-authored-by: antonio <45235678+tonypowa@users.noreply.github.com >
2024-08-30 09:46:55 +02:00
Konrad Lalik
e0950a1283
Alerting: Add compatibility between prometheus and ruler identifiers ( #92496 )
...
* Unify Prom and Ruler rules hash creation
* Add tests, refarct prom hash
2024-08-30 08:39:11 +02:00
Jeff Levin
372d0acec8
Instrument tracing across dashboards ( #91937 )
...
Add tracing across dashboards and accesscontrol
2024-08-29 22:26:15 -08:00
Yuri Tseretyan
ce64d79027
Alerting: Integration tests for Receiver API ( #90632 )
...
---------
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
2024-08-29 22:27:26 -04:00
Sergej-Vlasov
c4d804a964
ImportDashboard: adjust flaky e2e test ( #92705 )
...
adjust test to wait for monaco editor
2024-08-29 16:21:05 -04:00
Matthew Jacobson
d5fd6aceca
Alerting: Stop redacting receivers by default in receiver_svc ( #92631 )
...
* Stop redacting receivers by default in receiver_svc
[REDACTED] is only used in provisioning API since response doesn't include
SecureFields. This is not necessary in k8s or notifications api, instead we do
not include the encrypted settings in Settings at all, leaving it to
SecureFields to specify when a secure field exists.
* Capitalize logs messages
2024-08-29 14:48:59 -04:00
Juan Cabanas
eb8b6a5a70
ShareDrawer: Wording and defaults improvements ( #92629 )
2024-08-29 15:31:28 -03:00
Matthew Jacobson
e43ddd516d
Alerting: Ensure k8s receiver API create/update will never store nil settings ( #92701 )
...
Ensure Create/Update will never store nil Settings
2024-08-29 20:00:55 +03:00
Sarah Zinger
8774642788
QueryService: Forward headers to datasource clients ( #92329 )
...
Query Service: pass expected headers
2024-08-29 12:47:38 -04:00
Joao Silva
bdb1c7ee63
Bookmarks: Add empty state to page ( #92693 )
2024-08-29 16:58:19 +01:00
Joao Silva
6ab120a448
Bookmarks: Fix interaction tracking bug ( #92653 )
2024-08-29 16:52:52 +01:00
maicon
9e6a464328
UniStore: Remove unused feature toggles from docs ( #92688 )
...
`grafanaAPIServer` got removed on https://github.com/grafana/grafana/pull/81030
`idForwarding` got removed on https://github.com/grafana/grafana/pull/92209
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-08-29 18:27:38 +03:00
Carl Bergquist
56d35d32e2
Scopes: increase limit on list calls to storage ( #92687 )
...
scopes: increase limit on list calls to storage
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-08-29 18:12:11 +03:00
Sarah Zinger
c0b2fafd5e
Ensure that datasource apiservers receive and forwards headers ( #92304 )
...
* Ensure that datasource apiservers receive and forwards headers for datasources:
- adds log line for prometheus to see when from alert header is received
- add logging to the datasource apiserver
- Updates the Connect func in sub query to forward expected headers to datasources and log unexpected ones.
2024-08-29 11:06:25 -04:00
maicon
2b3d2e5b40
UniStore: Remove leftover references to unifiedStorage feature toggle ( #92685 )
...
it got removed on https://github.com/grafana/grafana/pull/92192
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-08-29 18:04:36 +03:00
Señor Performo - Leandro Melendez
f4249c2141
docs: Bar gauge doc updates adding why and how, explaining data needs ( #92374 )
...
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-29 10:36:54 -04:00
Señor Performo - Leandro Melendez
1d34fc2d1a
docs: Barchart doc updates add video, why, how and data needs ( #92262 )
...
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-29 10:34:32 -04:00
Ashley Harrison
d2ee4d1005
RadioButtonGroup: Ensure background colour displays properly ( #92665 )
...
add background colour to RadioButtonGroup
2024-08-29 15:16:04 +01:00
Tom Ratcliffe
6298825cf7
Alerting: Consolidate mute timings selector logic ( #92372 )
2024-08-29 15:09:53 +01:00
Sven Grossmann
15a4ff992b
Explore Logs: Add feature flags ( #92670 )
2024-08-29 15:55:59 +02:00
Timur Olzhabayev
dfba5776b9
Doc: Adding information about datasource UID enforcement ( #92659 )
...
* Adding information about datasource UID enforcement
* Style and content fixes (#92667 )
This fixes:
- datasource to data source as per our style guide
- some other minor typos
- style and content
* fixing prettier lint
---------
Co-authored-by: Irene Rodriguez <irene.rodriguez@grafana.com >
2024-08-29 13:54:47 +00:00
Larissa Wandzura
f9d38c8869
Docs: Re-order Explore docs in TOC ( #92624 )
...
* re-ordered Explore docs for cohesion
* ran prettier
2024-08-29 08:33:14 -05:00
Jack Baldry
5e89a9060b
Remove all documented references to time_options ( #92657 )
2024-08-29 13:47:26 +01:00
Victor Marin
6ddb96ada2
Add extra width to menu to accomodate checkbox ( #92600 )
...
* Add extra width to menu to accomodate checkbox
* modify value
2024-08-29 15:28:00 +03:00
Leonor Oliveira
66e0121dd5
Pass resource name into the dual writer initialization ( #92654 )
2024-08-29 13:30:48 +02:00
Ryan McKinley
82417c916f
K8s: Use stacks plural not singular in grafana namespaces ( #92550 )
2024-08-29 14:15:00 +03:00
Victor Marin
454d36167e
DashboardScene: Fix issue where panels are lost from dashboard ( #92118 )
...
* fix issue where panels aren't added to rows
* refactor
2024-08-29 13:56:42 +03:00
Ashley Harrison
68ca6e9610
MetricGraphScene: Position properly when bodyScrolling is enabled ( #92289 )
...
handle positioning of MetricGraphScene when bodyScrolling is enabled
2024-08-29 11:35:59 +01:00
Jack Westbrook
ec89854c5e
Performance: Lazy load built in panel plugins ( #92490 )
...
feat(plugins): lazy load built in panel plugins
2024-08-29 11:54:31 +02:00
Ieva
a72b557886
Docs: Extend docs with service account limitations ( #92630 )
...
* extend docs with service account limitations
* linting
* Apply suggestions from code review
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* PR feedback
* more PR feedback
* linting
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-29 09:50:11 +00:00
Kawthar Alakri
bd974bd791
New Select: Unit tests base cases ( #92485 )
...
* init commit
* New Select test cases
* click + scroll and click test cases
* code format
* code format
2024-08-29 11:45:21 +02:00
Andres Martinez Gotor
f9cd0fe5d1
Add debug headers when downloading plugins ( #92579 )
2024-08-29 11:30:21 +02:00
renovate[bot]
4209c13155
Update dependency @types/diff to v5.2.2
2024-08-29 09:23:00 +00:00
Laura Fernández
7e92cea000
TutorialCard: Fix link to tutorial not opening ( #92599 )
2024-08-29 11:22:50 +02:00
Bogdan Matei
1e1b554ff3
Scopes: Fix long texts for suggested dashboards ( #92641 )
2024-08-29 12:20:56 +03:00
Ashley Harrison
cec447cf7a
Drawer: Fix drawer mask positioning ( #92318 )
...
fix drawer mask positioning
2024-08-29 09:56:26 +01:00
renovate[bot]
90319c9482
Update dependency stylelint to v16.9.0 ( #92608 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-29 09:51:18 +01:00
Laura Fernández
8aaa155cb0
singleTopNav: Create feature toggle ( #92610 )
2024-08-29 10:48:32 +02:00
Karl Persson
56487d37db
Authn: No longer hash service account token twice during authentication ( #92598 )
...
* APIKey: Only decode and hash token once during authentication
* Only update last used every 5 minutes
2024-08-29 09:56:23 +02:00
Charandas
4f024d94d8
Authn: resolve issues with setting up a nil identity ( #92620 )
2024-08-29 00:49:41 +03:00
Adela Almasan
692280cd32
BarGauge: Add legend support ( #92449 )
2024-08-28 23:26:55 +03:00
Gilles De Mey
9d173ef579
Alerting: Fixes incorrect cache invalidation for silences when no silences exist ( #92322 )
2024-08-28 17:25:10 +01:00
renovate[bot]
a2602031c0
Update dependency react-zoom-pan-pinch to v3.6.1 ( #92606 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 17:19:35 +01:00
Eric Leijonmarck
577ebb3444
LBAC for datasources: Update swagger documentation ( #92594 )
...
* LBAC for datasources: Update swagger documentation
* update swagger again
2024-08-28 17:04:57 +01:00
renovate[bot]
8324a720f4
Update dependency @grafana/scenes to v5.10.2
2024-08-28 18:43:44 +03:00
Ida Štambuk
1735235277
Chore: Update elasticsearch_test.go ( #92602 )
2024-08-28 17:34:57 +02:00
renovate[bot]
faf2178a98
Update dependency react-hook-form to v7.53.0 ( #92585 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 16:19:39 +01:00
Eve Meelan
7057bd7caf
replace myself with Irene in CODEOWNERS ( #92589 )
...
Update CODEOWNERS
2024-08-28 10:57:24 -04:00
Gábor Farkas
abca0380a8
use count_bytes_reader from plugin-sdk-go ( #92553 )
...
* use count_bytes_reader from plugin-sdk-go
* run `make update-workspace`
* update postgres tests
* update mysql tests
* time back to utc
* make update-workspace done
---------
Co-authored-by: Kyle Brandt <kyle@grafana.com >
2024-08-28 16:44:13 +02:00
Leonor Oliveira
09f102b72e
Remove condition on where we return from unified storage in mode2 ( #92593 )
2024-08-28 16:31:53 +02:00
Hugo Kiyodi Oshiro
01b9ad3789
Plugins: Hide update all plugins in cloud ( #92597 )
2024-08-28 16:21:46 +02:00
Andrew Hackmann
f8af6f4eea
Graphite: Add @ to the lexer ( #92546 )
...
Add @ to the lexer
2024-08-28 09:12:23 -05:00
Andrew Hackmann
e0a0942203
Graphite: Tag values are queried with dashboard time range ( #92167 )
...
add time range to get tag values in graphite
2024-08-28 09:08:46 -05:00
Gabriel MABILLE
2a1a43fc9b
PermissionRegistry: Error on unknown kind ( #91469 )
...
* PermissionRegistry: Error on unknown kind
* Account for PR feedback
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
* Add missing alerting scope
---------
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
2024-08-28 15:58:25 +02:00
Todd Treece
2bb2183b41
Scopes: Move title and groups to status in ScopeDashboardBinding ( #92377 )
...
---------
Co-authored-by: Kyle Brandt <kyle@grafana.com >
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com >
2024-08-28 08:59:18 -04:00
Arati R.
34149c86d0
Provisioning: Prevent provisioning folder errors from failing startup ( #92560 )
...
* Prevent provisioning folder errors from failing startup
* Refactor setting of dashboard provisioner
2024-08-28 14:49:00 +02:00
renovate[bot]
68751ed310
Update dependency i18next to v23.14.0 ( #92584 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 13:35:21 +01:00
Arati R.
c5b377f06e
Provisioning: Revert "Allow startup when there are dashboard provisioning failures" ( #92568 )
...
Revert "Provisioning: Allow startup when there are dashboard provisioning failures (#92201 )"
This reverts commit 927ce6c700 .
2024-08-28 14:19:59 +02:00
Karl Persson
1eb49e1b0f
Chore: restructure legacy store for identity ( #92572 )
...
* Restructure user queries
* restructure display query
* restructure team queries
* restructure team bindings query
* Restructure team members
* Restructure store
2024-08-28 14:15:26 +02:00
renovate[bot]
965a9e2d79
Update dependency eslint-plugin-testing-library to v6.3.0 ( #92581 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 13:01:25 +01:00
Eric Leijonmarck
6a19278f23
API Keys: Removal & Redirect of Create endpoint ( #92144 )
...
* API keys: redirecting of create endpont
* update naming and using admonition
* fmt
* Apply suggestions from code review
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-08-28 12:20:36 +01:00
renovate[bot]
909d0fac35
Update dependency @types/node to v20.16.2 ( #92576 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 12:15:38 +01:00
Mihai Doarna
2b70945fda
Auth: Display page not found when the provider is invalid ( #92563 )
...
display page not found when the provider is invalid
2024-08-28 14:06:24 +03:00
renovate[bot]
a9c2c97531
Update dependency @opentelemetry/semantic-conventions to v1.27.0 ( #92566 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 11:44:50 +01:00
renovate[bot]
58ecb8e3d8
Update dependency @tanstack/react-virtual to v3.10.5 ( #92561 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 12:59:41 +03:00
renovate[bot]
c92f5169d1
Update dependency @prometheus-io/lezer-promql to v0.54.1 ( #92556 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 10:16:31 +01:00
renovate[bot]
726fe8bd9c
Update dependency rudder-sdk-js to v2.48.17
2024-08-28 08:55:18 +00:00
Aaron Godin
86e8e3b75d
Revert "RBAC: Optimize permissions caching" ( #92548 )
...
Revert "RBAC: Optimize permissions caching (#92412 )"
This reverts commit 488e994d37 .
Co-authored-by: gamab <gabriel.mabille@grafana.com >
2024-08-28 10:44:38 +02:00
Karl Persson
4addd9637e
Team: Add sub resource and api for team members ( #92492 )
...
* Add team members as a sub resource
* Fix and clean up pagination for teams
* Fix and clean up pagination for users
* Fix and clean up pagination for service accounts
* Update snapshots
2024-08-28 10:30:23 +02:00
renovate[bot]
72be3e861e
Update dependency webpack to v5.94.0 [SECURITY] ( #92545 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 09:29:33 +01:00
renovate[bot]
1552ab0eb7
Update dependency @opentelemetry/semantic-conventions to v1.26.0 ( #92518 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-28 09:28:46 +01:00
Hugo Kiyodi Oshiro
af976c9a0b
Plugins: Set isFullyInstalled false on plugin uninstall ( #92503 )
2024-08-28 09:50:48 +02:00
Todd Treece
85ef26a85d
K8s: Add generic support for status ( #92378 )
2024-08-28 03:45:04 +03:00
Adela Almasan
39fda067cf
BarGauge: Add option to hide the names ( #92450 )
2024-08-27 17:21:35 -05:00
Charandas
af2e79aa83
K8s: namespace mapper should use authlib's util ( #92332 )
2024-08-27 15:01:42 -07:00
Señor Performo - Leandro Melendez
f9719d4ee9
docs: Added geomap missing headings, why and how describing data needs ( #92237 )
...
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-27 17:44:11 -04:00
Señor Performo - Leandro Melendez
f17bc146c2
docs: Nodegraph doc updates adding why and how explaining data needs ( #92258 )
...
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
2024-08-27 17:30:36 -04:00
Galen Kistler
867f3f793c
Logs Panel: Only send DataHoverClearEvent on container mouse leave event ( #92526 )
...
* fix: stop sending clear events between every row, and only when the mouse leaves the container
2024-08-27 22:44:17 +03:00
Andreas Christou
931d64b8fc
CI: Run prettier in bump-version workflow ( #92195 )
...
Run prettier
2024-08-27 20:21:51 +01:00
Isabel Matwawana
85cd9cbe25
Docs: Show youtube videos in what's new 11.2 ( #92520 )
2024-08-27 14:09:31 -04:00
Señor Performo - Leandro Melendez
1c1b081a4c
docs: Update logs doc adding why and how to including data reqs ( #92166 )
...
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-27 14:09:20 -04:00
grafana-delivery-bot[bot]
52f60cd4f9
Release: update changelog for 11.2.0 ( #92494 )
...
* Update changelog
* Update changelog
* Update changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-08-27 18:15:37 +01:00
renovate[bot]
d5b7b4ba58
Update dependency @grafana/experimental to v1.8.0 ( #92515 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 17:38:09 +01:00
Piotr Jamróz
573e16fa3b
CI: Null check for author ( #92516 )
...
Null check for author
2024-08-27 18:32:01 +02:00
maicon
de2c9a06bf
Unified Storage: First iteration Dual Write Syncer ( #89809 )
...
* Unified Storage: First iteration Dual Write Syncer
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
Co-authored-by: Leonor Oliveira <9090754+leonorfmartins@users.noreply.github.com >
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-08-27 13:31:40 -03:00
renovate[bot]
2235825ef9
Update dependency ts-jest to v29.2.5
2024-08-27 16:15:49 +00:00
Jack Baldry
847b84004d
Reorganize Explore Metrics content so OSS TOC matches Cloud ( #92501 )
2024-08-27 17:02:07 +01:00
Andreas Christou
d00abe0972
CI: Update inputs to allow specifying previous version ( #92506 )
...
* Update inputs to allow specifying previous version
* Add one more input
2024-08-27 16:49:23 +01:00
renovate[bot]
aae8527410
Update dependency knip to v5.27.4
2024-08-27 15:46:36 +00:00
renovate[bot]
475fb6ac3a
Update dependency @types/lodash to v4.17.7 ( #92482 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 16:09:01 +01:00
Isabel Matwawana
18726943a3
Docs: Add videos to What's new 11.2 ( #92444 )
2024-08-27 11:07:34 -04:00
Stephanie Hingtgen
a4266df16d
SQL Store: Fix parse time setup ( #92484 )
2024-08-27 17:39:27 +03:00
grafana-pr-automation[bot]
aba4b42973
I18n: Download translations from Crowdin ( #92493 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-27 17:20:36 +03:00
Misi
a3d688c8ed
CLI: Provide the list of admins if the admin with the default ID was not found ( #92217 )
...
* Provide the list of admins if the admin with the default ID was not found
* Clean up
* Update docs
* Update docs/sources/cli.md
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update pkg/cmd/grafana-cli/commands/reset_password_command.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Lint
---------
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-08-27 16:01:33 +02:00
grafana-pr-automation[bot]
a884e03dc5
I18n: Download translations from Crowdin ( #91912 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-27 16:59:52 +03:00
Tobias Skarhed
92491dd78c
New Select: Semi-dynamic option width support ( #92284 )
...
* Fix button role and input id
* Use static height and dynamic width
* Estimate dynamic width
* Extract constant
* Remove unused code
* Extract dynamic width into a hook
* Remove console.log
* Add comment to the constants
* Update packages/grafana-ui/src/components/Combobox/Combobox.tsx
Co-authored-by: Laura Fernández <laura.fernandez@grafana.com >
* Update packages/grafana-ui/src/components/Combobox/getComboboxStyles.ts
---------
Co-authored-by: Laura Fernández <laura.fernandez@grafana.com >
2024-08-27 15:51:25 +02:00
Kim Nylander
f063088188
[DOC] Update TraceQL query editor doc ( #91910 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-27 14:49:49 +01:00
Kristian Bremberg
24afc7a5b3
TextPanel: Allow iframes (after sanitization) ( #92299 )
...
* Allow iframes in text panel
* add more attributes
* remove =true
2024-08-27 14:44:58 +01:00
grafana-delivery-bot[bot]
7c408f5e16
Release: update changelog for 11.1.5 ( #92488 )
...
* Update changelog
* Lint
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-08-27 14:39:32 +01:00
Alexander Zobnin
0e0c877609
Zanzana: Model fixed roles as a part of schema ( #92364 )
...
* model fixed roles for dashboards and folders
* Correctly translate fixed role assignments
* minor refactor
* assign fixed roles to teams
* fix linter errors
* Migrate general folder permissions for fixed roles
* fix dashboards:create permission
2024-08-27 15:39:22 +02:00
Juan Cabanas
8862578f50
ShareDrawer: Wrap render logic and add shareView query param ( #92060 )
2024-08-27 16:31:07 +03:00
grafana-delivery-bot[bot]
c588882c26
Release: update changelog for 11.0.4 ( #92480 )
...
* Update changelog
* Fix lint
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-08-27 14:11:27 +01:00
Jack Westbrook
892a50a3b7
Performance: Load shared frontend plugin dependencies on demand ( #87644 )
...
* feat(plugins): only load shared plugin dependencies when needed
* feat(plugins): add react-redux and fix up comments
* feat(plugins): attempt to load async deps in fe sandbox
* feat(frontend): defer script execution to prevent systemjs from loading app.js
2024-08-27 15:10:26 +02:00
renovate[bot]
1e32e98bf6
Update dependency @grafana/faro-web-tracing to v1.9.1
2024-08-27 12:41:19 +00:00
Matheus Macabu
b132d921b7
CloudMigrations: point cloud instance to sef-serve guide ( #92471 )
2024-08-27 13:25:51 +01:00
renovate[bot]
e66979765d
Update dependency @grafana/faro-web-sdk to v1.9.1
2024-08-27 12:18:44 +00:00
grafana-delivery-bot[bot]
1654ffeef4
Release: update changelog for 10.4.8 ( #92476 )
...
* Update changelog
* Lint CHANGELOG
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-08-27 13:16:04 +01:00
Ashley Harrison
2318e32c9f
Chore: Migrate legacy dropdown styles to emotion/angular file ( #92282 )
...
migrate legacy dropdown classes to emotion/angular file
2024-08-27 12:40:54 +01:00
Hugo Kiyodi Oshiro
0f24c89c91
Plugins: Add update all plugins feature ( #92229 )
2024-08-27 13:38:39 +02:00
renovate[bot]
37f0c0d00f
Update dependency @grafana/faro-web-sdk to v1.9.1
2024-08-27 11:35:54 +00:00
grafana-delivery-bot[bot]
32c3e17e58
Release: update changelog for 10.3.9 ( #92467 )
...
* Update changelog
* Lint Changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2024-08-27 13:34:19 +02:00
Ryan McKinley
c59dddf7af
MySQL: Add parseTime=true to SQL connections ( #92469 )
2024-08-27 14:16:04 +03:00
renovate[bot]
c98e3e0483
Update dependency @grafana/faro-core to v1.9.1
2024-08-27 11:08:19 +00:00
Laura Benz
6950093911
RestoreDashboards: Set preselected folder in folder picker for restoring several dashboards from the same folder ( #92403 )
...
* feat: add condition for several dashboards
* refactor: clean up
* refactor: clean up and comment
* refactor: clean up
* refactor: clean up
2024-08-27 14:06:23 +03:00
renovate[bot]
a99e32947a
Update dependency @floating-ui/react to v0.26.23 ( #92470 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 13:44:26 +03:00
Jack Westbrook
c0a719caa7
Datalinks: Fix context menu position for body scroll ( #92389 )
...
* fix(datalinks): position context menu offest to vertical window scroll
* feature toggle change
* enhance boot data mock with empty featureToggles
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-08-27 13:28:48 +03:00
Ryan McKinley
5a30e12a10
SQLTemplate: Make Ident only work for identifiers (not any string) ( #92387 )
2024-08-27 13:22:40 +03:00
Ashley Harrison
437747f250
update committed yarn version
2024-08-27 13:18:56 +03:00
renovate[bot]
02f1bb7b46
Update Yarn to v4.4.1
2024-08-27 13:18:56 +03:00
Laura Benz
1f35bc8346
RestoreDashboards: Make confirmation text consistent ( #92388 )
...
* refactor: change wording
* refactor: change API
* refactor: clean up
2024-08-27 13:13:48 +03:00
Joao Silva
f1ba609b34
Chore: Upgrade micromatch to version without CVE-2024-4067 ( #92405 )
2024-08-27 10:16:59 +01:00
Erik Sundell
b648ce3acf
Plugin extensions: Introduce new registry for added components ( #91877 )
...
* add added component registry
* fix broken test
* add tests for usePluginComponents hook
* readd expose components
* add type assertion exceptions to betterer results
* use new addedComponent registry in legacy endpoints
* remove unused code
* cleanup
* revert test code
* remove commented code
* wrap in try catch
* pr feedback
2024-08-27 11:14:04 +02:00
Ryan McKinley
419edef4dc
LibraryPanels: Expose library panels in dashboard apiserver ( #92213 )
2024-08-27 12:12:22 +03:00
renovate[bot]
7ad3d9bf76
Update dependency @grafana/plugin-e2e to v1.7.1 ( #92308 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 09:47:37 +01:00
Alexander Zobnin
488e994d37
RBAC: Optimize permissions caching ( #92412 )
...
* Access control: Use composite cache key for team permissions
* use composite key for teams
* use cache for hotpath (getCachedUserPermissions)
* fix linter
* fix sorting
---------
Co-authored-by: Jeff Levin <jeff@levinology.com >
2024-08-27 10:31:52 +02:00
Hugo Kiyodi Oshiro
a54ec2341c
Plugins: Hide GetStartedWithDataSource when cloud plugin is not fully installed ( #92402 )
2024-08-27 10:14:40 +02:00
Alexander Akhmetov
7f6b6dea45
Alerting: Change expire placeholder for Pushover in the UI to 10800 seconds ( #92379 )
...
* Alerting: Change max retry for Pushover in the UI to 10800 seconds
* Update alerting to 70248a7a3a674e50e026a37205ebac86e1ec25fd
2024-08-27 11:13:58 +03:00
github-actions[bot]
3141c39d1f
Update make docs procedure ( #92340 )
...
Co-authored-by: grafanabot <bot@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-27 08:53:39 +01:00
brendamuir
667cbd626c
Alerting docs: adds display names to fixed roles for RBAC ( #92357 )
...
* Alerting docs: adds display names to fixed roles for RBAC
* ran prettier
* updates descriptions
* preposition update
* ran prettier
2024-08-27 09:23:04 +02:00
Karl Persson
2872e11c13
Teams: Add apis for team membership ( #92204 )
...
* Add TeamBinding resource
* Implement read api:s for TeamBindings
2024-08-27 08:31:29 +02:00
Pepe Cano
2ba930ab1f
Alerting Docs: Monitor your high availability setup ( #92063 )
...
* Alerting Docs: Monitor your high availability setup
* Update docs/sources/alerting/set-up/configure-high-availability/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/set-up/configure-high-availability/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/set-up/configure-high-availability/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/set-up/configure-high-availability/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Shorten links
* Update/reorder a bit the description about alertmanager gossiping
* Update `alertmanager_peer_position` description
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-08-27 08:01:14 +02:00
Señor Performo - Leandro Melendez
336e6d97b7
docs: time series add why use it and how to data needs ( #92158 )
...
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-26 17:25:05 -04:00
Andrew Hackmann
eac194815e
MSSQL: decouple plugin ( #89597 )
...
* decouple from core
* yarn decouple
* make health check work and azure config
* f
* driver error not needed
* merge
2024-08-26 23:09:21 +03:00
Yuri Tseretyan
4755eb5176
Alerting: Support template UID in template service ( #92164 )
...
* add uid to template and populate it
* update delete method to support both uid and name
* update UpdateTemplate to support search by UID and fallback to name + support renaming of the template
* update upsert to exit if template not found and uid is specified
* update Get method to address by name or uid
---------
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
2024-08-26 23:05:38 +03:00
Señor Performo - Leandro Melendez
354aee951d
docs: added explanation of why to use tables and how to use with their data needs ( #92150 )
...
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-26 15:50:32 -04:00
Isabel Matwawana
6a15b677d8
Docs: What’s new & Upgrade guide v11.2 ( #91847 )
...
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
2024-08-26 15:49:19 -04:00
Eric Leijonmarck
413b511452
Revert "feat: Add new read filtering to datasources guardian" ( #92407 )
...
Revert "feat: Add new read filtering to datasources guardian (#91345 )"
This reverts commit 0176ead117 .
2024-08-26 13:16:04 -04:00
Carl Bergquist
61074e7e5e
Devenv: Adds docker for prometheus with high cardinality labels. ( #91035 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-08-26 19:12:59 +02:00
Matias Chomicki
3f88188a42
Logs panel: update internal displayed fields when the prop changes ( #92418 )
2024-08-26 19:08:01 +03:00
Alexander Weaver
490d6ba2fd
Alerting: Extend scheduler user with datasources:read ( #92410 )
...
Add permission
2024-08-26 10:59:54 -05:00
Sonia Aguilar
857e2b1bc3
Alerting: update Grafana recording rule name placeholder ( #92406 )
...
update Grafana recording rule name placeholder
2024-08-26 15:34:49 +00:00
Agnès Toulet
79abc0cf1d
Runtime: Make dashboardSceneSolo flag updatable at runtime ( #92290 )
...
Runtime: Make dashboardSceneSolo flag updatable at runtimeuntime
2024-08-26 17:12:01 +02:00
Matthew Jacobson
32f06c6d9c
Alerting: Receiver API complete core implementation ( #91738 )
...
* Replace global authz abstraction with one compatible with uid scope
* Replace GettableApiReceiver with models.Receiver in receiver_svc
* GrafanaIntegrationConfig -> models.Integration
* Implement Create/Update methods
* Add optimistic concurrency to receiver API
* Add scope to ReceiversRead & ReceiversReadSecrets
migrates existing permissions to include implicit global scope
* Add receiver create, update, delete actions
* Check if receiver is used by rules before delete
* On receiver name change update in routes and notification settings
* Improve errors
* Linting
* Include read permissions are requirements for create/update/delete
* Alias ngalert/models to ngmodels to differentiate from v0alpha1 model
* Ensure integration UIDs are valid, unique, and generated if empty
* Validate integration settings on create/update
* Leverage UidToName to GetReceiver instead of GetReceivers
* Remove some unnecessary uses of simplejson
* alerting.notifications.receiver -> alerting.notifications.receivers
* validator -> provenanceValidator
* Only validate the modified receiver
stops existing invalid receivers from preventing modification of a valid
receiver.
* Improve error in Integration.Encrypt
* Remove scope from alert.notifications.receivers:create
* Add todos for receiver renaming
* Use receiverAC precondition checks in k8s api
* Linting
* Optional optimistic concurrency for delete
* make update-workspace
* More specific auth checks in k8s authorize.go
* Add debug log when delete optimistic concurrency is skipped
* Improve error message on authorizer.DecisionDeny
* Keep error for non-forbidden errutil errors
2024-08-26 10:47:53 -04:00
Irene Rodriguez
22ad1cc16f
update minimum supported version for MySQL ( #92356 )
2024-08-26 10:39:02 -04:00
Julien Duchesne
3ac8760321
OpenAPI: Fix ValidationError message attribute ( #90846 )
...
It's `message`, not `msg`. It's been fixed for a while here: 9ef6983612/scripts/pull-schema.sh (L46-L49)
I've also reflected the change in the tests
2024-08-26 10:05:37 -04:00
Julien Duchesne
087df1d8e5
OpenAPI: Fix alerting DeleteMuteTiming errors ( #91109 )
...
The `GenericPublicError` is not what is actually returned by the API. Using `PublicError` describes the API correctly
2024-08-26 10:04:36 -04:00
Julien Duchesne
0075abe383
OpenAPI: Fix ProvisionedAlertRule.for type ( #90841 )
...
This override has been in the client for a while now: 9ef6983612/scripts/pull-schema.sh (L34-L39)
The API expects a string here and transforms it to a duration internally
2024-08-26 10:04:15 -04:00
Erik Sundell
1373b37166
Plugin Extensions: E2E test addLink and legacy APIs ( #92394 )
...
* cleanup tests
* more cleanup
* added links
* test legacy hooks
* test legacy hooks
* update codeowners
* revert package changes
* add project specfic example script
* remove console log
* Update .github/CODEOWNERS
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com >
* Update CODEOWNERS
* use correct file names
* cleanup tests
---------
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com >
2024-08-26 16:01:32 +02:00
Lucy Chen
a2de893ab3
ShareModal: Change public dashboard text to shared dashboard ( #92327 )
...
* update text
* update link
2024-08-26 09:56:48 -04:00
Aaron Godin
7623a844ba
Add test-go-unit-pretty ( #91645 )
...
Add make task for executing go test over a set of files and piping to tparse
2024-08-26 08:32:42 -05:00
Bogdan Matei
605bc811d2
Scopes: Group suggested dashboards ( #92212 )
2024-08-26 16:08:27 +03:00
Kristina
1dd830b9f1
Correlations: Migrate config type to root ( #91855 )
...
* WIP
* Validate new field, and add value in provisioning if not defined in correct spot
* Simplify logic, use correct value
* fix tests
* Fix linter errors
* fix swagger and tests
* 😬
* Auto-generation isnt doing this..
* Fix linter
* test if nullable is the issue…
* Change structure on the frontend fields
* Try with backtick
* try programatic quoting
* Try only quote non-ints
* quoting, no backticks
* Remove debugging
2024-08-26 08:02:48 -05:00
Kyle Brandt
84e5c3af22
Prometheus/Promlib: Remove the PrometheusDataplane feature so always enabled ( #92218 )
...
This has been default behavior since v10
---------
Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com >
2024-08-26 08:53:38 -04:00
Hugo Kiyodi Oshiro
fa95eb8c02
Plugins: Fix big query credentials and improve detailed report errors ( #92373 )
2024-08-26 13:46:24 +02:00
Sonia Aguilar
116f29be74
Alerting: Update starting version for central ash (OSS users) ( #92399 )
...
* Update starting version for central ash (OSS users)
* Update version
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-08-26 11:41:38 +00:00
Mihai Doarna
096c25a285
Docs: Update TLS info from the LDAP config example ( #91975 )
...
* update TLS info from the LDAP config example
* address feedback
2024-08-26 12:43:01 +03:00
Konrad Lalik
30035b2367
Alerting: Fix invalid loading condition for vanilla Prometheus rules ( #92390 )
...
Remove invalid loading condition
2024-08-26 11:39:53 +02:00
Torkel Ödegaard
f990759633
Dashboards: Fixes timing issue when restoring scroll position ( #92342 )
2024-08-26 10:08:59 +02:00
Haris Rozajac
4015711133
Query Library: Interaction events for query library ( #92159 )
...
* interaction events for query library
* track adding or editing description
* Update to specify it's in explore
2024-08-23 16:17:38 -06:00
Lucy Chen
bef7139af0
Sharing Redesign: Export feedback changes ( #92346 )
...
* adjust height of codeEditor
* 75%
2024-08-23 16:09:02 -04:00
Joseph Perez
8cc95a7459
Docs: Edit contribute/style-guides (part 11 of doc improvement project) ( #92169 )
...
* Docs: edit contribute/style-guides
* Add missing 'is'
* Improve grammar of code comment
* Prettier fixes
* Minor fix
* Minor fix
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-23 08:08:04 -07:00
linoman
ca66133636
SSO LDAP - Address pending PR review comments ( #92368 )
...
* Address pending PR review comments
* Update i18n
2024-08-23 16:35:00 +02:00
Konrad Lalik
494376c5a9
Alerting: Fix resample expression and relativeTimeRange updates ( #91689 )
...
* Use dag to find origin nodes when updating resample queries
Co-authored-by: Gilles De Mey <gilles.demey@grafana.com >
* lint
* fix test and types
* short-circuit function
* Prevent cycles in DAG
* Handle dag cycle error
* Catch the cyclic link error in dashboard variables
---------
Co-authored-by: Gilles De Mey <gilles.demey@grafana.com >
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-08-23 15:22:33 +02:00
SADIK KUZU
b4e7329543
Docs: Fix typo in installation/debian/index.md ( #92040 )
...
Fix typo in installation/debian/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-23 06:44:11 -05:00
Karl Persson
ddee95cb6d
Team: Create permission type for team membership ( #92352 )
...
* Create permission type enum for team and remove usage of dashboard permission type
2024-08-23 12:34:34 +02:00
Arati R.
927ce6c700
Provisioning: Allow startup when there are dashboard provisioning failures ( #92201 )
...
* Stop returning an error if dashboard provisioning fails
* Test that Run() does not error when dashboard provisioning fails
2024-08-23 11:48:42 +02:00
Tito Lins
4a124469fa
Check is config is default by comparing hashes ( #92296 )
2024-08-23 11:22:06 +02:00
Andres Martinez Gotor
a990b77c70
Add preinstall feature to defaults.ini ( #92347 )
2024-08-23 10:32:23 +02:00
Erik Sundell
d8ec95e9b1
E2E: Add support for building test plugins ( #91873 )
...
* build test apps with webpack
* add extensions test app
* update e2e tests
* remove non-build test apps using amd
* use @grafana/plugin-configs rather than create-plugin config
* Update e2e/plugin-e2e/plugin-e2e-api-tests/as-admin-user/extensions/usePluginComponents.spec.ts
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
* Update package.json
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
* use run dir variable instead of hardcoded path
* add dummy licence file
* add separate step for building test plugins
* support nested plugins
* remove react-router-dom from the externals array
* remove add_mode dev
* lint starlark
* pass license path as env variable
* fix the path
* chore(e2e-plugins): clean up dependencies to match core versions
* refactor(e2e-plugins): prefer extending webpack plugins-config
* docs(e2e-plugins): add basic info to extensions test plugin readme
* update readme
* change dir name from custom plugins to test plugins
* change root readme
* update lockfile
---------
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
2024-08-23 09:00:03 +02:00
Alex Khomenko
0af4a20b58
Routing: Import useLocation from compat package ( #92071 )
...
* Routing: Import useLocation from compat package
* Add ComparRouter
* Add CompatRouter
* Fix tests
* Add CompatRouter to TestProvider
* Use findBy
* Remove AppChromeService
* Remove historyOptions
* Routing: Fix alerting/test utils issues from react compat router usage (#92127 )
* Use render from test-utils
* Use compat router
* Convert more tests
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2024-08-23 09:54:13 +03:00
Isabel Matwawana
d24b21d3ef
Docs: update cell inspect behaviour ( #92334 )
2024-08-22 21:26:42 +00:00
Kevin Yu
3d3879fe6c
List Aurora as an enterprise plugin ( #92292 )
2024-08-22 14:05:59 -07:00
Sven Grossmann
ec857e1de9
Loki: Add dashboard and panel names as headers ( #92096 )
...
* feat(nameHeaders): add feature flag
* add safe parsing of headers
* use headers in loki datasource
* Loki: add option to pass headers to Loki
* Loki: add datasource tests for dashboard names
* cleanup
* DataSourceWithBackend: add test
* rename to `sanitizeHeader`
* Loki: add condition when to add headers
* Loki: add e2e tests
* Loki: change test name
2024-08-22 21:30:43 +02:00
Joseph Perez
a7b57be04f
Docs: Edit style-guides (part 12 of doc improvement project) ( #92263 )
...
* Docs: Edit style-guides (part 12)
* Update contribute/style-guides/storybook.md
* Prettier fixes
2024-08-22 12:15:12 -07:00
Joseph Perez
8f807a2df7
Docs: Fix broken link in developers/contribute ( #92328 )
2024-08-22 11:35:54 -07:00
Marcus Andersson
95409f53d2
Bugfix: QueryField typeahead missing background color ( #92216 )
...
Added missing styles to the typeahead menu.
2024-08-22 16:16:48 +01:00
linoman
9fbfaf08a6
SSO LDAP: Add LDAP settings drawer ( #92199 )
...
* Add LdapDrawer component
* Add success message for discarding LDAP settings
* Add Use SSL tooltip
* Add min tls version field
* Change alert error to alert success
* Add tls ciphers field
* Update i18n
* rename ssl for tls
* rename ldap to LDAP
2024-08-22 17:16:18 +02:00
Christian Inkster
922babb157
Alerting: Add mutex to Redis HA subs ( #89870 )
2024-08-22 16:01:33 +01:00
renovate[bot]
81935a3af1
Update dependency @grafana/experimental to v1.8.0 ( #92283 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-22 15:50:27 +01:00
Alexander Akhmetov
832bb01f36
Alerting: Add MQTT notifications receiver ( #91487 )
...
* Alerting: Add MQTT notifications receiver
* Update alerting to 9daa6239cc41dc42bff0e916c8d0d27766caa8b9 (main)
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-08-22 16:47:48 +02:00
Victor Marin
9c73916f09
Fix tests failing due to harcoded date ( #92293 )
...
fix tests failing due to harcoded date
2024-08-22 17:27:40 +03:00
Isabel Matwawana
69f50b3e88
Docs: remove aliases from incorrect files ( #92244 )
2024-08-22 10:24:50 -04:00
Irene Rodriguez
3999b4b616
Added admonition about time zones ( #92288 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-22 14:08:57 +00:00
Affan Amir Mir
4aecb02be2
Update index.md with instructions to install plugins for helm ( #92180 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-22 17:06:36 +03:00
Andres Martinez Gotor
c20ba5b09d
Add some basic stats for plugin preinstalls ( #92220 )
2024-08-22 16:17:27 +03:00
William Wernert
dfbddd8262
Alerting: Fix recording rule export ( #91405 )
...
* Fix HCL export
* Update rule export struct to support new optional fields
* Omit `for` field in export API if empty
2024-08-22 09:04:21 -04:00
Gilles De Mey
00381711a4
Alerting: useProduceNewRuleGroup for creating / updating alert rules. ( #90497 )
...
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2024-08-22 15:57:23 +03:00
renovate[bot]
c315c2719d
Update dependency stylelint to v16.8.2
2024-08-22 12:33:59 +00:00
Andres Martinez Gotor
1b336e94c8
Chore: Check version compatibilty when installing a plugin ( #92200 )
2024-08-22 13:47:00 +02:00
renovate[bot]
f188da7b65
Update dependency rudder-sdk-js to v2.48.16
2024-08-22 11:38:21 +00:00
Torkel Ödegaard
3e84b2ba2f
Dashboard: Fixes closing share modal ( #92267 )
2024-08-22 13:35:24 +02:00
renovate[bot]
7b9843bc13
Update babel monorepo to v7.25.4
2024-08-22 10:30:18 +00:00
Aaron Godin
0176ead117
feat: Add new read filtering to datasources guardian ( #91345 )
...
* feat: Add new read filtering to datasources guardian
* Apply suggestion to use datasources read guardian check for frontend settings
---------
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
2024-08-22 11:26:46 +01:00
renovate[bot]
94a119ac63
Update dependency ol-ext to v4.0.23
2024-08-22 10:09:11 +00:00
Alex Khomenko
022892ef72
Routing: Add CompatRouter to tests ( #92114 )
...
* Add CompatRouter
* Fix tests
* Add CompatRouter to TestProvider
* Use findBy
* Remove AppChromeService
* Remove historyOptions
* Routing: Fix alerting/test utils issues from react compat router usage (#92127 )
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2024-08-22 13:05:12 +03:00
renovate[bot]
7bee9d5e0f
Update dependency knip to v5.27.3
2024-08-22 09:37:17 +00:00
Ieva
41ac5b5ae7
RBAC: Fix an issue with server admins not being able to manage users in orgs that they don't belong to ( #92024 )
...
* look at global perms if user is not a part of the target org
* use constant
* update tests
2024-08-22 10:04:06 +01:00
Sven Grossmann
40cdfeb00b
Loki: Add logsample supporting query type ( #92082 )
...
* Loki: Add `logsample` supporting query type
* use `SupportingQueryType`
* add missing test
2024-08-22 09:12:50 +02:00
Konrad Lalik
db711d6a21
Alerting: Allow groups and namespaces with slashes ( #92183 )
...
* Allow rule groups and namespaces with slashes
* Fix lint
2024-08-22 08:16:28 +02:00
Brendan O'Handley
130a86d9c7
Explore metrics: Improve performance for build layout ( #92238 )
...
* revert buildLayout
* filter metric names using metricPrefix using regex
* build groups with all the metric names and only build them once
* remove commented code
* use the metrics search input results to build the prefix select options
* simplify prefix regex because we do not have to do it at the same time as the metrics search input regex
2024-08-21 20:53:44 -05:00
Lucy Chen
2ad9d8cafe
ShareModal: delete shareView query param from url ( #92243 )
2024-08-21 19:36:20 -03:00
Todd Treece
733ae1f099
Chore: Skip gzip for apiserver routes ( #92245 )
2024-08-21 23:47:58 +03:00
Todd Treece
e4953b6ffd
Chore: Add Dockerfile CI check for new modules ( #92239 )
2024-08-21 16:25:25 -04:00
Todd Treece
a86ded2438
Chore: Add apistore dependency ( #92240 )
2024-08-21 16:22:45 -04:00
Todd Treece
2f01286034
Storage: Add go.mod for apistore ( #92224 )
2024-08-21 14:32:01 -04:00
Kristin Laemmert
2d0350e786
add spans to search v2 ( #92223 )
...
add tracing spans to search v2 service
2024-08-21 13:26:34 -04:00
Kristin Laemmert
aa913b5f39
chore: add tracing to quote API and service methods with contexts ( #92211 )
...
* chore: add tracing to quote API and service methods with contexts
I also fixed a typo (overriden -> overridden) and removed a method that looked like it wasn't useful anymore. (It seemed to exist to return an error, but never returned an error, and so just added many lines of unnecessary error checking).
2024-08-21 13:24:45 -04:00
Ryan McKinley
2136fd9a92
Storage: Remove unified storage feature flag ( #92192 )
...
remove unified storage flag
2024-08-21 19:28:30 +03:00
renovate[bot]
71f0dae39e
Update dependency mini-css-extract-plugin to v2.9.1
2024-08-21 16:16:12 +00:00
Todd Treece
2d43fdb29b
Aggregator: Add mutation and validation handlers ( #92036 )
2024-08-21 19:12:53 +03:00
renovate[bot]
6891eb1d35
Update dependency knip to v5.27.2 ( #92214 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 16:51:23 +01:00
Ashley Harrison
9f8e68e9a1
Docs: Update adhoc filter documentation ( #92197 )
...
update adhoc filter documentation
2024-08-21 16:50:32 +01:00
Dave Henderson
df3d8915ba
Chore: Bump Go to 1.23.0 ( #92105 )
...
* chore: Bump Go to 1.23.0
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* update swagger files
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* chore: update .bingo/README.md formatting to satisfy prettier
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* chore(lint): Fix new lint errors found by golangci-lint 1.60.1 and Go 1.23
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* keep golden file
* update openapi
* add name to expected output
* chore(lint): rearrange imports to a sensible order
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2024-08-21 11:40:42 -04:00
brendamuir
02c820382d
Alerting docs: separates doc on create alerts from panels ( #92131 )
...
* Alerting docs: separates doc on create alerts from panels
* deletes previous panel section
* adds time series limitation and play link
* removes play from old topic
* ran prettier
* removed play shortcode, typo
* adds feedback from gilles
---------
Co-authored-by: tonypowa <tonypowa@gmail.com >
2024-08-21 17:20:59 +02:00
Ashley Harrison
e675455502
PublicDashboards: Fix public dashboards when publicDashboardsScene is enabled ( #92187 )
...
* fix public dashboards pages when publicDashboardsScene is enabled
* properly handle react-grid-layout at small screen sizes
* use unset instead of auto
2024-08-21 16:16:12 +01:00
Kristin Laemmert
a04d2f44f8
chore: add spans to publicdashboards service methods ( #92149 )
...
* chore: add spans to publicdashboards service methods
* add tracing to test service
* test fixture whackamole
* move tracer to a package var
* Update pkg/services/publicdashboards/service/service.go
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
---------
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
2024-08-21 10:55:16 -04:00
Andres Martinez Gotor
21bf013a8e
Add support for synchronous plugin installation ( #92129 )
2024-08-21 16:11:55 +02:00
Torkel Ödegaard
801f2ba728
DashboardScene: Support remember scroll position when coming back from view panel, panel edit and settings ( #92185 )
...
* DashboardScene: Support remember scroll position when coming back from view panel, panel edit and settings
* remove unused state prop
* Update
* Fixes
* Update e2e
2024-08-21 14:05:07 +00:00
Leonor Oliveira
81ce3c92d5
Remove optionsStorage and labelSelector ( #92196 )
2024-08-21 15:44:38 +02:00
Diego Augusto Molina
9a65d0a977
Storage: remove sqlstore.WrapDatabaseDriverWithHooks ( #92111 )
...
remove sqlstore.WrapDatabaseDriverWithHooks from Unified Storage after related incident
2024-08-21 10:31:34 -03:00
Ryan McKinley
2e60f28044
Auth: remove id token flag ( #92209 )
2024-08-21 16:30:17 +03:00
renovate[bot]
302bfe3edf
Update dependency i18next-parser to v9.0.2
2024-08-21 13:24:51 +00:00
Matias Chomicki
1b6db3da22
Loki language provider: don't cache empty array while querying ( #92092 )
...
* Loki language provider: don't cache empty array while querying
* Prettier
* Unfocus test
* chore: add extra assertion
2024-08-21 13:07:01 +00:00
Torkel Ödegaard
4bc64dd747
Page/Body: Only show scrollbar lane gutter when needed ( #92186 )
...
* Page/Body: Only show scrollbar lane gutter when needed
* Update packages/grafana-ui/src/themes/GlobalStyles/elements.ts
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-08-21 14:44:12 +02:00
Fayzal Ghantiwala
8d725a641c
Alerting: Integration test for testing template via remote alertmanager ( #92147 )
...
* Add integration test for testing template
* Update drone signature
2024-08-21 13:06:01 +01:00
renovate[bot]
237f8c7bac
Update dependency downshift to v9.0.8
2024-08-21 11:53:12 +00:00
Ryan McKinley
9563c896ee
Playlists: limit the total number of playlists ( #92132 )
2024-08-21 14:49:28 +03:00
Ashley Harrison
4d82139a33
Chore: Migrate _button SCSS styles to emotion globals ( #92135 )
...
migrate button styles to emotion globals
2024-08-21 12:46:30 +01:00
renovate[bot]
f26258984a
Update dependency core-js to v3.38.1
2024-08-21 11:30:50 +00:00
renovate[bot]
9494e9b847
Update dependency @types/react-transition-group to v4.4.11
2024-08-21 10:58:24 +00:00
renovate[bot]
ef832219ed
Update dependency @types/ini to v4.1.1
2024-08-21 10:04:09 +00:00
Ashley Harrison
292982f30b
Collapse: stop cropping focus rings ( #92190 )
...
remove overflow: hidden; from bodyContentWrapper
2024-08-21 11:01:53 +01:00
renovate[bot]
584559d3c2
Update dependency @react-awesome-query-builder/ui to v6.6.3
2024-08-21 09:33:03 +00:00
renovate[bot]
a8c6000c19
Update dependency @prometheus-io/lezer-promql to v0.53.2 ( #92148 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-21 09:49:14 +01:00
Will Browne
aea8b60849
Plugins: Add support for fetching plugin includes from plugin CDN ( #91476 )
...
* update oss side
* add Rel func to plugins.FS
* update tests
* add comment
* fix fs paths for nested plugin
* fix test
* fix sources
* fix cdn class bug
* update tests
* remove commented out code
2024-08-21 09:46:41 +01:00
Victor Marin
e7c628f4e7
Bump scenes to 5.10.1 ( #92140 )
...
* bump scenes to 5.10.1
* mock config version
* refactor
* refactor
2024-08-21 11:45:37 +03:00
Ida Štambuk
0c55d0aa64
Features: Move openSearchBackendFlowEnabled toggle to GA ( #92117 )
2024-08-21 10:21:57 +02:00
Karl Persson
b6540e2a18
SSOSettings: Add api:s ( #92018 )
...
* apis: add sso setting resource
* Implement Storage for sso
* Rename packages
* Merge identity and sso package
* Update table format and expose GetNestedBool
* Restructure identity api package
2024-08-21 09:16:47 +02:00
Diego Augusto Molina
80a69319b0
WebAssets: improve checks and error messages on dtos ( #92093 )
...
fix web assets check and improve error message
2024-08-20 18:35:48 -03:00
Yuri Tseretyan
d27c3822f2
Alerting: Add Create and Update methods to Template service ( #91981 )
...
* rename SetTemplate to UpsertTemplate
* Introduce Create\Update methods
* update api endpoint to use GetTemplate
2024-08-20 15:23:01 -04:00
Kyle Brandt
cab5818bc7
Scopes: Add groups property to ScopeDashboardBinding ( #92077 )
...
- Note: The `dashboardTitle` property and this property (`groups`) are likely to move from the `spec` container to the `status` container within the `scopeDashboardBinding` object in the future.
2024-08-20 19:32:16 +03:00
renovate[bot]
15a623c344
Update dependency @playwright/test to v1.46.1
2024-08-20 16:03:07 +00:00
linoman
eecd56659c
LDAP: SSO Configuration page ( #91875 )
...
* Init screen for LDAP UI
* add ldap drawer
* update routes
* update definitions
* add definitions for ldap configurations
* improve readibility
* remove whitespace
* clean up
* Adjust LdapSettingsPage
* adjust form autocomplete from backend call
2024-08-20 17:31:13 +02:00
Alexa V
cd4b7ef9db
Dashboard Scene: Fix snapshots not displaying variables values ( #88967 )
...
* Use new snapshot variables from scenes
* Add snapshotVariable implementation
* Refactor: Extract variables logic from transforSaveModelToScene file
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2024-08-20 17:05:12 +02:00
Gilles De Mey
6f63def283
Alerting: Fix long Alertmanager names overflowing the window ( #92023 )
...
fix long names overflowing the window
2024-08-20 17:02:35 +02:00
brendamuir
0631322d36
Alerting docs: adds sns integration ( #92075 )
...
* Alerting docs: adds sns integration
* deletes 2000 alert rule limit
* added .md ext and set weight field to 0
---------
Co-authored-by: tonypowa <tonypowa@gmail.com >
2024-08-20 16:22:07 +02:00
Sergej-Vlasov
5bfce7f590
DashboardGridItem - increase timeout in flaky panel repeat test ( #92133 )
...
increase timeout in flaky panel repeat
2024-08-20 17:19:28 +03:00
renovate[bot]
17fd8a6bc3
Update dependency @msagl/parser to v1.1.22
2024-08-20 14:01:04 +00:00
Lucy Chen
1056cc6a0d
Share Panel: Library panels feature ( #91419 )
2024-08-20 09:56:10 -04:00
Leon Sorokin
74ebc66520
VizTooltip: Fix positioning at bottom and right edges on mobile ( #92042 )
2024-08-20 08:48:37 -05:00
Will Browne
d35e9264bb
Plugins: Use plugins SDK constants for OAuth header names ( #90892 )
...
use SDK consts
2024-08-20 13:29:41 +01:00
Diego Augusto Molina
e788df921c
Storage: always use transactions and make them readonly when possible ( #92110 )
...
* always use transactions and make them readonly when possible
* fix linters
* fix reference
2024-08-20 09:29:06 -03:00
Will Browne
704b07b3f0
Plugins: Bump plugin SDK to latest (0.244.0) ( #92057 )
...
bump SDK
2024-08-20 14:40:51 +03:00
renovate[bot]
8b11040b05
Update dependency @msagl/core to v1.1.22
2024-08-20 11:23:27 +00:00
renovate[bot]
1525ee1a04
Update dependency @lezer/highlight to v1.2.1
2024-08-20 10:23:17 +00:00
David Harris
24dad802c9
chore: update plugin schema for ui extensions ( #92121 )
...
chore: update plugin.schema.json
Follow up to https://github.com/grafana/plugin-tools/pull/1060/
2024-08-20 11:20:21 +01:00
renovate[bot]
90c5845b72
Update React Aria
2024-08-20 09:36:55 +00:00
Alexander Akhmetov
d32e1e009b
Alerting: Update prometheus/client_golang to v1.20 ( #92070 )
...
Update prometheus/client_golang to v1.20
2024-08-20 11:26:06 +02:00
renovate[bot]
d9812153dd
Update dependency typescript to v5.5.4 ( #91678 )
...
* Update dependency typescript to v5.5.4
* fix missing typeof
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-08-20 10:11:57 +01:00
Sergej-Vlasov
7c8184d5bf
DashboardModel - Add fallback for variable current value fallback ( #91833 )
...
* add variable current value fallback when null
* refactor to avoid loosing reference
2024-08-20 11:55:04 +03:00
Ieva
2e9cbda448
Docs: Add cloud label to doc articles ( #92007 )
...
* add service account docs to cloud docs
* also add label to RBAC docs
2024-08-20 09:52:04 +01:00
Ashley Harrison
ab312914cd
Chore: cleanup util SCSS styles ( #92078 )
...
migrate SCSS util classes
2024-08-20 09:31:04 +01:00
Laura Benz
e7b6b4cf34
RestoreDashboards: Add folder picker to restore modal ( #91945 )
...
* feat: add folder picker
* feat: run i18n extraction
* feat: add target folder to api query
* feat: hand over targetFolder data to api query
* feat: retrieve original location
* feat: Add condition for folder picker
* feat: Modify condition for folder picker default
* refactor: add changes from code review
* refactor: add changes from code review
* feat: add plural to translation, add styling
* feat: run i18n extraction
2024-08-20 10:08:18 +03:00
Ihor Yeromin
5233e4b47f
Stat: Fix double-zero percent render ( #91848 )
...
fix(stat): percent zero case
2024-08-20 04:25:15 +03:00
Pepe Cano
a0e1028ae6
Alerting docs: include Grafana Alerting API as one option to manage… ( #91593 )
...
Alerting docs: include `Grafana Alerting API` as one option to manage Data sources-mangaged resources
2024-08-20 00:03:07 +02:00
owensmallwood
1cb3470e3e
Unified Storage: Wrapping the mysql driver with hooks causes issues ( #92099 )
...
dont wrap the mysql driver with hooks. Its causing the error 'begin tx: sql: driver does not support non-default isolation level'.
2024-08-19 15:09:25 -06:00
Todd Treece
b97fb3bb78
Chore: Update storage and search feature toggle owners ( #92098 )
2024-08-19 16:57:00 -04:00
Alexander Weaver
ac5ebe6e4d
Alerting: Add enablement flag for recording rules ( #92032 )
...
* Add enablement flag
* Disable if toggle not enabled
2024-08-19 12:01:00 -05:00
Dan Cech
9020eb4b17
Auth: Update oauthtoken service to use remote cache and server lock ( #90572 )
...
* update oauthtoken service to use remote cache and server lock
* remove token cache
* retry is lock is held by an in-flight refresh
* refactor token renewal to avoid race condition
* re-add refresh token expiry cache, but in SyncOauthTokenHook
* Add delta to the cache ttl
* Fix merge
* Change lockTimeConfig
* Always set the token from within the server lock
* Improvements
* early return when user is not authed by OAuth or refresh is disabled
* Allow more time for token refresh, tracing
* Retry on Mysql Deadlock error 1213
* Update pkg/services/authn/authnimpl/sync/oauth_token_sync.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update pkg/services/authn/authnimpl/sync/oauth_token_sync.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Add settings for configuring min wait time between retries
* Add docs for the new setting
* Clean up
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
---------
Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com >
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2024-08-19 18:57:37 +02:00
Ashley Harrison
5ce9324801
fix nav border when bodyscrolling with sticky variables ( #92087 )
...
* fix nav border when bodyscrolling with sticky variables
* better fix
2024-08-19 18:59:46 +03:00
qiyang
950d5630a0
Docs: Update configure-prometheus-data-source.md ( #92049 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-19 17:43:33 +03:00
Larissa Wandzura
7ff8b1e0e2
Docs: Create new landing page and Get started doc for Explore ( #91602 )
...
* started updates
* added descriptions
* changed some wording
* minor updates
* updates
* updates
* created new landing page, and the get started page
* finished creating landing page
* continued with restructure
* final edits
* updated the Explore landing page
* ran prettier
* Update docs/sources/explore/get-started-with-explore.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/explore/get-started-with-explore.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/explore/get-started-with-explore.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/explore/get-started-with-explore.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/explore/get-started-with-explore.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/explore/get-started-with-explore.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/explore/get-started-with-explore.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/explore/get-started-with-explore.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* updates based on Jack's feedback
* ran prettier a second time
* wording change on landing page
* removed uncommented section
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-19 09:30:51 -05:00
Tom Ratcliffe
e2a1d59a96
Alerting: Remove disable logic for name field on time intervals when using k8s API ( #91885 )
...
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-08-19 14:53:12 +01:00
Torkel Ödegaard
43dba8c3f9
DashboardScene: Support bodyScrolling ( #91888 )
...
* Progress
* Fix dashboards pane
* almost working
* add hook to get scopesDashboardsScene state
* check whether it's enabled when considering opened state
* add height to container
* Update
* revert change
* Make it work when bodyScrolling is disabled
* Last tweaks
* Update scenes
* Updating
* Fix
* fix tests
* fix lint issues
* fix lint issues
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-08-19 15:42:45 +02:00
Seungyong Lee
7647c689f1
Docs: Revise Configure Prometheus documentation to align with Grafana v11.1 ( #91852 )
2024-08-19 12:17:10 +00:00
Ryan McKinley
65a7d8f023
Chore: Fix panic with golang 1.23 ( #92055 )
2024-08-19 13:31:01 +03:00
Juan Cabanas
a50b5564be
ShareModal: shareView query param fix ( #92020 )
2024-08-19 07:28:54 -03:00
renovate[bot]
8d197387ed
Update dependency @grafana/tsconfig to v2 ( #92056 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 13:13:33 +03:00
Laura Fernández
84e0aa1ccd
RestoreDashboard: Avoid overwrite when saving dashboard triggers a 'name-exists' error ( #91881 )
2024-08-19 11:31:40 +02:00
Joey
41fc6ab89e
Tempo: Update max options ( #92050 )
...
* Update max options
* Update limit
2024-08-19 10:26:55 +01:00
Ryan McKinley
9567275365
SQL: Add more legacy helpers ( #92006 )
2024-08-19 12:15:43 +03:00
Alexander Zobnin
87c4f2448c
Zanzana: Use modular schema ( #92001 )
...
* Zanzana: Use modular schema
* Fix tests
* Add module transform tests
2024-08-19 11:10:51 +02:00
Ashley Harrison
dcdef1a02d
TextPanel: Prevent panel crashing when interpolating variables results in empty content ( #92019 )
...
fix text panel crashing when interpolating variables results in empty content
2024-08-19 09:45:58 +01:00
Erik Sundell
134467fc4a
Plugin Extensions: Introduce new registry for exposed components ( #91748 )
...
* refactor app plugin internals
* add base registry and exposed components registry
* refactor usePluginComponent hook
* change type name
* fix hook
* remove comments
* fix broken tests
* add more tests
* remove link and component related changes
* use right id format
* add title prop
* remove comments
* rename registry
* make exportedComponentsConfigs required
* fix broken test
* cleanup tests
* fix prop name
* remove capability related code
* rename exported to exposed
* refactor(extensions): make registry types generic
* Update public/app/features/plugins/extensions/registry/ExportedComponentsRegistry.test.ts
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
* fix levitate error
---------
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2024-08-19 08:43:11 +02:00
Todd Treece
4a753dd2d5
Chore: Switch dev profiling address to 127.0.0.1:6000 ( #91916 )
2024-08-18 13:45:55 -04:00
Drew Slobodnjak
d3c6e2b203
Table: Avoid rtl when using datalinks with units ( #92038 )
2024-08-16 15:42:20 -07:00
Jeff Levin
028e8ac59e
Instrument tracing across accesscontrol ( #91864 )
...
Instrument tracing across accesscontrol
---------
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
2024-08-16 14:08:19 -08:00
Brendan O'Handley
68f545210d
Prometheus: Fix label names select component when there are too many options ( #92026 )
...
* add more doc info for truncate function and how we use it
* truncate label names and allow users to search all labels on typing
* remove unused import
* handle labels select in variable query in addition with truncated list
2024-08-16 13:55:03 -05:00
Todd Treece
def8104e74
Aggregator: Prepare for new handlers ( #92030 )
2024-08-16 14:13:38 -04:00
Yuri Tseretyan
135f6571a9
Alerting: Update Time Interval service to support renaming of resources ( #91856 )
...
* add RenameTimeIntervalInNotificationSettings to storage
* update dependencies when the time interval is renamed
---------
Co-authored-by: William Wernert <william.wernert@grafana.com >
2024-08-16 20:55:03 +03:00
Drew Slobodnjak
3c5d799c8c
BarChart: Prevent label clipping at top ( #91990 )
...
* BarChart: Prevent label clipping at top
* Fix const issue
2024-08-16 09:29:25 -07:00
Lu Shueh Chou
126169f3ca
Alerting: Add LogicOr operation option ( #89258 )
...
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-08-16 11:02:14 -04:00
Irene Rodriguez
62abaea8f5
Capitalized list items under "With Explore Metrics, you can:" ( #91879 )
...
capitalised list items under "With Explore Metrics, you can:"
2024-08-16 09:01:53 -05:00
Isabella Siu
6000d6a1ad
ElasticSearch: Neaten up vars/consts ( #91989 )
...
ElasticSearch: neaten up vars/consts
2024-08-16 09:42:39 -04:00
Todd Treece
a12b372556
Plugins: Update missed ConversionHandler checks ( #92011 )
2024-08-16 16:10:32 +03:00
Joey
ca56f16615
Tempo: Improve performance of drop down in variable query editor ( #92010 )
...
Improve performance of drop down
2024-08-16 14:07:09 +01:00
Tobias Skarhed
b0031c0781
New Select: Set highlighted index to selected item on open ( #91951 )
...
* Set highlighted index on open
* Remove console log
* Use defaultHighLightedIndex
2024-08-16 14:47:39 +02:00
Ryan McKinley
f432a1713b
SQLTemplate: Swap the IFace with the concrete struct ( #92008 )
2024-08-16 15:12:37 +03:00
Ashley Harrison
32a5651e96
Chore: Remove breakpoints SCSS ( #91883 )
...
remove breakpoints mixins
2024-08-16 12:38:26 +01:00
Ryan McKinley
d9cabe5e14
SQL: Add sql template test helper ( #91953 )
2024-08-16 14:36:56 +03:00
Ieva
ac72098248
RBAC: Update access action set toggle stage ( #91976 )
...
update access action set toggle stage
2024-08-16 13:57:09 +03:00
Andres Martinez Gotor
5bf6ffc315
Change plugin install config syntax ( #91895 )
2024-08-16 09:44:47 +02:00
Brendan O'Handley
f01263803a
Prometheus: Add a limit for the series resource api in metrics browser ( #91555 )
...
* add a limit for the series resource api in metrics browser
* decouple serieslimit from options and only use in metrics browser
* add series limit input to metrics browser
* add warning
* add and fix tests
* add new param to jsdoc
* do not use the limit in other calls outside metrics browser
* update test
* trim limit
* fix tests, remove limit from non labels calls
2024-08-15 23:39:42 +03:00
Drew Slobodnjak
de0e6d0fce
PanelInspect: Handle field type frame for csv export ( #91983 )
...
PanelInspect: Handle field type frame
2024-08-15 13:15:49 -07:00
Todd Treece
e60b0aef83
Plugins: Add support for ResourceConversion ( #91977 )
2024-08-15 16:02:21 -04:00
owensmallwood
28f2a4078d
Unified Storage: Records grafana database metrics ( #91932 )
...
* records grafana database metrics for unified storage
* update type to tracing.Tracer
* use nil for tracer in tests
2024-08-15 11:13:36 -06:00
Lucy Chen
d8ae905758
Change Public Dashboard text in Enterprise Users section ( #91816 )
...
* update text
* update tooltip
* add conditionals
* add conditions
* add conditionals
* fix conditionals
2024-08-15 13:09:01 -04:00
Matias Chomicki
4751bf915a
Loki: Higlight search words in queries when using template variables ( #91949 )
...
* backendResultTransformer: use templateSrv to highlight search words from variables
* Add unit tests
* Formatting
* Fix import issues
* Update public/app/plugins/datasource/loki/backendResultTransformer.ts
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
* Refactor: use executedQueryString to get the interpolated query
* Remove unused imports
* Update public/app/plugins/datasource/loki/backendResultTransformer.test.ts
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
2024-08-15 19:20:48 +03:00
Kristin Laemmert
c6ae2d7999
chore: add replDB to team service ( #91799 )
2024-08-15 12:19:38 -04:00
Fayzal Ghantiwala
e321dbb690
Alerting: Use remote Alertmanager to test templates and receivers when enabled ( #91570 )
...
* Initial impl
* Add code to test templates and receivers
* Fix linter
* Fix forked am tests
* Update mimir client
* Remove trailing whitespace
* re-trigger CI
2024-08-15 16:56:14 +01:00
Matthias Loibl
fbc195549f
Parca: Update supported version to v0.19+ ( #89826 )
...
* pkg/tsdb/parca: Upgrade to using the flamegraph arrow
* pkg/tsdb/parca: Delete code for old flamegraphs
* pkg/tsdb/parca: Fix golangci-lint error in test
* pkg/tsdb/parca: Handle errors nicely
* docs/sources/datasource: Add Parca v0.19+ support note
* pkg/tsdb/parca: Don't use arrow table reader
As pointed out during reviews, it's not really needed and we can read the record directly.
2024-08-15 17:31:03 +02:00
Abdessamad Enabih
530355d5db
Profile: Add tooltip to revoke session button ( #91858 )
...
* A11y: Buttons in profile/sessions do not provide tooltips
* Adressing PR comment for #91858
2024-08-15 18:24:38 +03:00
Matias Chomicki
40c6f741c0
Logs: Show older logs button when infinite scroll is enabled and sort order is descending ( #91060 )
...
* LogsNavigation: show older logs button when the order is descending
* LogsNavigation: adjust styles for showing only older logs button
* Logs Navigation: revert changes
* Infinite scroll: add older logs button
* Older logs button: show only in explore
* chore: add unit test
* Formatting
* Update public/app/features/logs/components/InfiniteScroll.test.tsx
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
* Chore: add missing translation
* Chore: move the button a tiny bit
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
2024-08-15 18:17:47 +03:00
Santiago
f852bf684a
Alerting: Fix duplicated silences in remote primary mode bug ( #91902 )
...
* Alerting: Fix duplicated silences in remote primary mode bug
* test that a new silence id returned by calling CreateSilence() on the internal Alertmanager is ignored
2024-08-15 17:14:55 +02:00
Kyle Cunningham
f14fd5828a
Table panel: Improve cell inspector ( #91862 )
...
* Improve cell inspector
* Update types
* Prettier
* Type checking fixes
2024-08-15 22:04:36 +07:00
Alexander Zobnin
aaf33c7923
Zanzana: Migrate basic, fixed and custom roles ( #91814 )
...
* Zanzana: Migrate basic roles permissions
* add basic roles assignments
* refactor
* Sync basic roles permissions in all orgs
* migrate fixed roles
* map root folders to orgs
* fix basic role assignments in orgs
* migrate other roles
* migrate team roles assignments
* add notes about authorization schema
* don't migrate fixed roles
2024-08-15 16:13:27 +02:00
Kat Yang
4b0e8653f2
Refactor: Consolidate code for query generator ( #91415 )
...
* Refactor: Consolidate code for query generator
* Update public/app/features/trails/AutomaticMetricQueries/query-generators/default.ts
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
* fix: rename index.ts to getQueryGeneratorFor.ts to avoid barrel files
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-08-15 09:50:56 -04:00
Yuri Tseretyan
5834981f86
Alerting: Add GetTemplate to template service and update tests ( #91854 )
...
* add GetTemplate to template service
* refactor GetTemplates to fetch all provenances at once
* refactor tests
2024-08-15 09:17:48 -04:00
Mehrshad Lotfi
868f9320e9
CI: Fix missing vendor dependencies ( #91872 )
...
* Add missing dependency to Dockerfile
Add aggregator dependency to Dockerfile, fix the issue #91871 .
* Add defaults.ini to Dockerfile, add bash for alpine
2024-08-15 09:02:15 -04:00
Joao Silva
42efb14989
Bookmarks: Move building logic to the Frontend ( #91849 )
2024-08-15 13:35:20 +01:00
Mihai Doarna
d6e793b31e
SSO: Add server discovery URL on Generic OAuth config ( #91047 )
...
* add OpenID metadata URL field
* add i18n generated content
* configure server discovery URL in a modal
* remove getValues
* address feedback
* update field name to OpenID Connect Discovery URL
* add well-known suffix to the URL provided
* address feedback
* add isLoading state to ServerDiscoveryField
2024-08-15 15:00:25 +03:00
Ryan McKinley
a0cd89860e
Identity: Add endpoint to get display info for an identifier ( #91828 )
2024-08-15 14:38:43 +03:00
Alexander Akhmetov
c7fdf8ce70
Alerting: Add error to annotations on data source errors ( #91594 )
2024-08-15 12:34:50 +02:00
Karl Persson
5105fb7f3a
Identity: remove GetIDClaims ( #91901 )
...
remove GetIDClaims
2024-08-15 11:39:13 +02:00
Ashley Harrison
2ac247be88
Navigation: Fix scope dashboards selector with bodyScrolling ( #91892 )
...
* almost working
* add hook to get scopesDashboardsScene state
* check whether it's enabled when considering opened state
* add height to container
2024-08-15 09:58:26 +01:00
Todd Treece
d6ce6aaf44
Aggregation: Support apidiscovery.k8s.io/v2 ( #91938 )
2024-08-15 04:39:53 -04:00
grafana-delivery-bot[bot]
675a58b680
Release: Bump version to 11.3.0-pre ( #91863 )
...
* bump version 11.3.0-pre
* fix linters with: yarn run prettier:write
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
2024-08-14 18:34:14 -03:00
Adela Almasan
f6b55ced6f
Canvas: Remove null data links ( #91859 )
2024-08-14 23:58:39 +03:00
grafana-delivery-bot[bot]
38957b32ab
Release: update changelog for 11.1.4 ( #91930 )
...
* Update changelog
* fix changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
2024-08-14 17:12:21 -03:00
Juan Cabanas
07500e11be
ShareExternally: Rename public dashboard section ( #91928 )
2024-08-14 17:03:19 -03:00
Alexander Weaver
34ab5fe1f3
Alerting: Restart rule routines if the type changes ( #90867 )
...
* Restart when types change
* Wire up test hooks correctly
* testing
2024-08-14 14:57:47 -05:00
Todd Treece
f158d52ae4
Aggregator: Rename DataServiceType to QueryServiceType ( #91929 )
2024-08-14 22:28:57 +03:00
Kyle Cunningham
40144eb3c8
Table: Fix edge case where text wrapping crashes on undefined header widths ( #91850 )
...
Make sure we don't read from header groups if it's undefined
2024-08-15 01:49:28 +07:00
grafana-delivery-bot[bot]
8c4da28d7c
Release: update changelog for 11.0.3 ( #91923 )
...
* Update changelog
* fix changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
2024-08-14 15:47:21 -03:00
Isabel Matwawana
3087eae71d
Docs: Add max logo size ( #91800 )
2024-08-14 13:53:09 -04:00
grafana-delivery-bot[bot]
648005e0bb
Release: update changelog for 10.4.7 ( #91908 )
...
* Update changelog
* fix changelog
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
2024-08-14 14:47:57 -03:00
Pepe Cano
98a74d844e
Add grafana_state_reason section in State of alerts ( #91562 )
...
* Add `grafana_state_reason` section in State of alerts
* Minor edit for clarification
* Mention `Paused/RuleDeleted/Updated` states
2024-08-14 19:22:55 +02:00
Juan Cabanas
8a97143120
ShareDrawer: Share snapshot panel ( #90678 )
2024-08-14 13:15:47 -03:00
Kristina
7cc925d319
Query Library: Enable edit description ( #90009 )
...
* WIP
* Finish getting form to populate
* WIP API
* Get PUT to work although the edit doesnt apply yet
* Complete working PUT
* PATCH v1 no json patch
* This works!
* Fix headers to be configurable
* Fix translations
* Revert "This works!"
This reverts commit d57ffcbc4b .
# Conflicts:
# public/app/features/query-library/api/factory.ts
# public/app/features/query-library/api/query.ts
# public/app/features/query-library/types.ts
* Use normal method of patching 😅
* Replace add to library form with generic version
* make translations generic
* Rename function, fix bad conflict resolution
2024-08-14 10:11:53 -05:00
Todd Treece
da6b02a2b0
K8s: Add k8s codegen PR check ( #91903 )
2024-08-14 11:06:37 -04:00
Andres Martinez Gotor
44290ddf32
Adapt plugin page to preinstalled plugins ( #91874 )
2024-08-14 17:04:59 +02:00
Mihai Doarna
340af8cf6b
Docs: Update SAML docs after making the certificate/private key optional ( #91202 )
...
* update SAML docs after changing the certificate/private key to be optional
* fix link with example of how to generate saml credentials
* revert link
2024-08-14 18:02:57 +03:00
Bogdan Matei
b0dd3fb1a1
Scopes: Add extra-check for fetching dashboards ( #91896 )
2024-08-14 18:00:09 +03:00
Karl Persson
e9bb3b4d73
Annotations: only set userID if caller is a user or service account ( #91898 )
...
* Ignore errors when extracting current user id
* Only set userID if caller is user or service account
* Fix patch api
2024-08-14 16:07:15 +02:00
Torkel Ödegaard
db5d8f03b7
Drawer: Fixes incorrect mask background and flickering ( #91890 )
2024-08-14 16:04:35 +02:00
Juan Cabanas
b569c1610f
ShareDrawer: Share embed panel ( #90994 )
2024-08-14 10:49:10 -03:00
Andres Martinez Gotor
55381a3e77
Add check for update/uninstall of plugins ( #91889 )
2024-08-14 14:57:37 +02:00
Ieva
134b9f731f
RBAC: Hide root level folder creation button if the user doesn't have the right permissions ( #91502 )
...
* hide root level folder creation button if the user doesn't have the right permissions
* linting
2024-08-14 11:53:03 +01:00
Karl Persson
8d36111420
IDForwarding: Set identity type and uid ( #91830 )
...
* Set identity type and uid
* Set uid without prefix
* Update authlib version
* Update to new claim name
2024-08-14 10:51:44 +02:00
Yulia Shanyrova
d1b0e70f8d
Plugins: Remove cards and list display options functionality from plugin catalogue ( #91840 )
...
* remove displayMode functionality from plugin catalogue
* remove test for removed functionality
* fix linting
2024-08-14 10:24:10 +02:00
Ryan McKinley
427dad26a2
Swagger: Add a custom swagger/api page ( #91785 )
...
Co-authored-by: Kristian Bremberg <kristian.bremberg@grafana.com >
2024-08-14 09:03:00 +03:00
Todd Treece
dacf11b048
K8s: Fix hack/update-codegen ( #91867 )
2024-08-14 08:17:05 +03:00
David Allen
e90b272299
docs: add play link to explore metrics to demonstrate ( #91744 )
2024-08-13 16:16:50 -05:00
Todd Treece
1b0e6b5c09
K8s: Data Plane Aggregator ( #91228 )
2024-08-13 22:28:17 +03:00
Todd Treece
4ce82d3f14
Chore: Update k8s.io dependencies to v0.30.0 ( #91851 )
2024-08-13 14:01:48 -04:00
Matias Chomicki
699ff406c3
Logs panel: Enable displayedFields in dashboards and apps ( #91810 )
...
* LogsPanelCfg: add displayedFields
* LogsPanel: expose displayedFields
* Chore: add docs
* LogsPanel: add callbacks to external API
* LogsPanel: expose field callbacks and add default implementation
* chore: add unit test
* chore: unfocus test
* LogsPanel: add docs for new props
* Enable by default
2024-08-13 18:58:15 +03:00
Gilles De Mey
0a2db346ab
Alerting: use new Alertmanager update hooks for mute and active time intervals ( #91404 )
2024-08-13 17:38:40 +02:00
Yuri Tseretyan
7b919e3277
Alerting: MuteTimeService to support TimeInterval and MuteTimeInterval fields in Alertmanager config ( #91500 )
...
* update notification policy provisioing to consider time intervals
* change names of intervals to be in order
2024-08-13 11:37:21 -04:00
Leonor Oliveira
d52d04b6d8
Revert "Use dw dynamic config" ( #91846 )
...
Revert "Use dw dynamic config (#91222 )"
This reverts commit 0258842f87 .
2024-08-13 17:24:26 +02:00
Mihai Doarna
b4db8bb967
LDAP: Remove omitempty flag from json annotation ( #91843 )
...
* remove omitempty flag from json annotation
* fix unit test
2024-08-13 18:17:52 +03:00
Brendan O'Handley
e0b8a00e78
Prometheus: Histogram table format should keep le values as strings ( #91662 )
...
* remove le value parsing as numbers
* add tests
2024-08-13 10:06:53 -05:00
Yuri Tseretyan
db33df5041
Alerting: Template API to return errutil errors ( #91821 )
2024-08-13 10:59:19 -04:00
Andres Martinez Gotor
9067797eb4
Feature: Allow to install plugins through configuration ( #91790 )
2024-08-13 16:57:55 +02:00
Kim Nylander
b03a709500
[DOC] Update Tempo and Pyroscope data source doc ( #91704 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-13 10:39:55 -04:00
Joey
d779dfb0a2
Tempo: Select performance improvements ( #91732 )
...
* Tempo select performance improvements
* Update type
* Tidy up and simplify
* Update tagValueOptions
* Update GroupBy options
2024-08-13 15:24:58 +01:00
Joey
d72846790e
Tempo: Send the existing query with the request for a tags values ( #90931 )
...
* Send query with request
* Ensure number tag values are added to query correctly
* Update test
* Update test
2024-08-13 15:23:18 +01:00
Nathan Marrs
d817ee9b99
Docs: Add example to transpose transformation ( #91823 )
2024-08-13 10:22:56 -04:00
Bruno
90b44fdcbf
Cloud migrations: GetSnapshotList only returns snapshots that belong to a session that exists ( #91798 )
...
* Cloud migrations: GetSnapshotList only returns snapshots that belong to a session that exists
* Cloud migrations: test GetSnapshotList
* add one more test case for GetSnapshotList
* fix test
* store encryption key for testing
2024-08-13 09:57:53 -03:00
Gilles De Mey
e9e5989549
Alerting: Introduce useProduceNewAlertmanagerConfiguration ( #91623 )
...
useProduceNewAlertmanagerConfiguration
2024-08-13 14:34:38 +02:00
Tom Ratcliffe
8136fbef1f
Chore: Add capability for overriding local development behaviour using env vars ( #85603 )
2024-08-13 13:07:42 +01:00
Tom Ratcliffe
735954386f
Alerting: Consolidate contact points dropdown and add filter in alert rules ( #91690 )
...
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com >
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com >
2024-08-13 12:56:13 +01:00
Alexander Akhmetov
149f02aebe
Alerting: Add rule_group label to grafana_alerting_rule_group_rules metric ( #88289 )
...
* Alerting: Add rule_group label to grafana_alerting_rule_group_rules metric (#62361 )
* Alerting: Delete rule group metrics when the rule group is deleted
This commit addresses the issue where the GroupRules metric (a GaugeVec)
keeps its value and is not deleted when an alert rule is removed from the rule registry.
Previously, when an alert rule with orgID=1 was active, the metric was:
grafana_alerting_rule_group_rules{org="1",state="active"} 1
However, after deleting this rule, subsequent calls to updateRulesMetrics
did not update the gauge value, causing the metric to incorrectly remain at 1.
The fix ensures that when updateRulesMetrics is called it
also deletes the group rule metrics with the corresponding label values if needed.
2024-08-13 13:27:23 +02:00
antonio
71b56dbb95
alerting tutorial: improve visibility of part 2 ( #91795 )
...
* alerting tutorial: improve visibility of part 2
* changed wording
* Update docs/sources/tutorials/alerting-get-started/index.md
Co-authored-by: Jay Clifford <45856600+Jayclifford345@users.noreply.github.com >
* applied suggestions
* fixed admon
* all pretty no pity
---------
Co-authored-by: Jay Clifford <45856600+Jayclifford345@users.noreply.github.com >
2024-08-13 11:06:51 +00:00
Jeff Levin
8961f392f0
add team_member index on user_id org_id ( #91819 )
...
This pr adds a composite index on on the team_member table on user_id and org_id
2024-08-13 13:58:00 +03:00
Alexander Akhmetov
b2eeb0dd6e
Alerting: update rule versions on folder move ( #88376 )
...
* Alerting: update rule versions on folder move (#88361 )
* Add tracing to folder.Move and folder.Update
2024-08-13 12:26:26 +02:00
Yulia Shanyrova
8044cb50f1
Plugins: Plugin details right panel is added. All the details were moved from thee top to the right panel ( #90325 )
...
* PluginDetailsRight panel is added. All the details were moved from the top to the right panel
* Add feature toggle pluginsDetailsRightPanel,Fix build, fix review comments
* Fix the typo
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
* hasAccessToExplore
* changes after review, add translations
* fix betterer
* fix betterer
* fix css error
* fix betterer
* fix translation labels, fix position of the right panel
* fix the build
* add condition to show updatedAt for plugin details
* add test to check 2 new fields at plugin details right panel;
* change the gap and remove report abuse button from core plugins
* add more tests
---------
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
2024-08-13 11:55:30 +02:00
David Harris
bac68069e0
chore: update issue template codeowners ( #90925 )
...
Adds myself as an additional codeowner for issue templates given the current reliance on ordering for links to request a new plugin from Grafana.
This may be a temporary solution prior to being able to raise the requests natively within Grafana.
2024-08-13 09:57:51 +01:00
Ana Ivanov
8467838bef
Navigation: Remove grafana-aws-app from Infrastructure navigation ( #91524 )
...
Remove grafana-aws-app from Infrastructure navigation
2024-08-13 11:54:30 +03:00
Karl Persson
8bcd9c2594
Identity: Remove typed id ( #91801 )
...
* Refactor identity struct to store type in separate field
* Update ResolveIdentity to take string representation of typedID
* Add IsIdentityType to requester interface
* Use IsIdentityType from interface
* Remove usage of TypedID
* Remote typedID struct
* fix GetInternalID
2024-08-13 10:18:28 +02:00
Leonor Oliveira
0258842f87
Use dw dynamic config ( #91222 )
...
* Remove kubernetesPlaylists feature_toggle
* Remove unified_storage_mode
* Remove double import
* Regenerate feature-toggles
* Read from config instead from feature_toggle
* cover scenario for when unified storage is not defined
2024-08-13 10:03:28 +02:00
Konrad Lalik
b67bcdb9b8
Alerting: Handle namespace and group query string params in Ruler API ( #91533 )
...
* Handle namespace and group query string params in Ruler API
* Use the new namespace and group query params when slashes in names
* Add validation, add group handling in GMA Api
* Move constants
* Use checkForPathSeparator function
* Fix linter issue
2024-08-13 08:31:07 +02:00
Sam Jewell
d54fdba322
Bump to go-duck v0.1.0 ( #91794 )
...
* Bump to go-duck v0.1.0
This fixed ordering of the columns
**What is this feature, why do we need it?**
See https://github.com/scottlepp/go-duck/pull/14 for a description of the improvement we're including here
**Who is this feature for?**
Anyone who uses SQL Expressions. This is still an experimental feature, and only used by a very small number of instances.
* Run `make update-workspace`
2024-08-12 16:00:10 -04:00
owensmallwood
8fb334cf77
Unified Storage: Adds back readme to resource store ( #91812 )
...
adds back readme to resource store
2024-08-12 13:48:14 -06:00
Isabel Matwawana
5e638b4af0
Docs: add playlist management permissions ( #91146 )
2024-08-12 10:53:02 -04:00
Andres Martinez Gotor
d342e76f63
Chore: Add skeleton for background plugin installer ( #91743 )
2024-08-12 16:39:31 +02:00
Fayzal Ghantiwala
25dbb32cea
Alerting: Vendor in latest grafana/alerting package ( #91786 )
...
* temp
* vendor
* Remove dead code
* Vendoring
2024-08-12 15:37:15 +01:00
Erik Sundell
2ed6ca360f
Extensions: e2e test usePluginComponent hook ( #91750 )
...
* add simple test apps that use usePluginComponent hook and exposeComponent api
* add e2e test
* update readme
* Update README.md
* fix lint issue
* pr feedback
2024-08-12 15:43:42 +02:00
Joao Silva
b9cece8f9e
Bookmarks: Create Bookmarks landing page ( #91538 )
2024-08-12 14:31:01 +01:00
Joey
d00b4879d2
Tempo: Simplify span filters logic and fix regex for tag only search ( #90819 )
...
Simplify span filters logic and fix regex for tag only search
2024-08-12 14:15:06 +01:00
Joey
379249fc60
Tempo: Tidy up and organise ( #90649 )
...
* Move test files to folder
* Update paths
* Tidy up
2024-08-12 14:12:22 +01:00
Domas
6dce2ecbde
Sparkline: Support spanNulls graph config prop ( #91797 )
...
support spanNulls config prop for sparkline
2024-08-12 15:36:52 +03:00
Vijay Samuel
c9ddc688a2
Prometheus: Add support to make parallel queries ( #90316 )
...
* Add support for prometheus datasource to make parallel queries
* Incorporate review comments
* Update pkg/promlib/querydata/request.go
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
* Fix lint
* Add parallel queries behind feature flag
* Fixing lint issue
* Update go.mod
* Update pkg/promlib/querydata/request.go
* Update pkg/promlib/querydata/request.go
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
Co-authored-by: Charandas <542168+charandas@users.noreply.github.com >
2024-08-12 14:31:39 +02:00
Ashley Harrison
369cd6f81e
Chore: Migrate dashboard_grid styles to emotion ( #91673 )
...
migrate dashboard grid styles to emotion
2024-08-12 13:22:14 +01:00
grafana-pr-automation[bot]
32e4ea3b3c
I18n: Download translations from Crowdin ( #91796 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-12 15:21:20 +03:00
Ashley Harrison
dface46474
Chore: Migrate gf-form classes to emotion globals ( #91632 )
...
* migrate gf-form classes to emotion globals
* should be sm due to the different way the breakpoints work
2024-08-12 13:16:16 +01:00
Ashley Harrison
78f78753c7
Chore: Migrate Modal SCSS styles to emotion ( #91569 )
...
migrate modal scss styles to emotion
2024-08-12 12:55:22 +01:00
Gilles De Mey
add99fb3d0
Alerting: Add basic support for active_time_intervals ( #91710 )
2024-08-12 14:51:12 +03:00
Santiago
5487ea444a
Alerting: Update remote Alertmanager config marshalling in test ( #91791 )
2024-08-12 13:45:22 +02:00
Gilles De Mey
f11d6ebcd0
Alerting: Update contact points list and mute timings list on update ( #91776 )
...
make sure that contact points list and mute timings list are updated when we update the alertmanager configuration
2024-08-12 13:37:17 +02:00
Bogdan Matei
3303900c09
Scopes: Lift scopes at global level ( #90136 )
2024-08-12 14:11:50 +03:00
Gilles De Mey
15f2b08f00
Alerting: Catch alert rule search exceptions ( #91788 )
...
catch search exceptions and prevent from bubbling
2024-08-12 12:13:26 +02:00
Andreas Christou
82d051f336
AzureMonitor: Mark Azure Prometheus exemplars as public preview ( #91674 )
...
Mark Azure Prom exemplars as public preview
2024-08-12 11:11:45 +01:00
Ieva
6e7bc028d0
RBCA: Better separation between action set svc and store ( #91491 )
...
better separation between action set svc and store
2024-08-12 10:07:33 +01:00
Ieva
5bae9f11bc
Docs: Add docs for bulk updating team members ( #91499 )
...
add docs for bulk updating team members
2024-08-12 09:58:55 +01:00
Ashley Harrison
ab3e8652aa
Adhoc Filters: add new feature toggle for 'one of' operator ( #91688 )
...
add new feature toggle for 'one of'
2024-08-12 09:56:42 +01:00
Karl Persson
7f1ae1cd54
Identity: Update authlib to version that has correct commit to claims ( #91784 )
...
* Update authlib to version that has correct commit to claims
2024-08-12 09:39:48 +02:00
Ryan McKinley
e106df6d0b
Auth: Update unified storage to depend on AuthInfo rather than Requester ( #91783 )
...
depend on authlib user info
2024-08-12 09:49:34 +03:00
Ryan McKinley
21d4a4f49e
Auth: use IdentityType from authlib ( #91763 )
2024-08-12 09:26:53 +03:00
ismail simsek
faf7cb9312
Chore: Refactor explore metrics layout switcher and breakdown scene ( #90944 )
...
* refactor breakdown scene
* refactor BreakdownScene along with LayoutSwitcher
* rename
* don't pass default layout
* better type handling
* betterer
2024-08-11 23:48:36 +02:00
ismail simsek
b8ebc5d463
Chore: Update lezer package of prometheus frontend ( #91252 )
...
* update lezer package
* Use UnquotedLabelMatcher instead of LabelMatcher
* Use UnquotedLabelMatcher instead of LabelMatcher in parsing.ts
2024-08-11 23:48:04 +02:00
Todd Treece
75f0b3a228
K8s: Test for changes to aggregator's postStartHooks ( #91771 )
2024-08-10 20:32:57 -04:00
Jmdane
8bb548e17b
Transformations: Add 'transpose' transform ( #88963 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-08-10 02:57:26 +03:00
Taewoo K.
ec7a247674
feat: Add atlassian statuspage ( #91769 )
...
* add atlassian statuspage
* fix test
2024-08-10 01:48:31 +03:00
Todd Treece
5972dd0b59
Chore: Update names of DisabledPostStartHooks ( #91767 )
2024-08-09 16:57:08 -04:00
Mitch Seaman
8525943699
Docs: add Zoom to Reporting docs ( #90219 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-09 16:28:39 -04:00
Todd Treece
30c3f5b66a
Chore: Revert drone go workspace change to tests ( #91762 )
2024-08-09 21:03:26 +03:00
Andreas Christou
24c9aad5bb
Bump grafana-azure-sdk-go and related dependencies ( #91124 )
...
* Bump Azure SDK and related dependencies
* Update go.mods
* update-workspace
* Update go files
2024-08-09 13:12:19 -04:00
Andreas Christou
ee18c64453
OpenTSDB: Fix test ( #91761 )
...
Fix test
2024-08-09 19:53:04 +03:00
Ryan McKinley
243c0935fc
Auth: Use claims.AuthInfo in requester ( #91739 )
2024-08-09 19:46:56 +03:00
Andreas Christou
d52626be3f
AzureMonitor: Add authproxy as supported user auth method ( #91754 )
...
Add authproxy as supported user auth method
2024-08-09 17:18:46 +01:00
Andreas Christou
06509712ec
OpenTSDB: Fix data frame construction ( #90991 )
...
* Update type and frame construction
* Update tests
* Keep dataField name as value
2024-08-09 17:16:29 +01:00
Yuri Tseretyan
1108a00668
Alerting: Support for optimistic concurrency in priovisioning Tempate API ( #91195 )
...
* support optimistic concurrency in template service
* update request handler to get version from query parameter
* return not found if a new template is set with version
* update PUT api to set version
* update documentation + for mute timings
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-08-09 11:40:07 -04:00
Isabel Matwawana
d20510a1db
Docs: added pagination information for state timeline ( #91749 )
2024-08-09 11:32:16 -04:00
Agni Bhattacharyya
be32630de5
Auth: Skip email extraction when api url is not present ( #91699 )
...
* Auth: Skip email extraction when api url is not present
* fix lint: reduce cyclomatic complexity
2024-08-09 18:20:54 +03:00
Karl Persson
bcfb66b416
Identity: remove GetTypedID ( #91745 )
2024-08-09 18:20:24 +03:00
Todd Treece
6061fdc8b9
Chore: Fix requires_buildifier typo ( #91747 )
2024-08-09 11:00:05 -04:00
Michael Mandrus
eee3a75b8b
CloudMigrations: Misc cleanup before codefreeze ( #91725 )
...
* fix retry logic
* slight adjustments
* fix disconnect and connect events
* Update pkg/services/cloudmigration/cloudmigrationimpl/snapshot_mgmt.go
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
---------
Co-authored-by: Matheus Macabu <macabu@users.noreply.github.com >
2024-08-09 17:38:08 +03:00
Todd Treece
13703de67e
Chore: Update tests to use go-workspace script ( #91746 )
2024-08-09 10:25:27 -04:00
Todd Treece
27545e3da4
Chore: Use golanglint-ci-includes script in Makefile ( #91742 )
2024-08-09 10:05:02 -04:00
lean.dev
e20c7342a9
CloudMigration: Removes snapshot and resources when deleting a session ( #91548 )
2024-08-09 16:42:45 +03:00
Alexander Zobnin
1cc438a56c
Zanzana: Evaluate dashboard and folder permissions ( #91539 )
...
* Zanzana: basic folder permissions checks
* Fix managed permissions for teams
* fix sync batch size
* add dashboards actions translations
* migrate folder tree
* migrate dashboard folders
* remove action sets from schema
* Adding more dashboard and folder-related permissions
* refactor
* Correctly translate dashboard permissions in folders
* fix dashboard parent permissions
2024-08-09 13:48:56 +02:00
Ivan Ortega Alba
423d198d77
Scenes: Upgrade to v5.7.4 ( #91741 )
2024-08-09 14:27:08 +03:00
grafana-pr-automation[bot]
0077dd09ae
I18n: Download translations from Crowdin ( #91737 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-09 13:19:40 +03:00
Todd Treece
122e291134
Chore: Add dataplaneAggregator feature toggle ( #91715 )
2024-08-09 04:41:07 -04:00
Todd Treece
c5c206d8a6
Semconv: Add k8s.dataplaneservice.name ( #91714 )
2024-08-09 04:39:37 -04:00
Kevin Putera
01fc31069f
StateTimeline: Add pagination support ( #89586 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-08-08 21:44:17 -05:00
Todd Treece
970a6e71ba
Chore: Fix go workspace update script ( #91720 )
2024-08-09 02:39:02 +03:00
Alexander Akhmetov
f4d2e064f4
Fix links to the What's new page in the PR template ( #91672 )
2024-08-08 23:32:37 +02:00
Todd Treece
7f155b2b6f
Chore: Add go workspace scripts ( #91707 )
2024-08-08 16:51:17 -04:00
Kristin Laemmert
54177ca619
experiment: use read replica for Get and Find Dashboards ( #91706 )
2024-08-08 14:22:55 -04:00
Todd Treece
f463d622d0
Chore: Remove depguard rule skip in apiserver ( #91705 )
2024-08-08 21:11:13 +03:00
Kristin Laemmert
299c142f6a
QuotaService: refactor to use ReplDB for Get queries ( #91333 )
...
* Feature (quota service): Use ReplDB for quota service Gets
This adds the replDB to the quota service, as well as some more test helper functions to simplify updating tests. My intent is that the helper functions can be removed when this is fully rolled out (or not) and we're consistently using the ReplDB interface (or not!)
* test updates
2024-08-08 13:41:33 -04:00
Nathan Marrs
787abccfbc
Canvas: Fix selection box glitch when adding certain elements ( #91654 )
...
* fix selecto glitch when adding certain elements
* minor doc updates
2024-08-08 09:42:24 -07:00
Todd Treece
b4126d3bce
Chore: Update k8s.io dependencies ( #91692 )
2024-08-08 18:39:44 +03:00
Jack Baldry
d1deef29ff
Move Explore Metrics to a directory for mounting ( #91696 )
2024-08-08 16:00:38 +01:00
Adela Almasan
9001b2e0ee
Datalinks: UX update ( #91657 )
2024-08-08 09:17:09 -05:00
Mihai Doarna
925fd26d14
LDAP: Update ldap config comments with TLS info ( #91636 )
...
update ldap config comments with TLS info
2024-08-08 17:01:22 +03:00
Andriy
08d9cb095a
feat: add drone datasource to the plugins list ( #91671 )
2024-08-08 16:44:22 +03:00
Tim Mulqueen
f3769d1ab0
add netlify to plugin list ( #91684 )
...
* add netlify to plugin list
* Update public/app/features/datasources/state/buildCategories.ts
Co-authored-by: Andriy <andriy.urbanas@grafana.com >
---------
Co-authored-by: Andriy <andriy.urbanas@grafana.com >
2024-08-08 15:25:53 +02:00
Mihai Doarna
37f198d5e8
LDAP: Add guide on how to configure LDAP with TLS ( #91686 )
...
add guide on how to configure LDAP with TLS
2024-08-08 15:29:00 +03:00
Alexander Zobnin
0e5d7633f7
Access Control: Make it possible to exclude role grants ( #91647 )
2024-08-08 14:11:17 +02:00
Staton Hysell
89ee970ec3
Chore: Correct viz title casing to sentence casing ( #91638 )
...
* Update module.tsx
Corrected the options: Render Count, Data Changed Count, and Schema Changed Count to have the correct sentence casing to match the rest of the product
* Live viz update
Correct type case error on "Show Message" to "Show message"
* Trend viz case correction
Corrected case of Trend viz from "X Axis" and "X Field" to "X axis" and "X field"
2024-08-08 08:04:42 -04:00
grafana-pr-automation[bot]
e2a3f78504
I18n: Download translations from Crowdin ( #91677 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-08 13:33:56 +03:00
Josh Hunt
83d8fde5be
E2C: Post success toast when migration finishes ( #91640 )
2024-08-08 11:18:37 +01:00
renovate[bot]
2a67367777
Update dependency type-fest to v4.23.0 ( #91675 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 13:03:30 +03:00
renovate[bot]
ebc7355284
Update dependency eslint-plugin-jest to v28.8.0 ( #91668 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 10:33:43 +01:00
Hugo Kiyodi Oshiro
bf24454007
Plugins: Fix levitate detailed report and improve error treatment ( #91617 )
2024-08-08 11:20:58 +02:00
renovate[bot]
875fdb18b4
Update dependency knip to v5.27.2
2024-08-08 09:13:58 +00:00
renovate[bot]
1150ab5377
Update dependency ts-jest to v29.2.4 ( #91644 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-08 11:25:45 +03:00
Ashley Harrison
1bca86c8d5
E2C: use TextLink component for consistency ( #91642 )
...
use TextLink component for consistency
2024-08-08 09:10:20 +01:00
Jo
8ddc0344d0
Docs: Add warning on UUIDs not being available before 10.2.0 ( #91372 )
...
* add warning on UUIDs not being available before 10.2.0
* Update docs/sources/administration/roles-and-permissions/access-control/rbac-fixed-basic-role-definitions/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/administration/roles-and-permissions/access-control/rbac-fixed-basic-role-definitions/index.md
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-08 09:19:27 +02:00
Borja Garrido
a083ec9ff5
Transformations: Add variable support to select groupingToMatrix ( #88551 )
2024-08-08 05:59:03 +03:00
Beto Muniz
a8b2a75dab
GOps: Setup FullStory in the IRM configuration tracker ( #90442 )
...
* GOps: Setup support FullStory in the IRM configuration tracker
* fix: improve fs-unmask class application
* fix: remove extrtag as requested in PR review
* fix: revert extratag removed since it affects UI alignment
* fix: wrap text with trans component as betterer ask
* fix: update extraction
2024-08-07 18:08:13 -03:00
renovate[bot]
5917e1c6d6
Update dependency stylelint to v16.8.1 ( #91641 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 19:31:19 +03:00
renovate[bot]
b78856596e
Update dependency react-zoom-pan-pinch to v3.6.1 ( #91639 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 19:10:05 +03:00
Gilles De Mey
d312e2aacf
Alerting: Swap useAsync return signature params ( #91634 )
2024-08-07 17:58:07 +02:00
renovate[bot]
9cfcc16d1a
Update dependency eslint-plugin-jest to v28.7.0 ( #91637 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 16:48:32 +01:00
renovate[bot]
d5848384f8
Update dependency core-js to v3.38.0 ( #91633 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 16:11:22 +01:00
renovate[bot]
4d24b124f7
Update dependency @playwright/test to v1.46.0 ( #91625 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 15:15:01 +01:00
Nathan Vērzemnieks
f19a0ce452
Cloudwatch: Clear cached PDC transport when PDC is disabled ( #91357 )
...
Cloudwatch: clear cached PDC transport when PDC is disabled
2024-08-07 16:11:56 +02:00
Joey Orlando
cb540a28bd
Plugins: add IRM plugin to "Alerts & IRM" left-hand navigation group ( #91423 )
...
add IRM plugin to "Alerts & IRM" left-hand navigation group
2024-08-07 09:44:43 -04:00
Señor Performo - Leandro Melendez
886985bdba
docs: added missing panel options to node graph docs ( #91511 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-08-07 09:43:01 -04:00
renovate[bot]
f0d0fa901a
Update dependency @floating-ui/react to v0.26.22 ( #91622 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-07 14:05:58 +01:00
renovate[bot]
7ccf79aa62
Update dependency marked-mangle to v1.1.9
2024-08-07 12:37:07 +00:00
Kristin Laemmert
a117b090cf
chore: preallocate slices where we have a good idea of requirements ( #91596 )
...
* chore: preallocate slices where we have a good idea of requirements
* pr feedback
2024-08-07 08:34:52 -04:00
renovate[bot]
9b652612bd
Update dependency knip to v5.27.1
2024-08-07 11:45:17 +00:00
renovate[bot]
f384759ad1
Update dependency @types/yargs to v17.0.33
2024-08-07 11:19:34 +00:00
renovate[bot]
a33d122485
Update Yarn to v4.4.0 ( #91595 )
...
* Update Yarn to v4.4.0
* add new yarn version
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-08-07 12:48:56 +02:00
Ryan McKinley
9e116d13a5
K8s/Dashboards: Fix dashboard list and add tests ( #91523 )
2024-08-07 13:43:13 +03:00
Ashley Harrison
e8d5d5fbff
Storybook: Fix Input story ( #91564 )
...
fix type + prefix/suffix
2024-08-07 11:05:20 +01:00
Tom Ratcliffe
3ec2084c23
Alerting: Remove all but one usage of TestProvider within test code ( #91542 )
2024-08-07 10:58:58 +01:00
Konrad Lalik
9c5a91009b
Alerting: Add useNotificationTemplates hook to abstract away templates loading ( #91468 )
...
* Add useNotificationTemplates hook to abstract away templates loading
* Add useUpdateNotificationTemplate hook to abstract away updating logic
* Add useDeleteNotificationTemplate hook to abstract away deletiong logic
* Fix and update templatestable tests
* Remove old code
* Improve error handling
* Remove obsolete test
* Fix and improve tests
* Adjust code style
* Update test snapshot, remove redirects in hooks
* Remove unused code, add provenance none handling, fix redirect url
* Improve provisioning state handling
2024-08-07 11:50:07 +02:00
Charandas
cf5e49dbb8
build: semconv recently got its own go.mod ( #91560 )
2024-08-06 16:39:21 -07:00
lean.dev
b5e32b31b1
Grafana: Enables use of encrypted certificates with password for https ( #91418 )
2024-08-06 19:18:32 -03:00
Leon Sorokin
1b6362a807
TimeSeries: Use original frames for creating data links ( #91598 )
2024-08-06 14:20:24 -05:00
Karl Persson
d93f5bab83
RemoteCache: remove count method ( #91581 )
...
* remove count method
* remove count from remote cache
---------
Co-authored-by: jguer <me@jguer.space >
2024-08-06 19:21:00 +02:00
Andre Pereira
d84fd94936
Tempo: Add migration to enable TraceQL streaming for Tempo datasources ( #91340 )
...
* Add migration to enable TraceQL streaming for Tempo datasources
* lint
* Always run migration but exit early if feature flag is disabled
* Require feature toggle OR datasource config to enable streaming
2024-08-06 18:09:06 +01:00
Kim Nylander
ce14d79064
[DOC] Add Streaming doc for Tempo data source ( #91432 )
...
Co-authored-by: Jennifer Villa <jvilla2013@gmail.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-08-06 18:00:16 +01:00
renovate[bot]
61434b245c
Update dependency rudder-sdk-js to v2.48.15
2024-08-06 16:40:17 +00:00
Michael Mandrus
6cd0971dc6
CloudMigration: Show warning message for successfully migrated non-core data sources ( #91545 )
...
* minor performance improvement
* apply a warning to any non-core plugins that successfully migrate
* commit frontend wip while I refactor some stuff
* update api
* repurpose error dialog to be a generic details dialog
* whitespace
* add unit test
* fixes from testing
* fix migration summary
* add comment
* fix localization stuff
* fix backend test
* reduce number of queries to the db
* some PR feedback
* whitespace
2024-08-06 19:35:10 +03:00
Yuri Tseretyan
ee78bb653f
Alerting: Log rule evaluation error in scheduler ( #91585 )
2024-08-06 19:27:02 +03:00
renovate[bot]
f4073e6b8e
Update dependency postcss to v8.4.41
2024-08-06 16:19:35 +00:00
Michael Mandrus
14c2e4631a
CloudMigrations: Update preview banner text ( #91561 )
...
* add link to docs page
* add link to docs
* a word
2024-08-06 19:16:43 +03:00
Adela Almasan
e91f16fc46
Datalinks: UX improvements ( #91352 )
2024-08-06 19:10:37 +03:00
renovate[bot]
9456535567
Update dependency lerna to v8.1.8
2024-08-06 15:54:50 +00:00
owensmallwood
2387798719
Unified Storage: Propagate traces from the apiserver grpc client ( #91226 )
2024-08-06 09:52:11 -06:00
renovate[bot]
133bb110dc
Update dependency autoprefixer to v10.4.20
2024-08-06 14:41:55 +00:00
Tom Ratcliffe
2eae30aeff
Alerting: Add jest-dom eslint recommended rules ( #91576 )
2024-08-06 15:39:46 +01:00
renovate[bot]
b7def88db6
Update dependency @msagl/parser to v1.1.20
2024-08-06 14:16:22 +00:00
renovate[bot]
e2fe649f7b
Update dependency @msagl/core to v1.1.20
2024-08-06 13:37:40 +00:00
renovate[bot]
0dbfeb0c6e
Update dependency @floating-ui/react to v0.26.21 ( #91572 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-06 15:28:05 +03:00
renovate[bot]
255a1f6ae4
Update dependency react-hook-form to v7.52.2 ( #91482 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-06 13:06:02 +01:00
Tom Ratcliffe
2be2f8a214
Alerting: Tidy up k8s utilities/constants ( #91571 )
2024-08-06 14:57:43 +03:00
Tom Ratcliffe
b4a23e097a
Alerting: Add types to react hook form usage register method ( #91566 )
2024-08-06 12:29:01 +01:00
Hugo Kiyodi Oshiro
0c4e02ba14
Plugins: Add filters by update available ( #91526 )
2024-08-06 12:16:49 +02:00
Ashley Harrison
2e3f48a49d
Navigation: Fix browse dashboards/scenes dashboards when bodyScrolling is enabled ( #91479 )
...
set explicit height (not min-height) so everything works in safari
2024-08-06 09:51:31 +01:00
Will Browne
9300c1bbea
Plugins: Update CLI check if plugin is already installed ( #91213 )
...
* check if plugin installed
* undo remove initial vers check
* still attempt deps
2024-08-06 09:21:40 +01:00
Ihor Yeromin
da291998cf
Revert "Calcs: Update diff percent to be a percent" ( #91563 )
...
Revert "Calcs: Update diff percent to be a percent (#90533 )"
This reverts commit 5e21898294 .
2024-08-06 11:03:01 +03:00
Jeff Levin
d4916207a0
chore(tracing): add tracing for frontend and db session ( #91509 )
...
This PR adds instrumentation for loading frontend SPA along with select methods in the dashboard service, and cleans up span handling in sqlstore.
---------
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
2024-08-05 17:17:39 -08:00
Charandas
abbfc15563
K8s e2e tests: adds e2e package and 10 year certs ( #91557 )
2024-08-06 03:29:36 +03:00
Kristin Laemmert
b6de9e9d3c
search v2: pre-allocate dashboardQueryResult slice capacity for performance ( #91536 )
...
* search v2: pre-allocate dashboardQueryResult slice for performance
* use limit parameter for starting slice size
2024-08-05 13:54:57 -04:00
Matthew Jacobson
53cfdf0ef8
Alerting: Remove option to return settings from api/v1/receivers and restrict provisioning action access ( #90861 )
...
* Remove provisioning action access to v1/receivers api
* Separate ListOnly functionality to its own method without decryption
2024-08-05 11:49:23 -04:00
Michael Mandrus
4d23382497
Caching: Handle memcached reconnects ( #91498 )
...
* update library version
* update tls memcached feature toggle
* update to latest version
* updae gomemcache version
2024-08-05 11:21:11 -04:00
Ihor
dc9dfb4c4b
Typo fix in Templates documentation ( #91348 )
...
fix typo
2024-08-05 16:54:48 +02:00
Pepe Cano
114d87bf61
Alerting docs: Update Alerting provisioning HTTP API ( #91493 )
...
* Remove `Consumes` info
* Remove `top-level` content negotiation/Produces
* Remove `Version Information`
* Better distinguish between Grafana and Data source managed alerts
* Add note for Enterprise RBAC permissions
* Minor changes for clarity
* Add examples
* Minor copy change
* Update docs/sources/shared/alerts/alerting_provisioning.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/shared/alerts/alerting_provisioning.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/shared/alerts/alerting_provisioning.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-08-05 16:47:48 +02:00
Todd Treece
9a2c9647ee
Chore: Add storage submodule to lint & test config ( #91529 )
2024-08-05 17:30:14 +03:00
AvivGuiser
93aa5a56ad
Alerting: Use stable identifier of a group,contact point,mute timing when export to HCL ( #90917 )
...
---------
Signed-off-by: Aviv Guiser <avivguiser@gmail.com >
2024-08-05 09:56:17 -04:00
Tom Ratcliffe
338b318bf4
Alerting: Use alerting API server for contact points list ( #91073 )
2024-08-05 16:01:48 +03:00
Ryan McKinley
a223c46506
APIServer: Make TableConverter part of ResourceInfo ( #91520 )
2024-08-05 15:38:12 +03:00
Ryan McKinley
f885cc7d9c
Chore: Update swagger ui (4.3.0 to 5.17.14) ( #91219 )
2024-08-05 14:59:24 +03:00
Tom Ratcliffe
734af2ea9f
Alerting: Enable "dot-notation" rule ( #91497 )
2024-08-05 12:06:17 +01:00
Tom Ratcliffe
500ae2ff1e
Alerting: Enable "prefer-const" rule ( #91495 )
2024-08-05 11:37:48 +03:00
Tom Ratcliffe
e771500487
Alerting: Enable "no-unused-props" rule ( #91492 )
2024-08-05 09:18:38 +01:00
Kim Nylander
647f162fe0
[DOC] Add canonical URL to Explore Metrtics ( #91501 )
2024-08-05 08:34:40 +01:00
brendamuir
e7a9a9c161
Alerting docs: fixes alt text errors ( #91336 )
2024-08-05 09:18:36 +02:00
Todd Treece
8c43b9ec2f
Semconv: Change keys to private constants ( #91508 )
2024-08-02 16:13:00 -04:00
Matthew Jacobson
a397bca02e
Alerting: Fix panic with nil annotations & Nodata=alerting/ok/keep ( #91506 )
2024-08-02 22:15:57 +03:00
Yuri Tseretyan
96f7f0f486
Alerting: Use Unstructured type for settings of K8s model Integration + code owners ( #91430 )
...
* remove nonnamespaced paths
* use common.Unstructed for Intergration.Settings
* update codeowners to include alerting
* fix json name of secure fields to start with lower case
2024-08-02 20:02:58 +03:00
Vardan Torosyan
1747cd1747
[Auth] Enable cloudRBACRoles feature toggle for self-serve ( #91036 )
...
Enable cloudRBACRoles feature toggle for self-serve
2024-08-02 16:47:00 +02:00
Alexander Weaver
72ecde5045
Alerting: Make orgID a direct arg of writer interface ( #91422 )
...
make orgID a direct arg of writer interface
2024-08-02 09:37:28 -05:00
Leonor Oliveira
6f6a06435d
Remove unified_storage_mode reference in the grafana repo ( #91481 )
2024-08-02 15:40:05 +02:00
Josh Hunt
c070b39dae
E2C: Add a 'supported types' disclosure to the bottom of the resources table ( #91475 )
2024-08-02 14:17:14 +01:00
Todd Treece
5376a2eb93
Chore: Add semconv package ( #91408 )
2024-08-02 08:35:18 -04:00
Alexa V
0145b0fe70
Dashboard: Chore - Remove rudderstack events from panel menu and toolbar ( #91376 )
...
* Chore: Remove rudderstack events from panel interactions, and toolbar in dashboards
- dashboards_panelheader_menu
- dashboards_panelheader_description_displayed
- dashboards_toolbar_actions_clicked
* Add back some toolbar events: sharing, settings, favourites, and add
* restore ShareButton
2024-08-02 13:30:47 +02:00
grafana-pr-automation[bot]
44ed331239
I18n: Download translations from Crowdin ( #91474 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-02 11:47:03 +01:00
renovate[bot]
4de68e3774
Update dependency eslint-plugin-jsdoc to v48.11.0 ( #91473 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-02 12:44:01 +02:00
Josh Hunt
4fd014eae9
Chore: Update i18next parser to 9.0.1 ( #91478 )
2024-08-02 13:39:30 +03:00
renovate[bot]
670132ead8
Update dependency @types/node to v20.14.14
2024-08-02 09:56:04 +00:00
Josh Hunt
e55b438f14
E2C: Reduce UI poll interval and make configurable ( #91386 )
...
* E2C: Reduce UI poll interval and make configurable
* fix default
2024-08-02 10:46:41 +01:00
Josh Hunt
a89435aeab
I18n: Require Trans i18nKey prop ( #91399 )
...
* I18n: Require Trans i18nKey prop
* fix lint errors
2024-08-02 10:46:27 +01:00
Claudiu Dragalina-Paraipan
e2435f92f1
[authn]: add GetIDClaims() to Requester ( #91387 )
...
* authn: add GetIDClaims() to Requester
Co-Authored-By: Gabriel MABILLE <gamab@users.noreply.github.com >
* authn: update StaticRequester
Co-Authored-By: Gabriel MABILLE <gamab@users.noreply.github.com >
* update auth/idtest/mock
Co-Authored-By: Gabriel MABILLE <gamab@users.noreply.github.com >
* Fix test
Co-authored-by: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
Co-authored-by: gamab <gabriel.mabille@grafana.com >
2024-08-02 12:36:02 +03:00
renovate[bot]
a940bb87be
Update dependency msw to v2.3.5
2024-08-02 09:32:44 +00:00
Tom Ratcliffe
1d96cd8ed9
Alerting: Use cloud notifier types for metadata on Cloud AMs ( #91054 )
2024-08-02 10:30:39 +01:00
Ashley Harrison
ce8f5b5e1a
Navigation: Fix <Portal> when bodyScrolling is enabled ( #91335 )
...
fix portal when bodyScrolling is enabled
2024-08-02 10:29:51 +01:00
renovate[bot]
25b65d96c7
Update dependency browserslist to v4.23.3
2024-08-02 08:38:53 +00:00
renovate[bot]
7d06a17038
Update dependency @grafana/faro-web-tracing to v1.9.0 ( #91406 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-02 09:16:10 +01:00
minuchi
d03aad8b2c
Docs: Update subtitle in Loki datasource documentation to fix link issue ( #91454 )
2024-08-02 08:51:27 +01:00
Gabriel MABILLE
8988e04044
RBAC: Add permission registry ( #91247 )
...
* RBAC: Permission registry
* Populate permission registry
* Wire
* conflic_user_cmd
* Update pkg/services/accesscontrol/permreg/permreg_test.go
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
* PR feedback
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
* Remove ToDo, tackle in subsequent PR
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-08-02 09:32:06 +02:00
Ryan McKinley
391284bb33
Storage: Improve (some) error handling ( #91373 )
2024-08-02 10:27:10 +03:00
Nathan Marrs
b63694d75f
XYChart: Promote to generally available ( #91417 )
2024-08-01 16:54:36 -07:00
Isabel Matwawana
21e40908fe
Docs: time series overall edit ( #91220 )
...
Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com >
Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com >
2024-08-01 16:58:53 -04:00
Leon Sorokin
7c0ee6ebe4
Heatmap: Skip null values instead of treating as 0 ( #91424 )
2024-08-01 15:40:43 -05:00
Larissa Wandzura
6efd52eac8
Docs: Updates to Traces in Explore doc ( #90774 )
...
Co-authored-by: Kim Nylander <104772500+knylander-grafana@users.noreply.github.com >
Co-authored-by: Haris Rozajac <58232930+harisrozajac@users.noreply.github.com >
2024-08-01 13:54:00 -05:00
Alexander Akhmetov
3952f627eb
Alerting: Parse secret fields case-insensitively when creating or updating a contact point ( #90968 )
...
* Alerting: Handle case-insensitive secret fields in contact point settings
2024-08-01 19:03:47 +02:00
Yuri Tseretyan
e231211234
Alerting: Fix permissions for prometheus rule endpoints ( #91409 )
2024-08-01 13:01:00 -04:00
Alyssa (Bull) Joyner
c0f01c30c8
Add CockroachDB as an enterprise data source ( #90860 )
2024-08-01 10:59:40 -06:00
Joao Silva
dbb64b3ff0
Icons: Cache Bookmark icons ( #91332 )
2024-08-01 17:27:44 +01:00
William Wernert
a1ee84f757
Alerting: Remove duplicate tracing middleware from prom writer ( #91353 )
...
Remove duplicate tracing middleware from prom writer
2024-08-01 11:57:14 -04:00
Ieva
2e2ddc5c42
Folders: Allow folder editors and admins to create subfolders without any additional permissions ( #91215 )
...
* separate permissions for root level folder creation and subfolder creation
* fix tests
* fix tests
* fix tests
* frontend fix
* Update pkg/api/accesscontrol.go
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
* fix frontend when action sets are disabled
---------
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
2024-08-01 18:20:38 +03:00
renovate[bot]
85e2ea2488
Update dependency @grafana/faro-web-sdk to v1.9.0 ( #91403 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 18:07:34 +03:00
renovate[bot]
cd4aaab848
Update dependency @grafana/faro-web-sdk to v1.9.0 ( #91400 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 15:48:46 +01:00
renovate[bot]
882cb70bdf
Update dependency @grafana/faro-core to v1.9.0 ( #91398 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 17:07:32 +03:00
Andrej Ocenas
04d8f0f063
Runtime: Add provider and access hook for location service ( #90759 )
2024-08-01 15:59:20 +02:00
Brendan O'Handley
e39a131110
Prometheus: Add group function to aggregations ( #91363 )
...
add group function to aggregations
2024-08-01 08:58:12 -05:00
renovate[bot]
ad7b532932
Update dependency @grafana/scenes to v5.7.3
2024-08-01 13:47:47 +00:00
grafana-pr-automation[bot]
fb4a4d62c3
I18n: Download translations from Crowdin ( #91397 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-08-01 16:44:41 +03:00
Tom Ratcliffe
17067824fb
Alerting: Conditionally use k8s API for simplified routing contact points selector ( #90901 )
2024-08-01 14:41:40 +01:00
Gabriel MABILLE
c76d1e04e8
Authz: Fix on-prem grpc authentication ( #91341 )
...
* Authz: Fix on-prem grpc authentication
Co-authored-by: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
* Remove noAuth override
---------
Co-authored-by: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
2024-08-01 16:30:13 +03:00
renovate[bot]
d8245966a4
Update dependency rc-cascader to v3.27.0 ( #91396 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 16:25:47 +03:00
Josh Hunt
024e839aae
Chore: Fix Crowdin Download action failing consistently ( #91394 )
2024-08-01 14:25:33 +01:00
Leonor Oliveira
fb9903ed7c
Allow to watch from the dual writer ( #91375 )
...
* Allow to watch from the dual writer
* Remove comments
* Lint
2024-08-01 15:09:51 +02:00
Alexander Akhmetov
a32854549c
Alerting: Support median in reduce expressions ( #91119 )
...
* Alerting: support median in reduce expressions
2024-08-01 15:04:17 +02:00
Ashley Harrison
66bfb31d8e
Tooltip: Handle case where document.body is the scrolling element ( #91385 )
...
* handle case where body is the scrolling element
* use instanceof Node instead
2024-08-01 13:34:23 +01:00
renovate[bot]
2cccde932c
Update dependency knip to v5.27.0 ( #91392 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 15:23:04 +03:00
Ashley Harrison
7a9a34629b
tidy up styles + fix docked menu overlaying popovers ( #91380 )
2024-08-01 13:16:45 +01:00
renovate[bot]
aa6e9379bf
Update dependency i18next to v23.12.2 ( #91383 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 15:12:30 +03:00
Josh Hunt
a547b38643
Docs: Update defaults.ini for new faro option ( #91384 )
2024-08-01 13:54:39 +03:00
jackyin
d11f8c7bc3
Plugins: Ensure grafana cli can install multiple plugin dependencies ( #91230 )
...
* fix cli can only install one dep
* handle error
2024-08-01 11:47:11 +01:00
renovate[bot]
796f2994f9
Update dependency eslint-plugin-jsx-a11y to v6.9.0 ( #91374 )
...
* Update dependency eslint-plugin-jsx-a11y to v6.9.0
* ignore new violation and add comment to fix
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-08-01 13:34:02 +03:00
renovate[bot]
bda56de7d6
Update dependency html-loader to v5.1.0 ( #91381 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 13:31:31 +03:00
renovate[bot]
596c08e8f4
Update dependency eslint-plugin-react to v7.35.0 ( #91378 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 11:11:09 +01:00
renovate[bot]
6cda2f67de
Update dependency eslint-plugin-jsdoc to v48.10.2 ( #91370 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 11:46:59 +03:00
renovate[bot]
0590a42895
Update dependency eslint-plugin-jest to v28.6.0 ( #91343 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 09:28:51 +01:00
Georges Chaudy
36c2e0cfae
unifiedStorage: sort by namespace/name ASC ( #91314 )
...
* unified: sort by key asc
* sort by key
* keep tests commented
2024-08-01 08:27:01 +00:00
Kim Nylander
a77ff98d3f
Update traces to metrics doc ( #90916 )
2024-08-01 08:38:47 +01:00
Dominik Prokop
14c4bb6f87
TemplateSrv: Add test case for SafeSerializableSceneObject ( #90808 )
...
* TemplateSrv: Add test case for SafeSerializableSceneObject
* Update dashboard data source to use scoped vars scene object valueOf
2024-08-01 09:38:15 +02:00
renovate[bot]
9e3fd443f2
Update dependency esbuild-loader to v4.2.2 ( #91338 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-01 09:36:52 +02:00
Drew Slobodnjak
e6531d0ecd
Table: Fix negative numbers during rtl styling ( #91347 )
...
* Table: fix negative numbers during rtl styling
* revert field config unit check as it is no longer needed with fix implemented in this PR
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2024-07-31 15:28:24 -07:00
Isabella Siu
19585c9491
CloudWatch: Update grafana-aws-sdk for updated metrics ( #91364 )
2024-07-31 17:40:08 -04:00
Todd Treece
e890279dcf
Chore: Add go work sync to workspace update ( #91360 )
2024-08-01 00:06:05 +03:00
Charandas
a3d3f9a1e4
Revert "Identity: Remove id token from extra info ( #91169 )" ( #91350 )
...
This reverts commit 10170cb839 .
2024-07-31 21:27:46 +03:00
Haris Rozajac
e81fa0e4c5
Explore: Check for RBAC permissions when hitting query history endpoints ( #91156 )
...
* Check for RBAC permissions when hitting query history endpoints; extract checking logic into a middleware
* Fix lint errors
* Fix test
* Use permissions for patch path; rename callback handler
2024-07-31 12:10:52 -06:00
renovate[bot]
eef07aedc8
Update dependency esbuild-plugin-browserslist to ^0.14.0 ( #91342 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 17:08:18 +01:00
renovate[bot]
7570ea8c4f
Update babel monorepo ( #91079 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 16:32:58 +01:00
Josh Hunt
ff774e210c
E2C: Show snapshot error status ( #91214 )
...
* wip getError fn
* Create show errors from all API requests
* suppress error toasts from all e2c endpoints
* require error severity
2024-07-31 16:04:40 +01:00
Josh Hunt
bffcb9de89
E2C: Fix old snapshot showing when reconnecting ( #91274 )
2024-07-31 15:40:55 +01:00
Victor Marin
24d2fad921
Fix long datalinks to fit in panel options editor ( #91203 )
...
fix long datalinks to fit in panel options editor
2024-07-31 17:26:50 +03:00
Sergej-Vlasov
1897de68d4
DashboardGridItem: Add placeholder option when repeat panel options are empty ( #91149 )
...
* add placeholder option for repeat panel with empty options
* add tests and update to scenes canary
* adjust tests to not fail on expected console.error
2024-07-31 17:08:29 +03:00
Tom Ratcliffe
6c64d1d443
Alerting: Consume k8s Time Intervals API ( #90094 )
2024-07-31 16:59:15 +03:00
Sonia Aguilar
d080a91e8a
Alerting: Refactor createUrl and createAbsoluteUrl ( #90667 )
...
* Refactor url creatUrl and add tests
* update createUrl to createRelativeUrl in GrafanaRules.tsx
* Add slash if not present in createAbsoluteUrl
* Use template type forcing url parameter to start with slash instead of adding slash if not present
* address review comment
2024-07-31 15:30:35 +02:00
renovate[bot]
230416cbb4
Update dependency @tanstack/react-virtual to v3.8.4 ( #91287 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 16:28:06 +03:00
lean.dev
235f223aef
CloudMigrations: Fix typo in trace name ( #91261 )
2024-07-31 10:24:40 -03:00
Tobias Skarhed
e8c30c86f0
Frontend: Support tracing with Faro ( #91237 )
...
Move code from previous PR
2024-07-31 15:13:05 +02:00
colin-stuart
057c04ed9d
IDToken: Add current user's DisplayName to the ID token ( #90992 )
...
Set claims.Rest.DisplayName from the IDService
2024-07-31 09:11:37 -04:00
renovate[bot]
f58dd70c2b
Update dependency @react-awesome-query-builder/ui to v6.6.2 ( #91257 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 14:07:57 +01:00
renovate[bot]
856d6b9c9e
Update dependency @react-types/shared to v3.24.1 ( #91258 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 14:07:26 +01:00
Joao Silva
85d0e17dc4
Bookmarks: Store URLs instead of ids ( #91121 )
2024-07-31 13:56:39 +01:00
Tom Ratcliffe
562380079f
Alerting: Chore - remove unused alerting upgradeApi ( #91250 )
2024-07-31 12:57:48 +01:00
Esteban Beltran
782b725d87
Plugins Catalog: Display Request data source and view roadmap links ( #91175 )
...
* Add roadmap links to connection tab
* move to its own component
* add roadmaplinks to the catalog browse page
* use trans for text
* Change TextLink to accept ReactNode
* use Space component
* Add translations
2024-07-31 13:12:16 +02:00
Sven Grossmann
14db32cc9f
Loki: Add option to issue forward queries ( #91181 )
...
* Loki: Add option to issue forward queries
* Loki: Fix spelling of "backward"/"forward"
2024-07-31 12:53:59 +02:00
renovate[bot]
b2314dfb55
Update dependency @playwright/test to v1.45.3 ( #91248 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 11:29:26 +01:00
antonio
9e64f51485
alerting: add link to killercoda sandbox in the alerting get started tutorial ( #91238 )
...
alerting:fix killercoda link to get started tutorial
2024-07-31 12:11:11 +02:00
Joao Silva
b99d635e30
Bookmarks: Add field for pinNavItems toggle to grafana_navigation_item_clicked interaction ( #91184 )
2024-07-31 11:07:24 +01:00
Joao Silva
57323e1104
Preferences: Keep navbar preferences when saving from Preferences screen ( #91197 )
2024-07-31 11:07:08 +01:00
renovate[bot]
7cda6b5245
Update dependency @grafana/plugin-e2e to v1.6.1 ( #91246 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 11:06:01 +01:00
Alex Khomenko
acbf02cd2f
Navigation: Redirect org users to admin users ( #91051 )
2024-07-31 11:49:14 +02:00
renovate[bot]
ad8e317987
Update dependency @grafana/faro-web-sdk to v1.8.2 ( #91244 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 10:40:50 +01:00
Ryan McKinley
f804b0baa3
Storage: Return an iterator from backend List ( #91185 )
2024-07-31 12:05:59 +03:00
Ivan Ortega Alba
dd9172e738
Scenes: Upgrade to v5.7.2 ( #91241 )
2024-07-31 12:02:43 +03:00
renovate[bot]
e5cf0bd220
Update dependency @grafana/faro-web-sdk to v1.8.2 ( #91191 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 11:57:39 +03:00
Ieva
702fc3477d
RBAC: Fix folder move check when action sets are disabled ( #91200 )
...
fox folder move check when action sets are disabled
2024-07-31 09:49:09 +01:00
Alexander Zobnin
44f5db5609
RolePicker: Reload org users after role update ( #91201 )
2024-07-31 11:46:51 +03:00
Tobias Skarhed
ff54333881
Combobox: Add clear and reset onBlur ( #90943 )
...
* Add clear and reset onBlur
* use selectItem
* Use downshift hooks instead
* Fix Clear bug and extract i18n
* Remove useMemo from story
* Add loading state to many options story
* Set fallback to null
* Fix unused import
* Use onBlur and pass it to Downshift instead
2024-07-31 10:37:09 +02:00
renovate[bot]
a5795ad66e
Update dependency @grafana/faro-core to v1.8.2 ( #91099 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-31 09:18:38 +01:00
Giuseppe Guerra
95f340738c
Angular deprecation: Disable dynamic angular inspector if CheckForPluginUpdates is false ( #91194 )
...
* Angular deprecation: Disable dynamic angular inspector if CheckForPluginUpdates is false
* Add tests
* add type checks for dynamic service
2024-07-31 10:10:12 +02:00
Ryan McKinley
160fe2a3a4
Storage: Remove entity store ( #91233 )
2024-07-31 09:25:39 +03:00
Ryan McKinley
10170cb839
Identity: Remove id token from extra info ( #91169 )
2024-07-31 09:14:13 +03:00
Ryan McKinley
68f1a0619d
Snapshots: Remove deprecated option snapshot_remove_expired ( #91231 )
2024-07-31 08:47:15 +03:00
Nathan Marrs
fc1139e51a
Transformations: Promote format string as generally available ( #91161 )
2024-07-31 05:10:07 +03:00
Diego Augusto Molina
30d4a4249c
Storage: Disable Resource Server integration tests to unblock pipelines ( #91216 )
...
disable integration tests to unblock pipelines until we find the issue
2024-07-30 21:39:33 -03:00
Nathan Marrs
0423c67495
Transformations: Promote add field from calc stat function cumulative and window calcs as generally available ( #91160 )
2024-07-31 03:30:24 +03:00
Nathan Marrs
a71dfd3109
Canvas: Support template variables in base URL of actions ( #91227 )
2024-07-30 17:21:57 -07:00
Nathan Marrs
0a34b51055
Transformation: Add variable support for filter by value regex matcher ( #90926 )
...
* add support for template vars in filter by value transformation for regex matcher
* less code is more code
* add test to confirm interpolation works for regex
* suggestions input for regex editor
---------
Co-authored-by: Adela Almasan <adela.almasan@grafana.com >
2024-07-31 02:15:44 +03:00
Yuri Tseretyan
537f1fb857
Alerting: Fix persisting result fingerprint that is used by recovery threshold ( #91224 )
...
* fix persister to save result fingerprint
* revert change
* fmt
2024-07-30 18:07:13 -04:00
Lucy Chen
f96eed5abf
Sharing Redesign: Add missing i18n translation ( #90775 )
...
add i18n translations
2024-07-30 15:39:32 -04:00
Kristina
783ff71560
Explore: Allow saving to Query Library from query row ( #89381 )
...
* wip
* Add save functionality to query row
* add success conditional
* move around translations
* Add translations
* Add key to fix test
* Add key to the right spot
* define specific save button
* WIP - Use RowActionComponents to add action without modifying the core component
* Only add component once on render
* Move logic to main explore page
* Add keyed render actions to prevent redundancy, use this to add keyed action
* Overcome the forces of dayquil to attempt to make actual sense
* Add scoped actions to query action component
* Spaces not allowed in generateName
2024-07-30 13:56:44 -05:00
Sven Grossmann
e7156e7e60
Logs: Remove grafana_explore_logs_log_details_clicked event ( #91171 )
2024-07-30 20:12:30 +02:00
Sven Grossmann
270b01f883
Logs: Remove grafana_explore_logs_result_displayed event ( #91172 )
2024-07-30 20:12:12 +02:00
owensmallwood
2362e79e4e
Unified Storage: Configure client to use tls=preferred ( #91162 )
...
* optionally set tls=preferred in the mysql connection string from env var
2024-07-30 11:24:28 -06:00
Nihal
9ad9b4989b
Alerting: Include a list of ref_Id and aggregated datasource UIDs to alerts when state reason is NoData ( #88819 )
...
* include a list of ref_Id and datasource UID to alerts when state reason is NoData.
---------
Signed-off-by: Syed Nihal <syed.nihal@nokia.com >
2024-07-30 12:55:59 -04:00
Kristin Laemmert
ac0b4bb34d
refactor replCfg to look more like plugins/plugin config ( #91142 )
...
* refactor replCfg to look more like plugins/plugin config
* validateReplicaConfigs must handle inconsistencies in type names due to the WithHooks suffix
2024-07-30 12:09:56 -04:00
Alexander Weaver
4c71cadd5f
Alerting: Detach condition validator from condition evaluator ( #91150 )
...
* Detach validator from evaluator
* Drop unnecessary interface and type
2024-07-30 10:55:37 -05:00
Claudiu Dragalina-Paraipan
cf55ac5813
authz: set authzv1.ReadResponse.Found ( #91212 )
...
Co-authored-by: Gabriel MABILLE <gabriel.mabille@grafana.com >
2024-07-30 18:26:54 +03:00
github-actions[bot]
66b1a219f4
Alerting: Update Swagger spec ( #79850 )
...
* chore: update alerting swagger spec
* update public swagger
---------
Co-authored-by: rwwiv <rwwiv@users.noreply.github.com >
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-07-30 18:17:23 +03:00
Yuri Tseretyan
2023821100
Alerting: update Loki backend of state history to batch requests by folder ( #89865 )
...
* refactor `selectorString` and remove Selector struct
* move code from selector string to BuildLogQuery
* batch requests by folder UID
* update historian annotation store to handle multiple queries
* sort folder uids to make consistent queries
* add logs to loki http
* log batch size but not content. content is logged by the client
2024-07-30 11:07:10 -04:00
Claudiu Dragalina-Paraipan
05ab4cdd1f
[authz]: use authlib client ( #91205 )
...
authz: use authlib client
Co-authored-by: Gabriel MABILLE <gabriel.mabille@grafana.com >
2024-07-30 17:49:46 +03:00
Kevin Minehart
bee678da94
CI: Fix drone docker publish ( #91204 )
...
* $debug -> $$debug
* use bash instead of sh
* Update publish_images.star
* Install bash in the docker/docker image
* buildifier
2024-07-30 15:44:04 +01:00
Georges Chaudy
68dd311337
ResourceStore: remove the entity bridge ( #90995 )
2024-07-30 16:29:25 +02:00
antonio
896f4889b6
2024 07 killercoda tutorial for alerting ( #90875 )
...
* alerting/tutorials:killercoda
* changed asset
* alerting: add killercoda to get started tutorial
* applied suggestions
* all pretty, no pity
2024-07-30 15:58:44 +02:00
Georges Chaudy
901f7f1529
unifiedStorage: fix flaky integration test ( #91199 )
...
unified: fix flaky integration test
2024-07-30 16:55:51 +03:00
Isabella Siu
c68feecb6e
CloudWatch: Add errorsource for QueryData ( #91085 )
2024-07-30 09:55:01 -04:00
Michael Mandrus
3e138449bb
CloudMigrations: Fix bugs found during local testing ( #91163 )
...
* send dashboard commands instead of dashboards
* move status updates before goroutine to ensure frontend polls
* fix syncing issues between snapshot state and resources
* make sessionUid a requirement for modifying snapshots
* move the function I meant to move earlier
* remove accidental commit
* another accidental commit
* verify UpdateSnapshot is called with sessionUid
* revert
* pass in session uid everywhere
* forgot to save
* fix unit test
* fix typo
* tiny tweak
2024-07-30 09:02:41 -04:00
João Calisto
0a561d22fb
CI: Add new RRC pipeline ( #90731 )
...
* CI: Add new RRC pipeline
2024-07-30 14:01:10 +01:00
Egor
ad770cf1e5
Jaeger: Fix calling of search query with the correct time range ( #90320 )
...
* Jaeger: call search query with query range (#88156 )
* Update test
---------
Co-authored-by: Ivana Huckova <ivana.huckova@gmail.com >
2024-07-30 15:27:22 +03:00
Tom Ratcliffe
6fcf594b32
Alerting: Add eslint testing-library plugin dependency and create separate ESLint config ( #91052 )
2024-07-30 15:16:54 +03:00
renovate[bot]
e3842df675
Update dependency @types/node to v20.14.13
2024-07-30 11:57:59 +00:00
renovate[bot]
22ad5395d5
Update dependency @reduxjs/toolkit to v2.2.7
2024-07-30 11:35:34 +00:00
Tom Ratcliffe
e877b82af7
Chore: Update imports from RTKQ ( #91182 )
2024-07-30 12:10:18 +01:00
Will Browne
fa49fe3331
Plugins: Use bundle instead of individual plugin during construct step ( #91140 )
...
* work off bundle instead of individual plugin
* Remove children
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
* Remove children ref
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
* fix assign
* end early
* unset children
---------
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
2024-07-30 11:24:37 +01:00
Ryan McKinley
da65825c5f
Storage: Consolidate error handling ( #91167 )
2024-07-30 10:16:16 +00:00
kay delaney
b80e16075f
Scenes/Dashboards: Fix issue where changes in panel height weren't saved ( #91125 )
...
* Scenes/Dashboards: Fix issue where changes in panel height weren't saved
2024-07-30 12:34:30 +03:00
Joao Silva
35315f43fe
Pin Nav Items: Don't show icon for items without id ( #91141 )
2024-07-30 10:33:52 +01:00
renovate[bot]
de5932a2ab
Update dependency @grafana/scenes to v5.7.0 ( #90896 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 10:29:44 +01:00
Vardan Torosyan
e20f8c566d
RBAC sync: Fix removal of roles which need to be added ( #91152 )
...
* RBAC sync: Fix removal of roles which need to be added
* Optimize code
* cleanup: appease the linter
---------
Co-authored-by: Victor Cinaglia <victor@grafana.com >
2024-07-30 09:00:47 +02:00
Ryan McKinley
728150bdbd
Identity: extend k8s user.Info ( #90937 )
2024-07-30 08:27:23 +03:00
Señor Performo - Leandro Melendez
efda5a3ef2
docs: Added sub header, description for video link ( #91083 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-07-29 17:42:37 -04:00
ismail simsek
2536049ffd
Chore: Remove MetricCategoryCascader from Explore Metrics ( #91039 )
...
remove MetricCategoryCascader
2024-07-29 22:51:52 +02:00
Yuri Tseretyan
8323b688c6
Alerting: Improve logging in scheduler and states ( #91003 )
...
* handle metadata map nil
* remove double context
* clean up logging in scheduler
* do not reuse loggers from previous ticks
* log the dropped tick
* log tick instead of ticknum
* replace with processing tick logs
* log sending notifications
* update logging in persister to fetch context
* logs to historian
moved them upstream to be able to log when store is overridden
2024-07-29 16:01:48 -04:00
Yuri Tseretyan
1b4b1af9b7
Alerting: Receiver API to use same logic for calculating UID as backend serivce ( #91153 )
...
use same logic for calculating uID as backend serivce
2024-07-29 15:55:49 -04:00
Georges Chaudy
7ad37ff4e4
UnifiedStorage: ensure list from history works across all 3 database backends ( #91134 )
...
* Ensure List is sorted by resource version DESC
* Ensure List is sorted by resource version DESC
* fix list in the past for postgres
2024-07-29 13:49:54 -06:00
Matthew Jacobson
62f67e38b8
Alerting: Implement receiver auth service ( #90857 )
2024-07-29 15:49:10 -04:00
Gabriel MABILLE
b982259950
RBAC: Default to plugins.app:access for plugin includes ( #90969 )
...
* Default to app access for includes
* Check plugin type
2024-07-29 20:56:09 +02:00
Yuri Tseretyan
34dbfefc86
Alerting: Template service to check for provenance status of update\delete ( #90688 )
2024-07-29 14:10:03 -04:00
lean.dev
d8555019f1
CloudMigrations: Fix migration in docker ( #91147 )
2024-07-29 15:00:43 -03:00
Michael Mandrus
a6088e4ee4
CloudMigrations: Improvements to backend ( #91012 )
...
* E2C: Add stat rollup to MigrationSummary
* fix report event url
* open form in new page
* sort folders by heirarchy
* undo accidental commit
* remove another commit
* make folder sorting dynamic
---------
Co-authored-by: joshhunt <josh@trtr.co >
2024-07-29 17:55:22 +00:00
Tom Ratcliffe
9d639278f4
Alerting: Refactor simplified routing contact points hook ( #90762 )
2024-07-29 19:22:31 +03:00
Joseph Perez
24c64fdffa
Docs: Edit of contribute to docs guide (part 8 of doc improvement project) ( #90405 )
...
* Docs: Edit of contribute to docs guide (part 8 of doc improvement project)
* Fix open source
* Modify bullets
* Change final sentence
* Fix final sentence
2024-07-29 08:49:41 -07:00
Josh Hunt
1a7c965f7d
E2C: Fix rebuild snapshot not showing while pending upload ( #91077 )
...
* E2C: Fix rebuild snapshot not showing while pending upload
* fix unable to make snapshot after disconnect/reconnect
* fix wrap on migration summary
2024-07-29 18:27:31 +03:00
brendamuir
218cf45ec0
Docs: adds alerting redis link to grafana config docs ( #91112 )
...
* Docs: adds alerting redis link to grafana config docs
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-07-29 16:46:15 +02:00
Kristin Laemmert
af19f039b6
Chore (sqlstore): add validation and testing for repl config ( #90683 )
...
* add some validation and testing for repl cf
* connection strings are secrets
2024-07-29 10:32:56 -04:00
Georges Chaudy
d12cd4280c
unifiedStorage: name can be length 1 ( #91126 )
...
* fix: name can be len 1
* fix: name can be len 1
* fix: name can be len 1
2024-07-29 15:54:52 +02:00
Joseph Perez
eee66882ef
Docs: Edit of files in the backend contributor guide (part 7 of doc quality improvement project) ( #89974 )
...
* Docs: Edit of multiple files in the backend contributor guide (part 7 of doc quality improvement project)
* Update contribute/backend/instrumentation.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/backend/instrumentation.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/backend/instrumentation.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/backend/instrumentation.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/backend/instrumentation.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/backend/package-hierarchy.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/backend/package-hierarchy.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/backend/services.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/backend/services.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/backend/services.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/backend/instrumentation.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/backend/instrumentation.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/backend/instrumentation.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/backend/instrumentation.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/backend/package-hierarchy.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/backend/services.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Fix for active voice
* Update contribute/backend/instrumentation.md
* Update contribute/backend/instrumentation.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/backend/instrumentation.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/backend/instrumentation.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/backend/instrumentation.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Fix from review
* Update contribute/backend/services.md
* Update contribute/backend/services.md
* Spelling of wire
* Prettier fixes
* Minor fix
---------
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
2024-07-29 06:06:50 -07:00
Leonor Oliveira
8345af928c
[Dual writer] Read kind value passed as dualwriter's argument ( #91113 )
...
* Include kind on the dualwriter to be used on metrics
* Use kind as argument
* Skip dual writer in mode4
2024-07-29 13:57:44 +02:00
Tom Ratcliffe
604c99f137
Alerting: Don't show success message after updating AM config ( #90934 )
2024-07-29 12:02:34 +01:00
Andre Pereira
733807f963
Tempo: Show search streaming status in query options ( #90726 )
...
* Show whether search streaming is enabled in query options
* Fix tests
* Address comments
2024-07-29 11:58:01 +01:00
Ida Štambuk
57331eb898
Docs: Update docs with Metric Insights builder cross-account feature ( #91069 )
...
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-07-29 12:24:04 +02:00
Ida Štambuk
ec3dc74080
Features: Release Cloudwatch Metric Insights cross-account querying to public preview ( #91066 )
2024-07-29 12:23:46 +02:00
Will Browne
1b3fa8c47f
Plugins: Hide version information when plugin is managed ( #88065 )
...
* first pass
* fixup
* fix linter issues
* fix API test
* update naming
* rework
* update var name
* empty check
* prettier
* fix test
* fix lint
2024-07-29 11:18:43 +01:00
Ieva
e2ee7f06eb
RBAC: Prevent role picker from disappearing when many roles are selected ( #91065 )
...
make the container of selected roles scrollable
2024-07-29 11:17:55 +01:00
Gilles De Mey
746e2eeee6
Alerting: Add validation for path separators in the rule group edit modal ( #90887 )
...
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2024-07-29 11:59:15 +02:00
Joao Silva
c694c97651
Bookmarks: Make the button accessible ( #91037 )
2024-07-29 10:31:26 +01:00
Alex Khomenko
47fb116989
Paginate migrated resources ( #91055 )
...
* E2C: Add snapshot table pagination
* Fix default page number
* Update defaults
* Reduce page size to 50, correctly calculate number of pages
---------
Co-authored-by: joshhunt <josh@trtr.co >
2024-07-29 10:21:04 +01:00
Piotr Jamróz
8d98c9eba7
Explore: Pass the dataframes along with the time range of the data ( #90594 )
...
* Explore: Pass the dataframes along with the time range of the data (#90259 )
* Use data time range for rendering instead of selected range from the picker
* Update CustomContainer to use data time range
* Update test
(cherry picked from commit 58285e37a2 )
* Memoize visible range passed to LogsVolumePanel
* Ensure onHiddenSeriesChanged is called only when hidden frames change
2024-07-29 12:07:06 +03:00
Leonor Oliveira
6a1e835f12
Get kind from runtime.Object. Unify metric names ( #91041 )
...
* Normalize name labels
* Access kind
* Read kind from the runtime object instead from the options object
* use kind from object on create
2024-07-29 09:58:48 +02:00
Taylor C
a7679b5f8d
(Docs) Updates RBAC actions for Adaptive Metrics ( #90907 )
2024-07-28 08:34:20 +01:00
Kevin Minehart
2ffdc2d5b0
CI: Fix release-pr call in releases ( #91088 )
...
* Fix release-pr call in releases
* Remove backport arg
* set TARGET to v_target
2024-07-26 17:20:36 -06:00
Kevin Minehart
4e84234424
CI: set dry-run if release/dry-run label is set on release-comms.yml and set latest on github release if latest is set ( #91089 )
...
set dry-run and set latest on github release
2024-07-27 02:14:36 +03:00
Matthew Jacobson
a1f0b599a7
Alerting: Refactor receiver_svc and provisioning config store into legacy_storage package ( #90856 )
...
* Add more receivers api tests
* Move provisioning config store to new legacy_storage package
2024-07-26 17:45:33 -04:00
Drew Slobodnjak
0edb0c5c4f
Canvas: Always show rotation in layout editor ( #90571 )
...
* Canvas: Always display rotation in layout editor
* Simplify condition
* Set default rotation from options if null
2024-07-26 14:37:07 -07:00
Yuri Tseretyan
6b0d20c96a
Alerting: time interval service to support addressing intervals by Base64 encoded name ( #90563 )
...
* rename to getMuteTimingByName
* add UID to api model of MuteTiming
* update GetMuteTiming to search by UID
* update UpdateMuteTiming to support search by UID
* update DeleteMuteTiming to support uid
* make sure UID is populated
* update usages
* use base64 url-safe, no padding encoding for UID
2024-07-26 16:43:40 -04:00
Victor Marin
2ab746ae76
Disallow edit for panels in repeated rows ( #90967 )
2024-07-26 23:11:05 +03:00
Juan Cabanas
397dfaf679
ShareDrawer: Share link panel ( #90549 )
2024-07-26 17:04:34 -03:00
Leon Sorokin
90349b21f7
VizTooltip: Hide on page scroll even if anchored ( #91084 )
2024-07-26 22:27:49 +03:00
renovate[bot]
1503c82ae9
Update dependency underscore to v1.13.7
2024-07-26 17:05:18 +00:00
renovate[bot]
ef1d96c19a
Update dependency postcss to v8.4.40
2024-07-26 16:30:37 +00:00
renovate[bot]
9a376d64c8
Update dependency downshift to v9.0.7
2024-07-26 16:05:44 +00:00
Alexander Weaver
b7220b532e
Alerting: Fix bug where patching recording rule queries wouldn't apply ( #91011 )
...
* the fix
* tests
2024-07-26 11:02:54 -05:00
Josh Hunt
d7e85354d1
E2C: Improvements to workflow ( #91045 )
...
* E2C: Improvements to workflow
* no eslint comment
* i18n
* i18n:
* lint
2024-07-26 16:56:03 +01:00
renovate[bot]
8e006fedda
Update dependency @grafana/experimental to v1.7.13
2024-07-26 15:42:50 +00:00
renovate[bot]
3383e2f6b9
Update dependency @grafana/aws-sdk to v0.4.1 ( #90898 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-26 18:03:44 +03:00
Yuri Tseretyan
534549e491
Alerting: Update documentation for MS Teams integration ( #90610 )
...
---------
Co-authored-by: Alyssa Wada <101596687+alyssawada@users.noreply.github.com >
2024-07-26 10:59:58 -04:00
grafana-delivery-bot[bot]
d50bad8fee
Release: update changelog for 11.1.3 ( #91058 )
...
* Update changelog
* Update CHANGELOG.md
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-07-26 14:17:52 +00:00
Ryan McKinley
ec6c6bd6c3
Identity: Add read-only identity apiserver ( #90418 )
2024-07-26 17:09:08 +03:00
Ryan McKinley
be7b1ce2df
Chore: Replace appcontext.User(ctx) with identity.GetRequester(ctx) ( #91030 )
2024-07-26 16:39:23 +03:00
Tobias Skarhed
ddd38afa57
SCSS: Fix mixed declarations deprecation ( #91048 )
...
Fix scss deprecation
2024-07-26 15:51:28 +03:00
Ida Štambuk
67f0d04744
Cloudwatch: Add account Id in groupBy options for Metric Insights cross-account ( #90906 )
2024-07-26 14:20:39 +02:00
Georges Chaudy
e4ed000d05
ResourceStore: Fix sql List ( #91043 )
...
* fix resource list
* ensure we get the resource version without FOR SHARE
2024-07-26 13:56:24 +02:00
Sonia Aguilar
8423d06988
Alerting: Implement UI for grafana-managed recording rules ( #90360 )
...
* Implement UI for grafana-managed recording rules
* use undefined for the duration instead of null , for recording rules
* Fix tests
* add tests
* Add pause functionality for grafana recording rules
* update translations
* remove obsolete snapshot
* use createUrl instead of renderUrl
* refactor
* Add validation for grafana recording rule name
* create util functions for rule types and add record field in mock function
* add util isDatatSourceManagedRuleByType
* refactor
* Add metric field in alert rule form
* fix alert name component
* update width for alert name and metric
* fix test
* add validation back to cloud recording rules name
* Alerting: Recording rules PR review (#90654 )
Update type helper methods
* add slash in createUrl
* fix baseurl in the returnTo
* nits
* Add metric on expanded row in the alert list view
* nits
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
* update snapshot
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2024-07-26 13:52:22 +02:00
Michael Mandrus
c0af387766
CloudMigrations: Add a default feedback url ( #91018 )
...
add default url
2024-07-26 11:26:18 +01:00
Michael Mandrus
8627385132
CloudMigrations: Open feedback link in a few tab ( #91014 )
...
open feedback link in a new tab
2024-07-26 11:26:07 +01:00
Sven Grossmann
f5b4fc58e3
Loki: Also replace step with vars ( #91031 )
2024-07-26 11:55:04 +02:00
brendamuir
f66149807d
Alerting docs: adds history view docs ( #91033 )
...
* Alerting docs: adds history view docs
* ran prettier
2024-07-26 11:51:08 +02:00
Josh Hunt
17bd302ef2
E2C: Add stat rollup to MigrationSummary ( #90970 )
...
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com >
2024-07-26 09:52:59 +01:00
Kevin Minehart
a19a9903bf
CI: Fix release-comms regex ( #91024 )
...
Fix release-comms regex
2024-07-26 08:18:22 +02:00
grafana-delivery-bot[bot]
190256ee2f
Release: update changelog for 11.0.2 ( #91022 )
...
* Update changelog
* prettier
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com >
2024-07-25 23:50:03 +00:00
grafana-delivery-bot[bot]
5aac6e6056
Release: update changelog for 10.4.6 ( #91016 )
...
* Update changelog
* prettier:write
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com >
2024-07-25 23:22:13 +00:00
Kevin Minehart
7e4b7f73e7
CI: use main instead of my branch in release-pr.yml ( #91004 )
...
use main instead of my branch
2024-07-26 00:35:20 +03:00
ismail simsek
8dd6bfef3c
Explore Metrics: Update history breadcrumb tooltips ( #90825 )
...
* add history handler
* move them into functions
* handle adding new history steps
* handle time history by respecting the timezone
* remove commented code
* no type casting
* add unit tests
* add colons and a new type metric_page
* remove console
* fix unit tests
2024-07-25 23:27:41 +02:00
Kevin Minehart
2fe506d502
CI: fix release pr target ( #90999 )
...
* use inputs.target as checkout ref, and `main` for all reused actions.
2024-07-25 16:14:29 -05:00
grafana-delivery-bot[bot]
3137410f3f
Release: update changelog for 11.1.1 ( #90997 )
...
* Update changelog
* Update CHANGELOG.md
* Update CHANGELOG.md
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-07-25 21:03:29 +00:00
Kristin Laemmert
daedb358dd
chore (replstore): fix registration with multiple sql drivers, again ( #90990 )
...
* replstore: fix registration with multiple sql drivers, again
* only compile regex once
2024-07-25 15:13:36 -04:00
Diego Augusto Molina
9852513c65
Release Pipeline: [RPM pkg verification] Fix linefeeds converted to literal backslash-n sequences ( #90989 )
...
fix lf converted to literal backslash-n sequence
2024-07-25 15:31:17 -03:00
Joseph Perez
3df7a854e6
Docs: Edit of 4 files in contribute/style-guides (part 9 of doc quality improvement project) ( #90705 )
...
* Docs: Edit of 4 files in contribute/style-guides
* Respond to review question
* Fix unordered list
* Update contribute/style-guides/e2e-core.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Update contribute/style-guides/e2e-core.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Update contribute/style-guides/e2e-core.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Fix title
* Prettier fixes
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2024-07-25 11:14:19 -07:00
lnnt
3c405e8b1f
Update version of docker-compose.yaml ( #90539 )
...
* Update version of docker-compose.yaml
* Update index.md
2024-07-25 12:28:30 -05:00
Kevin Minehart
089a5710b6
CI: fix changelog push error ( #90971 )
...
* add --set-upstream origin to release-pr workflow git push
* use a different branch name for the changelog workflow
* disable backport support for now
* remove backport condition
2024-07-25 19:42:41 +03:00
Georges Chaudy
4baca6947d
ResourceServer: make the resource store the default unified storage backend ( #90899 )
...
* make the resource store the default unified storage backend
* add integration tests
* fix test non passing
* Update pkg/storage/unified/sql/test/integration_test.go
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
* lint
* fix tests
* fix no rows
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2024-07-25 18:17:39 +02:00
Kavindu Nilshan
0b822478b6
Resolved the issue stated in issue #90426 . ( #90465 )
...
* Resolved the issue stated in issue #90426 .
* Method created to get the length of the url.
* Applied the length logic and intentional fall through in switch.
* Changed the way length calculated
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com >
* Remove un-used method getUrlLength
* Refactoring
---------
Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com >
2024-07-25 10:06:23 -06:00
Kevin Minehart
d4304b59ec
CI: fix changelog repo null ( #90960 )
...
* give secrets when running changelog action
* i guess secrets don't have types
2024-07-25 18:36:03 +03:00
Josh Hunt
7e6e76f4ff
E2C: Show rebuild snapshot button ( #90941 )
...
* E2C: Show rebuild snapshot button
* i18n
* Update public/app/features/migrate-to-cloud/onprem/Page.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
---------
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2024-07-25 18:03:59 +03:00
Kevin Minehart
14396048d7
CI: changelog boolean type ( #90948 )
...
* bool -> boolean
* add missing type keys
* provide secrets in release-pr
* use permissions and built-in github token
2024-07-25 09:52:15 -05:00
Kevin Minehart
c326d865c5
RBAC: Allow plugins to use scoped actions ( #90946 )
...
Co-authored-by: gamab <gabriel.mabille@grafana.com >
2024-07-25 17:22:42 +03:00
Diego Augusto Molina
95000f9fc8
fix data race in GetWebAssets ( #90939 )
2024-07-25 11:14:40 -03:00
Adela Almasan
0a870e6a88
Canvas: Element data links refactor ( #90636 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-07-25 07:13:21 -05:00
Josh Hunt
d3061ab61a
E2C: Display Pending status for resources ( #90935 )
2024-07-25 12:38:11 +01:00
Adam Yeats
3ce1a5b0ca
AzureMonitor: Fix out of bounds error when accessing metricNamespaceArray and resourceNameArray in buildResourceURI ( #89222 )
...
Fix out of range error when accessing metricNamespaceArray in buildResourceURI
2024-07-25 11:19:15 +01:00
Ryan McKinley
9db3bc926e
Identity: Rename "namespace" to "type" in the requester interface ( #90567 )
2024-07-25 12:52:14 +03:00
Alex Khomenko
8cdf5ee824
E2C: Add Public Preview banner ( #90922 )
...
* E2C: Add public preview message
* Read feedback URL from the settings
* Translate strings
* Add missing translation
* Add missing translation[2]
2024-07-25 12:44:49 +03:00
Laura Fernández
944cc87f65
Combobox: Styling for dropdown ( #90140 )
...
* Add getSelectStyles
* Modify combobox styles
* Fix option with description styles
* Add highlightedIndex
* Undo estimateSize changes
* Create getComboboxStyles
* Add floating ui to Combobox
* Use elements to apply existing refs
* Delete width on styles
* Fix menu styling
* Update packages/grafana-ui/src/components/Combobox/Combobox.tsx
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com >
* Changes suggested in reviews
* Delete container styles
* Delete container styles
* Add calculated height to ul element
* Show all options in the many options story
* Replace deprecated code
* Remove console.log
* Fix ts error
* Fix ts error
* Fix val is mull error
* Fix ts error
* Add comment in the code
* Modify the comment
---------
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com >
2024-07-25 11:17:23 +02:00
Ida Štambuk
0d1fbc485f
Cloudwatch: Add support for adding account id to sql query ( #90880 )
2024-07-25 11:00:50 +02:00
Sven Grossmann
94dd4105e2
Loki: Allow alert headers to be forwarded ( #90890 )
...
* Loki: Allow alert headers to be forwarded
* Loki: fix tests
---------
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-07-25 07:39:34 +02:00
Michael Mandrus
dc355331a6
CloudMigrations: Store encryption key in unified secrets table ( #90908 )
...
* store encryption key in unified secrets table
* fix local dev mode
* make metadata more realistic
* fix tests
* fix sql queries against postgres
* fix stats endpoint
2024-07-25 06:34:25 +03:00
Larissa Wandzura
49c756d774
Docs: Updated the Logs in Explore doc ( #90671 )
...
* updates and language clarification
* fixed screenshot under logs nav
* removed gerund from title
* ran prettier
* removed trace integration file from PR
* Update docs/sources/explore/logs-integration.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/explore/logs-integration.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/explore/logs-integration.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/explore/logs-integration.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Discard changes to docs/sources/explore/trace-integration.md
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-07-24 13:10:30 -05:00
Brendan O'Handley
e0d0322036
Prometheus: Deprecation message for SigV4 in core Prom ( #90250 )
...
* add deprecation message for SigV4 in core Prom
* remove extra things
* change name to Amazon Prometheus
* update AMP name
2024-07-24 12:27:10 -05:00
Señor Performo - Leandro Melendez
fd39017153
docs: Updates to GeoMap panel doc ( #90769 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-07-24 13:14:35 -04:00
Sven Grossmann
cca9dee702
Loki: Remove instant query type from Log queries ( #90137 )
...
* Loki: Prevent log queries to run as `instant` query
* Loki: add tests
* Loki: only overwrite instant queries
* Loki: fix tests
* Loki: fix tests
2024-07-24 18:37:34 +02:00
Ieva
9bb2cf4968
RBAC: Allow omitting default permissions when a new resource is created ( #90720 )
...
* Cfg: Move rbac settings to own struct
* Cfg: Add setting to control if resource should generate managed permissions when created
* Dashboards: Check if we should generate default permissions when dashboard is created
* Folders: Check if we should generate default permissions when folder is created
* Datasource: Check if we should generate default permissions when datasource is created
* ServiceAccount: Check if we should generate default permissions when service account is created
* Cfg: Add option to specify resources for wich we should default seed
* ManagedPermissions: Move providers to their own files
* Dashboards: Default seed all possible managed permissions if configured
* Folders: Default seed all possible managed permissions if configured
* Cfg: Remove service account from list
* RBAC: Move utility function
* remove managed permission settings from the config file examples, change the setting names
* remove ini file changes from the PR
* fix setting reading
* fix linting errors
* fix tests
* fix wildcard role seeding
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
Co-authored-by: jguer <me@jguer.space >
2024-07-24 19:31:26 +03:00
Vardan Torosyan
82236976ae
Add support ticket fixed roles to cloud role sync ( #90864 )
...
* Add support ticket fixed roles to cloud role sync
* Adding tests
* Fix the linter
2024-07-24 17:58:21 +02:00
Dominik Prokop
f1c3c55983
Bump scenes to 5.6.2 ( #90893 )
2024-07-24 14:21:58 +01:00
renovate[bot]
21b45f5789
Update dependency rudder-sdk-js to v2.48.14
2024-07-24 13:13:04 +00:00
Jo
93a979d46d
Auth: Fix grafana-auth-app menu not being displayed ( #90882 )
...
Auth: Fix grafana-auth-app menu not being displayed if user only has access to cloud access policies
2024-07-24 15:10:19 +02:00
renovate[bot]
e5ff5e65df
Update dependency @react-types/overlays to v3.8.9 ( #90889 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-24 12:45:08 +00:00
Santiago
b79b38f02c
Alertmanager: Support limits for silences ( #90826 )
...
* Alertmanager: support limits for silences
* update grafana/alerting to latest main
2024-07-24 14:22:29 +02:00
renovate[bot]
7180f8a7d1
Update dependency @react-types/menu to v3.9.11
2024-07-24 12:11:54 +00:00
Leonor Oliveira
ec343f276f
Dual writer: mode 4 ( #90581 )
...
* Itroduce watcher and mode4
* Logging
* Mode4 should be initialized from the dual writer for observability
* Comment watch while it's not implemented
* Lint
* Use mode log when dual writer is initiated
* Use error from logger
2024-07-24 14:10:10 +02:00
renovate[bot]
701e715662
Update dependency @react-types/button to v3.9.6
2024-07-24 11:46:02 +00:00
Ashley Harrison
d8711beac5
Chore: Migrate dashdiff styles to emotion globals ( #90818 )
...
* migrate dashdiff styles to emotion globals
* fix colors
2024-07-24 12:43:52 +01:00
Joey
a9aadf2aa0
Update code owners for data sources transferred to big tent squad ( #90877 )
...
Update codeowners for data sources transferred to big tent squad
2024-07-24 11:19:55 +01:00
brendamuir
745eb60775
Alerting docs: updates icon on landing page ( #90881 )
...
* Alerting docs: updates icon on landing page
* adds svg
2024-07-24 12:13:12 +02:00
Todd Treece
d2467bb088
Chore: Fix dev profiling ( #90866 )
2024-07-24 06:12:45 -04:00
renovate[bot]
5be7cfca69
Update React Aria
2024-07-24 10:56:08 +01:00
Sven Grossmann
80b2e793ab
Loki: Remove unnecessary featuremgmt ( #90874 )
...
Loki: Remove unnecessary featuremgmt
2024-07-24 11:00:41 +02:00
renovate[bot]
92d0a40f70
Update Yarn to v4.3.1 ( #90871 )
...
* Update Yarn to v4.3.1
* add yarn 4.3.1
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-07-24 11:46:53 +03:00
Ashley Harrison
6df9fda298
Navigation: Tweak app height when bodyScrolling is enabled ( #90828 )
...
use vh instead of svh
2024-07-24 09:04:24 +01:00
Leonor Oliveira
67b74e1e8a
Dual writer: mode 3 ( #90045 )
...
* Dual writer: mode 3
* Add integration tests for playlits in mode 3
* Remove todo
* Update pkg/apiserver/rest/dualwriter_mode3.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
* Admin: Fixes an issue where user accounts could not be enabled (#88117 )
Fix: unable to enable user
* [REVIEW] FInish mode 3 and add tests
* Improve logging
* Update dependencies
* Update pkg/apiserver/rest/dualwriter_mode3_test.go
Co-authored-by: maicon <maiconscosta@gmail.com >
* remove test assertion
* Use mode log when dual writer is initiated
---------
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
Co-authored-by: gonvee <gonvee@qq.com >
Co-authored-by: maicon <maiconscosta@gmail.com >
2024-07-24 09:28:14 +02:00
Hugo Kiyodi Oshiro
5e3a5b355e
Plugins: Disable install controls for provisioned plugin in cloud ( #90479 )
2024-07-24 08:36:15 +02:00
owensmallwood
8fd2245ce6
Grafana: Skip US tests breaking enterprise for now ( #90869 )
...
* skip US tests breaking enterprise for now
* skips rest of tests
2024-07-23 16:08:47 -06:00
renovate[bot]
d93c83a6dc
Update dependency msw to v2.3.4
2024-07-23 22:06:06 +00:00
renovate[bot]
671f278ee1
Update dependency @types/node to v20.14.12
2024-07-23 19:21:07 +00:00
renovate[bot]
cfe8a5121a
Update dependency yaml to v2.4.5
2024-07-23 18:29:00 +00:00
renovate[bot]
b85700e386
Update dependency semver to v7.6.3
2024-07-23 17:34:17 +00:00
Adam Simpson
a7d37d4ed5
azuremonitor: add labels for single resource query ( #90832 )
...
* azuremonitor: add labels for single resource query
* fix tests
2024-07-23 13:31:44 -04:00
renovate[bot]
d30f8a01cc
Update dependency sass to v1.77.8
2024-07-23 17:13:23 +00:00
ismail simsek
87b2494872
Explore Metrics: Implement grouping with metric prefixes ( #89481 )
...
* add groop as a local dependency
* update layout
* nested layout with panels
* fix the height of the rows
* copy groop library into grafana/grafana
* Don't create a new scene everytime metrics refreshed
* Add display option dropdown
* handle different layout options in buildLayout
* add select component props
* unify scene body creation
* handle other display cases in refreshMetricNames
* set a new body when display format is different
* handle nestedScene population
* show nested groups
* handle panel display
* add tabs view
* populate tabs view
* show selected tab group
* show display options before metric search
* populate prefix filter layout
* only switch layout for nested-rows display option
* Update public/app/features/trails/groop/parser.ts
Co-authored-by: Darren Janeczek <38694490+darrenjaneczek@users.noreply.github.com >
* Update public/app/features/trails/groop/parser.ts
Co-authored-by: Darren Janeczek <38694490+darrenjaneczek@users.noreply.github.com >
* Update public/app/features/trails/MetricSelect/MetricSelectScene.tsx
Co-authored-by: Darren Janeczek <38694490+darrenjaneczek@users.noreply.github.com >
* Update public/app/features/trails/MetricSelect/MetricSelectScene.tsx
Co-authored-by: Darren Janeczek <38694490+darrenjaneczek@users.noreply.github.com >
* Remove tab view
* generate groups async
* Remove unnecessary parts
* Refactor
* implement urlSync
* update keys
* introduce interaction
* ui updates
* chore: revert some auto formatting to clarify comments
* chore: revert some auto formatting to clarify comments
* rename
* add tooltip
* add styles
* update unit tests
* make i18n-extract
* update unit test
---------
Co-authored-by: Darren Janeczek <38694490+darrenjaneczek@users.noreply.github.com >
Co-authored-by: Darren Janeczek <darren.janeczek@grafana.com >
2024-07-23 18:23:28 +02:00
renovate[bot]
d2b78931a1
Update dependency rudder-sdk-js to v2.48.13
2024-07-23 16:09:22 +00:00
Ieva
c2e0952553
Folders: Improve folder move permission checks ( #90588 )
...
* check that a user doesn't have higher plugin access on the destination folder than they have on the source folder when moving folders
* Update pkg/services/folder/folderimpl/folder_test.go
---------
Co-authored-by: Jo <joao.guerreiro@grafana.com >
2024-07-23 17:07:27 +01:00
renovate[bot]
546d9991fa
Update dependency react-use to v17.5.1
2024-07-23 15:42:41 +00:00
Larissa Wandzura
8285f11f04
Docs: Updates to the Query management in Explore page ( #90541 )
...
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2024-07-23 09:55:57 -05:00
renovate[bot]
d107f928b9
Update dependency msw to v2.3.3
2024-07-23 14:54:11 +00:00
renovate[bot]
b6e8a320ce
Update dependency rc-tree to v5.8.8
2024-07-23 14:32:59 +00:00
Dominik Prokop
2e5b41cbcb
TemplateSrv: Backportable version of 90808 ( #90833 )
...
TemplateSrv: Backportable version of 90808 (#90816 )
* TemplateSrv: Add test case for SafeSerializableSceneObject
* Update dashboard data source to use scoped vars scene object valueOf
* 11.1.x Backportable version of 90808
* lint
2024-07-23 16:02:20 +02:00
Ashley Harrison
219f4776a2
run prettier
2024-07-23 14:45:54 +01:00
renovate[bot]
486815606c
Update dependency prettier to v3.3.3
2024-07-23 14:45:54 +01:00
Julien Duchesne
25f0c70022
OpenAPI: Document the /api/health endpoint ( #88203 )
...
Document `/api/health` with OpenAPI
To do so, the response build had to be re-implemented as a struct
2024-07-23 09:41:03 -04:00
Dominik Prokop
89945b1bc2
Revert "TemplateSrv: Backportable version of 90808 ( #90816 )" ( #90831 )
...
This reverts commit 6849a6b86b .
2024-07-23 16:28:15 +03:00
Dave Henderson
a59c9525c1
notifications: Fix flaky SMTP tests ( #90801 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-07-23 08:22:00 -04:00
Vickie Chen
a1182b119e
Chore: Remove deprecated layout components from Plugins Platform ( #88523 )
...
* Chore: Remove deprecated layout components from Plugins Platform
Resolves #86878
* Chore: Use `Box` instead of `div`
2024-07-23 14:16:26 +02:00
Dominik Prokop
6849a6b86b
TemplateSrv: Backportable version of 90808 ( #90816 )
...
* TemplateSrv: Add test case for SafeSerializableSceneObject
* Update dashboard data source to use scoped vars scene object valueOf
* 11.1.x Backportable version of 90808
* lint
2024-07-23 14:05:24 +02:00
Alex Khomenko
8966083132
Pin Nav Items: Add tracking for pinned items clicks ( #90803 )
...
* Pin Nav Items: Add tracking for pinned items clicks
* Update id
* Simplify onClick logic
2024-07-23 14:58:50 +03:00
renovate[bot]
888417c01b
Update dependency postcss to v8.4.39
2024-07-23 11:54:17 +00:00
Victor Marin
01e161c5b1
DashboardScenes: TemplateSrv should return timeRange from scenes if context found ( #90735 )
...
* templateSrv should return timeRange from scenes if context found
* add test
* prettier
* test
2024-07-23 14:50:49 +03:00
renovate[bot]
d75475ae03
Update dependency ol-ext to v4.0.21
2024-07-23 11:32:31 +00:00
renovate[bot]
c42b6fa925
Update dependency msw to v2.3.2
2024-07-23 10:33:15 +00:00
Andreas Christou
32a3012a20
Graphite: Ensure all Graphite query references are interpolated ( #90566 )
...
Ensure Graphite query references are interpolated
2024-07-23 11:31:45 +01:00
ektasorathia
4779d8417d
Tracing: Add regex support for span filters ( #89885 )
...
* Tracing: Add regex support for span filters
* Update SpanFilters test
* Modify placeholder
---------
Co-authored-by: Ekta Sorathia <esorathia@ebay.com >
Co-authored-by: Joey Tawadrous <joey.tawadrous@grafana.com >
2024-07-23 11:10:54 +01:00
Ashley Harrison
80f201026f
Chore: Migrate _dashboard SCSS styles to emotion ( #90604 )
...
migrate dashboard.scss styles to emotion
2024-07-23 11:02:18 +01:00
renovate[bot]
e5a0117bb8
Update dependency marked-mangle to v1.1.8
2024-07-23 09:59:48 +00:00
renovate[bot]
66c4dff17e
Update dependency @react-types/overlays to v3.8.8
2024-07-23 09:31:01 +00:00
Alexa V
474ea9615d
Dashboard Scene: Make Variables non-sticky on mobile ( #90755 )
...
* Make variables not sticky on mobile
* Removes scrollable body
* Remove unused CSS
* Remove unnecessary cx
---------
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com >
2024-07-23 11:28:16 +02:00
renovate[bot]
b580cee96b
Update dependency @react-types/menu to v3.9.10
2024-07-23 09:05:04 +00:00
Ashley Harrison
8f9dc4a923
Navigation: move bodyScrolling to be public preview ( #90811 )
...
move bodyScrolling to be publicPreview
2024-07-23 10:02:06 +01:00
renovate[bot]
6dcf974543
Update dependency @react-types/button to v3.9.5
2024-07-23 08:30:42 +00:00
renovate[bot]
999aff5458
Update React Aria ( #90760 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-23 09:07:47 +01:00
Michael Mandrus
8e3e64460b
CloudMigrations: Change onPremToCloudMigrations feature toggle to public preview ( #90757 )
...
* update feature toggle stage
* a word
* update docs
2024-07-23 03:30:51 +03:00
Nathan Marrs
3b9c6da4eb
Table: Fix cell units ( #90799 )
2024-07-22 15:41:51 -07:00
Leon Sorokin
06a5c970c4
VizTooltip: Wrap labels to new lines when > ~50% screen width ( #90798 )
2024-07-22 15:52:36 -05:00
William Wernert
45f298120e
Alerting: Return error when writing recorded metrics instead of default writing NaN ( #90743 )
...
* Return error instead of default writing NaN
2024-07-22 15:47:02 -04:00
Sarah Zinger
f1b4964b24
Update the elastic search workflow to go to aws datasources squad ( #90768 )
2024-07-22 14:22:29 -04:00
Kim Nylander
edb7ecef70
[DOC] Update span filters doc for Tempo data source ( #90771 )
2024-07-22 13:10:31 -05:00
Victor Marin
771933bd74
Move panel plugin change logic into scenes ( #90535 )
...
* wip
* move logic into vizPanel
* add tests
* bump scenes
* set pluginId synchronously for component rerenders in table view
* fix bugs around table view
* fix
* fix
* use panelPlugin meta straight from config
* fix
* fix
* fix
2024-07-22 20:26:52 +03:00
Jean-Philippe Quéméner
bf09d8f615
chore(tests): skip flaky test ( #90763 )
2024-07-22 21:18:05 +04:00
Diego Augusto Molina
399d77a0fd
Resource server improvements and fixes ( #90715 )
...
* cleanup dependencies and improve list method
* Improve Resource Server API, remove unnecessary dependencies
* Reduce the API footprint of ResourceDBInterface and its implementation
* Improve LifecycleHooks to use context
* Improve testing
* reduce API size and improve code
* sqltemplate: add DialectForDriver func and improve naming
* improve lifecycle API
* many small fixes after adding more tests
2024-07-22 20:08:30 +03:00
Nikolaos Pothitos
5f367f05dc
Docs: Remove duplicate row (chore) ( #90710 )
2024-07-22 12:55:07 -04:00
Sarah Zinger
863f9a5e88
Update codeowners for elastic search ( #90734 )
2024-07-22 11:46:28 -04:00
renovate[bot]
3ce0e30358
Update dependency lerna to v8.1.7
2024-07-22 15:44:49 +00:00
renovate[bot]
61e408ab93
Update dependency immutable to v4.3.7
2024-07-22 15:22:13 +00:00
Kevin Minehart
9a3672c2bb
CI: post changelog to forum in release-comms ( #90742 )
...
* post changelog to forum in post-release workflow
2024-07-22 18:00:37 +03:00
renovate[bot]
5391d77623
Update dependency eslint-scope to v8.0.2
2024-07-22 14:40:09 +00:00
Bruno
8d8f2ba587
Cloud migration: encryption key is a byte slice ( #90739 )
...
* Cloud migrations: include metadata returned by CMS in the index file
* Cloud migrations: make EncryptionKey a []byte in structs
* test
2024-07-22 11:25:12 -03:00
renovate[bot]
7fdf992dab
Update dependency dompurify to v3.1.6
2024-07-22 14:19:41 +00:00
renovate[bot]
fdf5ed98d8
Update dependency chrome-remote-interface to v0.33.2 ( #90741 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-22 16:50:34 +03:00
renovate[bot]
2ebd4237f6
Update dependency chance to v1.1.12
2024-07-22 13:29:52 +00:00
Ashley Harrison
dc30858e9d
Select: Fix scrolling virtualized menu on mobile ( #90724 )
...
pass select-menu innerRef to virtualized list
2024-07-22 14:27:50 +01:00
Ashley Harrison
95589ed091
Navigation: Add tab title to breadcrumbs ( #89102 )
...
* show active child in breadcrumb
* use activeChild url
* only add tab title if not first tab
* handle scenes settings breadcrumbs
* fix breadcrumbs on starred dashboard settings
* display separate crumb
2024-07-22 14:27:05 +01:00
Bruno
07685646a3
Cloud migrations: include metadata returned by CMS in the index file ( #90658 )
2024-07-22 10:11:57 -03:00
Georges Chaudy
b2766ece5e
Resource store sql backend watch ( #90480 )
...
* Squashed commit of the following:
commit 3ae9aea0fdc5eef70e16e0ba26f817ca1883ebc9
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Wed Jul 17 23:21:07 2024 +0200
Add group and resource to ListOptions
commit 638441a656d4098343fd72f1942c5845fb50f536
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Wed Jul 17 22:25:35 2024 +0200
poll for resources independently
commit 4c4c88e2d6b69a589a03fc4ea3b287ef557d67a0
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Wed Jul 17 17:39:10 2024 +0200
Update pkg/storage/unified/sql/data/resource_history_poll.sql
Co-authored-by: Dan Cech <dcech@grafana.com >
commit 67f42dbfcaa6b92056c7e6e25f21e870b7fa08e6
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Wed Jul 17 16:01:13 2024 +0200
Update pkg/storage/unified/sql/backend.go
Co-authored-by: Dan Cech <dcech@grafana.com >
commit e869e829d07d6fce6f79f18679680d32fa9491f5
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Wed Jul 17 16:01:06 2024 +0200
Update pkg/storage/unified/sql/backend.go
Co-authored-by: Dan Cech <dcech@grafana.com >
commit 6e498c0cd7434007649fd8de30a7d17e1c425c42
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Tue Jul 16 16:47:35 2024 +0200
Add watch working for multiple resources
commit 0da775e521
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Tue Jul 16 11:14:55 2024 +0200
indent
commit e15d1d060c
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Mon Jul 15 14:41:15 2024 +0200
reindent sql
commit a64f88b0ea
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Fri Jul 12 18:32:13 2024 +0200
Update pkg/storage/unified/sql/backend.go
Co-authored-by: Dan Cech <dcech@grafana.com >
commit dd383150bf
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Wed Jul 10 10:45:56 2024 +0200
lint
commit ccf12406a6
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jul 9 15:25:54 2024 -0700
merge main
commit 2b4b9f66d3
Merge: df72a61a52 079f0715aa
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jul 9 15:12:51 2024 -0700
merge main
commit df72a61a52
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jul 9 15:06:32 2024 -0700
clearnup against smaller upstream
commit 12257d9dfe
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jul 9 15:03:50 2024 -0700
clearnup against smaller upstream
commit 07b804457e
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Tue Jul 9 21:41:30 2024 +0200
listAtRevision should always use the token from the RV if present
commit 1fc1dd0914
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Tue Jul 9 19:45:44 2024 +0200
Update pkg/storage/unified/sql/backend.go
commit 2207ef10de
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Tue Jul 9 19:44:35 2024 +0200
Update pkg/storage/unified/sql/queries_test.go
commit 36d9099d1a
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Tue Jul 9 15:57:55 2024 +0200
lint
commit 37e0745d7a
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Tue Jul 9 12:26:49 2024 +0200
Fix missing rows.Close()
commit a6538fa8df
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Mon Jul 8 23:54:33 2024 +0200
add resource_history_list test
commit e8214869de
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Mon Jul 8 23:51:14 2024 +0200
add resource_history_list test
commit f6b32c94bd
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Mon Jul 8 23:42:46 2024 +0200
improve tests for pagination
commit d305f1baf4
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Mon Jul 8 22:57:11 2024 +0200
Add pagination
commit c8f516fc55
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Mon Jul 8 21:55:25 2024 +0200
pagination first page
commit f3c554e668
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Mon Jul 8 12:16:16 2024 +0200
watch
commit 68a0cf5d81
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Mon Jul 8 12:12:09 2024 +0200
remove testdataJSON
commit d98da81a42
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Mon Jul 8 11:49:05 2024 +0200
move sqltemplate
commit 80bf285216
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Mon Jul 8 10:49:25 2024 +0200
watch from head
commit 396979bcf6
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Mon Jul 8 10:19:01 2024 +0200
Cleanup
commit 26a2f947e8
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Mon Jul 8 10:04:13 2024 +0200
basic list
commit 4275a01bc2
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Mon Jul 8 00:54:33 2024 +0200
add watch
commit 75c25a527d
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Mon Jul 8 00:51:40 2024 +0200
add watch
commit 774ae238cb
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Sun Jul 7 21:49:44 2024 +0200
Implement SQL store
commit 95ffa3486b
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jul 3 20:30:42 2024 -0700
cleanup
commit ab591cf4d1
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jul 3 20:25:12 2024 -0700
cleanup
commit aa4901e206
Merge: 36f7610097 40cb4ac30f
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jul 3 20:16:34 2024 -0700
merge upstream
commit 40cb4ac30f
Merge: 8f4b3062d6 fe201b6bb2
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jul 3 20:02:04 2024 -0700
Merge remote-tracking branch 'origin/main' into resource-store-bridge
commit 8f4b3062d6
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jul 3 19:23:40 2024 -0700
fix lint
commit 428b90c14b
Merge: 9e5b88c6dd edc1f50c4e
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jul 3 18:46:30 2024 -0700
Merge remote-tracking branch 'origin/main' into resource-store-bridge
commit 9e5b88c6dd
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jul 3 15:56:28 2024 -0700
add field selectors
commit 8dd8bc85a6
Merge: 59a142095f de06762852
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jul 3 15:44:27 2024 -0700
Merge remote-tracking branch 'origin/main' into resource-store-bridge
commit 59a142095f
Merge: 53f16521a7 f70f60efd0
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jul 3 14:45:35 2024 -0700
Merge remote-tracking branch 'origin/main' into resource-store-bridge
commit 53f16521a7
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jul 3 14:45:25 2024 -0700
add doc.go
commit 9fa906ab80
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jul 3 14:45:14 2024 -0700
add doc.go
commit 22d3f163df
Merge: d09979b332 411bab6d44
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jul 3 13:55:27 2024 -0700
Merge remote-tracking branch 'origin/main' into resource-store-bridge
commit d09979b332
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jul 3 13:55:12 2024 -0700
check for deleted
commit ddcbc753d3
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jul 3 13:38:16 2024 -0700
fix tabs to spaces
commit 2a4fedb6ee
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jul 3 10:58:43 2024 -0700
remove sort parsing
commit e728b12ec0
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jul 3 10:56:22 2024 -0700
remove watch tests -- key func complications
commit dc163d10cc
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jul 3 08:59:09 2024 -0700
add resource store abstraction
commit 36f7610097
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jul 2 21:37:01 2024 -0700
using basic storage engine
commit 26ef342b7e
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jul 2 21:24:53 2024 -0700
renamed to basic
commit ddb5f125f0
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jul 2 18:21:59 2024 -0700
add sqlobj basic implementation
commit 6a08224725
Merge: 04d57a99e5 5b6edc96d9
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jul 2 17:47:36 2024 -0700
Merge remote-tracking branch 'origin/main' into resource-store
commit 04d57a99e5
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jul 2 14:47:02 2024 -0700
merge main
commit 33917141f0
Merge: 924c42f707 2a1b620c38
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jul 2 14:45:45 2024 -0700
Merge remote-tracking branch 'origin/main' into resource-store
commit 924c42f707
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jul 2 14:37:35 2024 -0700
make list preparelist
commit 0db0e13248
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jul 2 14:37:28 2024 -0700
make list preparelist
commit a3d9f8aab2
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jul 2 14:08:42 2024 -0700
remove eventID
commit 8c1f60aa8b
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jul 2 14:08:34 2024 -0700
remove eventID
commit abacd9aef2
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jul 2 07:36:07 2024 -0700
split off blob store services
commit ddae2b4969
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jul 2 07:23:53 2024 -0700
rename search service to index service
commit a984a4e4f9
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Mon Jul 1 17:03:23 2024 -0700
more lint
commit b25e735c02
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Mon Jul 1 16:04:53 2024 -0700
frontend refactors
commit 1fb97cf417
Merge: fe8a05c648 c3b5cabb14
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Mon Jul 1 15:02:34 2024 -0700
minor lint fixes
commit fe8a05c648
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Mon Jul 1 08:12:28 2024 -0700
minor lint fixes
commit 9f2aae1c48
Merge: ece478e12d 86466aec61
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Mon Jul 1 08:03:18 2024 -0700
Merge remote-tracking branch 'origin/main' into resource-store
commit ece478e12d
Merge: f472e95f92 55ba32bda7
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Mon Jul 1 01:41:29 2024 -0700
Merge remote-tracking branch 'origin/main' into resource-store
commit f472e95f92
Author: Andres Martinez Gotor <andres.martinez@grafana.com >
Date: Mon Jul 1 09:31:05 2024 +0200
Adapt docs/sources/developers/plugins/plugin.schema.json codeowners (#89832 )
commit 8674d705ea
Author: Sebastian Hiebl <bastidest@mailbox.org >
Date: Sat Jun 29 01:13:34 2024 +0200
TimeSeries: Expose option for "Bar width factor" (#77338 )
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
commit 52d476db05
Author: Leon Sorokin <leeoniya@gmail.com >
Date: Thu Jun 27 18:58:49 2024 -0500
Table: Don't error if first frame is field-less (empty response) (#89867 )
commit cc5b4d6a94
Author: Simon Podlipsky <simon@podlipsky.net >
Date: Fri Jun 28 00:53:43 2024 +0300
Dockerfile: Fix go deps (#89857 )
Add missing deps
commit 7c86705b9b
Author: Adela Almasan <88068998+adela-almasan@users.noreply.github.com >
Date: Thu Jun 27 15:49:20 2024 -0600
VizTooltip: Hide tooltip options from when tooltip is hidden (#89864 )
commit aa9299c4d7
Author: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Date: Thu Jun 27 17:16:57 2024 -0400
Docs: Add tooltip options to histogram v11.2 (#89863 )
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com >
commit f90168f500
Author: Nathan Marrs <nathanielmarrs@gmail.com >
Date: Thu Jun 27 14:43:10 2024 -0600
Chore: Lint json files in .github directory (#89861 )
commit 0f65c06cfe
Author: Nathan Marrs <nathanielmarrs@gmail.com >
Date: Thu Jun 27 14:22:15 2024 -0600
Chore: Update DataViz github automation (#89852 )
commit 058538287f
Author: Lucy Chen <140550297+lucychen-grafana@users.noreply.github.com >
Date: Thu Jun 27 15:36:23 2024 -0400
ShareModal: Export options (JSON) (#87082 )
* Adding new export button
* Create Export as JSON drawer
* update scene drawer and add css
* update css
* Update ExportAsJson to be regular react component
* add tests to export menu and button
* add tests
* prettier and lint
* fix translations
* update translation
* Apply suggestions from code review
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com >
* delete extra file
* Update to use SceneObject
* add spinner
* Rename ExportAsJSON.tsx to ExportAsJson.tsx
* update i18n
* Upate texts
* small fixes from code review
* add space
* i18n
* fix build issues
* changes from review feedback
* update test
* update test
---------
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com >
commit 79092ebc6a
Author: Juan Cabanas <juan.cabanas@grafana.com >
Date: Thu Jun 27 14:30:33 2024 -0300
ShareDrawer: Schedule Report (#89802 )
commit d842178c6a
Author: linoman <2051016+linoman@users.noreply.github.com >
Date: Thu Jun 27 18:29:16 2024 +0200
SAML: Add Azure AD configuration for SAML integration (#89767 )
* Add Azure AD configuration for SAML integration
commit 920756f797
Author: Ashley Harrison <ashley.harrison@grafana.com >
Date: Thu Jun 27 16:43:43 2024 +0100
Storybook: Add basic e2e verification test (#89779 )
* add very basic tests to verify storybook builds correctly
* add storybook step to drone
* reorder steps
* drone tweaks
* don't need host since it's set in env
* don't need to wait
* format build.star and readd wait
* install netcat in CI
* do a yarn install here to get correct bindings
* refactoring to hopefully work better in CI
* add wait-on
* add verbose logging
* localhost?
* more logging
* specify storybook host
* ...
* back to grafana-server
* does this work? 🤔
* run storybook e2e test after rgm-package so the backround process is running for less time
* split into separate step
* format
commit a760dad1e3
Author: Ivan Ortega Alba <ivanortegaalba@gmail.com >
Date: Thu Jun 27 17:26:38 2024 +0200
VizPanelManager: Adapt color palete after plugin change (#89790 )
* VizPanelManager: Adapt color palete after plugin change
* Upgrade scenes
* Remove broken code
* Upgrade scenes version
* linter
commit c8ce20a807
Author: Ida Štambuk <ida.stambuk@grafana.com >
Date: Thu Jun 27 17:10:28 2024 +0200
Cloudwatch: Round up endTime in GetMetricData to next minute (#89341 )
* Add cloudWatchRoundUpEndTime feature toggle
commit 17ebc9614b
Author: Kristina <kristina.durivage@grafana.com >
Date: Thu Jun 27 09:46:49 2024 -0500
Explore / Query Library : Show user data (#88258 )
* Add basic button for adding a query template
* Add hook to create a template
* Handle notifications
* Add tags to invalidate cache
* Generate translations
* Updates types
* Add tests
* Simplify code
* Add user to type
* Add a better default title
* bring in piotrs pr and try to add user data
* Move out of metadata (reserved in k8s) and make new values exportable
* Show user data
* Fix bad merge
* WIP
* Add annotation data to FE
* add (failing) test
* Fix types and test
* Cleanup
* Enhance user data and send to component for display
* Fix type
* Fix expected values
* fix betterer
* Fix test
* Remove user lookup
* testing slug usage for api
* Revert "testing slug usage for api"
This reverts commit cc4556c3b7 .
* change types, display userid if login isnt returned
* Simply display whatever is in property
* skip test on removed logic
* Try waiting for query to finish before eval
* Revert "Try waiting for query to finish before eval"
This reverts commit 6220cabd17 .
* Handle attribute not existing when storage type is file
---------
Co-authored-by: Piotr Jamroz <pm.jamroz@gmail.com >
commit 91895e4835
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Thu Jun 27 17:43:59 2024 +0300
Chore(deps): Bump github.com/alicebob/miniredis/v2 from 2.30.1 to 2.33.0 (#88588 )
Bumps [github.com/alicebob/miniredis/v2](https://github.com/alicebob/miniredis ) from 2.30.1 to 2.33.0.
- [Release notes](https://github.com/alicebob/miniredis/releases )
- [Changelog](https://github.com/alicebob/miniredis/blob/master/CHANGELOG.md )
- [Commits](https://github.com/alicebob/miniredis/compare/v2.30.1...v2.33.0 )
---
updated-dependencies:
- dependency-name: github.com/alicebob/miniredis/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
commit ed6c948db0
Author: kay delaney <45561153+kaydelaney@users.noreply.github.com >
Date: Thu Jun 27 14:17:21 2024 +0100
Dashboards: Change datemath parse logic so parsed dates always take timezone into account (#88182 )
* Dashboards: Change datemath parse logic so parsed dates always take timezone into account
commit 523d999414
Author: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com >
Date: Thu Jun 27 14:00:42 2024 +0200
Alerting: Use runtime data source for getting events from alert state history in the bar chart (#89307 )
* Use runtime data source for getting events from alert state history in the bar chart
* extract translations
* refactor
* More refactor
* Update events limit
* Add info icon with tooltip info for label querying filter
* Add translations
* Create new useRuleHistoryRecords hook skipping extraction of common labels as they are not used
* Fix test
* update limit value for the events in the api to 5000
* Use state for rows key
* remove React import
* Address review comments
* Address review comments
* run prettier
* Remove duplicated handlers
commit c3337c39b1
Author: Laura Benz <48948963+L-M-K-B@users.noreply.github.com >
Date: Thu Jun 27 14:00:12 2024 +0200
RestoreDashboards: Add search (#89692 )
* feat: add search
* feat: run i18n extraction
* refactor: styling issue for smaller screen sizes
commit 06084f0ed1
Author: Alexander Zobnin <alexanderzobnin@gmail.com >
Date: Thu Jun 27 13:57:06 2024 +0200
Zanzana: Initial schema loading (#89492 )
* Zanzana: Dummy schema loading
* Load authorzation model for client
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
commit ddea4ba8b2
Author: ismail simsek <ismailsimsek09@gmail.com >
Date: Thu Jun 27 13:33:35 2024 +0200
Chore: Remove CancelablePromise (#89564 )
* Remove CancelablePromise.ts as it wasn't used in anywhere
* Move cancelable-promise to the place where it is used
commit 177747ecda
Author: Jack Westbrook <jack.westbrook@gmail.com >
Date: Thu Jun 27 12:42:42 2024 +0200
Grafana/data: Remove barrel files part 1 (#89556 )
* chore(grafana-data): remove dataframe barrel file and update all imports and exports
* chore(grafana-data): remove field barrel file and update imports n exports
* chore(grafana-data): remove utils barrel file and update imports and exports
* chore(grafana-data): remove tranformations barrel file and update imports n exports
* chore(grafana-data): remove imports from root index.ts
* chore(grafana-data): remove valueFormats barrel file and update imports n exports
* chore(grafana-data): don't import from root barrel file
commit c3b16639bc
Author: Ashley Harrison <ashley.harrison@grafana.com >
Date: Thu Jun 27 11:15:15 2024 +0100
Keybinds E2E: simplify keybinds e2e even further (#89819 )
simplify keybinds e2e even further
commit 8b7a891db4
Author: AHeinlein <AHeinlein@users.noreply.github.com >
Date: Thu Jun 27 12:07:30 2024 +0200
Docs: Update LDAP doc for debug view (#89522 )
Update LDAP doc
LDAP debug view does not work with single bind since there is no way to bind to the LDAP server and perform the search.
commit cb31a1b6ff
Author: Tom Ratcliffe <tom.ratcliffe@grafana.com >
Date: Thu Jun 27 10:33:40 2024 +0100
Alerting: Update warning message for Telegram parse_mode and default to empty value (#89630 )
commit 3ef048cdd7
Author: Sergej-Vlasov <37613182+Sergej-Vlasov@users.noreply.github.com >
Date: Thu Jun 27 12:06:07 2024 +0300
DashboardScenes: Disable flaky new-datasource-variable e2e test (#89817 )
disable flaky new-datasource-variable e2e test
commit e09c1c7515
Author: brendamuir <100768211+brendamuir@users.noreply.github.com >
Date: Thu Jun 27 10:10:34 2024 +0200
Alerting docs: adds silence RBAC 11.1 (#89176 )
* Alerting docs: adds silence RBAC 11.1
* ran prettier
* Improve docs with new rule-specific silence RBAC information
* Apply suggestions from code review
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Apply suggestions from code review
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* prettier
---------
Co-authored-by: Matt Jacobson <matthew.jacobson@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
commit 1aeceb9d9a
Author: Alexander Akhmetov <me@alx.cx >
Date: Thu Jun 27 09:45:15 2024 +0200
Alerting: Add setting for maximum allowed rule evaluation results (#89468 )
* Alerting: Add setting for maximum allowed rule evaluation results
Added a new configuration setting `quota.alerting_rule_evaluation_results` to set the maximum number of alert rule evaluation results per rule. If the limit is exceeded, the evaluation will result in an error.
commit e96b1c0b42
Author: Georges Chaudy <chaudyg@gmail.com >
Date: Mon Jul 1 10:32:37 2024 +0200
Add unified-next-grpc (#89891 )
commit afe0848d16
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 27 13:11:10 2024 +0300
history UI
commit 2fab168fb1
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 27 12:08:46 2024 +0300
history UI
commit 1043efe3db
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 27 11:26:42 2024 +0300
rename to legacy
commit d452e53ce3
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 27 10:53:08 2024 +0300
avoid key from context
commit 19496ceed5
Merge: b71329a8c3 be1414b36b
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 27 10:19:58 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit b71329a8c3
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 27 10:09:59 2024 +0300
history in resource package
commit 37c6b56e4e
Merge: 80fa46b225 9056ff73f6
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 27 08:49:46 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 80fa46b225
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 27 08:49:24 2024 +0300
history from SQL query
commit 4d49cc3118
Merge: 999cd506c0 ed13959e33
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 27 07:35:23 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 999cd506c0
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 27 01:20:29 2024 +0300
now with dashboard history
commit 7345ece8ef
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 27 00:10:30 2024 +0300
with dashboard service
commit 86a7064334
Merge: f68390bebf ba4f2713c5
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 26 16:04:23 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit f68390bebf
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 26 16:04:08 2024 +0300
not rest.Storage
commit cfc192a2b5
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 26 12:53:57 2024 +0300
more utils
commit 197a837e1e
Merge: 44a134f72b 4651506319
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 26 08:48:10 2024 +0300
merge main
commit 44a134f72b
Merge: bac63d0edb f5d9c247d9
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Mon Jun 24 20:55:15 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit bac63d0edb
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 21 17:39:19 2024 +0300
remove old comment
commit 37edc450a7
Merge: af38567ea5 b62f8c0f19
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 21 17:38:20 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit af38567ea5
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 21 14:55:40 2024 +0300
remove unimplemented functions
commit ec925bab80
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 21 14:53:23 2024 +0300
has a watch bridge... but not working
commit b771d38d78
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 21 11:13:35 2024 +0300
with build changes
commit 37c2dade15
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 21 09:58:38 2024 +0300
writing to SQL
commit bb7d6d44cd
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 21 09:24:44 2024 +0300
with setup flags
commit c2c9449629
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 21 09:09:01 2024 +0300
working
commit d67f83a1f3
Merge: b07c4e4210 61a102274d
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 21 07:49:24 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit b07c4e4210
Merge: 09741a3f49 b075926202
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 21 00:52:10 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 09741a3f49
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 20 23:05:13 2024 +0300
merge main
commit 8a6d2e9b6e
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 20 22:50:08 2024 +0300
merge main
commit 63ebf7b12e
Merge: 75d5ad465e 5e95c1bdf8
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 20 22:34:38 2024 +0300
merge main
commit 75d5ad465e
Merge: 83df3bdec8 d988f5c3b0
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 20 22:26:33 2024 +0300
merge main
commit 83df3bdec8
Merge: a115bb6214 27e800768e
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 20 18:07:48 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit a115bb6214
Merge: c17140f263 13e069b5af
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 20 17:05:36 2024 +0300
merge main
commit c17140f263
Merge: 3a6e7dc3f0 5d328983a1
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 19 22:59:26 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 3a6e7dc3f0
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 19 22:09:33 2024 +0300
go mod tidy
commit 040f392018
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 19 22:01:10 2024 +0300
Storage: Add cdk blob support to ResourceStore (#89408 )
commit 3e85f87db6
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 19 15:15:37 2024 +0300
Storage(NG): Move message and operation from protobuf to annotations (#89359 )
commit 0b29ca5eac
Merge: 0717e39ec2 b3907ca5ec
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 19 14:57:21 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 0717e39ec2
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jun 18 22:27:16 2024 +0300
K8s: Rename origin.key to origin.hash (#89337 )
commit 4b4afa1fa7
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jun 18 21:19:21 2024 +0300
more cleanup
commit 9f6709c167
Merge: 7e171702f4 b0c043de5f
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jun 18 21:17:30 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 7e171702f4
Merge: 760848d203 890482052a
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jun 18 16:08:30 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 760848d203
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jun 18 16:07:55 2024 +0300
Storage (resource): Mutate object in storage, not k8s (#89331 )
commit 5e4fa5d735
Merge: 4cde5bd59f ea7f6ea32f
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jun 18 08:44:04 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 4cde5bd59f
Merge: 549ecfe053 5f83fdef2c
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jun 18 07:27:05 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 549ecfe053
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Sat Jun 15 00:49:06 2024 +0300
lint fix
commit 1a5de75c34
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Sat Jun 15 00:42:19 2024 +0300
lint fix
commit 31a05d5666
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Sat Jun 15 00:26:45 2024 +0300
hack hack hack... but working from kubectl
commit 2f64556cf1
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 23:34:04 2024 +0300
almost... but stuck on requester
commit c1b786c718
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 23:10:59 2024 +0300
cleanup
commit d8abf8d851
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 22:53:10 2024 +0300
entity bridge
commit d5f3038421
Merge: df9baddf53 8491e02caf
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 21:48:25 2024 +0300
merge main
commit df9baddf53
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 21:44:33 2024 +0300
move test files
commit 617dd1b40e
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 21:30:41 2024 +0300
add basic list
commit 8108e90fe2
Merge: ef3a601109 15c81b2a8b
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 17:42:18 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit ef3a601109
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 17:42:15 2024 +0300
update the event type messages
commit 55d1e8ad1d
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 17:41:16 2024 +0300
update the event type messages
commit a01f8dd099
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 16:52:17 2024 +0300
remove rv from key and update watch signature
commit e78a5122ce
Merge: 504d84b8b2 90c3d74955
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 16:19:53 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 504d84b8b2
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 15:21:28 2024 +0300
with storage wrapper
commit 4fa60b6546
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 15:21:17 2024 +0300
with storage wrapper
commit d97d59ab38
Merge: f66768c67d 2dd44e2f58
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 14:55:52 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit f66768c67d
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 14:24:36 2024 +0300
now with a base server implementation
commit 4a41f7d0dd
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 14:24:26 2024 +0300
now with a base server implementation
commit 68003738fd
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 11:28:15 2024 +0300
use partial object metadata
commit fc82089987
Merge: 9478befbcd dd3c3b5857
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 10:57:16 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 9478befbcd
Merge: 19481990d1 2173429ce2
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 09:08:14 2024 +0300
merge main
commit 19481990d1
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 09:06:44 2024 +0300
merge main
commit 29714d87fe
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 02:12:35 2024 +0300
use a path hash for the blob table
commit 382d5d4e01
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Fri Jun 14 02:04:21 2024 +0300
add fs based store
commit 15b958b2d1
Merge: a03a978eb4 e2f65dda0c
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 13 22:56:34 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit a03a978eb4
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 13 22:37:29 2024 +0300
maybe happier
commit 79aed54c2c
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 13 22:12:55 2024 +0300
more body prep
commit 1540c98fe1
Merge: f54af3d371 9d3a4e236d
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 13 21:19:51 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit f54af3d371
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 13 20:12:53 2024 +0300
sum cleanup
commit a0f682b315
Merge: 2197a0e5e8 eb535e163d
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 13 20:05:01 2024 +0300
merge main
commit 2197a0e5e8
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 13 16:02:06 2024 +0300
update workspace
commit b696b6a32a
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 13 15:53:06 2024 +0300
update go.mod
commit 8f44e1a349
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 13 15:49:41 2024 +0300
lint fixes
commit c1798320d2
Merge: b44333730f afcb5a855c
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 13 14:27:42 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit b44333730f
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 13 14:26:57 2024 +0300
now with basic test
commit f481f11d3a
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 13 09:11:10 2024 +0300
change tree structure
commit e7c15b0e96
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 13 08:42:00 2024 +0300
merged main and moved folder structure
commit 09e8605f14
Merge: 40829d645c 99d8025829
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 13 07:14:54 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 40829d645c
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Thu Jun 13 07:08:54 2024 +0300
include client wrapper
commit 1857690bd0
Merge: c9c18717f5 ed400f0bbf
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 12 22:02:53 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit c9c18717f5
Merge: ad79d44db8 3ae95a6eb1
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 12 15:26:12 2024 +0300
packaging
commit ad79d44db8
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 12 14:44:21 2024 +0300
adding package
commit f8a2a83d59
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 12 14:44:18 2024 +0300
adding package
commit 7b6e4d5da4
Merge: 16471fa057 58f7032b39
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 12 14:21:41 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 16471fa057
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 12 13:02:06 2024 +0300
now with event setup
commit d83aa7f865
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 12 02:44:49 2024 +0300
is_current
commit df148ca9ea
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 12 02:21:05 2024 +0300
use reflection
commit 0118c7666a
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 12 02:20:47 2024 +0300
use reflection
commit 5c91e52922
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 12 02:15:05 2024 +0300
get metadata with reflection
commit af86293d87
Merge: 4dc3d0ee7f 465efbf802
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 12 00:48:13 2024 +0300
Merge remote-tracking branch 'origin/main' into resource-store
commit 4dc3d0ee7f
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 12 00:34:40 2024 +0300
update
commit 835879aa7a
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Wed Jun 12 00:29:52 2024 +0300
revert hash key issues
commit ac39953d0e
Author: Ryan McKinley <ryantxu@gmail.com >
Date: Tue Jun 11 23:01:40 2024 +0300
basic queries
* remove old file
2024-07-22 16:07:12 +03:00
Ida Štambuk
5b17cd93c5
Cloudwatch: Remove awsDatasourcesNewFormStyling feature toggle ( #90128 )
...
* Remove toggle from cloudwatch plugin
* Remove feature toggle from registry
---------
Co-authored-by: Kevin Yu <kevinwcyu@users.noreply.github.com >
2024-07-22 14:48:17 +02:00
renovate[bot]
b7379b7b51
Update dependency @grafana/scenes to v5.6.1
2024-07-22 12:47:31 +00:00
renovate[bot]
aed52d2cf5
Update dependency chance to v1.1.12
2024-07-22 12:27:23 +00:00
Galen Kistler
6fa25df37f
Loki: Fix ad hoc filters adding stream selectors to stream selectors and line filters ( #90626 )
...
* fix: fix case where we are adding stream selectors to both stream selectors and line filters
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
2024-07-22 07:25:52 -05:00
renovate[bot]
8aecf9bd0d
Update dependency centrifuge to v5.2.2
2024-07-22 12:05:46 +00:00
jackyin
5e21898294
Calcs: Update diff percent to be a percent ( #90533 )
...
diff per unexpected results
2024-07-22 14:03:11 +02:00
Sonia Aguilar
d0eaf4e484
Alerting: Disable simplified routing when internal alert manager is disabled ( #90648 )
...
* Disable simplified routing when internal alert manager is disabled
* address pr review comments
* add test
* remove unnecessary mocks
2024-07-22 13:09:11 +02:00
renovate[bot]
296b14b360
Update dependency @floating-ui/react to v0.26.20 ( #90723 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-22 14:07:38 +03:00
renovate[bot]
1b3ddf77d9
Update dependency @welldone-software/why-did-you-render to v8.0.3
2024-07-22 10:46:18 +00:00
Joao Silva
546f4aa700
Navigation: Show list of pinned items on MegaMenu ( #90280 )
...
* Navigation: Show list of pinned ites on the navigation
* Rename section to 'Bookmarks'
* Internationalization
* Rename everything to bookmarks
* Update public/app/core/reducers/navBarTree.ts
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
* Ignore empty message as well
* Dont update navigation if there is an error patching
---------
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2024-07-22 11:43:40 +01:00
Gabriel MABILLE
38ac0f3506
UserTable: Remove sorting on licensed role ( #90718 )
2024-07-22 12:41:57 +03:00
renovate[bot]
a18f72e415
Update dependency @types/react-resizable to v3.0.8
2024-07-22 08:34:01 +00:00
Ieva
4c7d8c8cdd
RBAC: Refactor RBAC plugin interface code ( #90679 )
...
move plugin RBAC registration ifaces to pluginsintegrations
2024-07-22 09:31:36 +01:00
renovate[bot]
63cc01fe80
Update dependency @types/node to v20.14.11
2024-07-22 07:57:16 +00:00
Tom Ratcliffe
4e364ea043
Alerting: Split out contact points components to separate files ( #90605 )
2024-07-22 10:54:13 +03:00
Piotr Jamróz
042c239a56
Query History: Enable query history test ( #90597 )
...
* Enable query history test
* Fix time range in the test
2024-07-22 09:22:41 +02:00
Michael Mandrus
ee90cd3031
CloudMigrations: Send local events to gms during the migration process ( #90637 )
...
* add gms client function
* add timeout config for endpoint
* report events to gms
* fix lint error
* clean up report calls and make sure reports all have local ids
* extra validation
* improve error logging and fix url
2024-07-20 07:02:31 +03:00
dependabot[bot]
1c5ed0da4d
Bump aquasecurity/trivy-action from 0.22.0 to 0.24.0 ( #90254 )
...
Bumps [aquasecurity/trivy-action](https://github.com/aquasecurity/trivy-action ) from 0.22.0 to 0.24.0.
- [Release notes](https://github.com/aquasecurity/trivy-action/releases )
- [Commits](https://github.com/aquasecurity/trivy-action/compare/0.22.0...0.24.0 )
---
updated-dependencies:
- dependency-name: aquasecurity/trivy-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-19 23:20:53 +00:00
Kevin Minehart
9232db2416
CI: For every release PR created, also push a changelog PR to main ( #90698 )
...
For every release PR created, also push a changelog PR to main
2024-07-19 16:54:59 -05:00
Kristina
a0268a9ad2
Query History: Prevent viewers from accessing ( #88735 )
...
* Add permissions check for viewer without viewers_can_edit
* Add test
* fix lint
* Add role checks on other handlers
* Linter and fix Go issue
* Fix conflict
* Remove invalid way of testing for error
2024-07-19 14:44:58 -05:00
Lucy Chen
98c197e6cc
Sharing Redesign: Export as JSON add toast message ( #90021 )
...
* add successful toast message and autoclose drawer
* i18n
* remove autoclose
2024-07-19 15:05:40 -04:00
Darren Janeczek
ce70cf18b9
Explore Metrics: small little code fixes ( #90627 )
...
* fix: does not need to be exported
* fix: about time we remove this
2024-07-19 14:59:56 -04:00
Isabel Matwawana
c10dba5c63
Docs: Replaces Agent with Alloy ( #90674 )
...
Co-authored-by: Clayton Cornell <131809008+clayton-cornell@users.noreply.github.com >
2024-07-19 14:51:51 -04:00
Evan
faf8a724a6
Clarify that data source request reports are not for bugs or support requests ( #90661 )
...
Co-authored-by: David Harris <david.harris@grafana.com >
2024-07-19 20:07:08 +02:00
renovate[bot]
f259f99485
Update dependency @types/lodash to v4.17.7
2024-07-19 17:40:32 +00:00
Stephanie Hingtgen
3fcc7f412b
Loki Datasource: Fix getting the feature toggles in MT mode ( #90684 )
2024-07-19 20:37:46 +03:00
Serge Zaitsev
f8b092aba6
Chore: update changelog workflow ( #90608 )
...
* try integrating
* pass tags
* change section order
* use better terminology
* one more attempt
* keep delimiters
* attempt to patch changelog
* quotes, bash quotes...
* use proper content file
* parens around date
* time for a pr
* first checkout, then create user
* add latest input
* git push
* use square brackets
* formatting
* update release-pr
* fix typo
* try sparse checkout
* fetch depth zero
* clean up after changelog generator
2024-07-19 18:27:59 +02:00
renovate[bot]
8f54e3bfb7
Update dependency @types/d3-force to v3.0.10
2024-07-19 16:13:15 +00:00
renovate[bot]
18deed4fb7
Update dependency @types/babel__preset-env to v7.9.7
2024-07-19 15:40:43 +00:00
Eric Leijonmarck
248af65f9c
Actionsets: Add ability for plugins to add actions for core actionsets (i.e. folders:edit) ( #88776 )
...
* initial commit
* Action sets stored
remove the dependancy for actionsets
got the actionsets registered
storing the permissions
* fix golanglinting
* remove unused struct field
* wip
* actionset registry for a plugin from the actionsetservice
* update to make declareactionset the primary way of plugin registration and modification
* declare actually extends actionsets
* tests fixed
* tests skipped
* skip tests
* skip tests
* skip tests
* skip tests
* change to warning instead
* remove step from pipeline to see if it fails due to plugin not registering
* reintroduce step but remove features dependancy
* add back the tests that were failing
* remove comments and another skip test
* fix a comment and remove unneeded changes
* fix and clean up, put the behaviour behind a feature toggle
* clean up
* fixing tests
* hard-code allowed action sets for plugins
* Apply suggestions from code review
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* small cleanup
---------
Co-authored-by: IevaVasiljeva <ieva.vasiljeva@grafana.com >
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2024-07-19 16:16:23 +01:00
AvivGuiser
96c3e9c550
Alerting: Use stable identifier of a group when export to HCL ( #90196 )
...
* change the rule-group to be hashed when exporting to HCL
Signed-off-by: Aviv Guiser <avivguiser@gmail.com >
---------
Signed-off-by: Aviv Guiser <avivguiser@gmail.com >
2024-07-19 18:13:26 +03:00
Tom Ratcliffe
a61cd94a70
Alerting: Tidy up contact points/misc other tests' mock server behaviour ( #90469 )
2024-07-19 16:11:48 +01:00
renovate[bot]
c5775b3778
Update dependency @swc/helpers to v0.5.12 ( #90670 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-19 17:50:47 +03:00
renovate[bot]
21d1669bfc
Update dependency @reduxjs/toolkit to v2.2.6
2024-07-19 14:29:02 +00:00
Matias Chomicki
66fb4d5f1a
Combine responses: add support for frames with repeated field names ( #90650 )
...
* Combine responses: add support for frames with repeated field names
* Formatting
2024-07-19 14:26:06 +00:00
renovate[bot]
892d5d1b20
Update dependency @opentelemetry/semantic-conventions to v1.25.1
2024-07-19 13:56:31 +00:00
Isabel Matwawana
8c4c3103df
Docs: added heading identifiers ( #90564 )
2024-07-19 09:40:01 -04:00
renovate[bot]
31d6689348
Update dependency @manypkg/get-packages to v2.2.2
2024-07-19 13:34:31 +00:00
renovate[bot]
c217cd7c85
Update dependency @grafana/lezer-traceql to v0.0.18 ( #90657 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-19 16:10:31 +03:00
Dominik Prokop
ec9e28567d
Use SafeSerializableSceneObject in TemplateSrv ( #90272 )
...
* Test
* Opaque object
* Update scenes tentatively
* Betterer
* Fix dashboard data source
* Fix dashboard data source test
* Scenes bump
* Cleanup
* Ivan's feedback
2024-07-19 14:51:01 +02:00
renovate[bot]
093f4cea70
Update dependency @grafana/lezer-logql to v0.2.6 ( #90655 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-19 15:48:24 +03:00
Ashley Harrison
c4570ecfdc
Chore: Tweaks to support React 19 ( #90653 )
...
changes needed for react 19, mostly don't spread key
2024-07-19 13:40:02 +01:00
renovate[bot]
ec432fa314
Update dependency @floating-ui/react to v0.26.19 ( #90614 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-19 13:26:07 +01:00
Adela Almasan
0e4c9a2e36
Transformations: Fix filterByValue interpolation ( #90631 )
2024-07-19 07:21:41 -05:00
Jack Westbrook
893efb045b
Grafana/ui: Fix types not being installed for consumers ( #90463 )
...
fix(grafana-ui): make sure exported types are available for consumers
2024-07-19 14:08:34 +02:00
Tom Ratcliffe
7829fced94
Alerting: Hide edit/view rule buttons according to deleting/creating state ( #90375 )
2024-07-19 09:55:12 +00:00
Sonia Aguilar
dbc755925d
Alerting: Track central ash interactions ( #90330 )
...
* Track central ash interactions
* refactor
2024-07-19 11:11:29 +02:00
Nathan Vērzemnieks
f8c43d0bf3
Elasticsearch: Decouple backend from infra/tracing ( #90528 )
2024-07-19 09:26:10 +02:00
Nathan Vērzemnieks
9caa8151d8
Elasticsearch: Decouple backend from infra/log ( #90527 )
2024-07-19 08:51:18 +02:00
Nathan Vērzemnieks
269d54c984
Elasticsearch: Decouple backend from infra/http ( #90408 )
2024-07-19 08:01:41 +02:00
Dave Henderson
05b66aac5f
notifications: Fix confused trace spans in SMTP client ( #90559 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-07-18 23:20:40 -04:00
Alexander Weaver
418b077c59
Alerting: Integration testing for recording rules including writes ( #90390 )
...
* Add success case and tests for writer using metrics
* Use testable version of clock
* Assert a specific series was written
* Fix linter
* Fix manually constructed writer
2024-07-18 17:14:49 -05:00
Dave Henderson
f446096eb1
chore(deps): Upgrade openapi dep, remove replace directive ( #90609 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-07-18 14:42:18 -04:00
Alexander Weaver
0e269db8a9
Alerting: Expose recordingWriter on ngalert ( #90573 )
...
Expose recordingWriter on ngalert
2024-07-18 13:24:06 -05:00
Michael Mandrus
71a97b925a
CloudMigrations: Add and fix logging ( #90616 )
...
* add logs so we can see how long async processes take
* fix a bunch of error logs:
* fix logs again
2024-07-18 21:16:56 +03:00
Isabel Matwawana
e3150b4eb8
Docs: Refactor time series page - part 1 ( #90098 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2024-07-18 13:19:06 -04:00
renovate[bot]
4de007d7b8
Update dependency @cypress/webpack-preprocessor to v6.0.2
2024-07-18 16:58:22 +00:00
Michael Mandrus
17228e5794
CloudMigrations: Handle cancelation during snapshot building and upload ( #90612 )
...
implement cancelation during upload and building
2024-07-18 12:55:27 -04:00
Adela Almasan
61d8910a5b
Transformations: Fix filterByValue being applied to the wrong series ( #90512 )
2024-07-18 11:03:41 -05:00
Kevin Minehart
6a2a6b0fbc
CI: replace publish image step with a much simpler one that supports LATEST ( #90498 )
...
* replace publish image step with a much simpler one that supports LATEST
2024-07-18 10:53:47 -05:00
Michael Mandrus
a43a538976
CloudMigrations: Fix issues discovered during end to end testing ( #90562 )
...
* improve error handling a retries during async operations
* fix use of contexts
* updates to how we call the folder api
* fix urls for gms
* more progress on the folder issue
* fix folders
* refactor for readability
2024-07-18 18:34:28 +03:00
Hugo Kiyodi Oshiro
5c966fd400
Plugins: Add logs to for plugin management actions ( #90587 )
...
* Plugins: Add logs to for plugin management actions
---------
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
2024-07-18 17:19:36 +02:00
Georges Chaudy
08c611c68b
ResourceServer: Resource store sql backend ( #90170 )
2024-07-18 08:03:18 -07:00
Ryan McKinley
bb40fb342a
Chore: go mod tidy + sum cleanup ( #90576 )
2024-07-18 07:48:21 -07:00
Ryan McKinley
6e39f24588
Storage: Update storage.Interface for backend ( #90382 )
2024-07-18 07:47:47 -07:00
Yuri Tseretyan
09e10ae9e0
Alerting: Update State history API Open API documentation ( #89795 )
2024-07-18 10:37:05 -04:00
Ivan Ortega Alba
f4c8a9ac1f
QueryEditor: Break with Scenes because the default query is not empty string ( #90583 )
...
* Scenes: Upgrade to v5.4.1
- QueryVariable: Query is empty string by default [#837 ](https://github.com/grafana/scenes/pull/837 ) ([@ivanortegaalba](https://github.com/ivanortegaalba ))
- fix(lazyloader): fix trying to run inexistent callbacks [#833 ](https://github.com/grafana/scenes/pull/833 ) ([@svennergr](https://github.com/svennergr ))
* Adapt tests
2024-07-18 16:29:50 +03:00
kay delaney
5afb1c6ce0
Scenes: Save height as itemHeight for repeat panels ( #90487 )
2024-07-18 14:01:50 +01:00
Señor Performo - Leandro Melendez
19706bab61
docs: added video to gauge panel doc ( #90484 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-07-18 08:39:47 -04:00
Kristin Laemmert
27b52b1507
ReplStore: Add support for round robin load balancing between multiple read replicas ( #90530 )
...
* ReplStore: Add support for multiple replicas and round-robin load balancing
* add check for zero-length repls list
2024-07-18 08:20:28 -04:00
Isabel Matwawana
2d152b7ec1
Docs: replace broken link ( #90570 )
2024-07-18 08:09:53 -04:00
renovate[bot]
d61dbae7fe
Update babel monorepo
2024-07-18 12:01:07 +00:00
Josh Hunt
0a6f9aa3cb
Chore: Remove Chore issue template ( #90592 )
2024-07-18 14:58:11 +03:00
Josh Hunt
9a06510490
E2C: Delete cloud migration token ( #90548 )
2024-07-18 12:38:20 +01:00
ismail simsek
f8645f73ea
Prometheus: Improve expanding ruleIs with identifier label checking ( #90336 )
...
* define rule mapping type
* introduce a new mapping type
* add type comments
* add identifier check
* remove tests from wrong file
* add tests to the right file
* define function body
* unit tests and logic for getQueryLabelsForRuleName
* update logic of getRecordingRuleIdentifierIdx
* update logic and tests getRecordingRuleIdentifierIdx
* fix unit tests
* fix tests
* update how we return the options
* update message
* update type
* update expandRecordingRules unit tests
* remove identifier from end result
* fix unit tests once more
* remove fix action from expand rules warning
* remove generic type
* update warning text
* betterer
2024-07-18 13:17:33 +02:00
Josh Hunt
32232e44d2
E2C: Get Cloud Token status ( #90525 )
...
* E2C: Get Cloud Token status
* remove console.log
2024-07-18 09:48:06 +01:00
Josh Hunt
fefd3faef4
Chore: Remove unnecessary issue templates ( #90482 )
2024-07-18 08:35:32 +00:00
Andrew Hackmann
41ae376aa4
Influxdb: Fix toMetricFindValue function ( #90514 )
...
Improved toMetricFindValue to be quicker
2024-07-18 01:16:07 +03:00
Alexander Weaver
88ed77e7e8
Alerting: More graceful handling of NoData in recording rules ( #90312 )
...
* Handle NoData as its own case
* Debug
* Scalars parseable by CollectionReader
* fix linter
* Orgit add pkg/*git add pkg/* not and
2024-07-17 15:24:03 -05:00
Yuri Tseretyan
c3b9c9b239
Alerting: Send information about alert rule to data source in headers ( #90344 )
...
* add support of metadata to condition and adding it to request headers
* support for additional metadata when condition is built
* add additionall context to conditions: source and folder title
* add version
* use percent-encoding for header values
2024-07-17 22:55:12 +03:00
Ryan McKinley
b825700343
Chore: Skip flakey search test ( #90553 )
2024-07-17 21:14:59 +03:00
Kristina
044380493e
Revert "Explore: Pass the dataframes along with the time range of the data" ( #90551 )
...
Revert "Explore: Pass the dataframes along with the time range of the data (#…"
This reverts commit 58285e37a2 .
2024-07-17 12:58:07 -05:00
Ryan McKinley
f409f8c169
K8s/Dashboards: Implement dashboards as StorageBackend ( #90295 )
2024-07-17 10:49:23 -07:00
Artur Wierzbicki
9459e29775
Chore: change owner for pkg/services/queryhistory ( #90550 )
...
change owner for query history
2024-07-17 20:47:08 +03:00
Kristina
6eb695b258
Explore: Add setting for default time offset ( #90401 )
...
* Add setting for explore for a different time offset
* fix linter
* Add validation for duration value
2024-07-17 11:47:49 -05:00
Drew Slobodnjak
1fc57d8fd5
Transformations: Fix null for reduceSeriesToRows ( #90508 )
...
* Transformations: Fix null for reduceSeriesToRows
* Add tests with null data frames
2024-07-17 09:25:46 -07:00
Ivan Ortega Alba
bc2cdd82dc
DataSourcePicker: Create new data source does not work for subpath ( #90536 )
2024-07-17 19:23:08 +03:00
Jean-Philippe Quéméner
283280f329
fix(querier): use most specific timerange available ( #90540 )
...
* fix(querier): use most specific timerange available
* return zero values
2024-07-17 20:22:45 +04:00
Michael Mandrus
9b7e9d992b
CloudMigrations: Query GMS for a presigned upload url at upload time ( #90505 )
...
query GMS for an upload url at upload time
2024-07-17 11:53:21 -04:00
Yuri Tseretyan
970cafa20f
Alerting: Time interval Delete API to check for usages in alert rules ( #90500 )
...
* Check if a time interval is used in alert rules before deleting it
* Add time interval to parameters of ListAlertRulesQuery and ListNotificationSettings of DbStore
== Refacorings ==
* refactor isMuteTimeInUse to accept a single route
* update getMuteTiming to not return err
* update delete to get the mute timing from config first
2024-07-17 10:53:54 -04:00
Tom Ratcliffe
79df1b1e10
Alerting: Remove some unused mock server methods ( #90432 )
...
Remove some unused mock server methods
2024-07-17 16:50:25 +02:00
Tom Ratcliffe
919bc47dba
Alerting: Move alertmanager warning to consistent place within notification policies ( #90521 )
...
Move alertmanager warning to consistent place within notification policies
2024-07-17 16:46:00 +02:00
Sonia Aguilar
42c29cac0b
Alerting: Use Runbook URL label everywhere and add validation in the alert rule… ( #90523 )
...
* Use Runbook URL label everywhere and add validation in the alert rule form for it
* remove validation in alert rule form and render link on detail view only when its a valid url
2024-07-17 16:40:17 +02:00
Ryan McKinley
07c2d886fa
Storage: prepare in resource bytes in storage.Interface, not the backend ( #90513 )
...
* prepare in k8s
* prepare in k8s
* prepare in k8s
* simplify event creation
* decode the inputs
2024-07-17 07:40:03 -07:00
Andreas Christou
2616366a0a
Prometheus: Reintroduce Azure audience override feature flag ( #90339 )
...
* Re-add feature flag with deprecation note
* Hide the field in frontend if ff disabled
* Block scope overriding if ff is disabled in backend
- Update promlib to forward logger to extendOptions
- Add warning
- Update tests
* Default toggle to true for now
* Update description
* Update prom tests
* Fix lint
2024-07-17 15:09:55 +01:00
lean.dev
7839903fef
CloudMigrations: Sets default grafana domain to prod ( #90526 )
2024-07-17 10:48:23 -03:00
Ashley Harrison
334657e1cb
Navigation: Move scroll behaviour to body ( #89921 )
...
* initial attempt at body scrolling
* fix login layout
* minor fixes
* "fix" some fixed position stuff
* remember scroll position in dashboard page
* fix unit tests
* expose chrome header height in runtime and fix connections sticky header
* fix panel edit in scenes
* fix unit tests
* make useChromeHeaderHeight backwards compatible, fix plugin details double scrollbar
* fix sticky behaviour in explore metrics
* handle when undefined
* deprecate scrollRef/scrollTop
* fix extra overflow on firefox
2024-07-17 13:48:47 +01:00
Alex Khomenko
ad6cf2ce4d
Restore dashboards: Design review ( #90468 )
...
* Update singular case
* More copy & count fixes
* Translate success messages
* Update message
* Split no-deleted message
2024-07-17 15:00:46 +03:00
Ivan Ortega Alba
3559c5c297
Revert "Frontend: Use safe stringifier in parseBody" ( #90522 )
...
Revert "Frontend: Use safe stringifier in parseBody (#90047 )"
This reverts commit 434f386982 .
2024-07-17 14:00:01 +03:00
Joanna
8f376a302b
UI: Align the icon in the Alert ( #90461 )
...
* UI: Align the `icon` in the `Alert`
* feat: align icon with one line text
* chore: prettier imports fix
* chore: revert imports
* feat: remove alignSelf & position the icon
* chore: clean up
2024-07-17 11:48:57 +01:00
Esteban Beltran
fa2506300f
Plugins: Update plugin.json schema to correctly validate version ranges and single digit versions ( #90517 )
2024-07-17 11:20:25 +02:00
Piotr Jamróz
58285e37a2
Explore: Pass the dataframes along with the time range of the data ( #90259 )
...
* Use data time range for rendering instead of selected range from the picker
* Update CustomContainer to use data time range
* Update test
2024-07-17 11:05:09 +02:00
Edvard Falkskär
c41f3394a4
InteractiveTable: Add initial sort prop ( #89937 )
2024-07-17 09:37:30 +01:00
Dafydd
14cd98d7fb
Update ephemeral instances workflow ( #90428 )
...
* use custom action from ephemeral workflow repo
* update codeowners
* delete obsolete workflow
2024-07-17 09:18:50 +01:00
Joey
995425f022
Tempo: Only generate query for query history if there are filters ( #90471 )
...
* Only generate query if there are filters
* Move check
2024-07-17 09:15:41 +01:00
Gabriel MABILLE
ff90bf0ca4
Docs: Update basic roles permissions using curl ( #90485 )
...
* Docs: Update basic roles permissions using curl
* Fix comments
* Remove localhost
2024-07-17 09:15:36 +02:00
antonio
2186676f55
alerting:docs>google chat ( #90257 )
...
* alerting:docs>google chat
* pretty
* weight
* changed weight
* typo
2024-07-17 08:22:47 +02:00
Serge Zaitsev
f5da9edbba
Chore: Remove unused method in db.DB ( #90433 )
...
* remove unused method
* clean up tests
2024-07-17 08:17:23 +02:00
Isabel Matwawana
c13002ee8c
Docs: make heading fix in content.ts file ( #90473 )
2024-07-16 18:25:29 -07:00
Adela Almasan
200eb4f774
Canvas: Fix data links migration ( #90504 )
2024-07-16 15:56:21 -05:00
Michael Mandrus
83b309c724
CloudMigrations: Don't migrate dashboards that are soft-deleted ( #90454 )
...
* skip dashboards that are soft-deleted while building snapshots
* add unit test
2024-07-16 22:33:11 +03:00
Haris Rozajac
8e4ec47114
Explore: Docs for logs pinning and filtering in content outline ( #90281 )
...
* Docs for logs pinning and filtering
* Note about log volume histogram
* Update docs/sources/explore/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com >
* Update docs/sources/explore/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com >
* Update docs/sources/explore/_index.md
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com >
---------
Co-authored-by: Larissa Wandzura <126723338+lwandz13@users.noreply.github.com >
2024-07-16 13:24:06 -06:00
Andrew Hackmann
319a874033
MSSQL: Password auth for Azure AD ( #89746 )
...
* Password auth for Azure AD
* rename auth fields
* add azure flag for client password cred enabled
* prettier
* rename flag
* Update go.mod
* Update public/app/plugins/datasource/mssql/azureauth/AzureCredentialsForm.tsx
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
* Apply suggestions from code review
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
* update package
* go mod
* prettier
* remove password
* gowork
* remove unused env test
* linter
---------
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-07-16 14:08:51 -05:00
Galen Kistler
ac21fa8e18
Table: Update selected row color ( #90364 )
...
* chore: update table highlighted row color
2024-07-16 13:44:55 -05:00
Usman Ahmad
677d2a8b70
highlighting the part of the Grafana enterprise section so easir for … ( #90177 )
...
highlighting the part of the Grafana enterprise section so easir for users to find it
2024-07-16 20:16:23 +02:00
Galen Kistler
bb52c340cc
Scrollbar: fix scrollTo being called on stale reference ( #90346 )
...
* fix: fix scrollTo being called on stale reference
2024-07-16 11:34:29 -05:00
Drew Slobodnjak
4de34ac246
Table: Fix justifyContent with cellLink overflow ( #90353 )
...
* Table: Fix justifyContent with cellLink overflow
* Add textAlign to fix failing test
2024-07-16 09:26:06 -07:00
renovate[bot]
4ef6ff7c44
Update dependency @grafana/scenes to v5.4.0 ( #90490 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-16 19:02:32 +03:00
Michael Mandrus
6585ed16e5
Chore: Fix CloudMigration unit tests ( #90489 )
...
remove parallel tests for things that deal with the database
2024-07-16 18:50:22 +03:00
Ryan McKinley
f3f9cc2e92
Scopes: Avoid dots in example names ( #90460 )
2024-07-16 18:30:36 +03:00
kay delaney
e7f9d592f0
Revert "Scenes: Fixes issue with panel repeat height calculation ( #90221 )" ( #90478 )
...
This reverts commit 5cab595f45 .
2024-07-16 17:19:51 +02:00
Ryan McKinley
030188831d
Storage: Use Error property for error handling rather than Status ( #90416 )
...
replace status with error
2024-07-16 07:43:15 -07:00
maicon
93221f12da
Unified Storage: Fix Compare method ( #90455 )
...
* Unified Storage: Fix Compare method
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
---------
Signed-off-by: Maicon Costa <maiconscosta@gmail.com >
2024-07-16 11:36:21 -03:00
Lucy Chen
1c031277af
Share Drawer: Make adding menu items dynamic ( #90245 )
...
make menu dynamic
2024-07-16 10:20:26 -04:00
Matthew Jacobson
b7f422b68d
Alerting: Receiver API Get+List+Delete ( #90384 )
2024-07-16 10:02:16 -04:00
Señor Performo - Leandro Melendez
efdb08ed8c
docs: updated table panel visualization ( #90310 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-07-16 09:48:59 -04:00
Summer
599f05c5af
Chore: increase lint timeout ( #90276 )
2024-07-16 09:44:43 -04:00
Matias Chomicki
8547148623
Combine responses: do not combine frames with different names ( #90464 )
2024-07-16 16:34:08 +03:00
Nathan Marrs
1ee9df8ac6
Docs: Update group to nested tables transformation header to match naming in UI ( #90458 )
2024-07-16 09:31:17 -04:00
Kat Yang
881d9c0b83
Fix: Display unit in Overview Tab ( #90002 )
...
* fix: display metric name suffix instead of unknown
* chore: add documentation comment; remove unecessary text
* fix: create helper function getUnitFromMetric()
* refactor: make getUnitFromMetric() not use getUnit, return null if unable to identify unit
* test: add test for getUnitFromMetric()
* chore: add documentation comments to functions that get unit
* chore: add comment for tests
* chore: fix imports
* fix: display if unable to determine metric
* Update public/app/features/trails/ActionTabs/MetricOverviewScene.tsx
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
* fix: update the translation files for drone
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-07-16 09:16:55 -04:00
Haris Rozajac
51afb2e484
Make content outline visible and in expanded mode by default ( #90283 )
...
* Make content outline visible and in expanded mode by default
* Clean up unused args
* Save content outline visibility in local storage
* Add test
* Expanded state relies on local storage;
2024-07-16 07:15:30 -06:00
Michael Mandrus
6ff21726b7
CloudMigrations: Query GMS for snapshot status with a results offset ( #90453 )
...
* query GMS for status with an offset
* remove unused state
2024-07-16 09:04:21 -04:00
Piotr Jamróz
f14ba32ea6
Query Library: Use current namespace when calling API ( #90423 )
...
* Use the current namespace
* Enable PeakQ API
* Enable PeakQ API when Query API is enabled
* Enable PeakQ API when Query API & Query Library are enabled
2024-07-16 11:50:38 +02:00
Piotr Jamróz
6750e881e3
Query History: Use a search index on new queries to filter in mixed data sources ( #88979 )
...
* Add search index table
* Stab a test
* Add more tests
* Add basic index
* Switch to UID and add a test for the index
* Improve tests coverage
* Remove redundant whitespaces
* Load all data source APIs when query history is loaded
* Fix column type
* Fix migration
* Clean-up the index
* Fix linting
* Fix migrations
* Fix migrations
* Fix migrations
* Rename index to details
2024-07-16 11:47:21 +02:00
Piotr Jamróz
6d9b8225aa
Query Library: Use a tooltip to show full query ( #90425 )
...
Use a tooltip to show full query
2024-07-16 09:58:31 +02:00
Tobias Skarhed
4c9cb63823
PanelShortcuts: Set attention onMouseEnter ( #90435 )
...
Add onMouseEnter to PanelChrome
2024-07-16 09:03:38 +02:00
Haris Rozajac
118597d80f
Explore-Query Library: Close drawer when clicking on Run query ( #90404 )
...
Close drawer when clicking on Run query
2024-07-15 15:43:22 -06:00
Yuri Tseretyan
9c05b30489
Chore: Add more logs and tracing to hysteresis flows ( #90369 )
2024-07-15 13:38:20 -04:00
Andriy
3c95f0d2a5
feat: add adobe analytics and cloudflare to the enterprise plugins list ( #90222 )
2024-07-15 18:57:56 +02:00
Darren Janeczek
698f8e2589
ExploreMetrics: disable route if disabled (or missing permissions) ( #90278 )
...
* fix: ExploreMetrics require `datasources:explore`
* fix: don't allow routing to explore/metrics if not enabled
2024-07-15 17:35:20 +02:00
Josh Hunt
8f4b76a3de
RestoreDashboards: Hide restore/delete actions when no items are selected ( #90431 )
...
* RecentlyDeleted: Only show actions when items selected
* RestoreDashboards: Hide actions when no items are selected
2024-07-15 15:38:31 +01:00
Isabel Matwawana
5416444484
Docs: Update dashboard URL variables docs ( #90395 )
...
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com >
2024-07-15 09:36:10 -04:00
Michael Mandrus
542a1bf3ac
CloudMigrations: Query Grafana Migration Status for status while the snapshot is in the cloud ( #90314 )
...
* implement querying gms for snapshot status
* add some documentation
* provide snapshot resources after snapshot is created
* add rate limiting to backend
* fix compilation error
* fix typo
* add unit tests
* finish merge
* lint
* swagger gen
* more testing
* remove duplicate test
* address a couple PR comments
* update switch statement to a map
* add timeouts to gms client through the http client
* remove extra whitespace
* put method back where it was so the PR is less confusing
* fix tests
* add todo
* fix final unit test
2024-07-15 09:22:57 -04:00
Joey
5beaae8561
FlameGraph: Remove flameGraphItemCollapsing feature toggle ( #90190 )
...
Remove feature toggle
2024-07-15 13:45:41 +01:00
Laura Benz
29ac7fd3c4
RestoreDashboards: Improved Empty and Loading states ( #89825 )
...
* fix: empty state blocking page completely
* refactor: replace epmty state implementation
* refactor: first step to fix flickering
* refactor: fix TS errors and add translations
* refactor
* tidy up search emptyState default value
* other wip
* clean up
* undo change we made to ssm
* remove log
* comment
* move empty state into seperate file
* remove log
* undo change:
---------
Co-authored-by: joshhunt <josh@trtr.co >
2024-07-15 13:45:33 +03:00
Laura Fernández
cd6f018c95
RestoreDashboards: Add event tracking ( #90321 )
2024-07-15 12:00:29 +02:00
Sonia Aguilar
73336362a8
Alerting: Fix silencing from policy instances ( #90417 )
...
Fix silencing from policy instances
2024-07-15 11:27:46 +02:00
Andrej Ocenas
aabb4286e3
Correlations: Fix wrong target data source name in the form ( #90340 )
2024-07-15 11:27:32 +02:00
Ivan Ortega Alba
51fab9adf4
SoloPanel: Avoid fatal error when panelId correspond to a row ( #90271 )
2024-07-15 10:29:26 +02:00
Fabrizio
612ebf5508
Dynatrace: Add to list of DS with custom label logic ( #90258 )
2024-07-15 10:18:54 +02:00
Tom Ratcliffe
0547a9ed88
Alerting: Remove unneeded uses of setBackendSrv in alerting tests ( #90380 )
2024-07-15 09:09:24 +01:00
Joseph Perez
c77015b329
Docs: Fix broken links resulting from plugin-tools site reorganization ( #90391 )
...
* Docs: Fix broken links resulting from plugin-tools site reorganization
* Fix additional link
* Update docs/sources/whatsnew/whats-new-in-v7-0.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-07-13 10:59:27 -07:00
Joseph Perez
0ecff76600
Docs: Edit of several Backend topics (part 5 of doc quality project) ( #89073 )
...
* Edit of several Backend topics (part 5 of doc quality project)
* Proofread of files
* Prettier fix
* Update contribute/backend/upgrading-dependencies.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update contribute/backend/README.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update contribute/backend/README.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update contribute/backend/recommended-practices.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update contribute/backend/recommended-practices.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update contribute/backend/recommended-practices.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update contribute/backend/recommended-practices.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update contribute/backend/recommended-practices.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update contribute/backend/recommended-practices.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Rename doc filenames with gerunds
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-07-13 10:37:47 -07:00
Georges Chaudy
ff7c0edd64
ResourceServer: Update twice should return an ErrOptimisticLockingFailed ( #90378 )
...
Update twice should return an ErrOptimisticLockingFailed
2024-07-12 23:01:24 +00:00
Señor Performo - Leandro Melendez
216d99439b
docs: updated logs panel visualization ( #90352 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-07-12 16:47:23 -04:00
Señor Performo - Leandro Melendez
ef624c78be
docs: updated time series panel visualization ( #90345 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-07-12 16:06:01 -04:00
Isabella Siu
9a8be1785a
CloudWatch: Fix raw queries with dimensions set ( #90348 )
2024-07-12 14:24:09 -04:00
Santiago
e097ffc771
Alerting: Update grafana/alerting dependency ( #90365 )
...
* update grafana/alerting to latest main
* update alertmanager to 66ec17e3aa45
2024-07-12 14:05:17 -04:00
Alexander Weaver
b3d863c11e
Expr: Make math expression scalars compliant with dataplane contract ( #90350 )
...
* Specify frame type for scalars arbitrarily
* Update alerting tests which assert on entire dataframe fields
2024-07-12 12:52:19 -05:00
Haris Rozajac
e0416cc0f8
DashGPT: Disable GenAI title and description buttons for empty dashboards ( #90341 )
...
* Disable genai title and description buttons when dashboard doesn't have at least one panel with a title or description
* Fix test
* Additional tooltip tests
* address pr feedback
* Fix test: Use const for panel title
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2024-07-12 11:49:12 -06:00
Adela Almasan
9bc68562d4
Canvas: Element level data links ( #89079 )
2024-07-12 12:02:49 -05:00
Jev Forsberg
d781ec2daa
Automation: Verify DEB and RPM packages ( #90146 )
...
* baldm0mma/verify_aptyum/ add verify_linux_packages_step
* baldm0mma/verify_aptyum/ add name and image
* baldm0mma/verify_aptyum/ add commands
* baldm0mma/verify_aptyum/ add test pipeline
* baldm0mma/verify_aptyum/ update deps for verify_linux_packages_step
* baldm0mma/verify_aptyum/ update ubuntu image
* baldm0mma/verify_aptyum/ add rockylinux9 image
* baldm0mma/verify_aptyum/ update to verify_linux_DEB_packages_step naming
* baldm0mma/verify_aptyum/ add verify_linux_RPM_packages_step
* baldm0mma/verify_aptyum/ update commands for RPM check
* baldm0mma/verify_aptyum/ update test pipeline
* baldm0mma/verify_aptyum/ update annos
* baldm0mma/verify_aptyum/ update annos
* baldm0mma/verify_aptyum/ update args
* baldm0mma/verify_aptyum/ add arg to verify_linux_RPM_packages_step
* baldm0mma/verify_aptyum/ update oss_steps
* baldm0mma/verify_aptyum/ update deps args
* baldm0mma/verify_aptyum/ update sec hash
* baldm0mma/verify_aptyum/ make format-drone
* baldm0mma/verify_aptyum/ update sec hash
* baldm0mma/verify_aptyum/ update drone
* baldm0mma/verify_aptyum/ update function styles
* baldm0mma/verify_aptyum/ revert changes
* baldm0mma/verify_aptyum/ make drone
* baldm0mma/verify_aptyum/ redirect install logs
* baldm0mma/verify_aptyum/ restructure args
* baldm0mma/verify_aptyum/ update verify_linux_DEB_packages_step
* baldm0mma/verify_aptyum/ make format drone
* baldm0mma/verify_aptyum/ update verify_linux_RPM_packages_step
* baldm0mma/verify_aptyum/ add retry_command
* baldm0mma/verify_aptyum/ make drone
* baldm0mma/verify_aptyum/ update attempts to 10 minutes
* baldm0mma/verify_aptyum/ handle is_preview
* baldm0mma/verify_aptyum/ add doc strings to satisfy starlark linter
* baldm0mma/verify_aptyum/ revert is_preview
* baldm0mma/verify_aptyum/ update to rpm repo download
* baldm0mma/verify_aptyum/ add back logging for rpm
* baldm0mma/verify_aptyum/ revert to working
* baldm0mma/verify_aptyum/ update to use RPM repo
* baldm0mma/verify_aptyum/ remove redirect for logging
* baldm0mma/verify_aptyum/ rem gpg check
* baldm0mma/verify_aptyum/ fromat drone
* baldm0mma/verify_aptyum/ rem comment
* baldm0mma/verify_aptyum/ add single comment on timing
2024-07-12 10:54:03 -06:00
Matthew Jacobson
ba800692c6
Alerting: Persist AlertInstance ResolvedAt & LastSentAt ( #89135 )
...
* Alerting: Persist AlertInstance ResolvedAt & LastSentAt
* Fix test
* Modify existing tests
* Fix merge conflicts from nullable LastSentAt & ResolvedAt
2024-07-12 12:26:58 -04:00
Agnès Toulet
e1f030592f
Chore: Fix Go deps file ( #90379 )
...
* Chore: Fix Go deps file
* Update go.work.sum
2024-07-12 18:54:06 +03:00
Ashley Harrison
c13f804ef9
Storybook: Fix missing favorite and grafana icons ( #90376 )
...
ignore "fa fa-spinner" properly
2024-07-12 18:49:23 +03:00
Matthew Jacobson
b7767c79e7
Alerting: Fix contact point export 500 error and notifications/receivers missing settings ( #90342 )
...
* Regression test
* Fix 500 error when exporting redacted receivers
* Fix tests to check permissions
2024-07-12 11:42:22 -04:00
Tom Ratcliffe
5d8ca38b9b
Alerting: Fix Recording Rules creation issues ( #90362 )
2024-07-12 15:52:45 +01:00
Kristin Laemmert
8a6107cd35
DashboardStore: Use ReplDB and get dashboard quotas from the ReadReplica ( #90235 )
...
* Use ReplDB in dashboard store and update all fixtures - no other changes
* just moving dashboard counts for now
* find the missing test fixture
2024-07-12 10:47:49 -04:00
Gilles De Mey
e64ef2245c
Alerting: Re-organise rule group hooks ( #90368 )
2024-07-12 16:33:37 +02:00
Galen Kistler
8400b54a53
Table: Fix state bug with initialRowIndex ( #90308 )
...
* fix: fix state bug
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2024-07-12 09:14:47 -05:00
Brendan O'Handley
da2962418d
Explore metrics: Use state for variables to fix labels loading bug ( #90017 )
...
* use variable state for loading labels
* UI fix for missing metadata fields
* remove extra space
* add <Trans> for betterer
* import Trans from core, this will need to be addressed when we externalize explore metrics
* make i18n-extract for drone
2024-07-12 08:57:00 -05:00
Ashley Harrison
a6f9336ea1
Chore: SCSS cleanup ( #90366 )
...
* migrate _type styles
* migrate queryEditor styles
2024-07-12 14:47:12 +01:00
Galen Kistler
1367d5d721
Logs: Add log line to content outline when clicking on datalinks ( #90207 )
...
* feat: add bg color to pinned logs, pin logs when opening datalinks
2024-07-12 08:14:53 -05:00
Dominik Prokop
2d35b11323
DashboardScene: Add rows keyboard shortcuts ( #90275 )
...
* DashboardScene: Add rows keyboard shortcuts
* e2e test
2024-07-12 15:13:22 +02:00
Todd Treece
3a51260ef9
K8s: Add file store tests ( #90151 )
2024-07-12 08:54:00 -04:00
Ashley Harrison
8d858b1a82
Chore: Migrate more SCSS ( #90224 )
...
* tidy up alerts scss
* clean up alerting page rules
* remove mixins
2024-07-12 13:49:59 +01:00
Todd Treece
66a384247c
Storage: Fix list in mode 4 ( #90354 )
2024-07-12 08:20:13 -04:00
Ezequiel Victorero
d3a75a42a0
Chore: Update swagger docs ( #90154 )
2024-07-12 09:08:44 -03:00
Josh Hunt
03311f6c6c
I18n: Memoize formatDate/formatDuration methods because they're prett… ( #90338 )
...
I18n: Memoize formatDate/formatDuration methods because they're pretty slow!!
2024-07-12 10:38:47 +01:00
Ashley Harrison
b321dc7280
Chore: Migrate from react-beautiful-dnd to @hello-pangea/dnd ( #90328 )
...
* migrate from react-beautiful-dnd to @hello-pangea/dnd
* revert comment
2024-07-12 10:23:29 +01:00
gonvee
b9f2e883b0
Admin: Fixes an issue where user accounts could not be enabled ( #88117 )
...
Fix: unable to enable user
2024-07-12 12:19:32 +03:00
Aaron Godin
7e767e40a9
IAM: Fix logic for enabling a user ( #90309 )
...
fix: correct logic on enabling a disabled user account
2024-07-12 10:54:27 +02:00
Charandas
4abb4d1662
ExtJwt: don't log verify errors as they spam for grafana-agent ( #90351 )
...
* ExtJwt: don't log verify errors as they spam for grafana-agent
* remove dead code
* revert unintended change
* revert unintended change
2024-07-11 18:23:43 -07:00
Ryan McKinley
d2bc4f3255
DualWrite: Cleanup and centralize the dual write creation ( #90013 )
2024-07-11 23:23:31 +03:00
O Yves Chan
4b5b599982
Azure: Add new Azure infrastructure dashboards ( #88869 )
...
* add azure infra dashboards
* ran yarn prettier:write
2024-07-11 21:10:13 +01:00
Alexander Weaver
111ebd4fb2
Alerting: Create integration testing infra for recording rules ( #90306 )
...
* Create some integration testing infra for RRs
* whoops
* Require no error in responding
* fix linter
* Panic, no need to pass testing around
* Extend status test
2024-07-11 14:59:52 -05:00
Alexander Weaver
ab32183e18
Alerting: Track recording rule health and last eval info ephemerally ( #90247 )
...
* Track health and last eval info
* Read method for status
* Minor tests
2024-07-11 14:05:09 -05:00
Gilles De Mey
6874202dfa
Alerting: Implement "rename / move / update" for useProduceNewRuleGroup ( #89706 )
2024-07-11 20:12:19 +03:00
Tom Ratcliffe
f140594cf1
Alerting: Make whitespace more visible on labels ( #90223 )
2024-07-11 17:33:27 +01:00
Leonor Oliveira
d0afa60feb
Remove unused metric ( #90327 )
2024-07-11 15:31:37 +02:00
Santiago
3bb861b9f0
Alerting: Remove empty/namespace labels when sending alerts to the remote Alertmanager ( #90284 )
...
* Alerting: Remove empty/namespace labels when sending alerts to the remote Alertmanager
* update tests
* fix typo in comment
2024-07-11 15:20:12 +02:00
Nihal
c1d9e793be
Metrics: Fix internal metrics endpoint not accessible from browser if basic auth is enabled ( #86904 )
...
* add WWW-Authenticate header in the http response of /metrics endpoint in case of wrong basic auth credentials
Signed-off-by: Syed Nihal <syed.nihal@nokia.com >
* added change log for the change fixing the issue https://github.com/grafana/grafana/issues/86902
Signed-off-by: Syed Nihal <syed.nihal@nokia.com >
* Update CHANGELOG.md
---------
Signed-off-by: Syed Nihal <syed.nihal@nokia.com >
2024-07-11 14:55:48 +02:00
Bruno
420ff1d07b
Cloud migration: upload snapshot files using presigned url ( #90273 )
...
* Cloud migration: upload snapshot files using presigned url
* log error if index file cannot be closed
* log error if file cannot be closed in uploadUsingPresignedURL
2024-07-11 09:32:02 -03:00
Misi
69c5fa8361
IDToken: Add current user's Username and UID to the ID token ( #90240 )
...
* Set claims.Rest.Login from the IDService
* Add UID to the ID token
2024-07-11 14:25:30 +02:00
Leonor Oliveira
b75276c641
Fix outcome metric ( #90322 )
2024-07-11 13:50:20 +02:00
Pepe Cano
d7c844b5b6
Alerting UX: copy changes in Groups view ( #90173 )
...
* UI and help copy changes in Alerting Groups view
* Alerting Groups view: change subtitle
* Rename Alerting page title: `Groups` to `Active notifications`
* Update pseudo-local
* update betterer
* Extract translation through `make i18n-extract`
2024-07-11 13:33:41 +02:00
Mihai Doarna
944a3a9818
Auth: Temporarily remove LDAP from UI until its config page is ready ( #90323 )
...
temporarily remove LDAP from UI until its config page is ready
2024-07-11 13:54:17 +03:00
Mihai Doarna
bbd1611265
SSO: Register LDAP service if LDAP is enabled in SSO settings ( #90228 )
...
register LDAP service if LDAP is enabled in SSO settings
2024-07-11 13:53:43 +03:00
Piotr Jamróz
b09798c3fa
Explore: Fix new-old-new query history bug ( #90214 )
...
* Remove cancelActiveListeners() and delay()
* Wait for handle history to resolve
* Do not sync from URL when state changes
---------
Co-authored-by: harisrozajac <haris.rozajac12@gmail.com >
2024-07-11 12:37:47 +02:00
Alex Khomenko
62494248e3
Restore dashboards: Add RBAC ( #90270 )
...
* Restore dashboards: Add RBAC
* Add check to navtree
* Prevent non-admins from searching deleted dbs
* Add check to the route
* Cleanup
* Update translations
* Update API permissions
* Correct permissions
* Update warning message
* Update translation
* Return 401 for deleted query without admin role
2024-07-11 13:20:04 +03:00
Sonia Aguilar
c76b490c57
Alerting: Central alert history part4 ( #90088 )
...
* Implement EventDetails for expanded rows and pagination on the events list
* Add test for getPanelDataForRule function
* prettier
* refactor EventState component
* create interfaces for props
* Add missing translations
* Update some comments
* Add plus button in alertrulename , to add it into the filter
* Add plus button to add filters from the list labels and alert name
* Add clear labels filter button
* run prettier
* fix RBAC checks
* Update AlertLabels onLabelClick functionality
* add limit=0 in useCombinedRule call
* Add filter by state
* remove plus button in labels
* Fix state filter
* Add filter by previous state
* fix some errors after solving conflicts
* Add comments and remove some type assertions
* Update the number of transitions calculation to be for each instance
* Add tests for state filters
* remove type assertion
* Address review comments
* Update returnTo prop in alert list view url
* Update translations
* address review comments
* prettier
* update cursor to pointer
* Address Deyan review comments
* address review pr comments from Deyan
* fix label styles
* Visualize expanded row as a state graph and address some pr review comments
* Add warning when limit of events is reached and rename onClickLabel
* Update texts
* Fix translations
* Update some Labels in the expanded states visualization
* move getPanelDataForRule to a separate file
* Add header to the list of events
* Move HistoryErrorMessage to a separate file
* remove getPanelDataForRule function and test
* add comment
* fitler by instance label results shown inthe state chart
* remove defaults.ini changes
* fix having single event on time state chart
---------
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-07-11 12:09:52 +02:00
David Harris
92ada4eb7c
chore: add new data source request template ( #86912 )
...
* chore: add new data source request template
* Update 6-data_source_request.yaml
Add placeholder text for Use case field
* Update .github/ISSUE_TEMPLATE/6-data_source_request.yaml
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
---------
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
2024-07-11 10:55:12 +01:00
Agnès Toulet
fb8e98bcc9
PDF: Add go dependency ( #89949 )
...
Chore: Add Enterprise library
2024-07-11 11:50:40 +02:00
Laura Benz
8031ef1aac
Dashboard settings: Refactor delete modals ( #90279 )
...
* refactor: add translatable elements and confirmation text
* refactor: add translatable element
* refactor: add translatable element
* refactor: run i18n extraction
* refactor: add translatable elements
2024-07-11 11:47:28 +02:00
Andre Pereira
4eb09789c1
Tempo: Virtualize tags select to improve performance ( #90269 )
...
* Virtualize tags select to improve performance
* Fix tests
* Fix tests
* Fix tests
2024-07-11 10:45:20 +01:00
Hugo Kiyodi Oshiro
0a1b9f94d5
Plugins: Improve levitate / breaking changes report in grafana/grafana ( #89822 )
...
* Plugins: Add gcloud auth and usage to levitate workflow
---------
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2024-07-11 11:38:43 +02:00
Charandas
57e2a56876
K8s: fix tracer init by moving Config() above it ( #90311 )
2024-07-11 00:57:58 +03:00
Kevin Minehart
a28db90dd5
CI: fix release pr condition ( #90299 )
...
* Release comms should only run when the source PR is
* Fix release-comms workflow condition
2024-07-10 23:17:19 +03:00
Adela Almasan
8989ac4a0c
Canvas: Improved tooltip ( #90162 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2024-07-10 14:52:15 -05:00
Stephanie Hingtgen
bb187ce4b1
K8s: Match status codes from single tenant ( #90153 )
...
Co-authored-by: Jean-Philippe Quémémer <jeanphilippe.quemener@grafana.com >
2024-07-10 20:48:02 +02:00
Larissa Wandzura
936b3a7a5d
Docs: Updated the Query inspector page ( #90249 )
...
Co-authored-by: Piotr Jamróz <pm.jamroz@gmail.com >
2024-07-10 13:44:31 -05:00
Kevin Minehart
f411d85749
CI: remove missing dependency from workflow action ( #90285 )
...
remove missing dep from workflow action
2024-07-10 13:03:49 -05:00
Nathan Marrs
3ca7976ee5
Transformations: Promote group to nested table as generally available ( #90253 )
2024-07-10 10:08:41 -07:00
Ryan McKinley
2bb66209ca
Chore: make protobuf ( #90282 )
2024-07-10 19:19:21 +03:00
Marcus Efraimsson
2cf3a4d9ee
API Server: Override k8s api server profile contention flag with custom ones ( #90238 )
...
Upgrades sdk ro v0.238.0
2024-07-10 17:27:51 +02:00
Serge Zaitsev
117390e88d
Chore: Add package.json to changelog github action ( #90267 )
...
add package.json
2024-07-10 15:43:58 +02:00
Michael Mandrus
317da43a84
CloudMigration: Provide a stats rollup in the GetSnapshot response ( #90252 )
...
* order session list descending
* add snapshot status method to store
* query stats while retrieving snapshot
* return stats in dto
* swagger
* fix tests
* commit results of bingo get
* fix swagger
* minor improvement
* fix typo
* forgot a file
2024-07-10 08:46:38 -04:00
Andre Pereira
a3dfc894f7
Tempo: Require streaming to be enabled ( #90264 )
...
Revert previous change
2024-07-10 12:02:30 +01:00
Serge Zaitsev
c5f903f6dd
Chore: Add changelog github action ( #90183 )
...
* add changelog github action
* tabs vs spaces
* better disable release, even in draft
* add codeowners
2024-07-10 12:32:06 +02:00
Andreas Christou
bba26f8e13
Azure: Fix default subscription setting ( #90185 )
...
* Ensure default subscription is set
* Include some info for when the default subscription is required
* Rename settings mock
- Add mockDatasourceSettings function
* Add MonitorConfig test
* Revert "Rename settings mock"
- Avoid issues when backporting
* Remove description
* Remove required field
* Remove unused import
2024-07-10 11:26:49 +01:00
Giuseppe Guerra
9216a3df7d
Plugins: Remove datasourceQueryMultiStatus feature toggle ( #90191 )
...
* Remove datasourceQueryMultiStatus feature toggle
* PR review suggestion
2024-07-10 11:15:10 +02:00
Misi
4e03ca5c1c
Auth: Remove role_attribute_path from Azure AD config UI ( #90227 )
...
Remove role_attribute_path from Azure AD config UI
2024-07-10 10:12:02 +02:00
Michael Mandrus
021a9400ab
Chore: Commit results of bingo get ( #90256 )
...
commit results of bingo get
2024-07-10 10:36:59 +03:00
Ryan McKinley
079f0715aa
ResourceServer: Add resource server protobuf and wrapper ( #90007 )
2024-07-09 15:08:13 -07:00
Davidson Francis
05ce16cf7b
Docs: Fix link to send report API ( #90242 )
...
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-07-09 17:08:43 -04:00
Andreas Christou
3db2badae5
GCP: Update GKE monitoring dashboard ( #90091 )
...
Update GKE dashboard
2024-07-09 14:56:14 -04:00
Kim Nylander
2b907c0a2d
[DOC] Fix broken links in profiles and traces content ( #90237 )
2024-07-09 18:17:43 +01:00
Esteban Beltran
1269e50042
Chore: Fix flaky frontend e2e tests with the explore page ( #90184 )
...
* Chore: Fix flaky frontend e2e tests with the explore page
* Use selector
* Add checks to scenes tests
* simplify code
2024-07-09 18:56:11 +02:00
Fabrizio
13be47f903
Tempo: Add toggle for streaming ( #88685 )
...
* first implementation
* Linting
* Fix tests
* Trigger CI
* Renaming
* Linting
* Trigger CI
* Fix tests
* Add live test for streaming
* Trigger CI
* Chores
* Fix broken test
* Chores
* Improve tests
* Linting
* Address PR comments
* Renaming
* Add info alert
* Linting
* Linting
* Check also feature toggle
* Fix tests
* Added link to streaming config section and updated copy
* Require streaming to be specifically disabled
---------
Co-authored-by: André Pereira <adrapereira@gmail.com >
2024-07-09 17:44:19 +01:00
Marcus Efraimsson
fc8a5cf468
Profiling: Enhance configuration and docs ( #90048 )
...
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
2024-07-09 17:48:16 +02:00
Haris Rozajac
8a6e92c0c9
Explore: Interaction tracking for logs pinning and filtering in content outline ( #90213 )
...
* Add interaction tracking
* Move reportInteraction out of scrollIntoView to improve readability
* move activateFilter logic inside handleItemClicked
2024-07-09 08:17:50 -07:00
kay delaney
434f386982
Frontend: Use safe stringifier in parseBody ( #90047 )
...
* Frontend: Use safe stringifier in parseBody
Closes #88064
2024-07-09 16:15:59 +01:00
kay delaney
5cab595f45
Scenes: Fixes issue with panel repeat height calculation ( #90221 )
...
* Scenes: Fixes issue with panel repeat height calculation
2024-07-09 16:03:32 +01:00
Will Browne
343d6f8a0c
Plugins: Support > 1 levels of plugin dependencies ( #90174 )
...
* do it
* prevent loops
* change to sync.Map
2024-07-09 15:46:30 +01:00
Gilles De Mey
4f3fb83b0a
Alerting: Refactor PromQL-style matcher parsing ( #90129 )
...
Co-authored-by: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com >
2024-07-09 17:02:08 +03:00
Jack Baldry
daf7e64c0a
Fix broken link ( #90216 )
2024-07-09 15:02:01 +01:00
Alex Khomenko
b3fa2821cc
Pin nav items: Instrument user events ( #90212 )
...
* Pin nav items: Instrument user events
* Send item path
2024-07-09 16:16:11 +03:00
Marcus Efraimsson
c8af659f02
Plugins: Enhanced plugin instrumentation ( #90199 )
...
* Plugins: Enhanced plugin instrumentation
* use backend.CallResourceResponseSenderFunc
* sdk v0.237.0
* support admission control
* cover all handlers in log and metrics middlewares
* fix after review
2024-07-09 15:03:46 +02:00
ismail simsek
2a4a73e03d
Explore Metrics: Save and restore the breakdown layout view from LocalStorage ( #90202 )
...
* save and restore the breakdown layout view from localstorage
* Update public/app/features/trails/MetricScene.tsx
Co-authored-by: Darren Janeczek <38694490+darrenjaneczek@users.noreply.github.com >
* add type guard
* remove unused import
---------
Co-authored-by: Darren Janeczek <38694490+darrenjaneczek@users.noreply.github.com >
2024-07-09 14:22:11 +02:00
Arati R
ecadd99456
SearchV2: Support soft deletion ( #90217 )
...
* soft delete
* Fix bench test
Co-authored-by: Bruno Abrantes <bruno@brunoabrantes.com >
* Add integration test for soft deletion
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2024-07-09 14:17:27 +02:00
Galen Kistler
20181425e4
Table: Prevent runtime error when resizing columns with onColumnResize ( #89862 )
...
fix: prevent runtime error when resizing columns
2024-07-09 07:08:35 -05:00
Ashley Harrison
8444c7760c
Chore: Remove deprecated SCSS styles ( #90187 )
...
clean up infobox styles
2024-07-09 12:53:43 +01:00
ismail simsek
7f020dce05
Chore: Fix scrolling issue after selecting a metric with a lot of labels ( #90195 )
...
remove minHeight
2024-07-09 13:32:32 +02:00
Gilles De Mey
b7910ade97
Alerting: Allow future relative time ( #89405 )
2024-07-09 13:18:24 +02:00
Jack Westbrook
d8137083d9
Grafana/data: Remove barrel files part 3 ( #90001 )
...
* chore(grafana-data): remove monac and theme barrel files, clean up imports and exports
* chore(grafana-data): remove query barrel file and update imports / exports
* chore(grafana-data): remove text and events barrel files, update imports n exports
* chore(alerting): fix grafana/data imports pointing to nested barrel files
* chore(grafana-data): delete unused text/index.ts
* chore(grafana-data): fix broken text import paths
2024-07-09 10:07:33 +02:00
linoman
82d8ca03b3
Update SAML UI docs to set up Azure AD ( #90193 )
...
* Update SAML UI docs to set up Azure AD
2024-07-09 09:43:43 +02:00
Charandas
3eef9b3397
Requester/authn: check the interface for nil value to avoid false positives ( #90210 )
2024-07-09 02:30:03 +03:00
Yuri Tseretyan
5ae5fa3a7a
Alerting: Support field selectors in time interval API ( #90022 )
...
* fix kind of TimeInterval
* register custom fields for selectors
* support field selectors in legacy storage
* support selectors in storage
===== Misc
* refactor conversions to build in one place
* hide implementation of provenance status behind accessors to use the key in selectors
* fix provenance error
2024-07-08 22:45:30 +03:00
Kevin Minehart
63e715f6a9
CI: Sync branch and tag after release ( #89967 )
...
* Added `workflow_call` event to allow other workflows to invoke the "Create or update GitHub release"
* Added `dry_run` to `github-release.yml`
* Added `latest` to `release-pr.yml` which will cause the release PR to add a `release/latest` label.
* Removed unnecessary github app creation from github-release workflow and just used permissions.
2024-07-08 14:32:28 -05:00
Charandas
c210617735
K8s: use contexthandler in standalone handler chain ( #90102 )
2024-07-08 12:22:10 -07:00
Alexander Weaver
3b6a8775bb
Alerting: Fix stale values associated with states that have gone to NoData, unify values calculation ( #89807 )
...
* Unify values
* Fix with latest changes on main
* Fix up NaN test
* Keep refIDs with -1 as value
* Test that refIDs are preserved on Normal to Error transition
* Alerting to err test too
* Add a blurb to docs about this behavior
2024-07-08 12:30:23 -05:00
Timur Olzhabayev
f763f2085b
Feat: Extending report interaction with static context that can be appended to all interaction events ( #88927 )
...
* Extending report interaction with static context that can be appended to all requests
2024-07-08 16:37:45 +02:00
Will Browne
cff9ecbd6d
Plugins: Ensure plugin dependency field in plugin.json does not require version ( #90142 )
...
non required + pattern
2024-07-08 15:28:52 +01:00
Kristin Laemmert
77a4869fca
accesscontrol service read replica ( #89963 )
...
* accesscontrol service read replica
* now using the ReplDB interface
* ReadReplica for GetUser
2024-07-08 10:00:13 -04:00
Serge Zaitsev
e9876749d4
Chore: Add retry option to curl ( #90179 )
...
add retry option to curl
2024-07-08 15:47:31 +02:00
Fabrizio
c42dd6e920
Tempo: Run go get ( #89335 )
...
* Run `go get`
* Run `go work sync`
* Update go.work.sum
---------
Co-authored-by: André Pereira <adrapereira@gmail.com >
2024-07-08 14:01:38 +01:00
Pepe Cano
1398f905af
Alerting UX: update descriptions for alerting notification fields ( #89187 )
...
* Change a bit existing descriptions for Notification fields
aligning them with the updated documentation
* revert `betterrer.results`
* Update public/app/features/alerting/unified/components/notification-policies/EditDefaultPolicyForm.tsx
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update public/app/features/alerting/unified/components/notification-policies/EditDefaultPolicyForm.tsx
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update public/app/features/alerting/unified/components/notification-policies/EditNotificationPolicyForm.tsx
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update public/app/features/alerting/unified/components/notification-policies/routeTimingsFields.ts
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update public/app/features/alerting/unified/components/notification-policies/routeTimingsFields.ts
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update public/app/features/alerting/unified/components/notification-policies/routeTimingsFields.ts
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update public/app/features/alerting/unified/components/rule-editor/NotificationsStep.tsx
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update public/app/features/alerting/unified/components/rule-editor/NotificationsStep.tsx
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update public/app/features/alerting/unified/components/rule-editor/alert-rule-form/simplifiedRouting/route-settings/RouteSettings.tsx
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* update betterer
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-07-08 13:14:19 +02:00
Andres Martinez Gotor
2b7338f8b6
Add optional APIVersion to DatasourceRef ( #90076 )
2024-07-08 13:12:56 +02:00
Alex Khomenko
96cdce7f72
FilterList: Separate ItemRenderer ( #90112 )
...
* FilterList: Separate ItemRenderer
* Extend props
* Codeformat
2024-07-08 14:05:43 +03:00
Andres Martinez Gotor
61b95783d5
UpdateDatasource: Add apiVersion if enabled ( #90038 )
2024-07-08 13:02:48 +02:00
Josh Hunt
06de37e6cd
GrafanaUI: Allow wrap prop on Stack to be a boolean ( #90145 )
2024-07-08 11:50:51 +01:00
Sarah Zinger
2a80ec9104
Docs: Add line about installing corepack in developer guide ( #89250 )
...
Add line about installing corepack
2024-07-08 12:38:41 +02:00
Alex Khomenko
c1ec327b74
FilterList: Improve "No values" display ( #90032 )
...
* FilterList: Improve "No values" display
* Switch to ternary
2024-07-08 13:27:34 +03:00
Ashley Harrison
675457fb10
Select: Better styling for virtualized group separators ( #90127 )
...
* better styling for group separators
* update comment
* revert back to 37
2024-07-08 10:32:15 +01:00
Santiago
aaf23c64c3
Alerting: Allow remote Alertmanager integration tests to fail ( #88664 )
...
* Alerting: Allow remote Alertmanager integration tests to fail
* format drone
* rebase from main
* the wait-for container needs canFail more than the acutal integration-tests container
---------
Co-authored-by: Charandas Batra <charandas.batra@grafana.com >
2024-07-06 18:39:45 +02:00
antonio
e061f2886f
alerting/integrations:opsgenie ( #90133 )
...
* alerting/integrations:opsgenie
* Update _index.md
* new line
* all pretty no pity
* numbering
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-opsgenie.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-opsgenie.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update configure-opsgenie.md
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-07-06 11:38:25 +02:00
Kim Nylander
863c9fc34e
[DOC] Update the Pyroscope data source config doc ( #89648 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-07-05 14:37:02 -04:00
Todd Treece
5f9ce12542
K8s: Generic watch tests ( #90023 )
2024-07-05 21:17:20 +03:00
Steve Simpson
e9fd191065
Alerting: Fix some status codes returned from provisioning API. ( #90117 )
...
The contact point deletion API was returning 500 when it should have been
returning a 4xx error, when the contact point is in use:
- When in use by a notificiation policy, we were missing
the `.Errorf("")` to convert `errutil.Base` into `errutil.Error`.
- When in use by an alert rule, an regular error was returned.
2024-07-05 19:06:37 +02:00
Gilles De Mey
650616a404
Alerting: Support utf8_strict_mode: false in Mimir ( #90092 )
2024-07-05 17:17:45 +02:00
Victor Marin
f88bf474bd
Fix panel paste button in nav toolbar ( #90143 )
...
fix panel paste button in nav toolbar
2024-07-05 17:58:55 +03:00
Alex Khomenko
22df2d9b06
BrowseDashboards: Fix starred toggle ( #90138 )
2024-07-05 17:11:03 +03:00
Ashley Harrison
680f5ed2cc
Chore: More SCSS cleanup ( #90132 )
...
* convert TagBadge to a functional component
* migrate label and label-tag styles to TagBadge
* migrate filter-table to emotion globals
* migrate query-part styles to emotion globals
* move tag color to be an inline style
2024-07-05 14:33:43 +01:00
Oscar Kilhed
1f90784a83
Dashboard scene: Ignore repeat row process for non multi variables. ( #90107 )
...
* Ignore row repeat process for non multi value variables
* Reverse if statement to avoid non needed negation
2024-07-05 15:12:06 +02:00
Alex Khomenko
7111c52e4c
Nav: Add items to saved ( #89908 )
...
* App events: Add info notification type
* Revert state
* Use info alert
* Nav: Enable saving items
* Use local state
* Use RTK query
* Revert go.work
* Revert
* User-specific queries
* Add memo
* Fix base URL
* Switch to ids
* Fix memo
* Add codeowners
* Generate API
* Separate user prefs API
* Remove tag
* Update export
* Use feature toggle
2024-07-05 16:01:10 +03:00
Alexander Zobnin
7bf8375b02
Zanzana: Add basic metrics for evaluation time and status ( #90125 )
...
* Zanzana: Add basic metrics for evaluation time and status
* only init when feature enabled
* add todo
2024-07-05 14:53:40 +02:00
Leonor Oliveira
ec6a939815
Compare results when reading/writing between unified_storage and legacy ( #89773 )
...
* Compare results when reading/writing between unified_storage and legacy
* Always use name when comparing objects
* Compare on get method
* Update pkg/apiserver/rest/dualwriter.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Add new metric to count how many times we read from legacy in mode 2
* Move counter
* Add name in mode1
---------
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-07-05 14:01:05 +02:00
Josh Hunt
1b3597d795
E2C: Empty and Loading snapshot states ( #90043 )
...
* E2C: Empty and Loading snapshot states
* fix responsive
2024-07-05 12:32:45 +01:00
Ieva
e9ebb6eaa4
Folders: Fix folder pagination for cloud instances with many folders ( #90008 )
...
* filter the k6 folder out in the SQL queries rather than during post processing to ensure that the correct number of results is always returned
* linting
2024-07-05 11:19:03 +01:00
Misi
4f06568f8a
Auth: Add support for escaping colon characters in org_mapping ( #89951 )
...
* Split org_mapping correctly if it contains multiple colons
* Improve tests
* Use backslash as an escape character for colons
* Cleanup, address feedback
* Change test to use double quotes as an example
2024-07-05 13:06:25 +03:00
Karl Persson
7a78ad3893
Authn: Remove response writer from auth req ( #90110 )
...
Authn: Remove response writer from request
2024-07-05 11:42:12 +02:00
Alexander Zobnin
87d86e81ce
Zanzana: Evaluate permissions alongside with RBAC engine ( #90064 )
...
* Zanzana: Evaluate permissions if feature flag enabled
* Fix tests
* adjust logs
* fix spelling
* remove unused
* only evaluate implemented resources
* refactor
2024-07-05 11:31:23 +02:00
Mihai Doarna
48e6e9a36c
LDAP: Compute values when reloading LDAP settings ( #90059 )
...
* compute values when reloading LDAP settings
* remove grafana-cli/logger dependency
* export defaultTimeout from ldap package
* add server host to logs
2024-07-05 11:58:50 +03:00
Mihai Doarna
dfabc878f3
LDAP: Remove duplicate code ( #90066 )
...
remove duplicate readConfig() function from LDAP
2024-07-05 11:18:37 +03:00
antonio
8bc8b4b31f
alerting/integrations:telegram-update ( #90105 )
...
* alerting/integrations:telegram-update
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-telegram.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-telegram.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-07-05 10:18:15 +02:00
Mihai Doarna
e299621766
LDAP: Fix LDAP config cache ( #89998 )
...
* initialize LDAP config cache
* check err is nil
* return the config from cache only if the config file has not been modified
* rename var from test
2024-07-05 11:10:52 +03:00
Mihai Doarna
e7780c9c9c
SSO: Add more LDAP config validations for SSO settings ( #90036 )
...
add more LDAP config validations for SSO settings
2024-07-05 10:48:34 +03:00
Misi
f337da8e57
Chore: Add more context to logs of OAuthToken and OAuthTokenSync ( #90071 )
...
Chore: Add more context to oauth token sync
2024-07-05 09:37:36 +02:00
Andre Pereira
315e068190
Navbar: Reorder logs, traces and profiles apps under explore ( #90093 )
...
Reorder logs, traces and profiles apps in navbar
2024-07-04 17:57:08 +01:00
Marcus Efraimsson
06e67bc573
API Server: Fix stack overflow panic when tracing is disabled ( #90075 )
2024-07-04 19:11:59 +03:00
ANURAG RANJAN
d6b39498d0
Docs: Fix typo in text ( #89325 )
2024-07-04 12:09:21 -04:00
ismail simsek
4fcd348366
InfluxDB: Fix returning InfluxDB error messages ( #89973 )
...
* Revert "Chore: Return influxdb query error early before parsing the result (#88549 )"
This reverts commit a87c155c06 .
* Handle error in buffered parser
* handle error message in streaming parser
2024-07-04 17:45:36 +02:00
antonio
d563db63e7
alerting/docs:discord ( #90068 )
...
* alerting/docs:discord
* 'pretty'
2024-07-04 17:42:33 +02:00
Ezequiel Victorero
ed736eb9a0
Chore: Update swagger docs ( #90065 )
2024-07-04 12:01:23 -03:00
Oscar Kilhed
6daadd6b78
Dashboard scenes: Fix inspect export join series by time ( #90058 )
...
Fix default for transformations
2024-07-04 16:51:27 +02:00
Gilles De Mey
dd4e254900
Alerting: Skip fetching alerts for unsaved dashboards ( #90061 )
...
skip fetching alerts for dashboards with null uid
2024-07-04 16:46:51 +02:00
Jack Westbrook
965cdef855
Datasource Config: Return error object on failed updates (again) ( #89906 )
...
* refactor(datasource): only pass back the error information when rejecting ds updates
* revert(datasource): remove stray console import
* refactor(datasource-config): update traceId to traceID
2024-07-04 17:44:49 +03:00
Andres Martinez Gotor
be98ab1111
Add apiVersion to datasource settings DTO ( #90057 )
2024-07-04 16:44:19 +02:00
github-actions[bot]
37a58d15cf
Update make docs procedure ( #89933 )
...
Co-authored-by: grafanabot <bot@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-07-04 15:40:43 +01:00
Sonia Aguilar
7f4a1469e8
Alerting: Central alert state history part3 ( #89842 )
...
* Implement EventDetails for expanded rows and pagination on the events list
* Add test for getPanelDataForRule function
* prettier
* refactor EventState component
* create interfaces for props
* Add missing translations
* Update some comments
* prettier and extract translations
* remove unnecessary translations
* update translations
* address review comments
* address review pr comments
2024-07-04 16:21:39 +02:00
Misi
b174c1310a
Auth: Add organization mapping configuration to the UI ( #90003 )
...
* Add org_mapping and org_attribute_path to the UI
* Add validators, allow setting org mapping to only Grafana Admins
* comment
* Address feedback, improve validation, fix FE test, lint
2024-07-04 16:00:56 +02:00
Taylor Dean
d5b21f77aa
Tempo: Fix grpc streaming support over pdc-agent ( #89883 )
...
* Tempo: Fix grpc streaming support over pdc-agent
* Fix a spelling error and formatting
* Ignore lint issue for reasons listed in source code comment
---------
Co-authored-by: Joey Tawadrous <joey.tawadrous@grafana.com >
2024-07-04 14:09:34 +01:00
Josh Hunt
12a5583eb6
Chore: Bump fast-loops ( #90051 )
2024-07-04 15:48:29 +03:00
Bogdan Matei
ab1ad8ed7f
Scopes: Fix debounce for nodes search ( #90042 )
2024-07-04 15:26:17 +03:00
brendamuir
09d833fef9
Alerting docs: vale errors for labels and annotations ( #89957 )
...
* Alerting docs: vale errors for labels and annotations
* Update docs/sources/alerting/fundamentals/alert-rules/annotation-label.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/alerting/fundamentals/alert-rules/annotation-label.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-07-04 14:20:00 +02:00
Alex Khomenko
7c7f09233d
DateTimePicker: Add "timeZone" prop ( #90031 )
...
* DateTimePicker: Add custom timeZone support
* Add test
* More tests
* Add comment
* Tweaks
2024-07-04 14:45:48 +03:00
Hugo Kiyodi Oshiro
ff03786909
Chore: Add manual trigger for levitate pipeline test ( #90040 )
2024-07-04 13:44:14 +02:00
Dave Henderson
7ac757afcb
infra(tracing): Fix span naming order-of-operations bug ( #90025 )
2024-07-04 07:05:14 -04:00
Sergej-Vlasov
8f99d58aaf
WebpackDev: Resolve react-router-dom from local node modules ( #89547 )
...
resolve react-router-dom from local node modules
2024-07-04 13:28:54 +03:00
Ashley Harrison
bcb168c39d
Drawer: Fix size on mobile ( #90037 )
...
fix drawer size on mobile
2024-07-04 11:19:19 +01:00
Ashley Harrison
5ed5a2de2a
Chore: Add timeout for storybook e2e, only run on changes to @grafana/ui ( #90035 )
...
* add timeout for storybook, only run on changes to @grafana/ui
* add comment to trigger verify-storybook
* remove test comment
* add comment
* use a later version of wait-on
* remove comment and hardcode wait-on version
2024-07-04 11:19:07 +01:00
kay delaney
4671b7d5ae
Scenes: Fix issue where "get help" drawer was empty in panel edit mode ( #89431 )
...
* Scenes: Fix issue where "get help" drawer was empty in panel edit mode
2024-07-04 13:07:15 +03:00
Ashley Harrison
df84d8509d
Select: Properly show group separator for virtualized selects ( #90005 )
...
* add group separator for virtualized selects
* simplify
2024-07-04 10:30:35 +01:00
Laura Fernández
d043faa8a9
E2C: Modify EmptyState page on cloud ( #89935 )
2024-07-04 11:26:57 +02:00
Karl Persson
c04be62b65
Zanzana: client integration test ( #89997 )
...
* Restructure
* Zanzana: Add integration tests for client
* skip mysql 5.7 integration tests
2024-07-04 11:23:48 +02:00
Ida Štambuk
4fc42b8a71
Cloudwatch: Add monitoring badge for metric insights ( #89956 )
2024-07-04 11:22:52 +02:00
Andres Martinez Gotor
844d575681
Chore: fixes for admisison handlers ( #90033 )
2024-07-04 10:49:51 +02:00
Ida Štambuk
eef9a7b4e5
Cloudwatch: Rename Metric Query to Metric Insights ( #89955 )
2024-07-04 10:30:23 +02:00
Ryan McKinley
fe201b6bb2
FeatureToggles: Update metadata from gitlog ( #89766 )
2024-07-04 04:53:39 +03:00
Li Zeghong
edc1f50c4e
Chore: Remove unnecessary typecheck linter config ( #89198 )
2024-07-04 02:33:03 +03:00
Ryan McKinley
de06762852
K8s: Add basic peakq test w/ resource ( #90026 )
2024-07-04 01:26:33 +03:00
Todd Treece
274bd08afc
K8s: Improve key generation and parsing ( #90014 )
2024-07-04 01:11:45 +03:00
Dave Henderson
f70f60efd0
localdev: Enable profiling on local dev environment ( #89727 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-07-04 00:30:41 +03:00
Yuri Tseretyan
411bab6d44
Alerting: Lower severity of logs about duplicates to debug ( #89971 )
...
lower severity of logs about duplicates to debug
2024-07-03 16:46:28 -04:00
Dave Henderson
4ec4994e89
infra(tracing): Always end started spans ( #90016 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-07-03 16:25:57 -04:00
Kyle Cunningham
c9b1e81ed2
Table panel: Add alt and title text options to image cell type ( #89930 )
...
* Various updates
* Update form callbacks
* Use defaultValue as opposed to value on input
* Fix things up
* Docs
* Prettier
* Update docs
* Update label text
* Prettier
2024-07-03 22:10:54 +03:00
Stephanie Hingtgen
2d5c58cb90
Feature toggles: add expression to generated json and k8s response ( #90006 )
2024-07-03 21:08:58 +03:00
Adam Bannach
48552a578a
feat: add adaptive logs under cost management->logs nav ( #89875 )
...
Co-authored-by: Xiyu Chen <xiyu.chen@grafana.com >
2024-07-03 19:59:47 +03:00
Gilles De Mey
3ca4fb1a8f
Alerting: Show repeat interval in timing options meta ( #89414 )
2024-07-03 19:56:30 +03:00
Todd Treece
c6663ce6be
Chore: Ensure go.work.sum is updated ( #89996 )
2024-07-03 12:49:03 -04:00
Sarah Zinger
db68d58d52
CloudWatch: add account dropdown to metric insights ( #89926 )
2024-07-03 12:09:40 -04:00
Sergej-Vlasov
acf5c7c6ba
DashboardScene: Activate refresh picker manually when time controls are hidden ( #89952 )
...
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com >
2024-07-03 18:43:44 +03:00
renovate[bot]
0bbaed187c
Update dependency @grafana/scenes to v5.3.6
2024-07-03 16:13:41 +01:00
ismail simsek
7f5dde6ed3
Chore: Cleanup duplicated code in grafana-prometheus package ( #89542 )
...
* remove redundant test matchers
* use amendTable, trimTable functions from @grafana/data package
* move getMockDataSource function into the mocks.ts
* use LocalStorageValueProvider from @grafana/o11y-ds-frontend
* move all mocks under __mocks__ directory
* use store from @grafana/o11y-ds-frontend
* move test related files under test directory
* use getNextRefId from @grafana/data instead of deprecated getNextRefIdChar
See: https://github.com/grafana/grafana/pull/87460
* betterer
* remove unnecessary mockings
* import from @grafana/data
* import from @grafana/data
2024-07-03 16:21:29 +02:00
Dominik Prokop
f659bc1f40
Dashboard: Allow disabling dashboard grid lazy loading ( #89280 )
...
* Schema update
* Dashboard: Allow opting out from dashboard panels lazy loading
* Locale
* Lint fix
* Snaps fix
2024-07-03 16:00:45 +02:00
Bruno
d1952bb681
Cloud migrations: create snapshot files ( #89693 )
...
* Cloud migrations: create snapshot and store it on disk
* fix merge conflicts
* implement StartSnapshot for gms client
* pass snapshot directory as argument to snapshot builder
* ensure snapshot folder is set
* make swagger-gen
* remove Test_ExecuteAsyncWorkflow
* pass signed in user to buildSnapshot method / use github.com/grafana/grafana-cloud-migration-snapshot to create snapshot files
* fix FakeServiceImpl.CreateSnapshot
* remove new line
2024-07-03 10:38:26 -03:00
Joey
7b29242600
Tempo: Fix query history ( #89991 )
...
Fix query history for Tempo queries
2024-07-03 13:55:33 +01:00
Jack Westbrook
306ae8b4f5
Grafana/data: Remove barrel files part 2 ( #89850 )
...
* chore(grafana-data): remove datetime barrel file and update all imports
* chore(grafana-data): remove types barrel file and update imports
* chore(grafana-data): update types imports across package files
* chore(grafana-data): fix erroronous type export definition on OrgRole
* chore(grafana-data): fix errornous re-export type declarations and missing datetime/common exports
* chore(azure-monitor): fix import pointing to nested grafana-data barrel file
2024-07-03 14:14:58 +02:00
ismail simsek
c538d7ca6f
Chore: Update go.mod go.sum and go.work.sum files ( #89992 )
...
* Update go.mod go.sum and go.work.sum files
* set owners
2024-07-03 14:08:44 +02:00
Karl Persson
cbbc12a31b
Zanzana: Sync team memberships ( #89983 )
...
* Zanzana: Use uid for users and teams
* Zanzana: Team membership migrator
---------
Co-authored-by: Alexander Zobnin <alexanderzobnin@gmail.com >
2024-07-03 13:37:26 +02:00
Josh Hunt
7448f22f91
E2C: Create Snapshot frontend ( #89901 )
...
* First pass at using new async apis
* async api tweaks
* clean up async api usage
* Update public/app/features/migrate-to-cloud/onprem/Page.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
* Update public/app/features/migrate-to-cloud/onprem/Page.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
* fix syntax
---------
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2024-07-03 11:42:00 +01:00
Karl Persson
bfe77ab530
Users: Ensure default admin is created with a valid uid ( #89981 )
...
Users: Ensure default admin has a valid uid
2024-07-03 12:06:10 +02:00
Joao Silva
9004b58851
Navigation: Backend to save navigation customization into preferences ( #89783 )
2024-07-03 10:40:51 +01:00
Brandon D
68e30e2b4b
Updating spelling within Anonymous Page ( #88757 )
...
* Updating Placeholder
* Fix
2024-07-03 10:20:59 +02:00
Ivan Ortega Alba
1de3e4be29
Scenes: Upgrade to v5.3.4 ( #89978 )
2024-07-03 03:38:57 -04:00
Andres Martinez Gotor
f41ee615ba
Chore: Add basic admission handlers for registered API services ( #89824 )
2024-07-03 09:19:54 +02:00
Karl Persson
f18da6f4dc
User+team: remove startup migration for uid ( #89953 )
...
* Remove migration that is performed on startup
2024-07-03 09:11:52 +02:00
Jeff Levin
cfe8317d45
Add auth spans and remove deduplication code for scopes ( #89804 )
...
Adds more spans for timing in accesscontrol and remove permission deduplicating code after benchmarking
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-07-02 22:08:57 -08:00
ismail simsek
5b6edc96d9
Chore: Use SelectMenuOptions from @grafana/ui in grafana-prometheus ( #89562 )
...
use SelectMenuOptions from @grafana/ui
2024-07-03 01:27:19 +02:00
Frank Villaro-Dixon
2a1b620c38
Dashboard: share modal: open link in new page ( #89710 )
...
Signed-off-by: Frank Villaro-Dixon <frank@villaro-dixon.eu >
2024-07-02 17:06:08 -04:00
Isabel Matwawana
ff982ed001
Docs: Clarify query and tags search in dashboard list ( #89968 )
2024-07-02 16:35:54 -04:00
Charandas
f50c8566df
K8s: handle queries being an empty slice ( #89928 )
...
* K8s: handle queries being an empty slice
* remove unnecessary comment
* remove redundant break
2024-07-02 19:44:29 +00:00
Tom Ratcliffe
b18b1efec4
Alerting: Add (manual) script to generate alerting RTKQ APIs from OpenAPI spec ( #89482 )
2024-07-02 18:31:37 +01:00
Josh Hunt
52ea6236d4
E2C: Set up page route so cloud-migrations doesn't 404 ( #89947 )
2024-07-02 17:11:18 +01:00
antonio
9740ce3f58
alerting:docs>oncall ( #89780 )
...
* alerting:docs>oncall
* removed refs
* links
* dot
* all pretty no pity
2024-07-02 17:21:29 +02:00
Alex Khomenko
0500b596db
BrowseDashboards: Update results when starred param changes ( #89944 )
...
* BrowseDashboards: Trigger update results when starred param changes
* Use LocationService
* Use locationService directly
2024-07-02 17:37:40 +03:00
Karl Persson
e568b86ac0
Zanzana: Initial work to allow partial data migrations ( #89919 )
...
* Zanana: Add Write method to interface
* Zanzana: Add utilities for translating RBAC to openFGA tuple keys
* RBAC: Add zanzana synchronizer
* Run zanzana sync in access controll provider
2024-07-02 14:45:25 +02:00
Marcus Efraimsson
f518c5978c
API Server: Hack to make tracing work for code using otel.GetTracerProvider ( #89945 )
2024-07-02 14:33:08 +02:00
Matias Chomicki
cc7aae154c
Loki datasource: interpolate query before adding adhoc filters ( #89849 )
...
* Loki datasource: interpolate query before adding adhoc filters
* Chore: remove unused export
* Prettier
* Chore: made test case more obvious
2024-07-02 14:23:19 +02:00
antonio
5d06f86178
alerting>home:get-started ( #89835 )
...
* alerting>home:get-started
* all pretty no pity
* applied suggestions
* prettier-betterer
* betterer
2024-07-02 13:34:39 +02:00
Alex Khomenko
df15678455
Dashboard: Use preferred timezone on create ( #89833 )
...
* Dashboard: Use preferred timezone on create
* Add test
2024-07-02 14:15:23 +03:00
antonio
92ad6c71d1
alerting:mute-timings>api ( #89902 )
...
* alerting:mute-timings>api
* added type go-type
* all pretty
2024-07-02 10:46:18 +00:00
Sergej-Vlasov
527071aed6
DashboardScene: Disable edit related shortcuts for Viewer ( #89936 )
...
check if can edit before adding edit shortcuts
2024-07-02 13:36:14 +03:00
Ida Štambuk
36ff0fe63a
Features: Add cloudwatchMetricInsightsCrossAccount feature toggle ( #89848 )
2024-07-02 12:34:12 +02:00
Ashley Harrison
ba64ee44cb
Chore: Move SCSS mixins to be where they're used ( #89907 )
...
move mixins to be where they're used
2024-07-02 11:28:27 +01:00
Mihai Doarna
4306d52353
SSO: Encrypt and decrypt secrets for LDAP settings ( #89470 )
...
encrypt/decrypt secrets for LDAP
2024-07-02 12:37:13 +03:00
Alexander Zobnin
f1968bbcbb
Zanzana: Run OpenFGA HTTP server in standalone mode ( #89914 )
...
* Zanzana: Listen http to handle fga cli requests.
* make configurable
* start http server during service run
* wait for GRPC server is ready
* remove unnecessary logs
* fix linter errors
* run only in devenv
* make address configurable
2024-07-02 11:14:09 +02:00
Ryan McKinley
073ef93007
Authn: Set requester in middleware ( #89929 )
...
identify in context
2024-07-02 08:50:35 +02:00
Yuri Tseretyan
c3b5cabb14
Alerting: Refactor scheduler's rule evaluator to store rule key ( #89925 )
2024-07-01 16:43:23 -04:00
Alexander Weaver
e4eebd6379
Fix drift around apimachinery package in go.mod ( #89927 )
...
* get
* tidy
2024-07-01 15:00:06 -05:00
Adela Almasan
78f9c0fd41
Table: Filter hidden fields for text wrapping ( #89800 )
2024-07-01 22:01:19 +03:00
Yuri Tseretyan
655e477c20
Alerting: Fix flaky test in scheduler's tests ( #89923 )
2024-07-01 13:31:03 -04:00
Santiago
fce03cd724
Alerting: Send static headers to the remote Alertmanager ( #89846 )
2024-07-01 17:48:40 +02:00
Sonia Aguilar
579250a89a
Alerting: Show Insights page only on cloud (when required ds's are available) ( #89679 )
...
* Show Insights page only on cloud (when required ds's are available)
* fix typo
* remove unnecessary export
2024-07-01 17:44:33 +02:00
Todd Treece
9c6d3590a2
Chore: Fix apiserver circular dependencies ( #89918 )
2024-07-01 11:42:34 -04:00
Michael Mandrus
6761ed863f
CloudMigrations: Add ordering to snapshot list query ( #89916 )
...
add ordering to snapshot list
2024-07-01 11:35:04 -04:00
Sonia Aguilar
86466aec61
Gops: Update texts in main irm page ( #89810 )
...
Update texts in main irm page
2024-07-01 17:00:40 +02:00
Yuri Tseretyan
559738ce6a
Alerting: Fix flaky test in historian ( #89913 )
2024-07-01 16:59:06 +03:00
Gabriel MABILLE
71d31397e5
Fix flaky tests ( #89910 )
2024-07-01 14:39:51 +02:00
Juan Cabanas
751e6739f3
ShareDrawer: Add menu item click tracking ( #89860 )
2024-07-01 09:01:14 -03:00
Alex Khomenko
852d032e1a
App events: Add "info" variant ( #89903 )
...
* App events: Add info notification type
* Add info hook
* Revert state
* Use info alert
2024-07-01 14:28:49 +03:00
Bogdan Matei
4c9fef6183
Scopes: Persist selected scopes when searching ( #89758 )
2024-07-01 13:46:45 +03:00
Ashley Harrison
c0058f9c7e
Page: Add bodyScrolling feature toggle ( #89895 )
...
add bodyScrolling feature toggle
2024-07-01 11:28:39 +01:00
Pepe Cano
c168f2acec
Alerting docs: Update View alert groups ( #89461 )
...
* Alerting docs: Update `View alert groups`
Rename to `View the status of notifications` and extend on this topic
* Update docs/sources/alerting/manage-notifications/view-alert-groups.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/manage-notifications/view-alert-groups.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/manage-notifications/view-alert-groups.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Use `1` always for numbered list
* refer to `grouping settings of notification policies`
* Update `View notification errors` with latest instructions
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-07-01 11:35:12 +02:00
Andres Martinez Gotor
a22c1ae424
Chore: Remove provisional APIVersion from plugin info ( #89831 )
2024-07-01 10:53:16 +02:00
Andres Martinez Gotor
55ba32bda7
Bugfix: Fix Testdata CSV empty scenario ( #89890 )
2024-07-01 10:39:43 +02:00
Andres Martinez Gotor
569853278b
Adapt docs/sources/developers/plugins/plugin.schema.json codeowners ( #89832 )
2024-07-01 09:31:05 +02:00
Sebastian Hiebl
8008bcd003
TimeSeries: Expose option for "Bar width factor" ( #77338 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-06-28 18:13:34 -05:00
Leon Sorokin
c2cd32ab64
Table: Don't error if first frame is field-less (empty response) ( #89867 )
2024-06-28 02:58:49 +03:00
Simon Podlipsky
b7d5587018
Dockerfile: Fix go deps ( #89857 )
...
Add missing deps
2024-06-27 17:53:43 -04:00
Adela Almasan
ad2b5a02a1
VizTooltip: Hide tooltip options from when tooltip is hidden ( #89864 )
2024-06-28 00:49:20 +03:00
Isabel Matwawana
3edca2e2fd
Docs: Add tooltip options to histogram v11.2 ( #89863 )
...
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com >
2024-06-27 17:16:57 -04:00
Nathan Marrs
f26bec40e5
Chore: Lint json files in .github directory ( #89861 )
2024-06-27 23:43:10 +03:00
Nathan Marrs
0ea66b8155
Chore: Update DataViz github automation ( #89852 )
2024-06-27 15:22:15 -05:00
Lucy Chen
8b35ce6129
ShareModal: Export options (JSON) ( #87082 )
...
* Adding new export button
* Create Export as JSON drawer
* update scene drawer and add css
* update css
* Update ExportAsJson to be regular react component
* add tests to export menu and button
* add tests
* prettier and lint
* fix translations
* update translation
* Apply suggestions from code review
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com >
* delete extra file
* Update to use SceneObject
* add spinner
* Rename ExportAsJSON.tsx to ExportAsJson.tsx
* update i18n
* Upate texts
* small fixes from code review
* add space
* i18n
* fix build issues
* changes from review feedback
* update test
* update test
---------
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com >
2024-06-27 15:36:23 -04:00
Juan Cabanas
1e7cd9e9ec
ShareDrawer: Schedule Report ( #89802 )
2024-06-27 14:30:33 -03:00
linoman
d497e641db
SAML: Add Azure AD configuration for SAML integration ( #89767 )
...
* Add Azure AD configuration for SAML integration
2024-06-27 18:29:16 +02:00
Ashley Harrison
e87646eeb6
Storybook: Add basic e2e verification test ( #89779 )
...
* add very basic tests to verify storybook builds correctly
* add storybook step to drone
* reorder steps
* drone tweaks
* don't need host since it's set in env
* don't need to wait
* format build.star and readd wait
* install netcat in CI
* do a yarn install here to get correct bindings
* refactoring to hopefully work better in CI
* add wait-on
* add verbose logging
* localhost?
* more logging
* specify storybook host
* ...
* back to grafana-server
* does this work? 🤔
* run storybook e2e test after rgm-package so the backround process is running for less time
* split into separate step
* format
2024-06-27 16:43:43 +01:00
Ivan Ortega Alba
895baa95a0
VizPanelManager: Adapt color palete after plugin change ( #89790 )
...
* VizPanelManager: Adapt color palete after plugin change
* Upgrade scenes
* Remove broken code
* Upgrade scenes version
* linter
2024-06-27 17:26:38 +02:00
Ida Štambuk
ba5b33227c
Cloudwatch: Round up endTime in GetMetricData to next minute ( #89341 )
...
* Add cloudWatchRoundUpEndTime feature toggle
2024-06-27 17:10:28 +02:00
Kristina
0aaf820fd9
Explore / Query Library : Show user data ( #88258 )
...
* Add basic button for adding a query template
* Add hook to create a template
* Handle notifications
* Add tags to invalidate cache
* Generate translations
* Updates types
* Add tests
* Simplify code
* Add user to type
* Add a better default title
* bring in piotrs pr and try to add user data
* Move out of metadata (reserved in k8s) and make new values exportable
* Show user data
* Fix bad merge
* WIP
* Add annotation data to FE
* add (failing) test
* Fix types and test
* Cleanup
* Enhance user data and send to component for display
* Fix type
* Fix expected values
* fix betterer
* Fix test
* Remove user lookup
* testing slug usage for api
* Revert "testing slug usage for api"
This reverts commit cc4556c3b7 .
* change types, display userid if login isnt returned
* Simply display whatever is in property
* skip test on removed logic
* Try waiting for query to finish before eval
* Revert "Try waiting for query to finish before eval"
This reverts commit 6220cabd17 .
* Handle attribute not existing when storage type is file
---------
Co-authored-by: Piotr Jamroz <pm.jamroz@gmail.com >
2024-06-27 09:46:49 -05:00
dependabot[bot]
0c256be7c1
Chore(deps): Bump github.com/alicebob/miniredis/v2 from 2.30.1 to 2.33.0 ( #88588 )
...
Bumps [github.com/alicebob/miniredis/v2](https://github.com/alicebob/miniredis ) from 2.30.1 to 2.33.0.
- [Release notes](https://github.com/alicebob/miniredis/releases )
- [Changelog](https://github.com/alicebob/miniredis/blob/master/CHANGELOG.md )
- [Commits](https://github.com/alicebob/miniredis/compare/v2.30.1...v2.33.0 )
---
updated-dependencies:
- dependency-name: github.com/alicebob/miniredis/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-27 17:43:59 +03:00
kay delaney
2e0175c3eb
Dashboards: Change datemath parse logic so parsed dates always take timezone into account ( #88182 )
...
* Dashboards: Change datemath parse logic so parsed dates always take timezone into account
2024-06-27 16:17:21 +03:00
Sonia Aguilar
0285278cfc
Alerting: Use runtime data source for getting events from alert state history in the bar chart ( #89307 )
...
* Use runtime data source for getting events from alert state history in the bar chart
* extract translations
* refactor
* More refactor
* Update events limit
* Add info icon with tooltip info for label querying filter
* Add translations
* Create new useRuleHistoryRecords hook skipping extraction of common labels as they are not used
* Fix test
* update limit value for the events in the api to 5000
* Use state for rows key
* remove React import
* Address review comments
* Address review comments
* run prettier
* Remove duplicated handlers
2024-06-27 14:00:42 +02:00
Laura Benz
c9a5ee616e
RestoreDashboards: Add search ( #89692 )
...
* feat: add search
* feat: run i18n extraction
* refactor: styling issue for smaller screen sizes
2024-06-27 14:00:12 +02:00
Alexander Zobnin
190892bc88
Zanzana: Initial schema loading ( #89492 )
...
* Zanzana: Dummy schema loading
* Load authorzation model for client
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2024-06-27 13:57:06 +02:00
ismail simsek
8f2daacf78
Chore: Remove CancelablePromise ( #89564 )
...
* Remove CancelablePromise.ts as it wasn't used in anywhere
* Move cancelable-promise to the place where it is used
2024-06-27 13:33:35 +02:00
Jack Westbrook
56fb1234f6
Grafana/data: Remove barrel files part 1 ( #89556 )
...
* chore(grafana-data): remove dataframe barrel file and update all imports and exports
* chore(grafana-data): remove field barrel file and update imports n exports
* chore(grafana-data): remove utils barrel file and update imports and exports
* chore(grafana-data): remove tranformations barrel file and update imports n exports
* chore(grafana-data): remove imports from root index.ts
* chore(grafana-data): remove valueFormats barrel file and update imports n exports
* chore(grafana-data): don't import from root barrel file
2024-06-27 12:42:42 +02:00
Ashley Harrison
89fe64f900
Keybinds E2E: simplify keybinds e2e even further ( #89819 )
...
simplify keybinds e2e even further
2024-06-27 13:15:15 +03:00
AHeinlein
a15a206e9c
Docs: Update LDAP doc for debug view ( #89522 )
...
Update LDAP doc
LDAP debug view does not work with single bind since there is no way to bind to the LDAP server and perform the search.
2024-06-27 10:07:30 +00:00
Tom Ratcliffe
86d41b1e23
Alerting: Update warning message for Telegram parse_mode and default to empty value ( #89630 )
2024-06-27 10:33:40 +01:00
Sergej-Vlasov
8e1c4919c7
DashboardScenes: Disable flaky new-datasource-variable e2e test ( #89817 )
...
disable flaky new-datasource-variable e2e test
2024-06-27 12:06:07 +03:00
brendamuir
f833b782b6
Alerting docs: adds silence RBAC 11.1 ( #89176 )
...
* Alerting docs: adds silence RBAC 11.1
* ran prettier
* Improve docs with new rule-specific silence RBAC information
* Apply suggestions from code review
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Apply suggestions from code review
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* prettier
---------
Co-authored-by: Matt Jacobson <matthew.jacobson@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-06-27 10:10:34 +02:00
Alexander Akhmetov
68691c9386
Alerting: Add setting for maximum allowed rule evaluation results ( #89468 )
...
* Alerting: Add setting for maximum allowed rule evaluation results
Added a new configuration setting `quota.alerting_rule_evaluation_results` to set the maximum number of alert rule evaluation results per rule. If the limit is exceeded, the evaluation will result in an error.
2024-06-27 09:45:15 +02:00
Dominik Prokop
be1414b36b
Dashboards: Remove scenes feature toggle ( #89771 )
2024-06-27 09:03:46 +02:00
Alex Khomenko
9056ff73f6
TimeRangePicker: Use week start ( #89765 )
2024-06-27 07:53:46 +03:00
Jeff Levin
ed13959e33
Optimize memory allocations in permissions cache ( #89645 )
...
This PR reduces the number of allocations made while caching permissions from the database, fixes the hierarchy of spans and adds new spans for tracing.
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-26 23:03:13 +03:00
Andreas Zilly
f894c22b21
Chore: Add missing build elements to Dockerfile ( #89714 )
...
Several go.* files that are referenced in go.work were missing in Dockerfile.
2024-06-26 15:22:37 -04:00
Matthew Jacobson
e121e2609f
Alerting: Receiver API ( #89707 )
2024-06-26 20:03:25 +03:00
Kyle Cunningham
c575c06d63
Table Panel: Fix Image hover without datalinks ( #89751 )
...
* Fix image hover
* Prettier
* Fix height offset
2024-06-26 23:12:44 +07:00
Isabella Siu
3ac109e759
AWS: Update deprecated aws-sdk functions from env variable versions ( #89643 )
2024-06-26 11:56:39 -04:00
Jack Westbrook
40207c53ae
Plugins: Expose functions to plugins for checking RBAC permissions ( #89047 )
...
* feat(grafana-data): create rbac functions for checking permissions
* feat(grafana-runtime): pass current user to runtime
* feat(grafana-runtime): expose rbac functions to check permissions against current user
* refactor(contextsrv): use functions from grafana/data to check rbac permissions against user
* Apply suggestions from code review
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
* chore(rbac): fix missing types imports
* refactor(rbac): make exposed functions return boolean
---------
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
2024-06-26 17:29:17 +02:00
Karl Persson
7f4faaa45b
ExtJWT: Remove test ( #89665 )
...
Remove test
2024-06-26 17:25:26 +02:00
Juan Cabanas
e6e163eaf5
ShareDrawer: Share Snapshot menu item condition ( #89733 )
2024-06-26 12:06:10 -03:00
Yuri Tseretyan
06d5850396
Alerting: Update alerting state history API to authorize access using RBAC ( #89579 )
...
* add method CanReadAllRules to rule authorization service
* add alias type Namespace for Folder in ngalert's models package. It implements the Namespacer interface that is used by authz logic
* update state history's backends to authorize access to rules.
* update Loki to add folders UIDs to query.
* Update BuildLogQuery to drop filter by folders if it's too long and fall back to in-memory filtering.
2024-06-26 10:25:37 -04:00
Kevin Minehart
16b050f676
CI: fix release comms workflow ( #89744 )
...
* add runs-on key
* remove unneeded env key
* use more specific quotes in commands
* fix block syntax
* fix workflow dispatch event check
2024-06-26 17:21:10 +03:00
Sergej-Vlasov
3056e8310b
DashboardScenes: Skip flaky scenes E2E tests ( #89769 )
...
skip flaky tests
2024-06-26 17:06:35 +03:00
Juan Cabanas
ba4f2713c5
Sharing: Change code ownership ( #89732 )
2024-06-26 09:16:13 -03:00
Santiago
fe1309dd96
Alerting: Send external URL to the remote Alertmanager ( #89701 )
...
* Alerting: Send external URL to the remote Alertmanager
* test that the URL is sent to the remote Alertmanager
* AppURL -> ExternalURL
2024-06-26 14:02:02 +02:00
Ryan McKinley
3db4e5a0c6
K8s: remove dashboard summary abstraction ( #89761 )
2024-06-26 15:00:24 +03:00
Ezequiel Victorero
fb15d681a1
PublicDashboards: Update data sources supported list ( #89704 )
...
PublicDashboards: Update datasources compatibility list
2024-06-26 08:44:05 -03:00
Bogdan Matei
68a5bf3c18
Scopes: Allow node title to expand the container ( #89682 )
2024-06-26 14:41:38 +03:00
Josh Hunt
5fdbafdc45
E2C: New onprem empty state ( #89628 )
...
* E2C: New onprem empty state
* fix test
2024-06-26 14:30:02 +03:00
Ashley Harrison
d3dda4ca89
Storybook: Use new JSX runtime ( #89768 )
...
use new jsx runtime in storybook
2024-06-26 12:14:11 +01:00
Bogdan Matei
95a8fc1dd7
Scopes: Implement message for when there are no dashboards found ( #89675 )
2024-06-26 14:10:38 +03:00
Bogdan Matei
9770ebcd6c
Scopes: Open the selector to a selected scope ( #89686 )
2024-06-26 13:46:44 +03:00
Ryan McKinley
529d4e1169
Dashboards: Use dashboard_api k8s wrapper for save options also ( #89598 )
2024-06-26 13:35:04 +03:00
Bogdan Matei
1040dc1baf
Scopes: Implement clear search for nodes ( #89678 )
2024-06-26 13:18:50 +03:00
Ashley Harrison
54cfae8fef
Chore: Simplify keybinds e2e test ( #89760 )
...
simplify keybinds e2e test
2024-06-26 10:37:33 +01:00
kay delaney
be2aa9a3a7
Scenes: Implement 't a' shortcut ( #89619 )
2024-06-26 10:10:00 +01:00
Ashley Harrison
7b0362b228
Drawer: Improve performance when resizing ( #89691 )
...
apply dynamic styles as styles instead of emotion classes
2024-06-26 09:37:17 +01:00
Nihal
b1ce7e8a83
Alerting: Reduce cyclomatic complexity of PrepareRuleGroupStatuses ( #89649 )
...
* reduce cyclomatic complexity of PrepareRuleGroupStatuses. see https://github.com/grafana/grafana/issues/88670
Signed-off-by: Syed Nihal <syed.nihal@nokia.com >
* reduce cyclomatic complexity for PrepareRuleGroupStatuses in pkg/services/ngalert/api/api_prometheus.go
Signed-off-by: Syed Nihal <syed.nihal@nokia.com >
* reduce cyclomatic complexity for PrepareRuleGroupStatuses in pkg/services/ngalert/api/api_prometheus.go
Signed-off-by: Syed Nihal <syed.nihal@nokia.com >
---------
Signed-off-by: Syed Nihal <syed.nihal@nokia.com >
2024-06-26 10:21:37 +02:00
Leonor Oliveira
2645958c8c
Use global function to compare any entity to both stores ( #89282 )
...
* WIP implement generic compare interface
* Use global compare fn for all entities
* Lint
* Update pkg/apiserver/rest/dualwriter.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Don't need to hash, just compare bytes
* Fix tests
---------
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-06-26 10:19:40 +02:00
Ryan McKinley
4651506319
K8s/Dashboards: Replace multiple calls with a single endpoint ( #89639 )
2024-06-26 07:27:52 +03:00
Kevin Minehart
3ede2dba24
CI: add release comms workflow ( #89718 )
...
* add release comms workflow
* add version input
* Add release-comms workflow to CODEOWNERS
2024-06-25 16:37:38 -05:00
grafana-delivery-bot[bot]
3e6d073140
Changelog: Updated changelog for 10.3.7 ( #89728 )
...
Co-authored-by: grafanabot <bot@grafana.com >
2024-06-25 17:11:40 -04:00
Juan Cabanas
0d276fe7b1
Share Externally: Texts modification ( #89640 )
2024-06-25 17:52:41 -03:00
grafana-delivery-bot[bot]
2fb7b18ead
Changelog: Updated changelog for 10.2.8 ( #89725 )
...
Co-authored-by: grafanabot <bot@grafana.com >
2024-06-25 16:46:38 -04:00
Joseph Perez
d49a3e98dc
Docs: Edit of 3 files in backend contributor guide (part 6 of doc quality improvement project) ( #89582 )
...
* Docs: edit of 3 files in backend contributor guide
* Update contribute/backend/database.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Fix from review
* Update contribute/backend/database.md
* Update contribute/backend/errors.md
* Update contribute/backend/errors.md
* Fix header levels
* Style edits
* Prettier fixes
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-06-25 12:28:22 -07:00
grafana-delivery-bot[bot]
594deb2cbe
Changelog: Updated changelog for 9.5.20 ( #89721 )
...
Co-authored-by: grafanabot <bot@grafana.com >
2024-06-25 15:25:28 -04:00
Mitch Seaman
d610bdf25d
advertise RBAC for silences better ( #89644 )
2024-06-25 15:08:42 -04:00
Kevin Minehart
8f9d2eba69
CI: Don't use slim image for bump-version ( #89689 )
...
don't use slim image
2024-06-25 14:03:30 -05:00
Isabel Matwawana
920c9bb771
Docs: Add release stage note to text wrapping ( #89716 )
2024-06-25 18:38:27 +00:00
Mitch Seaman
a7499c1dde
Docs: Add more info and link to text wrap content ( #89625 )
...
* Remove duplicate Wrap Text docs
Remove duplicate line and refer to field overrides
* Updated link formatting
* Fixed heading level
* Removed H4 wrap text heading
* Light restructuring to add heading for wrap text
* Removed unnecessary section
* Added release stage note
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-06-25 18:27:55 +00:00
Matthew Jacobson
83d05ea777
Alerting: Fix broken state tests ( #89712 )
2024-06-25 14:19:46 -04:00
Isabel Matwawana
3a055735dd
Docs: Add youtube links to What's new 11.1 ( #89694 )
2024-06-25 14:04:59 -04:00
Nathan Marrs
a095276753
Canvas: Fix off center element item in editor list ( #89577 )
2024-06-25 10:04:39 -07:00
Matthew Jacobson
47c9259d75
Alerting: Ensure we update State.LastSentAt before persisting ( #89427 )
2024-06-25 13:01:26 -04:00
Leon Sorokin
0f01db4025
VizTooltip: Keep visible while hovering during data updates ( #89708 )
2024-06-25 20:00:47 +03:00
ismail simsek
1ebc610064
Chore: Update github addToProject commands for influxdb, graphite, opentsdb ( #89700 )
...
revert unrelated changes
2024-06-25 19:29:50 +03:00
antonio
891cc0512f
alerting: teams contact point + updates ( #89695 )
...
* alerting: teams contact point + updates
* typo
* all pretty no pity
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-email.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-email.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-slack.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-slack.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-slack.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/pager-duty.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/webhook-notifier.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/webhook-notifier.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/webhook-notifier.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* formatting
* formatting
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-06-25 17:52:53 +02:00
Jake Leahy
2bd95b2eb5
Prometheus: Fix quote stripping in parser ( #87675 )
...
* Prometheus: Fix quote stripping in parser
Currently only double quotes are stripped from the end, while single quotes are left. Moreover, double quotes are stripped even when part of the value
* Prometheus: Double escape the string, apply linting fixes for files that I touched
2024-06-25 17:39:32 +02:00
Bogdan Matei
0ea2d6972f
Scopes: Allow navigating to inner containers ( #89676 )
...
Scopes: Allow navigating to inner levels after selecting a scope
2024-06-25 18:31:31 +03:00
Laura Fernández
a3879e02bb
RestoreDashboards: Create FE feature toggle ( #89655 )
2024-06-25 16:43:13 +02:00
ismail simsek
a3a6d01529
Update codeowners ( #89672 )
...
* Update codeowners of /public/app/features/trails/
* revert unrelated changes
2024-06-25 16:39:30 +02:00
Ashley Harrison
7b88de9946
Chore: Move font-awesome styles back to SCSS ( #89687 )
...
move font-awesome styles back to scss for performance reasons
2024-06-25 15:28:24 +01:00
William Wernert
fcfa89f864
Alerting: Implement Prometheus remote write for recording rules ( #89189 )
...
* Fix timestamp recorded by rule
* Implement prometheus remote write
* Create http client instead of transport
* Address PR comments
* Remove status code label
2024-06-25 17:23:42 +03:00
Bogdan Matei
e4b9f356bc
Scopes: Implement radio buttons for containers with single node selection ( #89674 )
2024-06-25 17:10:36 +03:00
Todd Treece
71270f3203
Storage: Avoid relying on RequestInfo ( #89635 )
2024-06-25 10:06:03 -04:00
Isabel Matwawana
4cf3ebbb3d
Docs: Manage playlists updates ( #89573 )
...
* Made updates to add dashboard controls changes; also fixed styling issues and consolidated some tasks
* Made minor edits
* Committed suggestion from review
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com >
* Update docs/sources/dashboards/create-manage-playlists/index.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
---------
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com >
2024-06-25 13:51:39 +00:00
Yuri Tseretyan
4a5aab54a5
Alerting: Add max limit for Loki query size in state history API ( #89646 )
...
* add setting for query limit
* update BuildLogQuery to return error if limit is exceeded
* move tests for BuildLogQuery to separate suite
2024-06-25 09:20:38 -04:00
Kristin Laemmert
9a3477dd11
Chore: removing (more) redundant transactions ( #89373 )
...
* remove redundant transactions from single-statement sql methods
2024-06-25 09:19:49 -04:00
Joey
66dc20f46f
Tempo: Upgrade interpolation for Tempo ( #89664 )
...
Upgrade interpolation for Tempo
2024-06-25 14:06:51 +01:00
Laura Benz
5da94bb669
RestoreDashboards: Add an empty state ( #89662 )
...
* feat: add empty state
* fix: flickering
* Update public/app/features/browse-dashboards/RecentlyDeletedPage.tsx
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
---------
Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com >
2024-06-25 16:04:20 +03:00
grafana-delivery-bot[bot]
13a4a46cc1
Changelog: Updated changelog for 10.4.5 ( #89681 )
...
Co-authored-by: grafanabot <bot@grafana.com >
2024-06-25 12:24:15 +00:00
Bogdan Matei
09ec999862
Scopes: Implement clear search for dashboards list ( #89657 )
2024-06-25 15:22:02 +03:00
Ivan Ortega Alba
6773f7f4ce
Scenes: Repeat horizontally set the width to 24 even if repeat variable is not set ( #89658 )
2024-06-25 14:10:00 +02:00
Javier Ruiz
df4b280134
Trace View: Add Session for this span button ( #89656 )
...
* Add ability to show Session for this span button in trace view
* Add session link when fe o11y ids are available
* Add tests for creating session links
* Also check for session id written following otel semantic convention
2024-06-25 13:48:06 +02:00
Chris Hodges
0759c98504
Tempo: Fix user facing typo in pipeline operator error message ( #89638 )
...
Tempo: Fix user facing typo in TraceQL pipeline operator error message
2024-06-25 12:45:16 +01:00
Ashley Harrison
47f8717149
React: Use new JSX transform ( #88802 )
...
* update eslint, tsconfig + esbuild to handle new jsx transform
* remove thing that breaks the new jsx transform
* remove react imports
* adjust grafana-icons build
* is this the correct syntax?
* try this
* well this was much easier than expected...
* change grafana-plugin-configs webpack config
* fixes
* fix lockfile
* fix 2 more violations
* use path.resolve instead of require.resolve
* remove react import
* fix react imports
* more fixes
* remove React import
* remove import React from docs
* remove another react import
2024-06-25 12:43:47 +01:00
Beto Muniz
d7c33db7db
GOps: Add Grafana SLO steps to IRM configuration tracker ( #88098 )
2024-06-25 08:39:03 -03:00
Alex Khomenko
a9aba2b42f
TimeRangePicker: Add weekStart prop ( #89650 )
...
* TimeRangePicker: Add weekStart prop
* Set week start from config
* Use week start from dashboard
* Revert
* Add comment
* Tweak comment
* Add WeekStart type
2024-06-25 14:22:55 +03:00
Gilles De Mey
87b8da1719
Alerting: Limit instances on alert detail view unless in instances tab ( #89368 )
2024-06-25 13:19:43 +02:00
Ashley Harrison
b59ebf85bc
Chore: Attempt to make keybinds e2e test more stable ( #89663 )
...
* attempt to make test more stable
* split everything instead
2024-06-25 12:18:45 +01:00
grafana-delivery-bot[bot]
a7dd94b788
Changelog: Updated changelog for 11.0.1 ( #89673 )
...
Co-authored-by: grafanabot <bot@grafana.com >
2024-06-25 12:58:04 +02:00
linoman
ccb22e5b24
SAML: graph api follow up ( #89389 )
...
* add new graph api variables to saml strategy
* add config variable
2024-06-25 12:19:47 +02:00
grafana-delivery-bot[bot]
91628158f2
Changelog: Updated changelog for 11.1.0 ( #89659 )
...
* Changelog: Updated changelog for 11.1.0
* Linting
---------
Co-authored-by: grafanabot <bot@grafana.com >
Co-authored-by: Fabrizio <fabrizio.casati@grafana.com >
2024-06-25 11:36:54 +02:00
Dominik Prokop
216ec7cbdf
Scopes: Fix free text input crash ( #89652 )
2024-06-25 12:18:30 +03:00
Karl Persson
eea7319a67
Zanzana: sqlite data store ( #89486 )
...
* Zanzana: Add sqlite3 store
* Zanzana: Initilize sqlite store with migrations
2024-06-25 09:52:33 +02:00
Laura Fernández
fd96edaef7
POC: Disable ConfirmButton ( #89539 )
2024-06-25 09:42:18 +02:00
Alexander Akhmetov
2035814059
Alerting: fix updating error in the alert rule state during error to error transitions and restarts ( #89557 )
...
Alerting: fix preserving errors in the alert rule state during error to error transitions
Alert state transition from one error to another did not update state.Error correctly.
The error in state.Error remained as the initial error encountered.
This led to another issue, where after a Grafana restart, the error was lost because
the state of the alert rule did not change, but the Error is not preserved in the database
between restarts.
This could happen if the expression service returned an error or the alert routine panicked
during querying.
2024-06-25 09:42:00 +02:00
brendamuir
3a29f68d0c
Alerting docs: vale fixes ( #89604 )
...
* Alerting docs: vale fixes
* fix numbering
* Alerting docs: monitor errors
* takes out will
* Update docs/sources/alerting/configure-notifications/template-notifications/images-in-notifications.md
* Update docs/sources/alerting/configure-notifications/template-notifications/images-in-notifications.md
* Update docs/sources/alerting/configure-notifications/template-notifications/images-in-notifications.md
* Update docs/sources/alerting/configure-notifications/template-notifications/images-in-notifications.md
* Update docs/sources/alerting/configure-notifications/template-notifications/images-in-notifications.md
2024-06-25 08:14:16 +02:00
Michael Mandrus
4d69213829
CloudMigrations: Break snapshot resources out into their own table ( #89575 )
...
* create a new table for migration resources
* remove raw result bytes from db
* more snapshot resource management stuff
* integrate new table with snapshots
* pass in result limit and offset as params
* combine create and update
* set up xorm store test
* add unit tests
* save some cpu
* remove unneeded arg
* regen swagger
* fix bug with result processing
* fix update create logic so that uid isn't required for lookup
* change offset to page
* regen swagger
* revert accidental changes to file
* curl command page should be 1 indexed
2024-06-24 23:50:07 -04:00
Isabel Matwawana
dfee2720cc
Docs: What’s new & Upgrade guide v11.1 ( #89075 )
...
Co-authored-by: Mitch Seaman <mjseaman@users.noreply.github.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-06-24 16:38:41 -04:00
Juan Cabanas
d07dc3bf40
ShareDrawer: Share Internally ( #89315 )
2024-06-24 16:31:42 -03:00
Chirag Gomber
ca1afff886
Chore: Remove deprecated Layout components ( #89376 )
...
* Removed depricated HorizontalLayout from PrometheusMetricsBrowser
* Removed commented import
* typo fix
* Removed depricated HorizontalLayout from RawInfluxQLEditor
* Replaced InlineFormLabel to InlineField in RawInlfuxEditor.tsx
* Removed depricated HorizontalLayout from GraphiteFunctionEditor
* Changed div to instead use stack
* Changed htmlFor attribute from selectElementId to aliasElementId
* Updated the betterer results
* Updated prettier write to the updated files
* Changed htmlFor label to fix the text
2024-06-24 20:59:41 +02:00
Kevin Minehart
07389d1030
CI: auto-milestone needs repo write access ( #89633 )
...
auto-milestone needs repo write access
2024-06-24 21:09:05 +03:00
Darren Janeczek
f5d9c247d9
fix: pyroscope datasource remove link extension ( #89512 )
...
It has been decided that we will not be using this moving forward.
2024-06-24 13:11:03 -04:00
Ashley Harrison
7d8afd9578
Tab: Improve accessible name ( #89602 )
...
* replace aria-label selector with data-testid
* fix unit tests
* fix e2e selectors
* fix last unit test
* fix e2e tests
* fix casing
* fix e2e test
* fix casing
2024-06-24 17:48:26 +01:00
Andrew Hackmann
5a8eff096a
Update CODEOWNERS ( #89629 )
...
* Update CODEOWNERS
Partner datasources taking over opentsdb, graphite, and influxdb
* updating backend and frontend code owner to partner
2024-06-24 11:40:49 -05:00
Ashley Harrison
1e51557edc
PageLoader: Fix scrollbar appearing on page loader ( #89627 )
...
fix scrollbar appearing on page loader
2024-06-24 19:26:50 +03:00
Haris Rozajac
e9ee65924b
Chore: Remove explore content outline feature toggle ( #89277 )
...
Remove explore content outline feature toggle
2024-06-24 09:45:42 -06:00
Isabel Matwawana
164bd86982
Docs: Edit mode updates 3 ( #89565 )
...
* Made edit mode updates in Manage library panels
* Made edit mode updates to Manage library panels
* Made edit mode updates to Inspect variables and fixed formatting
* Wording and formatting edits
* Added note about shortning process
* Reverted change to remove this file from the PR
* Made small fixes
* Fixed wording and formatting
2024-06-24 17:37:01 +02:00
Ryan McKinley
579bfa477e
K8s: improve frontend resource client ( #89621 )
2024-06-24 18:25:04 +03:00
Sergej-Vlasov
4e0c3555df
DashboardScene: Include scenes e2e in pr checks ( #89297 )
...
* adjust drone to run scenes e2e alongside
* adjust typo in scenes e2e folder name for consistency
* fix select options selector inssue with scenes bump
* skip tests in old arch that result in race conditions
* skip more flaky tests due to race conditions
* skip scenes e2e instead of old arch in case of race condition
* update to latest scenes version
* skip test due to race conditions
* skip flaky race condition test
* modify and sign drone pipeline
* remove unnecessary edits
* resolve merge conflicts and regenerate drone.yml
2024-06-24 17:57:50 +03:00
Christopher Lord
d701c181e1
chore: rename 'Incidents' sidebar to 'Incident' (the product name) ( #87396 )
...
* chore: rename 'Incidents' sidebar to 'Incident' (the product name)
* run make i18n-extract
2024-06-24 17:55:53 +03:00
Rajguru
1b2f110664
Users: Add config option to control how often last_seen is updated ( #88721 )
...
Users: Add config option to control how often last_seen is updated
Co-authored-by: Karl Persson <kalle.persson92@gmail.com >
2024-06-24 16:54:56 +02:00
Juan Cabanas
399651b9ad
ShareDrawer: Share snapshot ( #89195 )
2024-06-24 10:26:06 -03:00
ismail simsek
946545cfc5
Chore: Move LocalStorageValueProvider under @grafana/data pacakge ( #89580 )
...
Rehome LocalStorageValueProvider
2024-06-24 15:06:49 +02:00
Gilles De Mey
e84e0c9f08
Alerting: Make alert group editing safer ( #88627 )
2024-06-24 16:04:43 +03:00
Marcus Andersson
04f39457cf
Chore: Remove sensitive information from presigned URLs prior to logging ( #87035 )
...
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
Co-authored-by: Dan Cech <dcech@grafana.com >
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com >
2024-06-24 14:53:42 +02:00
Dominik Prokop
96fda0d6ea
NavToolbarActions: Make sure ToolbarActions are renrendered when needed ( #89615 )
2024-06-24 14:52:02 +02:00
Ashley Harrison
a89deaeb73
BrowseDashboards: Stop caching getAffectedItems ( #89609 )
...
stop caching getAffectedItems since alert rule/library panel creation isn't in rtkquery
2024-06-24 13:28:44 +01:00
antonio
6a68cc87a9
alerting tutorial fixes ( #89606 )
2024-06-24 13:01:14 +02:00
github-actions[bot]
78a85126f5
I18n: Download translations from Crowdin ( #89503 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-24 13:48:23 +03:00
Ashley Harrison
7939745411
Chore: SCSS cleanup ( #89563 )
...
* fix fonts loading from CDN
* migrate font-awesome styles to emotion globals
* fix font-awesome rendering
* remove storybook scss overrides
* fix storybook theme imports
2024-06-24 11:42:16 +01:00
Gábor Farkas
bcb23630d0
docs: update dashboard-variable docs ( #88824 )
...
* docs: update dashboard-variable docs
* better text
Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com >
* formatting fix
* fixed indentation
* more indent fixes
* better text
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* better text
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
---------
Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-06-24 12:40:08 +02:00
Alex Khomenko
c778b16570
i18n: Use generated token ( #89605 )
2024-06-24 13:32:23 +03:00
Josh Hunt
51afe257a3
CI: Run auto-milestone on pull_request_target for forks ( #89410 )
...
* CI: Run auto-milestone on pull_request_target for forks
* remove milestone check
2024-06-24 11:18:30 +01:00
Ieva
2bc75016da
Docs: fix a typo ( #89603 )
...
Fix a typo
2024-06-24 10:27:48 +01:00
Isabel Matwawana
c7ec41e8c5
Docs: Edit mode updates 4 ( #89581 )
...
* Replaced three screeshots
* Replaced grafana URIs with cloud ones
* Updated main screenshot and descriptions
* Updated descriptions and added links
2024-06-24 09:09:41 +02:00
Alex Khomenko
b971f94bb6
Announcement banner: Update docs ( #89599 )
...
* Announcement banner: Update docs
* Fix draft
2024-06-24 10:07:10 +03:00
Erik Sundell
fc17dc4d6a
Plugin E2E: Add alerting tests ( #88909 )
...
add alerting tests
2024-06-24 08:39:43 +02:00
pmo
baf2e4d43c
Fix typo in API key ( #89568 )
2024-06-23 21:58:59 +01:00
Gilles De Mey
c0641a0ca6
Devenv: Allow configuring alertmanager config for prometheus docker block ( #89558 )
2024-06-22 11:20:51 +00:00
Jean-Philippe Quéméner
bc43078320
fix(grafana-apps): copy namespace from connect ctx ( #89569 )
2024-06-21 20:05:55 +03:00
Leonor Oliveira
e216de56e6
Unified Storage: Always populate RV and UID on create ( #89554 )
2024-06-21 17:37:53 +01:00
ismail simsek
dd15c825f0
Chore: Export SelectMenuOptions ( #89546 )
...
export SelectMenuOptions
2024-06-21 17:00:07 +02:00
Alexa V
7feea32602
DashboardScene: Fix dashboard clear when row repeating with non-existing variable ( #89559 )
...
---------
Co-authored-by: Sergej-Vlasov <sergej.s.vlasov@gmail.com >
2024-06-21 17:59:38 +03:00
Isabel Matwawana
b62f8c0f19
Docs: Edit mode updates 2 ( #89520 )
2024-06-21 10:02:16 -04:00
Jack Westbrook
af9538ce55
Chore: Remove yarn@1 and @types/add from package.json ( #89535 )
...
chore(npm): remove unused yarn@1.x and @types/add from root package.json
2024-06-21 13:54:35 +00:00
Ashley Harrison
3c15781788
Panel: Fix text aliasing bug when panel is loading ( #89538 )
...
* place loading bar animation in its own stacking context to prevent aliasing of text
* add comment
2024-06-21 14:40:51 +01:00
Michael Mandrus
89337ea01f
CloudMigrations: Add unit tests for snapshot management ( #89521 )
...
* add regex support for api tests
* revert dumb thing
* add api tests
* add unit test for core async workflow
* add xorm store unit tests
* fix typo
* remove unnecessary assignment
2024-06-21 16:35:15 +03:00
Ryan McKinley
70cd002826
Storage: Make entity to runtime.Object conversion public ( #89549 )
...
* make conversion public
* make conversion public
2024-06-21 16:28:09 +03:00
Kim Nylander
9f04b6d6a8
Add note for streaming TraceQL results for GET and/or Tempo setups using intermediary proxies ( #89251 )
...
Co-authored-by: Jennifer Villa <jvilla2013@gmail.com >
2024-06-21 09:12:08 -04:00
Mihai Doarna
02b0b7af16
SSO: Add basic validation rules for LDAP settings ( #89548 )
...
add basic validation rules for LDAP settings
2024-06-21 15:48:19 +03:00
Kristin Laemmert
ab5a079bcc
Fix: add mapping for the new mysqlRepl driver ( #89551 )
2024-06-21 08:35:46 -04:00
Misi
4be92ed111
Docs: Improve Okta docs ( #89453 )
...
* Improve Okta docs
* Update docs/sources/setup-grafana/configure-security/configure-authentication/okta/index.md
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-06-21 13:25:11 +02:00
Ivan Ortega Alba
aea894191b
Home: Remove extra padding for dashboard home ( #89432 )
2024-06-21 13:16:16 +02:00
Josh Hunt
06a1e8e22b
RecentlyDeleted: Update Search table for deleted items ( #89311 )
...
* RecentlyDeleted: Show hard delete date
* format date
* don't crash when <60 minutes
* tooltip
* reimplement course duration
* oops fixed missed units
* cleanup
2024-06-21 13:58:28 +03:00
ismail simsek
957957e62a
Chore: Move amendTimeSeries in @grafana/data package ( #89456 )
...
* move amendTimeSeries in @grafana/data package
* betterer and prettier
2024-06-21 13:39:42 +03:00
kay delaney
d750af0c48
Scenes: Unset _changesWorker when change tracker is terminated ( #89495 )
...
* Scenes: Unset _changesWorker when change tracker is terminated
Closes #89458
2024-06-21 13:18:52 +03:00
Jack Westbrook
e5474511d8
Plugins: Introduce magic modules to fe sandbox loader ( #89274 )
...
* feat(fe-sandbox): introduce module and exports magic modules to executed plugin code
* refactor(fe-sandbox): rename module and exports vars for clarity
2024-06-21 11:35:02 +02:00
Gabriel MABILLE
f0ff7d57b4
RBAC: Allow folders actions in plugins roles ( #89523 )
...
* Allow some additional core actions for plugins
* typo
* Test nit.
2024-06-21 12:08:30 +03:00
Ashley Harrison
be65aaf5dc
Chore: Clean up some more old SCSS ( #89404 )
...
* remove/migrate normalize.scss
* fix typo
* migrate _add_data_source styles
* migrate panel-header styles
* migrate slate styles to emotion globals
* put back a couple of classes used by external plugins
2024-06-21 10:03:57 +01:00
Ashley Harrison
8840471574
Internationalisation: Update docs with nested variable examples ( #89484 )
...
* update i18n docs to handle interpolating variables inside inner components
* update with wrapping component example
2024-06-21 09:48:40 +01:00
antonio
5e75c0d179
tutorials:alerting:get-started-p2 ( #89477 )
...
* tutorials:alerting:get-started-p2
* author,figures
* link, numbering, note
* fix,title
* Update docs/sources/tutorials/alerting-get-started-pt2/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started-pt2/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started-pt2/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* alt text
* Revert "alt text"
This reverts commit 511a946158 .
* alt-text-pt2
* all pretty no pity
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-06-21 08:40:49 +00:00
Jo
d972bdca08
Docs: Add fixed role UUIDs to docs for terraform provisioning ( #89457 )
...
* add role UUID to docs
* add table description and terraform hyperlink
2024-06-21 08:20:02 +00:00
Ryan McKinley
93ef90a1e4
K8s: remove (not great) example api ( #89524 )
2024-06-21 10:23:08 +03:00
Miklós Tolnai
f74afa5e7f
Codeowners: Remove @mikkancso from codeowners ( #89471 )
...
remove mikkancso from codeowners
2024-06-21 09:54:12 +03:00
Darren Janeczek
61a102274d
datatrails: only store bookmark state instead of the entire trail step history ( #86929 )
...
only store bookmark state instead of the entire step history
2024-06-20 22:13:51 -04:00
Jev Forsberg
491101bc8c
Automation: Verify release artifacts on grafana.com ( #89197 )
...
* baldm0mma/verify_release/ create verify_release_for_download function
* baldm0mma/verify_release/ add name, image, env
* baldm0mma/verify_release/ add initial commands
* baldm0mma/verify_release/ add deps?
* baldm0mma/verify_release/ update location
* baldm0mma/verify_release/ add anno to lib-star
* bald0mma/verify_release/ update func name to verify_grafanacom_step
* baldm0mma/verify_release/ add verify shell script
* baldm0mma/verify_release/ add script content, first attempt
* baldm0mma/verify_release/ add node image to verify_grafanacom_step
* baldm0mma/verify_release/ add gcom secret note
* baldm0mma/verify_release/ add sudo to apt-get
* baldm0mma/verify_release/ add anno
* baldm0mma/verify_release/ add anno to secrets
* baldm0mma/verify_release/ update commands to reflect node env image
* baldm0mma/verify_release/ update annos
* baldm0mma/verify_release/ update tag variable
* baldm0mma/verify release/ add whitespace
* baldm0mma/verify_releases/ update with no bash loops
* baldm0mma/verify_release/ update exit logic
* baldm0mma/verify_release/ remove annos
* baldm0mma/verify_releasse/ resign and build yml
* baldm0mma/verify_release/ remove annos
* baldm0mma/verify_release/ update signature
* baldm0mma/verify_release/ download curl
* baldm0mma/verify_release/ remove temp key folder removal
* baldm0mma/verify_release/ account for artifact download time
* baldm0mma/verify_release/ add anno
* baldm0mma/verify_release/ update location
* baldm0mma/verify_release/ update script
* baldm0mma/verify_release/ make drone
* baldm0mma/verify_release/ update script for oss or ent
* baldm0mma/verify_release/ add promotion option
* baldm0mma/verify_release/ make drone
* Update scripts/drone/events/release.star
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
* Update scripts/drone/steps/lib.star
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
* Update scripts/drone/steps/lib.star
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
* baldm0mma/verify_release/ update drone
* Update scripts/drone/events/release.star
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
* baldm0mma/verify_release/ update drone
* Update scripts/drone/steps/lib.star
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
* baldm0mma/update drone
* baldm0mma/verify_release/ update path
* baldm0mma/verify_release/ make drone
* baldm0mma/update drone
* Apply suggestions from code review
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
* baldm0mma/verify_release/ update for loop to account for failure
* baldm0mma/verify_release/ make drone
* baldm0mma/verify_release/ make format-drone
* baldm0mma/verify_release/ rem unused var
---------
Co-authored-by: Kevin Minehart <5140827+kminehart@users.noreply.github.com >
2024-06-20 17:20:49 -06:00
Yuri Tseretyan
b075926202
Alerting: Time Intervals API ( #88201 )
...
* expose ngalert API to public
* add delete action to time-intervals
* introduce time-interval model generated by app-platform-sdk from CUE model the fields of the model are chosen to be compatible with the current model
* implement api server
* add feature flag alertingApiServer
---- Test Infra
* update helper to support creating custom users with enterprise permissions
* add generator for Interval model
2024-06-20 16:52:03 -04:00
Matthew Jacobson
3228b64fe6
Alerting: Resend resolved notifications for ResolvedRetention duration ( #88938 )
...
* Simple replace of State.Resolved with State.ResolvedAt
* Retain ResolvedAt time between Normal->Normal transition
* Introduce ResolvedRetention to keep sending recently resolved alerts
* Make ResolvedRetention configurable with resolved_alert_retention
* Tick-based LastSentAt for testing of ResendDelay and ResolvedRetention
* Do not reset ResolvedAt during Normal->Pending transition
Initially this was done to be inline with Prom ruler. However, Prom ruler
doesn't keep track of Inactive->Pending/Alerting using the same alert instance,
so it's more understandable that they choose not to retain ResolvedAt. In our
case, since we use the same cached instance to represent the transition, it
makes more sense to retain it.
This should help alleviate some odd situations where temporarily entering
Pending will stop future resolved notifications that would have happened
because of ResolvedRetention.
* Pointers for ResolvedAt & LastSentAt
To avoid awkward time.Time{}.Unix() defaults on persist
2024-06-20 16:33:03 -04:00
Kristina
3044319039
Explore: Allow Query Library drawer to delete queries ( #89343 )
...
* WIP
* WIP
* Add URL additions to query library API
* Add tag invalidation for refresh
* add styles
* Add verbiage from prototype
* Translations generation
2024-06-20 15:20:10 -05:00
Ryan McKinley
5e95c1bdf8
Storage: Move grpc helper from entity store to resource store ( #89490 )
2024-06-20 22:32:19 +03:00
Kristin Laemmert
d988f5c3b0
fix: sql instrumentation dual registration error ( #89508 )
...
fix dual registration error
2024-06-20 14:45:39 -04:00
Larissa Wandzura
880c180424
Docs: Fixed broken links on Prometheus data source page ( #89485 )
2024-06-20 21:30:28 +03:00
Kevin Minehart
78e9226ad8
CI: Add bump-version action to the release PR workflow ( #89491 )
2024-06-20 13:15:09 -05:00
William Wernert
c2c30c25ed
Notifications: Do not log email address in error message ( #89314 )
...
Do not log email address in error message
2024-06-20 12:52:44 -04:00
Laura Benz
7c868e9b52
RestoreDashboards: Create deletion process ( #89234 )
...
* feat: add button
* feat: add modal
* refactor: move component
* feat: add backend handling
* fix: opening the modal
* feat: adjust modal content
* feat: adjust old delete modal
* feat: add text to old delete modal
2024-06-20 18:18:11 +02:00
Bogdan Matei
543e71eb28
Scopes: Pass selected scopes to dashboard JSON fetching ( #89157 )
2024-06-20 18:49:19 +03:00
Tom Ratcliffe
c88de7f4d0
Alerting: Don't crash the page when trying to filter rules by regex ( #89466 )
2024-06-20 16:24:49 +01:00
Ryan McKinley
27e800768e
K8s: Improve identity mapping setup ( #89450 )
2024-06-20 17:53:07 +03:00
Andre Pereira
fc4a9904c9
Tempo: TraceQL metrics step option ( #89434 )
...
* Add step option for metric queries
* Add support for compare metric queries
* Remove unneeded line
* Delete step if it's not defined
2024-06-20 15:22:50 +01:00
Alex Khomenko
c8f18023d3
Announcement banner: Add docs ( #89455 )
...
* Announcement banner: Add docs
* Add draft state
2024-06-20 17:11:56 +03:00
Sonia Aguilar
ffe755f95d
Alerting: Add warning in telegram contact point ( #89397 )
...
* Add warning in telegram contact point
* Protect possible undefined in settings
* Address review comments
2024-06-20 17:00:57 +03:00
Isabel Matwawana
10b6011dd7
Docs: Edit mode updates ( #89438 )
2024-06-20 09:53:21 -04:00
Isabel Matwawana
13e069b5af
Docs: Fix broken link ( #89441 )
2024-06-20 09:52:31 -04:00
Tobias Skarhed
924a94cf80
New Select: Use virtual list ( #89290 )
...
* use react-virtual
* Render story with 100k items
* Dyanmic height and TanStack
* Remove weird item
* Add numberOfOptions to story
* Update class name
* Update class name
2024-06-20 16:51:17 +03:00
Ryan McKinley
6834038e91
Storage: Add new resource module and move some utilities ( #89443 )
2024-06-20 16:11:21 +03:00
Dave Henderson
1cc58d19f5
ci: Only run vuln scanner when Go deps are updated ( #89433 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-20 09:07:15 -04:00
Kristina
b7df121294
Explore: Change Logs.tsx to a functional component ( #87808 )
...
* First pass
* WIP
* why is my cpu angy
* Avoid triggering onHiddenSeriesChanged too often
onHiddenSeriesChanged should be called only when dataWithConfig changes, not when the callback changes itself.
This is actually causing an infinite loop because onHiddenSeriesChanged may not be memoized in the parent and passed as a new callback function on each render.
* fix tests
* Remove store mock and clear store between tests instead
* Fix filtering
* First pass adding callbacks and dependencies
* Add useRef hook for toggleLegend and topLogsRef
* Remove unwanted reactivity
register(...) changes outlineItems. A function that calls register(...) behaves like a setter for the state - it cannot react to the state itself.
* Separate unmount clean-ups
* Ensure unmount is not reactive to props
* Make memoized functions stats
* Wrap functions passed down to components with useCallback
* Fix reporting interaction when context is closed
* Adjust several variables to use refs
* Post-merge fixes
* Ensure scrollIntoView is called with a ref to the container
* Update docs
* Ensure scrollIntoView is updated only if the scroll element changes
* Fix the default pinned log tooltip
* Small clean up
* Remove console.log()
---------
Co-authored-by: Piotr Jamroz <pm.jamroz@gmail.com >
Co-authored-by: harisrozajac <haris.rozajac12@gmail.com >
2024-06-20 15:04:44 +02:00
ismail simsek
2a714601a7
Chore: Remove prometheusIncrementalQueryInstrumentation feature toggle ( #89463 )
...
* remove prometheusIncrementalQueryInstrumentation feature toggle
* remove profile method
* remove more about profiling
2024-06-20 15:04:22 +02:00
Timur Olzhabayev
78c8a26906
Chore: Adding build number to plugin schema ( #89464 )
...
adding build number
2024-06-20 13:51:51 +02:00
Andres Martinez Gotor
44fd13c742
Repurpose wrong datasource UID feature flag ( #89363 )
2024-06-20 12:56:39 +02:00
github-actions[bot]
bf3a383489
I18n: Download translations from Crowdin ( #89401 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-20 11:53:46 +01:00
renovate[bot]
52a824f4ed
Update dependency @grafana/scenes to v5.1.2 ( #89454 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-20 12:53:56 +03:00
Bogdan Matei
f04abb414d
Scopes: Fix preserving scopes when accessing a dashboard only by uid ( #89406 )
2024-06-20 11:49:23 +03:00
Alexander Zobnin
ba16c37126
Zanzana: Simple openfga client wrapper ( #89430 )
2024-06-20 10:37:16 +02:00
Tobias Skarhed
df987fe2e5
PanelChrome: Use labelledby for accessible title ( #88781 )
...
* Add labelledby to PanelChrome
* Fix React's subpar useId
* No labelledby if there is no title
2024-06-20 09:43:46 +02:00
Joey
76c1750d38
Tempo: Remove kind=server from metrics summary ( #89419 )
...
* Update query / messaging
* Update field
* Update test
2024-06-20 08:17:53 +01:00
Andres Martinez Gotor
5f44c97e5f
API Servers: Avoid crashing on panic ( #89281 )
2024-06-20 09:10:03 +02:00
Yuri Tseretyan
92f10b73a8
Alerting: Move interface Namespaced from accesscontrol to models package ( #89439 )
...
move Namespaced interface from accesscontrol to models
2024-06-19 16:18:33 -04:00
Kyle Cunningham
5d328983a1
Table: Don't wrap text labels for gauge cells ( #88005 )
...
Don't wrap text
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2024-06-19 19:12:11 +03:00
Victor Marin
13e16a4142
Transformations: Fix filter by value error on interpolation ( #89418 )
...
* string check before interpolation
* refactor
2024-06-19 18:16:04 +03:00
jvaelen
fa3679d29b
Docs: correct tracesToLogsV2 example span time shifts ( #88421 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-06-19 16:01:02 +01:00
Tobias Skarhed
4a74330a09
TimeRangePicker: Improve screen reader support ( #89409 )
...
* Aria-expanded and tabs
* Remove weird prop
* Remove unused import
* Fix padding
* Use useId
2024-06-19 16:45:05 +02:00
Gilles De Mey
781e394118
Alerting: Skip loading alert rules for dashboards when disabled ( #89361 )
2024-06-19 16:29:44 +02:00
Gilles De Mey
64e134c601
Alerting: Do not check evaluation interval for external rulers ( #89354 )
2024-06-19 16:28:46 +02:00
Gilles De Mey
86ac40418d
Alerting: Do not count rule health for totals ( #89349 )
2024-06-19 16:28:00 +02:00
Oleg Zaytsev
ef921fee3d
Document Unix ms format for time type parsing ( #89147 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-06-19 17:19:40 +03:00
Karl Persson
3fe29809be
Zanzana: database migrations ( #89390 )
...
* Zanana: Use grafana migrations to run openFGA migration files and initilize store.
* Add feature toggle
* Zanzana: return noop client if feature toggle is disabled
2024-06-19 15:59:47 +02:00
Ashley Harrison
e1be01f482
Chore: Fix drone build ( #89407 )
...
sign drone
2024-06-19 14:30:39 +01:00
Jo
bffe086cea
Update IAM for more fine grained mentions ( #89333 )
...
Update IAM for more fine grained mentions
2024-06-19 15:24:39 +02:00
Michael Mandrus
8a8f97b0e4
CloudMigrations: Implement snapshot management apis ( #89296 )
...
* add new apis
* add payloads
* create snapshot status type
* add some impl
* finish implementing update
* start implementing build snapshot func
* add more fake build logic
* add cancel endpoint. do some cleanup
* implement GetSnapshot
* implement upload snapshot
* merge onprem status with gms result
* get it working
* update comment
* rename list endpoint
* add query limit and offset
* add helper method to snapshot
* little bit of cleanup
* work on swagger annotations
* manual merge
* generate swagger specs
* clean up curl commands
* fix bugs found during final testing
* fix linter issue
* fix unit test
2024-06-19 09:20:52 -04:00
Joey
d928fac5c3
Datasources: Upgrade data source configs for several data sources ( #89365 )
...
Upgrade data source configs for several data sources
2024-06-19 13:39:41 +01:00
Ashley Harrison
ceaf510a7d
Chore: SCSS cleanup ( #89355 )
...
* remove/migrate normalize.scss
* fix typo
* migrate _explore styles
* make json-formatter styles global
2024-06-19 13:28:00 +01:00
Stéphane Cazeaux
6b876f1e38
Prometheus: Fix interpolating adhoc filters with template variables ( #88626 )
...
* Prometheus: replace variables on adhoc filters
Fixes #87979
Signed-off-by: Stéphane Cazeaux <stephane.cazeaux@orange.com >
* Prometheus: replace variable filters on adhoc variables also when promQLScope=true
Signed-off-by: Stéphane Cazeaux <stephane.cazeaux@orange.com >
---------
Signed-off-by: Stéphane Cazeaux <stephane.cazeaux@orange.com >
2024-06-19 14:02:17 +02:00
Alexander Zobnin
b3907ca5ec
Zanzana: Simple logger wrapper for openfga ( #89396 )
...
* Zanzana: Simple logger wrapper for openfga
* don't export
2024-06-19 13:55:31 +02:00
Dominik Prokop
d46df10d30
DashboardScene: Show dashboard not found view ( #89342 )
...
* DashboardScene: Show dashboard not found view
* Test fix
* Use correct selector
2024-06-19 13:33:29 +02:00
Steve Simpson
8eabef1f91
Alerting: Update remote alertmanager to use extended receivers API. ( #89253 )
...
* Alerting: Update remote alertmanager to use extended receivers API.
* Update integration test and Mimir image
* Update Mimir image in more places
2024-06-19 12:40:22 +03:00
Josh Hunt
db78604bd4
I18n: Add utility for locale-aware duration formatting ( #89351 )
...
* I18n: Add utility for locale-aware duration formatting
* fix message
* add fallback
2024-06-19 10:37:20 +01:00
Josh Hunt
b43411631b
Echo: Don't notify if PerformanceBackend errors when flushing ( #89379 )
2024-06-19 10:00:49 +01:00
Nihal
a9736cf7dc
InfluxDB: Fix query builder produces invalid SQL query when using wildcard column name ( #89032 )
...
* influx: changes to not wrap * with double quotes for column name
Signed-off-by: Syed Nihal <syed.nihal@nokia.com >
* added unit test for https://github.com/grafana/grafana/issues/88008
Signed-off-by: Syed Nihal <syed.nihal@nokia.com >
---------
Signed-off-by: Syed Nihal <syed.nihal@nokia.com >
2024-06-19 08:39:53 +02:00
Victor Marin
51c858f32e
Fix dashboard crash on dashboard leave in panel edit ( #89353 )
...
* Fix dashboard crashing when leaving dashboard in panel edit
* add test
* test
2024-06-19 09:31:01 +03:00
ismail simsek
e5a50a7db8
InfluxDB: Fix sending range info on variable editor ( #89347 )
...
send range info in range field
2024-06-19 08:23:21 +02:00
ismail simsek
dfcda2b14a
InfluxDB: Don't interpolate bucket keyword in flux language if it is part of a join query ( #89298 )
...
don't interpolate bucket keyword if it is part of a join query
2024-06-19 08:22:16 +02:00
ismail simsek
76047d9365
Prometheus: Don't use match[] parameter if there is no metric ( #89352 )
...
don't use match[] parameter if there is no metric
2024-06-19 08:19:49 +02:00
Yuri Kotov
a5e02f033a
Prometheus: Fix query builder visualization when a query has by() clause for quantile ( #88480 )
...
Prometheus query builder: add support for by() clause for quantile aggregation
2024-06-19 08:19:27 +02:00
Leon Sorokin
74bcfb284c
Heatmap: Use dashboard timeRange for auto-sizing x buckets ( #89382 )
2024-06-18 21:51:20 -05:00
Alexander Weaver
7c69f3657b
Notifications: Redact URL from errors ( #85687 )
...
* Remove url logs and redact
* Reinclude redacted URL
2024-06-18 16:02:33 -05:00
Dave Henderson
3bbc821131
Metrics: Add ability to disable classic histogram for HTTP metric ( #88315 )
...
metrics: Add ability to disable classic histogram for HTTP metric
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-18 15:37:44 -04:00
Ryan McKinley
9b7f9ae22e
K8s: Rename origin.key to origin.hash ( #89337 )
2024-06-18 22:27:16 +03:00
Joao Silva
b0c043de5f
Fix: Portuguese Brazilian wasn't loading translations ( #89302 )
2024-06-18 18:06:35 +01:00
Travis Patterson
59f255bb7f
Add info tooltips to logs that have been sampled by adaptive logs ( #89320 )
...
* Add info tooltips to logs that have been sampled by adaptive logs
* review commends and linter changes
* make warnings match info
* fix betterer results
2024-06-18 19:54:14 +03:00
Matias Chomicki
966cee864a
LogRows: add missing call to close the popover ( #89370 )
2024-06-18 19:34:39 +03:00
Josh Hunt
6597bed9f7
Chore: Bump ws ( #89371 )
2024-06-18 19:26:02 +03:00
Fabrizio
f0270d8e31
Update code owners for O11Y package ( #89334 )
2024-06-18 18:05:55 +02:00
Laura Benz
34b3dbdbf3
RestoreDashboards: Adjust path ( #89233 )
...
* refactor: change path
* fix: page headline
* refactor: remove condition
2024-06-18 17:24:48 +02:00
Kristin Laemmert
50244ed4a1
Experimental Feature Toggle: databaseReadReplica ( #89232 )
...
This adds a version of the SQLStore that includes a ReadReplica. The primary DB can be accessed directly - from the caller's standpoint, there is no difference between the SQLStore and ReplStore unless they wish to explicitly call the ReadReplica() and use that for the DB sessions.
Currently only the stats service GetSystemStats and GetAdminStats are using the ReadReplica(); if it's misconfigured or if the databaseReadReplica feature flag is not turned on, it will fall back to the usual (SQLStore) behavior.
Testing requires a database and read replica - the replication should already be configured. I have been testing this locally with a docker mysql setup (https://medium.com/@vbabak/docker-mysql-master-slave-replication-setup-2ff553fceef2 ) and the following config:
[feature_toggles]
databaseReadReplica = true
[database]
type = mysql
name = grafana
user = grafana
password = password
host = 127.0.0.1:3306
[database_replica]
type = mysql
name = grafana
user = grafana
password = password
host = 127.0.0.1:3307
2024-06-18 11:07:15 -04:00
dependabot[bot]
791bcd93df
Bump ws from 7.5.6 to 7.5.10 ( #89362 )
...
Bumps [ws](https://github.com/websockets/ws ) from 7.5.6 to 7.5.10.
- [Release notes](https://github.com/websockets/ws/releases )
- [Commits](https://github.com/websockets/ws/compare/7.5.6...7.5.10 )
---
updated-dependencies:
- dependency-name: ws
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-18 17:05:43 +02:00
Ivan Ortega Alba
3fdc66d284
Scenes: Setting default_home_dashboard_path returns blank page and no controls ( #89304 )
2024-06-18 16:17:59 +02:00
Agnès Toulet
f0e63c6fd5
Doc: Update image rendering with HTTPS configuration ( #88505 )
...
* Doc: Update image rendering with HTTPS configuration
* add version
* Update docs/sources/setup-grafana/image-rendering/_index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2024-06-18 16:11:59 +02:00
Dominik Prokop
ae04580e5f
DashboardScene: Make Grafana usable when custom home dashboard is invalid ( #89305 )
...
* DashboardScene: Make Grafana usable when custom home dashboard is invalid
* Tests
* Remove console.error
2024-06-18 16:08:16 +02:00
Ashley Harrison
50dd95c09b
Chore: Remove betterPageScrolling toggle ( #89339 )
...
* remove betterPageScrolling toggle
* add scrollTo test shim
2024-06-18 14:33:08 +01:00
Tom Ratcliffe
3badf73b45
Alerting: Fix setting of existing Telegram Chat ID value ( #89287 )
2024-06-18 14:24:23 +01:00
Ashley Harrison
890482052a
Login: Fix Skip button alignment ( #89332 )
...
fix login skip button alignment
2024-06-18 15:35:45 +03:00
Agnès Toulet
44a40f8e0c
E2E: Add SMTP tester ( #88392 )
...
* E2E: Add SMTP tester
* fix loadlocation issue when running tests on alpine
* temporary update
* add log
* update run-suite
* Update run-suite
* Update run-suite
* Update run-suite
* Update yarn.lock
* apply suggestions + cleanup logs
* update yarn.lock & package.json
* fix swagger
2024-06-18 14:32:19 +02:00
Kristin Laemmert
cc1d3d0f8d
Chore(TeamService): remove extra Transaction from getTeamMember ( #89308 )
...
remove extra Transaction from getTeamMember
2024-06-18 07:51:50 -04:00
Mihai Doarna
d074cc7892
Auth: Implement reload function for LDAP ( #89267 )
...
* keep config in a separate struct in LDAP
* implement reload function for LDAP
* remove param from sso service constructor
* update unit tests
* add feature flag
* remove nil params
* address feedback
* add unit test for disabled config
2024-06-18 14:31:27 +03:00
Sofia Papagiannaki
0afbaa39df
Dashboards: Fix restoring dashboard to root folder ( #89020 )
...
* Fix restoring dashboard to root folder
* use a root folder representation instead of nil
* change root folder by general folder
---------
Co-authored-by: Ezequiel Victorero <ezequiel.victorero@grafana.com >
2024-06-18 14:21:40 +03:00
Ezequiel Victorero
b4c5c62f59
Chore: Update api docs reporting ( #88878 )
...
Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com >
2024-06-18 08:16:58 -03:00
Ivan Ortega Alba
3532d13f0c
Chore: Regenerate OpenAPI specs to fix swagger ( #89336 )
2024-06-18 12:38:19 +02:00
Karl Persson
606a74d0af
Zanzana: Initial work to run openFGA as embedded or standalone service ( #89211 )
...
* Zanana: Initial work to run zanana as ebeddedn or standalone
* Add addr settings for when remote client is used.
* sync dependencies
* Lock mysql driver version
---------
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-06-18 10:04:18 +02:00
Pepe Cano
d0cf8956e2
Alerting docs: update Introduction page ( #89155 )
...
* Update Introduction page
* Update `How alerting works` image
* Update docs/sources/alerting/fundamentals/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Fix `alt` attribute
* alert instance are sent `in` notifications
* Clarify `Notification policies`
* Clarify Notification Policy responsibilities
* Edit existing image captions
* change `configure a contact point` to `choose a contact point`
* Update image `caption/alt`
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-06-18 09:44:56 +02:00
Levente Balogh
1d6c9d4690
Plugin extensions: Return react components from usePluginComponents() ( #89237 )
...
feat: return with react components from `usePluginComponents()`
2024-06-18 09:40:25 +02:00
antonio
0cc67bb93d
alerting: notes on label matchers ( #89269 )
...
* alerting: notes on label matchers
* routing clarification
* Update docs/sources/alerting/alerting-rules/templating-labels-annotations.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-06-18 09:22:23 +02:00
Ronan
3c5f07201e
Tempo: Virtualized search dropdowns for attribute values ( #88569 )
...
* TraceQL: Make the search field component use the virtualized prop for performance gains
* Use act on timers to eliminate warningsd
* Update more timers to use act to fix testing library warnings
* Fix linting failure
* Run make commands
---------
Co-authored-by: Joey Tawadrous <joey.tawadrous@grafana.com >
2024-06-18 08:20:06 +01:00
Ryan McKinley
ea7f6ea32f
Explore: Avoid sending panelId header unless we are in a dashboard ( #88255 )
2024-06-18 07:31:42 +03:00
Gabriel MABILLE
5f83fdef2c
AuthZ: GRPC client init and config options ( #89161 )
2024-06-18 06:13:24 +02:00
Kyle Cunningham
3776c44c33
Table component: Fix sub-table rows not displaying correctly ( #89082 )
...
* Fix expanded height issue
* Prettier
* 🙅♂️ to console.log
2024-06-18 03:19:00 +07:00
Adam Yeats
0bdd613f3b
Azure Monitor: Add validation for namespace field in AdvancedResourcePicker when entering a forward slash ( #89288 )
...
* Add validation for namespace field in AdvancedResourcePicker when entering a forward slash
* Add test
* Fix formatting
* Remove unused import
2024-06-17 18:43:27 +01:00
ismail simsek
92233350f8
InfluxDB: Add custom metadata to the first frame via header ( #88698 )
...
* add custom metadata via header to the response
* use strings.CutPrefix instead of regex
2024-06-17 20:02:53 +03:00
Kim Nylander
2e918cbb9b
[DOC] Add feature toggle for admin page ( #88954 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-06-17 18:01:31 +01:00
Ivan Ortega Alba
0abe4fc709
Scenes: Be able to show/hide dashboard controls in Kiosk mode ( #88920 )
2024-06-17 17:58:48 +02:00
Ashley Harrison
7bb883e375
Analytics: Fix ApplicationInsights integration ( #89299 )
...
change ApplicationInsights backend to use SystemJS to load
2024-06-17 16:19:12 +01:00
Matias Chomicki
8c5a925202
LogRows: remove app restriction from popover menu ( #89276 )
...
* LogRows: remove app restriction from popover menu
* chore: update tests
* Prettier
2024-06-17 16:56:15 +02:00
Brendan O'Handley
8fddf30621
InfluxDB: Flight SQL test, add function to search for free port ( #89255 )
...
* add function to search for free port
* Update pkg/tsdb/influxdb/fsql/fsql_test.go
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
* Update pkg/tsdb/influxdb/fsql/fsql_test.go
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
* fix test
* fix go linting issue
* fix go lint
---------
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-17 09:16:52 -05:00
Josh Hunt
51c0644e41
RestoreDashboards: add IsDeleted and PermanentlyDeleteDate to deleted search ( #89283 )
...
RestoreDashboards: add IsDeleted and PermanentlyDeleteDate to deleted items in Search
2024-06-17 14:26:23 +01:00
Sonia Aguilar
e75fbe10ca
Alerting: Central alert history (part1) ( #88593 )
...
* WIP
* Add barchart panel with scenes
* Fix timerange in barchart panel
* Refactor: component names
* Remove not used css styles and rename panel title
* Remove unnecessary HistoryEventsListObject class and update text in labels filter
* add padding top for filter
* Add translations
* update limit labels constant
* Update showing state reason
* Fix scene object
* Address review comments
* Update icons
* use endpoints instead of the autogenerated hook
* Address review comments
* Add tooltip for alert name
* use private polling interval
* fix autogenerated translations
* Address pr rewview comments
* Address review comments
* Update text in placeholder
* Rename variable and remove spaces in Trans children
2024-06-17 14:54:15 +02:00
Mihai Doarna
32d21356b9
Auth: Keep config in a separate struct in LDAP ( #89149 )
...
keep config in a separate struct in LDAP
2024-06-17 15:34:06 +03:00
Bogdan Matei
94e6bcd329
Scopes: Deduplicate the list of suggested dashboards ( #89169 )
2024-06-17 13:44:22 +03:00
Sergej-Vlasov
212c1477c2
DashboardScene: Adjust a11y tests errors ( #89275 )
...
adjust a11y tests errors
2024-06-17 13:31:52 +03:00
Steve Simpson
43a246f431
Alerting: Improve performance of /api/prometheus for large numbers of alerts. ( #89268 )
...
* Alerting: Optimize sorting alert instances.
* Also change other Labels fields for consistency
2024-06-17 12:25:47 +02:00
Darren Janeczek
a7726ff813
fix: "Feature toggles" sentence casing on menu item ( #89249 )
...
fix: sentence casing on menu item
2024-06-17 11:22:11 +01:00
Josh Hunt
8a891dcdc4
RestoreDashboards: Clear cached parent folders after restoring a dashboard ( #89162 )
...
* RestoreDashboards: Refresh parent folders after restoring a dashboard
* actually, just clear the cache
* less log
* refactor
2024-06-17 11:15:37 +01:00
Bogdan Matei
67f2d93281
Scopes: QoL UI fixes ( #89158 )
2024-06-17 13:00:20 +03:00
Ida Štambuk
ab2af9b8f7
Feature management: Add openSearchBackendFlowEnabled feature toggle ( #89208 )
2024-06-17 11:41:50 +02:00
Josh Hunt
d4bba872a1
LibraryPanels: Use new folder picker when creating a library panel ( #89228 )
...
LibraryPanels: Use new folder picker when creating a Library Panel
2024-06-17 10:19:57 +01:00
Tobias Skarhed
0107754da8
Select: Add orange indicator to selected item ( #88695 )
...
* Initial experiment
* Add pill and underline
* Text decoration for hover
* Only set underline on the title
* Remove underline from hover
* Remove underline alltogether
2024-06-17 10:39:28 +02:00
Dominik Prokop
ae80ed02e4
DashboardScene: Emit meta analytic view event ( #89094 )
...
* DashboardScene: Emit view event
* check fix
2024-06-17 09:14:27 +02:00
Diego Augusto Molina
b9812a0784
Unified Storage: Fix data races and context usage in broadcaster ( #88955 )
...
* Fix several broadcaster data races and error handling
- Separate concerns between sender and receiver sides in channel usage
- broadcaster: Fix data race between Subscribe/Unsubscribe and start
- Fix Subscribe error to be io.EOF when broadcaster is terminated
- Fix Watch never unsubscribing
- General cleanup
- fix usage of context
- add a huge amount of documentation about channels
2024-06-15 02:46:14 -03:00
Alexander Weaver
8491e02caf
Alerting: Instrument outbound requests for Loki Historian and Remote Alertmanager with tracing ( #89185 )
...
* Add TracedClient
* Handle errors and status codes
* Wire up tracing to normal ASH and loki annotation mapping
* Add tracing to remote alertmanager
* one more spot
* and not or
* More consistency with other grafana traces, lower cardinality name
2024-06-14 13:24:12 -05:00
Dave Henderson
6262c56132
chore(perf): Pre-allocate where possible (enable prealloc linter) ( #88952 )
...
* chore(perf): Pre-allocate where possible (enable prealloc linter)
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* fix TestAlertManagers_buildRedactedAMs
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* prealloc a slice that appeared after rebase
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-14 14:16:36 -04:00
Drew Slobodnjak
e53e6e7caa
Geomap: Fix data fit ( #89247 )
2024-06-14 10:09:47 -07:00
Darren Janeczek
79540a20b9
datatrails: persist search terms and use them to reduce retrieved metric names ( #87884 )
2024-06-14 12:36:35 -04:00
Kevin Minehart
a250706305
CI: Make pkg/build its own module, remove unused Grafana modules in go.mo… ( #89243 )
...
* Make pkg/build its own module, remove unused Grafana modules in go.mod/go.sum
* fix go.work format
* log errors on file close errors
2024-06-14 19:35:30 +03:00
Jack Baldry
7b02cfddd8
Fix typo in dashboard-variables destinations and also use Grafana Cloud docs if they exist ( #89244 )
...
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
2024-06-14 17:27:22 +01:00
Adela Almasan
c3b772618a
Tooltip: Add tooltip support to Histogram ( #89196 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-06-14 11:23:25 -05:00
Jack Baldry
f5468542ba
Use ref URIs with the reference style links ( #89204 )
...
* Use ref URIs with the reference style links
If I remember correctly, the UI needs reference style links so it can substitute its own link destinations.
ref URIs work both inline and as the destination for reference style links.
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
* Remove unused ref URI
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
* Remove unused Data frames link
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
2024-06-14 15:44:29 +01:00
Josh Hunt
15c81b2a8b
Move RecentlyDeleted into browse-dashboards ( #89214 )
...
* Move RecentlyDeleted into browse-dashboards
* refactor: change path
---------
Co-authored-by: Laura Benz <laura.benz@grafana.com >
2024-06-14 17:25:19 +03:00
Jack Westbrook
3bfa1ed9ed
Datasource Config: Return error object on failed updates ( #88661 )
...
feat(datasource-config): return error if ds update fails
2024-06-14 16:19:48 +02:00
Josh Hunt
90c3d74955
LibraryPanels: Replace 'General' folder with 'Dashboards' ( #89220 )
...
Show 'Dashboards' for library panels not in a folder
2024-06-14 14:01:18 +01:00
Ryan McKinley
23d9af7175
Reporting: Add basic read-only apiserver ( #89140 )
2024-06-14 15:49:08 +03:00
Dave Henderson
afc1e148b2
ci(chore): Lint all Go code, upgrade golangci-lint action ( #89221 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-14 15:42:09 +03:00
Laura Benz
d44ddba996
RestoreDashboards: Fix counting bug ( #89201 )
...
Fix restore modal showing incorrect counts
Co-authored-by: joshhunt <josh@trtr.co >
2024-06-14 14:30:05 +02:00
Ieva
4e3294cd8d
RBAC: Fix the check for whether an action set should be added ( #89219 )
...
fox the check for whether an action set should be added
2024-06-14 14:23:29 +02:00
Ieva
b2864d6dfb
Docs: add information about overrideRole provisioning option to docs ( #89181 )
...
add information about overrideRole provisioning option to docs
2024-06-14 13:16:16 +01:00
Sofia Papagiannaki
63c4d7373a
Update cloud_migrations.go ( #89218 )
...
Remove unnecessary newline
2024-06-14 15:14:37 +03:00
Tom Ratcliffe
2dd44e2f58
Alerting: Remove duplicated alertRule handlers file and usage ( #89100 )
2024-06-14 13:42:00 +02:00
Erik Sundell
72241dbf5f
Plugin extensions: Add e2e tests ( #89048 )
...
* add custom plugins
* update bundles
* provision app plugins and their dashboards
* add one more script that run e2e tests using e2e test server
* add e2e tests
* regenerate jsonnet dashboards
* ignore custom plugins and playwright report
* use minified
* cleanup tests
* update codeowners
* add leading slash
* document new script
* document custom-plugins
* cleanup
* twist modules
* add readme
2024-06-14 13:41:17 +02:00
Tom Ratcliffe
a9171aa9fe
Alerting: Fix display of falsy alert values in state history ( #89156 )
2024-06-14 13:41:01 +02:00
Leonor Oliveira
1691d80412
Refactor enrichObj function ( #89210 )
2024-06-14 13:13:59 +02:00
Leonor Oliveira
e1145472c4
For now, only compare if names are the same in playlists ( #89206 )
2024-06-14 13:13:49 +02:00
Ashley Harrison
7c5c01cb6c
Chore: Tidy up more font-awesome SCSS ( #89207 )
...
* migrate pull-right/pull-left
* remove fa-rotate and fa-flip
* remove _stacked
* remove font-awesome _list
* remove font-awesome _larger
* remove fa fixed-width
* remove fa animated styles
* move sr-only to global styles
* condense remaining font-awesome stuff into 1 file
* extract out spin animation into util folder
2024-06-14 11:35:32 +01:00
Tom Ratcliffe
26233e98a8
Alerting: Fix saving telegram contact point to Cloud AM config ( #89182 )
...
* Add test for saving telegram contact point to AM config
* Fix default value for select options in AM config
2024-06-14 10:56:25 +01:00
Ashley Harrison
84590901e5
Chore: Migrate some more deprecated SCSS ( #89160 )
...
* migrate pull-right/pull-left
* remove fa-rotate and fa-flip
* remove _stacked
* remove font-awesome _list
* remove font-awesome _larger
* remove fa fixed-width
2024-06-14 10:46:44 +01:00
renovate[bot]
063082acbc
Update dependency @grafana/scenes to v5.0.3
2024-06-14 12:06:17 +03:00
Leonor Oliveira
fd44f2ee4f
Init dualwriter metrics ( #89003 )
...
* Pass prometheus registerer to the dual writer
* Fix tests
* Remove unused var
* Fix tests
* Uncomment test
* Remove leading line
* Fix tests. Reuse registerer if there's already one
* Lint
* Improve double registering logic
* Rebase main
2024-06-14 11:01:49 +02:00
Torkel Ödegaard
e3da5ed35d
Scenes: Upgrade to latest URL sync system ( #88836 )
...
* Urlsync updates
* Update
* Fixing tests
* Update to latest canary
* fix
* Update
* Update
* Update
* Fix data trails issue
* Data trails fixes
* Update
* correctly sync scene object graph with url state
* Update
2024-06-14 10:23:51 +02:00
Steve Simpson
dd3c3b5857
Alerting: Update grafana/alerting. ( #88914 )
2024-06-14 09:19:04 +02:00
Ryan McKinley
2173429ce2
Identity: Add static requester struct ( #89190 )
2024-06-14 09:04:06 +03:00
github-actions[bot]
4ee754d69b
I18n: Download translations from Crowdin ( #89175 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-14 08:17:36 +03:00
Ryan McKinley
f2b6a9aa3d
K8s: Add numeric revisionVersion helpers to grafanaMetaAccessor ( #89191 )
2024-06-14 02:35:23 +03:00
Isabel Matwawana
e807f4201b
Docs: Fixes for 11.1 visualizations docs ( #89193 )
...
* Updated table wrapping and auto wording
* Fixed formatting to match other lists
* Fixed admonition styling and moved content out of note into body
* Added note re feature toggle
* Fixed typo
* Added comma
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com >
---------
Co-authored-by: Adela Almasan <88068998+adela-almasan@users.noreply.github.com >
2024-06-13 16:57:51 -04:00
grafana-delivery-bot[bot]
40e3601982
Release: Bump version to 11.2.0-pre ( #89184 )
...
* "Release: Updated versions in package to 11.2.0-pre"
* fix newline
---------
Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com >
2024-06-13 15:08:07 -05:00
Kristin Laemmert
e2f65dda0c
chore: remove redundant transactions from Dashboard (get) sql queries ( #89186 )
...
* chore: remove redundant transactions from sql queries
* remove unused parameter
2024-06-13 15:32:01 -04:00
Ryan McKinley
57b760824f
Chore: Remove pkg/infra/x/persistentcollection ( #89139 )
2024-06-13 21:46:52 +03:00
Michael Mandrus
9d3a4e236d
CloudMigrations: Refactor API for async work ( #89084 )
...
* rename some stuff
* more renaming
* clean up api
* rename more functions
* rename cms -> gms
* update comment
* update swagger gen
* update endpoints
* overzealous
* final touches
* dont modify existing migrations
* break structs into domain and dtos
* add some conversion funcs
* fix build
* update frontend
* try to make swagger happy
2024-06-13 17:58:59 +00:00
Matias Chomicki
06c0ce4325
LogDetailsRow: customize filters tooltip according to the current app ( #89183 )
...
* LogDetailsRow: customize filters tooltip
* Update tests
2024-06-13 20:54:33 +03:00
Ieva
bd35fa10f1
RBAC: Resolve action sets when GetPermissions is called ( #89046 )
...
* resolve action sets when GetPermissions is called
* a fix to ensure that dashboard permissions that override parent folder permissions are displayed on top of the inherited permission
* linting
* linting pt2
2024-06-13 20:06:37 +03:00
Ieva
eb535e163d
Docs: Add parameter definition to swagger for RBAC debug endpoint ( #89097 )
...
add parameter definition to swagger for RBAC debug endpoint
2024-06-13 20:01:12 +03:00
Matias Chomicki
6a125fd59f
Logs panel: do not pass default handlers if context is not defined ( #89174 )
2024-06-13 19:56:50 +03:00
Ieva
3853f90528
RBAC: Include action sets in dashboard and folder permission filter ( #89133 )
...
take action sets into account in dashboard and folder permission filter
2024-06-13 19:40:47 +03:00
Artur Wierzbicki
627d77c365
chore: change codeowner of /pkg/components/imguploader ( #89167 )
...
* change owner for imguploader
* Update .github/CODEOWNERS
Co-authored-by: Steve Simpson <steve.simpson@grafana.com >
---------
Co-authored-by: Steve Simpson <steve.simpson@grafana.com >
2024-06-13 18:18:29 +03:00
grafana-delivery-bot[bot]
ffcb13b7ab
Changelog: Updated changelog for 10.4.4 ( #89173 )
...
Co-authored-by: grafanabot <bot@grafana.com >
2024-06-13 18:08:26 +03:00
Ivana Huckova
375be77f32
Elasticsearch: Add developer documentation ( #89050 )
...
* Elasticsearch: Add developer documentation
* Update
* Update
* Add code comments
* Update
* Update public/app/plugins/datasource/elasticsearch/docs/developer_documentation.md
2024-06-13 18:05:50 +03:00
Kyle Brandt
82aa000e9d
SSE: (Chore) Update log line with context (trace) ( #89172 )
...
Improves log line to help with debugging in Server Side Expressions. In particular, the traceId, datasourceType, and datasourceUid will now be included.
2024-06-13 10:58:39 -04:00
Juan Cabanas
b7180c17b8
ShareDrawer: Add confirm action ( #89001 )
2024-06-13 11:11:26 -03:00
Bogdan Matei
07ec1a303e
Scopes: Remove basic selector ( #89098 )
2024-06-13 17:02:40 +03:00
Juan Cabanas
59d83bc55a
PublicDashboards: Fix error message when deleting ( #89166 )
2024-06-13 10:39:35 -03:00
Sam Jewell
2d0a3953c1
Transformations: Move transformation variables to general availability ( #89111 )
2024-06-13 07:18:21 -06:00
Will Browne
74230937f4
Plugins: Update plugin SDK Go to 0.235.0 ( #89153 )
...
update plugin SDK go to 0.235.0
2024-06-13 15:14:39 +02:00
Tobias Skarhed
5e2f08de31
New Select: Initial scaffolding ( #89114 )
...
* Initial scaffolding
* Extend props from Input
* Rename to Combobox
* Use search icon
* Remove use of SelectableValue
* Remove unused import
* Memoize
2024-06-13 13:41:14 +02:00
Gabriel MABILLE
afcb5a855c
AuthZ: embed an authorization server ( #89018 )
...
* AuthZ: embed an authorization server
* CODEOWNERS
* Remove swagger
* WIP
* Flatten structure and inject wireset
* sync mod files
* Rename authorization package
* Fix swagger gen
* CODEOWNERS
* Use itf instead of impl
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2024-06-13 11:41:35 +02:00
Oscar Kilhed
99e5e1c8bd
Dashboard scenes: Duplicated panels should maintain size of source panel ( #89152 )
...
Maintain size of duplicated panel
2024-06-13 11:24:29 +02:00
github-actions[bot]
025309a303
I18n: Download translations from Crowdin ( #89142 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-13 12:17:43 +03:00
Ieva
1ac395b785
RBAC: Only store action sets for dashboards and folders ( #89053 )
...
* don't store action sets for resources other than dashboards and folders
* remove unneeded comment
2024-06-13 12:06:48 +03:00
Matias Chomicki
7e9e5f5346
Chore: bump @grafana/experimental ( #89119 )
...
* Chore: bump @grafana/experimental
* chore: upgrade all package.json
2024-06-13 08:46:59 +00:00
Pepe Cano
35fba3833b
Alerting docs: fix example ( #89132 )
...
* Fix matching label example
* Update some wording
* Update docs/sources/alerting/fundamentals/notifications/notification-policies.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/group-alert-notifications.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Minor Timing options summary clarification
* Clarify `Disable grouping`
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-06-13 10:08:15 +02:00
Ivan Ortega Alba
080adaf987
Inspect: Include only BOM char for excel files ( #88994 )
2024-06-13 09:41:50 +02:00
Laura Benz
ca2df58ab0
RestoreDashboards: Implement restore workflow ( #88753 )
...
* feat: create interactable elements
* feat: add i18n
* feat: add restoment process
* refactor: move restore endpoint
* refactor: adjust some API things
* refactor: adjust i18n
* Run i18n abstraction
* refactor: clean up
* refactor: update comment
* refactor: update text in modal
* refactor: correct translation keys
* refactor: add changes from code review
* refactor: add styling
* Update go.work.sum
2024-06-13 09:12:10 +02:00
Mitch Seaman
25f65cee29
Update description of Grafana OSS ( #89088 )
...
* Update description of Grafana OSS
Reorder info and change examples to include only OSS data sources
* ran prettier
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-06-13 08:18:26 +02:00
Ryan McKinley
99d8025829
Chore: Move identity and errutil to apimachinery module ( #89116 )
2024-06-13 07:11:35 +03:00
Nathan Marrs
12a45fdeca
Canvas: Refactor scene.tsx for better maintainability ( #88517 )
...
Co-authored-by: drew08t <drew08@gmail.com >
2024-06-13 03:33:42 +03:00
Drew Slobodnjak
2fcc4d8cd7
Table: Fix row count during filter ( #89004 )
...
* Table: Fix row count during filter
* Fix pagination ranges
2024-06-12 13:54:39 -07:00
William Wernert
c62cc25513
Alerting: Configure recording rule writer from config.ini ( #89056 )
2024-06-12 16:04:46 -04:00
Juan Cabanas
7664b89209
ShareModal: Share externally ( #88259 )
2024-06-12 17:02:06 -03:00
Ryan McKinley
ed400f0bbf
EntityStore: Use standard user identifier rather than custom version ( #89080 )
...
user uid string
2024-06-12 19:39:34 +03:00
Marcus Efraimsson
1abaa825c6
Tracing: Only enable traces to profiles for api servers for now ( #89126 )
2024-06-12 19:36:31 +03:00
Torkel Ödegaard
636910e57e
DashboardScene: Fixes issue removing override rule ( #89124 )
2024-06-12 18:35:10 +02:00
Josh Hunt
c58d09fd81
BrowseDashboards: Prepend subpath to New Browse Dashboard actions ( #89109 )
2024-06-12 17:22:00 +01:00
Ashley Harrison
822644714a
Navigation: Remove ApplyAdminIA logic ( #89113 )
...
make admin IA more normal
2024-06-12 16:45:13 +01:00
Taewoo K
5bb10d84e0
add catchpoint to plugin list ( #87438 )
...
* add catchpoint to plugin list
* fix format
* bump the plugins number
2024-06-12 10:05:07 -04:00
Kevin Minehart
c6d807e015
CI: Trigger release pr workflow when a release is completed ( #89062 )
2024-06-12 08:48:50 -05:00
Ashley Harrison
13d00e09ab
Chore: Migrate some more SCSS to emotion ( #89038 )
...
* migrate section-heading
* move fonts to global styles
* migrate code styles to emotion globals
* migrate spacings styles and leave some in angular
* padding should be 2 here not 1
2024-06-12 14:46:20 +01:00
Isabella Siu
9877aa7039
Cloudwatch: Metrics Query Builder should clear old query ( #88950 )
2024-06-12 09:31:05 -04:00
Bogdan Matei
423c03912b
Scopes: Remove disabled flag on nodes search input ( #89041 )
2024-06-12 16:18:09 +03:00
Ryan McKinley
3ae95a6eb1
K8s: Update grafana resource metadata accessor ( #89074 )
2024-06-12 14:39:37 +03:00
github-actions[bot]
58f7032b39
I18n: Download translations from Crowdin ( #89054 )
2024-06-12 11:19:30 +01:00
Edvard Falkskär
6998bf40d7
BarChart: Fix type error when there are no series ( #89087 )
...
BarChart: Fix reference error when there are no series
2024-06-12 02:59:03 -07:00
Sergej-Vlasov
c512d10362
DashboardScene: Adjust plugin-e2e for dashboardScene FF ( #89052 )
...
adjust plugin-e2e for dashboard scene ff
2024-06-12 11:37:16 +02:00
Sergej-Vlasov
8d0e437287
DashboardScene - Add various-suite to scenes e2e ( #88911 )
...
* duplicate various-suite in scenes e2e
* restore original various-suite
* adjust various-suite e2e tests for scenes
* adjust workflow for test run
* adjust flaky exemplars test
* remove old dash script and restore workflow
* duplicate e2e/various-suite/keybinds.spec.ts into e2e/scenes
* restore original e2e/various-suite/keybinds.spec.ts
* add new keybinds e2e test
* restore workflow file after test run
2024-06-12 11:36:11 +02:00
Joao Silva
dc03798c34
Chore: Remove gf-forms from alertmanager and graphite datasources ( #88933 )
2024-06-12 10:13:13 +01:00
Santiago
b7120c5a30
Alerting: Fix missing argument in call to createRemoteAlertmanager() ( #89101 )
2024-06-12 11:57:22 +03:00
Pepe Cano
57c9207a74
Alerting docs: Update Timing Options ( #89036 )
...
* first wip
* Complete changes
* Update docs/sources/alerting/fundamentals/notifications/group-alert-notifications.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/group-alert-notifications.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/group-alert-notifications.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/group-alert-notifications.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/group-alert-notifications.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/group-alert-notifications.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/group-alert-notifications.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/group-alert-notifications.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/group-alert-notifications.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/group-alert-notifications.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Edit sentence refering the previous example
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-06-12 10:46:00 +02:00
kay delaney
195c17da60
Scenes: Add support for viewing variable dependency graph in settings ( #87577 )
...
* Scenes: Add support for viewing variable dependency graph in settings
* Fix failing e2e test
* Add test for createDependencyNodes/Edges
* Refactor for better separation between old architecture and scenes
* Add internationalization
* run maker
---------
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com >
2024-06-12 10:40:52 +02:00
Ieva
34c40f959f
RBAC: Add and resolve action sets when searching user's permissions ( #88694 )
...
* include and resolve action sets when fetching user's permissions
* expand both action and action prefix (returns an empty set for the one that isn't specified)
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* if action is specified, check for exact match; also extend tests
2024-06-12 11:20:19 +03:00
Santiago
12d5251c12
Alerting: Alertmanager configuration sync loop ( #88822 )
...
* make the config sync happen on each call to ApplyConfig(), fix tests
* send autogen config
* add fake autogen function for tests
* update stale comments, tidy things up, make linter happy
* add auto-gen routes only if the feature toggle is enabled
* remove unnecessary fake autogen function
* throttle configuration syncs
* restore pkg/services/store/entity/sqlstash/sql_storage_server.go
* test sync loop in ApplyConfig, skip invalid autogen routes
* restore conf/defaults.ini
* restore conf/defaults.ini
* avoid skipping invalid auto-gen routes in SaveAndApplyConfig
* test that autogenFn is called and its errors are returned
* add debug message about the sync interval not having elapsed
* collapse two log lines into one
2024-06-12 10:13:34 +02:00
Eric Leijonmarck
c85d10d6c3
Auth: Removal of conflicting users check upon creation ( #89045 )
...
fix: removal of check for conflicting users
2024-06-12 09:19:06 +02:00
Joseph Perez
f09f21b5bb
Docs: Edit of data requests and breaking changes docs (part 4 of Contribute doc quality project) ( #88858 )
...
* Docs: data requests and breaking changes edit
* Update contribute/architecture/frontend-data-requests.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Fixes from review
* Update contribute/architecture/frontend-data-requests.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update contribute/architecture/frontend-data-requests.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update contribute/breaking-changes-guide/breaking-changes-guide.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Fix from review
* Update contribute/breaking-changes-guide/breaking-changes-guide.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update contribute/breaking-changes-guide/breaking-changes-guide.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Fix from review
* Update contribute/breaking-changes-guide/breaking-changes-guide.md
Co-authored-by: Beverly Buchanan <131809838+BeverlyJaneJ@users.noreply.github.com >
* Fixes from review
* Update contribute/breaking-changes-guide/breaking-changes-guide.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Fix from review
* Fix from review
* Fix alt text
* Remove 1st person
* Fix from review
* Eliminate 'in case'
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: Beverly Buchanan <131809838+BeverlyJaneJ@users.noreply.github.com >
2024-06-11 14:57:22 -07:00
Jay Clifford
465efbf802
feat: Updated whats-new-in-v11-0.md with release video ( #87953 )
...
Update whats-new-in-v11-0.md
Grafana 11 release video added.
2024-06-11 15:56:20 -04:00
Larissa Wandzura
59fbc0d9e3
Docs: Updates to the Grafana enterprise data source intro page ( #89065 )
...
removed a dupe, deprecated data source and cleaned up a page name
2024-06-11 14:10:03 -05:00
Señor Performo - Leandro Melendez
404617b33d
Added Grafana Play Links to Panel visualization docs ( #88995 )
...
* Update index.md on Node panels to Grafana Play link
* Update index.md add Traces docs link to Grafana Play
* Update index.md News documentation link to Grafana Play
* Update index.md Alert list documentation link to Grafana Play
* Update index.md Alert list fixed missing link
* Update index.md Fixed title
* Update index.md Trying code fix
* Ran prettier command
* Matched link text to dashboard titles
* Replaced URL with ref URI key
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
2024-06-11 14:57:03 -04:00
Ryan McKinley
a559a66544
FeatureFlags: Update creation timestamps ( #88966 )
2024-06-11 21:23:12 +03:00
Jacob Valdemar
eb76ea47a0
Alerting: Add ha_reconnect_timeout configuration option ( #88823 )
...
* Docs: Update "Configure high availability" guide with ha_reconnect_timeout configuration
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2024-06-11 13:25:48 -04:00
Haris Rozajac
2d370f3983
Explore: Logs pinning in content outline ( #88316 )
...
* wip: working version
* add delete buttons, put pinned logs on top,
* Use already available onPinLine prop
* cleanup
* Fix alignment of pinned log
* Limit to 3 pinned log lines
* Format tooltip message
* Lower to font size and adjust padding so pinned log title is fully visible
* Add internationalization support in Explore Logs
* Update json for i18n
* Test remove button
* Open content outline after pinning a log
* Remove console.log statements
* Minor changes
* Conflict stuff
2024-06-11 11:15:36 -06:00
Alexander Akhmetov
667fea6623
Alerting: use hash of labels instead of labels string as the alert state cache key ( #88956 )
...
* Alerting: use hash instead of labels as the cache key
* Use data.Labels.Fingerprint to calculate the cache key
2024-06-11 18:34:58 +02:00
Alexander Weaver
d004f8a98d
Alerting: Recording rules understands errors embedded in dataframes ( #88946 )
...
* Make MakeDependencyError public for tests in another package
* Create tests for errors in eval results
* Extract logic to pull frame errors out into exported function
* Maybe we can drop cyclomatic complexity lint suppression now?
* extract frame errors and fail recording rules if frames contain error
* Fix up retry logic to actually work
* Do not retry non retryable errors
2024-06-11 10:37:10 -05:00
Dominik Prokop
45c601acc4
Grafana live: Add tests and missing code to amendTable ( #89031 )
...
* Grafana live: Add tests and missing code to amendTable
* Betterer
2024-06-11 17:34:58 +02:00
Ashley Harrison
89dd710ca9
Chore: Add extra check in keybinds e2e test to prevent flake ( #89034 )
...
add extra check
2024-06-11 16:28:47 +01:00
brendamuir
5a9e8a20f6
Docs: fixes overview text height ( #89044 )
...
* Docs: fixes overview text height
* deletes word documentation
2024-06-11 17:17:01 +02:00
Josh Hunt
994ddf7e6f
RecentlyDeleted: Remove search box ( #89043 )
...
* RecentlyDeleted: Remove search box
* i18n
2024-06-11 17:45:10 +03:00
Josh Hunt
c71f8b8b1f
Keybinds: Allow move time range shortcuts (t left / t right) to be chained ( #88904 )
...
* Allow for chaining timeshift shortcuts
* ignore repeated shortcuts
2024-06-11 15:13:49 +01:00
Matias Chomicki
ff0c9bd66a
Log: Added panel support for filtering callbacks ( #88980 )
...
* chore: update stale comment
* Logs Panel: add props for interactive callbacks
* LogsPanel: type guard unknown props
* chore: add comments
* chore: rename popover filtering callbacks prop names
* chore: format panelcfg
* Formatting
* LogsPanel: add default label filter handlers using panel context
* Formatting
* chore: add tests for new props
2024-06-11 16:54:41 +03:00
Leon Sorokin
f32afbcb0a
BarChart: Fix bar widths changing when toggling series ( #89010 )
2024-06-11 16:43:39 +03:00
Misi
2e811c5438
Chore: Use OrgRoleMapper in Grafana.com client ( #89013 )
...
* Use OrgRoleMapper in Grafana.com client
* Clean up
2024-06-11 14:53:05 +02:00
Kevin Minehart
4b853922a6
CI: Add release-pr workflow ( #89005 )
...
* Add release-pr workflow
* update CODEOWNERS
2024-06-11 07:50:52 -05:00
brendamuir
5481399c53
Docs: landing page for OSS/Enterprise ( #89030 )
...
* Docs: landing page for OSS/Enterprise
* adds alt text for image in alerting
* Update docs/sources/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* changes according to jacks feedback
* more fixes
* ran prettier
* adds upgrade tile
* adds better description
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-06-11 14:36:14 +02:00
Steve Simpson
d440d86bbb
Alerting: Fix erroneous use of grafana-cli/logger. ( #89037 )
...
Can't see how this was intentional, likely just a typo.
2024-06-11 14:29:56 +02:00
Ashley Harrison
55dfc76b23
Chore: replace General with Dashboards ( #89017 )
...
replace General with Dashboards
2024-06-11 13:10:25 +01:00
Galen Kistler
1f967a89b6
Frontend: InteractiveTable fix - prevent styles from leaking into tables added in expanded rows ( #88948 )
...
* fix: prevent styles from leaking into tables added in expanded rows
2024-06-11 06:40:29 -05:00
github-actions[bot]
c00fa995f7
I18n: Download translations from Crowdin ( #89035 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-11 11:23:00 +00:00
Ashley Harrison
09dfdef378
Calendar: Add labels for next/previous month ( #89019 )
...
add labels for next/previous month
2024-06-11 11:49:02 +01:00
Ivana Huckova
09e74acc94
Loki: Respect pre-selected filters in adhoc filter queries ( #89022 )
...
* Loki: In adhoc filters, respect pre-selected filters
* improve test,fix quotes
* Refactor
2024-06-11 13:09:29 +03:00
Oscar Kilhed
558aaf22bd
Dashboard scenes: Allow undefined filter prop in adhoc variable when comparing two adhoc variables. ( #88993 )
...
* Allow undefined filter prop in adhoc variable when comparing two adhoc variables
* set mock implementation before each test
* mock console.warn in each test
2024-06-11 11:06:19 +02:00
Santiago
cdbc9d801f
Alerting: Use the internal Alertmanager to test templates and receivers (remote primary) ( #88988 )
2024-06-11 11:06:07 +02:00
Ieva
095ca66d9f
RBAC: List only the folders that the user has access to ( #88599 )
...
only check folder permissions when listing folders
2024-06-11 10:37:16 +03:00
Ieva
10857c5400
Docs: Use bearer auth not basic auth in IAM doc examples ( #88984 )
...
use bearer auth not basic auth in examples
2024-06-11 10:35:22 +03:00
Mihai Doarna
3d40caf819
SSO: Add LDAP fallback strategy for SSO settings service ( #88905 )
...
* add root and client certificate value fields for LDAP
* update error messages for connection error
* add LDAP fallback strategy for SSO settings service
* fix params for sso service provider
* fix params for sso service provider
* sort imports
* sort imports
* replace json.Number with int64 in config map
* remove type assertions
2024-06-11 10:22:53 +03:00
Yuri Tseretyan
d4b0ac5973
Alerting: Fix rule storage to filter by group names using case-sensitive comparison ( #88992 )
...
* add test for the bug
* remove unused struct
* update db store to post process filters by group using go-lang's case-sensitive string comparison
--------
Co-authored-by: Alexander Weaver <weaver.alex.d@gmail.com >
2024-06-10 19:05:47 -04:00
Dave Henderson
ee8a549fdd
CI: Add Trivy GitHub Action ( #88987 )
...
* CI: Add Trivy GitHub Action
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* Remove obsolete Snyk workflow
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-10 16:53:48 -04:00
Señor Performo - Leandro Melendez
c98b7a712f
Update index.md for Node, adding video to docs ( #88941 )
2024-06-10 19:52:16 +02:00
Kristina
aab83303da
Ensure running server from VSCode enables dev mode ( #88986 )
2024-06-10 10:30:03 -05:00
Mihai Doarna
0f936e2939
Auth: Add root and client certificate value fields in LDAP config ( #88746 )
...
* add root and client certificate value fields for LDAP
* update error messages for connection error
2024-06-10 18:13:15 +03:00
Ashley Harrison
06c30ee165
Chore: Migrate more SCSS styles ( #88780 )
...
* remove animations mixins
* move drop and drop-element to angular file
* migrate submenu scss
2024-06-10 16:10:54 +01:00
Santiago
5f4d07bb75
Alerting: Enable remote primary mode using feature toggles ( #88976 )
2024-06-10 17:07:13 +02:00
Torkel Ödegaard
db25886f9c
DashboardScene: Fixes lack of re-render when updating field override properties ( #88796 )
...
* DashboardScene: Fixes lack of re-render when updating field override properties
* Added unit test
2024-06-10 16:42:25 +02:00
Aaron Godin
59a6a6513f
Prevent moving a k6 folder ( #88884 )
...
* iam-716 - prevent a folder move operation when the folder's uid or any of its parents uids begin with k6-app
* fox folder move check and only list non-k6 folders to users
* adding tests for moving
* add a test for listing folders
* fix the other tests
* use method that adds folder parent
---------
Co-authored-by: IevaVasiljeva <ieva.vasiljeva@grafana.com >
2024-06-10 09:17:51 -05:00
Leon Sorokin
89a0bec208
Transformations: Keep original field.labels.name when joining frames ( #88873 )
2024-06-10 09:16:58 -05:00
Juan Cabanas
03a000e1b5
ConfirmModal: Reuse confirm content ( #88577 )
2024-06-10 11:14:25 -03:00
Leonor Oliveira
b30c81b1ad
Add and fix tests for playlists in mode1 ( #88543 )
...
* Add and fix tests for playlists in mode1
* Make etcd tests pass mode1 for now
* Fix mode1 and add more tests for playlists in mode 1
* Remove repeated test
* Fix test setup
2024-06-10 16:11:01 +02:00
Ashley Harrison
f78fb4ff16
Chore: Remove hardcoded wait in keybinds e2e test ( #88895 )
...
* remove hardcoded wait in keybinds test
* review comments
2024-06-10 15:09:15 +01:00
Kristin Laemmert
90418dc00b
Chore: update sample.ini file ( #86941 )
...
rebase
2024-06-10 09:22:16 -04:00
Piotr Jamróz
0a05ac6aed
Correlations: Remove flakey test ( #88912 )
...
* Make the flakiness error more verbose
* Fix linting
* Remove a flaky test and make assertion failures more verbose
2024-06-10 15:14:38 +02:00
kay delaney
207672365a
@grafana/data: Introduce new getTagKeys/getTagValues response interface ( #88369 )
...
* @grafana/data: Introduce new getTagKeys/getTagValues response interface
2024-06-10 13:48:40 +01:00
Yulia Shanyrova
80bdfbe2eb
Plugins: Fix Explore button visibility for datasource plugins ( #88614 )
...
Use hasAccessToExplore method at datasource list
2024-06-10 14:27:17 +02:00
David Harris
60bec80672
Cloudwatch: add keywords ( #88855 )
...
---------
Co-authored-by: Sarah Zinger <sarah.zinger@grafana.com >
2024-06-10 08:11:47 -04:00
Santiago
e15e40fbd3
Alerting: Skip setting up clustering in remote primary/only modes ( #88968 )
...
* Alerting: Skip setting up clustering in remote primary mode
* Update pkg/services/ngalert/notifier/multiorg_alertmanager.go
Co-authored-by: Steve Simpson <steve.simpson@grafana.com >
---------
Co-authored-by: Steve Simpson <steve.simpson@grafana.com >
2024-06-10 13:51:11 +02:00
Ieva
35d0597367
RBAC: Only check for the write action when listing editable dashboards/folders ( #88518 )
...
* only check for the write action when listing editable resources
* test fix
2024-06-10 14:44:34 +03:00
Laura Fernández
84b638fb26
PinNavItems: Create feature toggle ( #88975 )
2024-06-10 13:40:03 +02:00
Diego Augusto Molina
4378f89fd9
fix data race in dev runtime ( #88887 )
2024-06-10 08:30:17 -03:00
Misi
9a44296bc2
Auth: Add org to role mappings support to AzureAD/Entra integration ( #88861 )
...
* Added implementation and tests
* Add docs, simplify implementation
* Remove unused func
* Update docs
2024-06-10 12:08:30 +02:00
Pepe Cano
ee75fc3852
Alerting docs: update Introduction > Notification policies ( #88656 )
...
* Alerting docs: Notification policies and grouping
* Update docs/sources/alerting/fundamentals/notifications/group-alert-notifications.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/group-alert-notifications.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/group-alert-notifications.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/notification-policies.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/notification-policies.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Change `alt` text in a diagram
* Clarify `siblings` and `child` policies
* Fix spelling error
* minor change
* Rewrite routing
* Update docs/sources/alerting/fundamentals/notifications/notification-policies.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/notification-policies.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Rewrite Routing
* extend routing
* Minor `Group by` example
* Clarify how Grafana groups alerts by the alert rule
* Skip bold style for `group` options
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-06-10 12:06:46 +02:00
Gábor Farkas
a6a12d7f2e
fixed yarn.lock ( #88971 )
2024-06-10 12:33:49 +03:00
Matias Chomicki
3237fc1cc2
Loki: Added support for negative numbers in LogQL ( #88719 )
...
Loki: Add support for negative numbers in LogQL
2024-06-10 10:30:34 +02:00
Bogdan Matei
56ce88dea3
Filters: Introduce enrichFiltersRequest ( #88913 )
2024-06-10 09:09:59 +02:00
Adela Almasan
52fe19249e
VizTooltip: Fix heatmap histogram display ( #88945 )
2024-06-08 02:33:49 +03:00
Isabella Siu
114a136378
CloudWatch: Fix labels for raw metric search queries ( #88943 )
2024-06-07 17:37:19 -04:00
Diego Augusto Molina
7ca3ec7518
Infra: fix data race in usagestats service ( #88881 )
...
fix data race
2024-06-07 17:52:21 -03:00
Kyle Cunningham
e1530224dd
Table Panel: Add docs for text wrapping ( #88949 )
...
Add docs for text wrapping
2024-06-08 03:51:09 +07:00
Todd Treece
22989acf95
K8s: Improve response writer error handling ( #88926 )
...
---------
Co-authored-by: Diego Augusto Molina <diegoaugustomolina@gmail.com >
2024-06-07 16:10:02 -04:00
Adela Almasan
d608ef4bf3
Docs: Update XY Chart docs ( #88918 )
2024-06-07 14:49:32 -05:00
Adela Almasan
4b55776256
Docs: Add maxWidth to tooltip docs ( #88932 )
2024-06-07 14:36:48 -05:00
Dave Henderson
81019f1669
chore(ci): Lint only pkg/ code, and lint all Go modules ( #88940 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-07 13:54:47 -04:00
Marcus Efraimsson
4a97ff45fe
API Server: Enhanced profiling with godeltaprof ( #88939 )
2024-06-07 19:39:45 +02:00
William Wernert
63e9969c1b
Alerting: Recording rule mapping logic for data frames to Prometheus metrics ( #88550 )
...
* Add stub Prometheus writer with mapping logic
* Add tests
2024-06-07 20:00:22 +03:00
lean.dev
330da7916d
Chore: Add unit test for cloudmigration package ( #88868 )
2024-06-07 13:46:19 -03:00
Dave Henderson
3a8b59f5e8
chore(ci): Run golangci-lint in GitHub Actions ( #88916 )
...
* chore(ci): Run golangci-lint in GitHub Actions
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* chore(ci): Remove lint-backend step from Drone
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-07 12:30:31 -04:00
Alexander Weaver
58fdb24b0b
Alerting: Recording rules appear as type=recording in Prometheus API + better abstraction for type ( #88805 )
...
* Wire status through to prom API
* Regenerate swagger
2024-06-07 11:24:06 -05:00
Sonia Aguilar
b761153812
Alerting: Fix permissions for silences list view ( #88908 )
2024-06-07 19:19:28 +03:00
Kyle Cunningham
8aa1bbe27c
Table Panel: Enable text wrapping ( #86895 )
...
* Calculate row height
* Move things around
* Update getItemSize to use text bounding box
* Update types
* Cleanups and reminders
* Calculate line height
* Update line height calculation
* Remove debugging
* Add cell option editing
* Prettier
* Use field configured for text wrapping
* Add TODO
* Make sure column configuration is correct
* Update height heuristic and hover behavior
* Disable overflow on hover with text wrapping
* Update heuristic
* Clean things up
* Color background cell options
* Fix tests
* Prettier
* React deps
* Remove old hook dep
* Fix type errors
* Update label and description for editor
* Fix non-wrapped case
* Make sure color background works
* Prettier
* Address review comments
* fix prettier
* Add heuristic for field sizing
* Fix up logic
* Prettier
* Fix test
* Oh prettier 🙈
* Don't wrap text on non-string fields
* Add wrapping to color text cell
* Prettier
* Fix option not showing for auto cell type
* Move longest field guessing into function
* Clean things up
* Add tests
* Make sure text won't flake
* Prettier
* Remove spurious import
* Ignore any in this case
* Add alpha label
* Prettier
* Fix typecheck
* Fix crash when sampling when there are undefined records
* Update heuristic to take into account long strings
* Prettier
* Update scale factors
* Update field index selection
* Prettier
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com >
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2024-06-07 23:15:33 +07:00
Drew Slobodnjak
694499ae6d
StateTimeline: Fix bug with state labels using stale y position cache during panel resize ( #88818 )
...
* StateTimeline: Check for change in height
* probably it!
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-06-07 09:12:25 -07:00
Levente Balogh
ebe42e1ada
Plugins: Allow apps to expose components. Update the extensions API. ( #87236 )
...
* feat: introduce exposable components and update the public APIs
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
* tests: fix the tests for `usePluginComponent()`
I broke them when I wrapped the component with the PluginContextProvider which fetches the plugin metadata.
* fix: typo
---------
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
2024-06-07 18:05:00 +02:00
Fayzal Ghantiwala
27a791db12
Alerting: Update dependency owners in go.mod ( #88928 )
...
Update codeowners in go.mod
2024-06-07 16:50:13 +01:00
Yuri Tseretyan
32ea1801aa
Alerting: Support AWS SNS integration in Grafana ( #88867 )
2024-06-07 11:49:49 -04:00
Alexander Weaver
f1dc63565e
Alerting: Fix go-swagger extraction and several embedded types from Alertmanager in Swagger docs ( #88879 )
...
Drop redundant swagger model comments
2024-06-07 10:47:47 -05:00
Marcus Efraimsson
40931b6da6
Tracing: Enable traces to profiles ( #88896 )
2024-06-07 16:58:24 +02:00
Piotr Jamróz
c9271edfa1
Feature Toggles: Validate if a GA toggle is enabled or not explicitly ( #88277 )
2024-06-07 16:21:54 +02:00
Gilles De Mey
1be5c52a35
Alerting: Update SNS description mistakes ( #88832 )
...
update SNS description mistakes
2024-06-07 15:32:19 +02:00
Eric Leijonmarck
39bd13f877
User: add second migration for lowercasing login/email of users ( #88915 )
2024-06-07 15:07:14 +02:00
Jack Westbrook
0e73c4d387
Storybook: Bump to 8.1.6 ( #88899 )
...
* chore(storybook): bump to latest 8.1.6
* chore(yarn): dedupe yarn.lock post storybook update
* chore(typescript): align react types across repo
2024-06-07 14:31:31 +02:00
Karl Persson
f3efd95bb4
Auth: Add org to role mappings support to Google integration ( #88891 )
...
* Auth: Implement org role mapping for google oauth provider
* Update docs
* Remove unused function
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
2024-06-07 14:07:35 +02:00
Usman Ahmad
5095ea84b2
added youtube video link ( #88901 )
...
* added youtube video link
* Update index.md
2024-06-07 12:42:19 +02:00
Ashley Harrison
c6d07194cc
Chore: Migrate DashboardRow SCSS styles ( #88768 )
...
migrate dashboard-row styles
2024-06-07 11:31:58 +01:00
Sonia Aguilar
372c9d46d5
Alerting: Fix possible undefined value in the form not being protected ( #88860 )
...
Fix possible undefined value in the form not being protected
2024-06-07 13:29:09 +03:00
Zoltán Bedi
a1851b4c0a
SQL: change buttons aria-label to title ( #88744 )
2024-06-07 11:40:11 +02:00
Steve Simpson
56ea7fd2c4
Alerting: Update grafana/alerting ( #88888 )
2024-06-07 10:07:23 +02:00
Jack Westbrook
036c878843
Plugins: Improve frontend loader cache ( #87488 )
...
* do it
* set empty child version to parent version
* feat(plugins): use pluginId for loader cache keys
* feat(plugins): apply caching to all js and css files systemjs loads
* remove old code and add comment
* test(plugins): update systemjs hooks tests in line with better caching
* test(plugins): wip - comment out failing backend loader tests
* fix tests and improve comment
* Update public/app/features/plugins/loader/cache.test.ts
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
---------
Co-authored-by: Will Browne <will.browne@grafana.com >
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2024-06-07 10:03:41 +02:00
github-actions[bot]
897b81e566
I18n: Download translations from Crowdin ( #88851 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-07 06:35:14 +00:00
Dave Henderson
c931a44503
storage: Avoid panic when no previous versions in history ( #88880 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-06 21:33:08 -04:00
Yuri Tseretyan
003e3efce9
Alerting: Update mute timings provisioning API to support optimistic locking ( #88731 )
...
* add version to time-interval models
* set time interval fingerprint as version
* update to check provided version
* delete to check if version is provided in query parameter 'version'
* update integration tests
* update specs
2024-06-06 18:06:37 -04:00
Alexander Weaver
a2e21d61f8
Alerting: Remove dead evalRunning guard in rule routine ( #88312 )
...
Remove dead guard
2024-06-06 16:15:01 -05:00
ismail simsek
56bf666b0c
Chore: Bump promlib to v0.0.6 ( #88876 )
...
bump promlib v0.0.6
2024-06-06 22:13:01 +02:00
Steve Simpson
acbb6a1119
Alerting: Update CODEOWNERS. ( #88872 )
...
Assigns ownership of Alerting backend components to grafana/alerting-backend, due
to deprecation of the existing grafana/alerting-backend-product team.
2024-06-06 21:51:54 +02:00
Isabella Siu
cd15e9732d
Cloudwatch: Use the metric map from grafana-aws-sdk ( #88733 )
2024-06-06 21:25:54 +03:00
Adela Almasan
79f9d529d3
VizTooltip: Format header value ( #88726 )
2024-06-06 13:08:05 -05:00
William Wernert
d359591dac
Alerting: Support recording rule struct in provisioning API ( #87849 )
...
* Support record struct in provisioning API
* Update api spec
* Use record field
* Restrict API endpoints following toggle
* Fix swagger spec
* Add recording rule validation to store validator
2024-06-06 21:05:02 +03:00
ismail simsek
808cf75ff8
InfluxDB: Use json-iterator package for json operations ( #88562 )
...
* return error early
* enable gzip between grafana and influxdb
* use json-iterator package for json operations
* revert gzip changes
* update test
* go mod tidy
go work sync
2024-06-06 20:14:53 +03:00
Dave Henderson
e21d357d67
chore: Updating linter, fixing some new warnings ( #88863 )
2024-06-06 13:01:27 -04:00
Andreas Christou
c9778c3332
AzureMonitor: Prometheus exemplars support ( #87742 )
...
* Update types
* Mark datasource as supporting traces
* Add logic to transform exemplar query to traces query
* Render appropriate editor
* Run trace query for exemplars
* Refactor out common functions
- Add function to retrieve first/default subscription
* Add route for trace exemplars
* Update logic to appropriately query exemplars
* Update traces query builder
* Update instance test
* Remove unneeded import
* Set traces pseudo data source
* Replace deprecated function calls
* Add helper for setting default traces query
* Don't show resource field for exemplars query
* When resetting operation ID for exemplars set query to default
- Update tests
* Update query header to appropriately set the service value
* Fix response frame creation and update tests
* Correctly select resource
* Convert subscriptionsApiVersion to const
* Add feature toggle
2024-06-06 17:53:17 +01:00
Ashley Harrison
5f33943397
Select: Revert "preserving custom value" changes ( #88856 )
...
* revert Select changes as we can handle it outside of the base select component
* update scenes
* update scenes properly
* revert changes to azure-monitor e2e tests
2024-06-06 17:33:31 +01:00
Adela Almasan
3ad03d869d
VizTooltip: Allow setting the maxWidth option ( #88652 )
2024-06-06 11:20:58 -05:00
David Harris
f8f44f28d3
chore: update mssql readme ( #88859 )
...
Adds better docs link
2024-06-06 17:18:43 +01:00
Torkel Ödegaard
bdfa96a6d3
DashboardScene: Fixes inspect with transforms issue ( #88843 )
...
* DashboardScene: Fixes inspect with transforms issue
* Update
2024-06-06 18:15:23 +02:00
Diego Augusto Molina
ae84c5fef9
Unified Storage: Fix Entity Server unconditionally starting ( #88857 )
...
fix Entity Server unconditionally starting
2024-06-06 12:17:46 -03:00
Josh Hunt
be96971289
Keybinds: Add wait to e2e test to hopefully mitigate flakiness ( #88854 )
...
Revert "remove anti-patterns"
This reverts commit 55eb0fa32a .
2024-06-06 17:55:15 +03:00
Jack Baldry
62fc451f7a
[docs/sources/fundamentals] Replace docs/reference shortcode with ref URIs ( #88080 )
2024-06-06 15:42:40 +01:00
Joao Silva
c2dd44bc5a
AppChrome: Add display flex to prevent multiple scrollbars ( #88512 )
2024-06-06 15:34:28 +01:00
renovate[bot]
504f64e248
Update opentelemetry-js monorepo ( #88850 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 15:31:16 +01:00
Will Browne
7d8722b561
API server: Add shutdown func to interface ( #88827 )
...
add shutdown func to interface
2024-06-06 15:18:54 +01:00
Staton Hysell
0e62c200dd
Update QuerySuggestionItem.tsx ( #86950 )
...
* Update QuerySuggestionItem.tsx
Adjusts the styling of the "no" button in the explainer feedback section to a standard secondary variant instead of the success styling
* run prettier for drone
---------
Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com >
2024-06-06 17:17:01 +03:00
Timur Olzhabayev
9704186017
Docs: Updating documentation for angular_support_enabled ( #88840 )
...
fixing docs
2024-06-06 07:15:21 -07:00
Bogdan Matei
8d36949f61
Scopes: UI Improvements ( #88026 )
2024-06-06 16:00:56 +02:00
renovate[bot]
d88f2734ae
Update dependency type-fest to v4.19.0 ( #88844 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 14:44:52 +01:00
Gilles De Mey
cf6a2b9f39
Alerting: Clarify that we are adding subling policies ( #88829 )
...
clarify that we are adding subling policies
2024-06-06 15:42:38 +02:00
Gilles De Mey
755fcc9838
Alerting: Update search examples for notification policies ( #88830 )
...
update search examples for notification policies
2024-06-06 15:42:26 +02:00
Timur Olzhabayev
8690e97c92
Chore: disable proxy trailing slash keep by default ( #88842 )
...
disable proxy trailing slash keep by default
2024-06-06 16:28:11 +03:00
antonio
000b5dd6ea
docs: alerting: clarify which panels support alerts ( #88756 )
...
* alerting: clarify which panels support alerts
* changed note placement
* small change to link
* added links
* Update docs/sources/alerting/alerting-rules/create-grafana-managed-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/create-mimir-loki-managed-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/panels-visualizations/visualizations/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/panels-visualizations/visualizations/time-series/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/panels-visualizations/visualizations/time-series/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-06-06 15:19:59 +02:00
Timur Olzhabayev
1909ad6fa8
Chore: Removing editor.html from angular patterns ( #88845 )
...
Removing editor.html from angular patterns
2024-06-06 16:12:51 +03:00
Dave Henderson
ca1379bad3
chore: A few updates for the pkg/build/wire fork ( #88813 )
...
* chore: A few updates for the pkg/build/wire fork
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* chore: run go work sync
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-06 16:09:27 +03:00
brendamuir
beb8397be8
Alerting docs: adds notification policy update ( #88515 )
...
* Alerting docs: adds notiification policy update
* Adds insert below or above
* ran prettier
* few grammar adds
* Changes to child policy terminology
* adds sibling terminology
* ran prettier
* updates with new terminology
* updates child policy info
* corrects typo
* ran prettier
* changes description for child policy
2024-06-06 14:59:04 +02:00
renovate[bot]
bc7a8d6dfa
Update dependency @grafana/scenes to v4.26.3
2024-06-06 12:48:28 +00:00
renovate[bot]
c6720f1c06
Update dependency nx to v19.2.0 ( #88833 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 14:10:36 +02:00
Josh Hunt
51b3116730
Keybinds: E2E tests ( #88752 )
...
* Attempt at a keybinds e2e test
* another one, thank you
* polish e2e tests, remove console.log
* an extra test
* remove anti-patterns
2024-06-06 14:10:11 +03:00
github-actions[bot]
2cc59f1cb3
I18n: Download translations from Crowdin ( #88810 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-06 13:38:47 +03:00
renovate[bot]
b0e73590ef
Update dependency eslint-plugin-jsdoc to v48.2.8
2024-06-06 10:22:39 +00:00
renovate[bot]
a11ef646e4
Update dependency @grafana/scenes to v4.26.2
2024-06-06 10:03:21 +00:00
Joao Silva
a23174849c
TimePicker: Fix bug where recent timeranges is cut off ( #88795 )
2024-06-06 10:49:59 +01:00
Matias Chomicki
a21a9b9c6c
Loki: Kick start your query now applies templates to the current query ( #87658 )
...
* Kick start your query: keep pipe operations in the original query
* QueryPatternsModal: define keep operations from the operations list
* QueryPatternsModal: resolve deprecation
* QueryPatternsModal: use the correct import
* QueryPatternsModal: use category instead of order rank
* QueryPatternsModal: add unit test case
* Chore: change button cta
2024-06-06 12:47:17 +03:00
Karl Persson
d3b06f09ae
Users: remove unused store function ( #88784 )
2024-06-06 11:43:51 +02:00
renovate[bot]
7e2305418a
Update dependency stylelint to v16.6.1 ( #88792 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-06 12:42:33 +03:00
Victor Marin
c79ea234db
Simplify lib panel creation in dashboard ( #88681 )
...
simplify lib panel creation in dashboard
2024-06-06 11:37:44 +03:00
Misi
4f2a9a47f3
Auth: Add org to role mappings support to Okta integration ( #88770 )
...
* Add org mapping support to Okta
* Update docs and configs
* Prettier docs
* Apply suggestions from code review
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Improve tests
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2024-06-06 10:35:06 +02:00
Victor Marin
50b3269ef0
Dashboard Scenes: Add replace lib panel functionality ( #87109 )
...
* add replace lib panel functionality
* refactor
* locales
2024-06-06 11:34:45 +03:00
Ryan Crutchfield
8fb12cd63d
Remove invisible character in SAML certificate command ( #87057 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-06-06 07:26:13 +01:00
Andre Pereira
277067ac9d
AnnotationsPlugin2: Implement support for rectangular annotations in Heatmap ( #88107 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-06-05 16:48:37 -05:00
Marcus Efraimsson
2403665998
Chore: Remove legacydata package ( #88790 )
...
* Chore: Remove legacydata package
* remove unused dependency
* sdk v0.234.0
2024-06-05 22:31:06 +02:00
ismail simsek
08276bd8e7
InfluxDB: Revert calculation of maxPointsEnforced value ( #88809 )
...
revert calculation of maxPointsEnforced
2024-06-05 21:43:04 +02:00
ismail simsek
a87c155c06
Chore: Return influxdb query error early before parsing the result ( #88549 )
...
return error early
2024-06-05 21:36:13 +02:00
Tom Ratcliffe
170d476bdc
Alerting: Add RBAC logic for silences creation ( #87322 )
...
* Remove role requirement for editing silence (instead handled by silence editor displaying error)
* Send query params for metadata/access control silence logic
* Add new access control types to enum
* Add folder-specific checks for silences
* Remove filtering in alert manager picker
* fix flakey rule viewer test and update permissions helper
* Use `returnTo` in rule viewer page
* Fix incorrect display of duration
* Clean up some mock server behaviour in rule details tests
* Tweak styles for silences alerts table
* Remove alertmanager picker from silences drawer
* Add error if user cannot edit a silence
* Show alert rule name in silences table and consume RBAC logic
* Update mocks to include RBAC access control logic
* Update silences tests
* Update silences type to include access control info
* Update comment for missing alertmanager
* Update mock handlers and query param logic
* Tweak query params again
* Update access control mock
* Revert AM picker fix as user may not have access to Grafana AM
* Swap ternary order
* Change text for no alert rule targeted
* Don't show error alert from RTKQ query and remove alert instance preview in case of error
* Add missing translations
* Fix test adding missing mock for getting alert rule
* Add missing translations in SilencesTable
* Add translations autogenerated files
* fix allowing edit silence in external alert manager
---------
Co-authored-by: Sonia Aguilar <soniaaguilarpeiron@gmail.com >
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-06-05 15:09:26 -04:00
Dave Henderson
20c90ff60d
Chore: bump Go to 1.22.4 ( #88794 )
...
* chore: bump Go to 1.22.4
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* use go-version-file for ephemeral instances workflows too
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-06-05 14:29:27 -04:00
owensmallwood
1059441ec6
GRPC Service: Use native histogram when enabled ( #88804 )
...
* use native histogram when enabled
* enable native histograms permanently for grpc service histogram
2024-06-05 12:25:09 -06:00
Diego Augusto Molina
5fc580b401
Unified Storage: Testing For Fix Create, Update and Delete wrt Resource Versions ( #88568 )
...
Add testing harness
2024-06-05 15:18:33 -03:00
Diego Augusto Molina
6fcd7d9e03
Unified Storage: Fix Create, Update and Delete wrt Resource Versions ( #88183 )
...
* add sqltemplate utilities, improve tests and documentation
* bunch of things
* remove unnecessary message
* add queries
* add queries
* add queries
* add folders support
* fix diff
* fix linters
* fix diff
* fix linters
* fix linters
* fix typo
* fix linters
* fix linters
* fix linters
* several fixes
* several fixes
* temporarily disable k8s integration tests for Entity Server
* postpone some tests
* postpone documentation changes
* Fix bug in create
* improve error reporting
* fix PostgeSQL parameters
* fix MySQL sqlmode
* fix MySQL-5.7
* reduce but document the number of database connection options
* remove unused code and improve docs
2024-06-05 14:23:32 -03:00
Alexander Weaver
cbe7521a56
Alerting: Upgrade grafana/alerting ( #88803 )
...
* upgrade grafana/alerting
* Go work sync
2024-06-05 20:23:00 +03:00
Alexander Weaver
820ee6e9db
Alerting: Make all in api generator tooling now actually makes all ( #88793 )
...
* Make all now actually makes all
* Clean depends on clean-go
2024-06-05 11:52:31 -05:00
Fayzal Ghantiwala
80f54778f3
Alerting: Add option to use Redis in cluster mode for Alerting HA ( #88696 )
...
* Add config option to use Redis in cluster mode
* Use UniversalOptions
2024-06-05 17:02:25 +01:00
Carl Bergquist
16cc75b02c
Scopes: Add Handler for returning dashboards related to a list of scopes. ( #87758 )
...
- Adds a find endpoint to return dashboard bindings that match any of the scopes. For example /apis/scope.grafana.app/v0alpha1/namespaces/default/find/scope_dashboard_bindings?scope=s1&scope=s2
- Updates the ScopeNode find endpoint to a new path, /find/scope_node_children , makes the key "items" for all find endpoints (instead of mix of "found" and "items"), and makes the list item type a ScopeNode instead of its own type.
- Updates kubectl get commands to return more information about scopes, scopenodes, and scopedashboard bindings to display more fields in table output
---------
Signed-off-by: bergquist <carl.bergquist@gmail.com >
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
Co-authored-by: Kyle Brandt <kyle@grafana.com >
Co-authored-by: Todd Treece <todd.treece@grafana.com >
2024-06-05 11:47:36 -04:00
Ivana Huckova
023857625a
Elasticsearch: Remove enableElasticsearchBackendQuerying feature toggle ( #88668 )
...
* wip
* Fix newly introduced any
* Remove toggle
* Remove unused code in LegacyQueryRunner
2024-06-05 17:03:29 +02:00
renovate[bot]
8dcbd74803
Update dependency rc-drawer to v7.2.0 ( #88785 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 16:03:06 +01:00
Andreas Christou
d6a259f110
Azure: Update e2e image ( #88778 )
...
* Update e2e image
* Comment for testing
2024-06-05 08:35:09 -06:00
Ryan McKinley
41e0430f83
K8s/Dashboards: Add frontend api to switch between implementations ( #88632 )
2024-06-05 17:34:23 +03:00
Karl Persson
f28905f8c4
Auth: Add org to role mappings support to Gitlab integration ( #88751 )
...
* Conf: Add org_mapping and org_attribute_path to github and gitlab conf
* Gitlab: Implement org role mapping
* Update docs
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2024-06-05 16:15:53 +02:00
renovate[bot]
1ceb9e8e9d
Update babel monorepo to v7.24.7
2024-06-05 14:14:01 +00:00
Ashley Harrison
2297687ae1
Chore: Ensure all react-transition-group animations use nodeRef ( #88604 )
...
* ensure all react-transition-group animations pass nodeRef
* clone children instead of wrapping in div
* remove div wrapper
* revert back to div
2024-06-05 15:01:50 +01:00
Ivana Huckova
a2f7e208fd
Elasticsearchl: In version check, include / ( #88779 )
...
Elasticsearchl: In version check, include /
2024-06-05 15:54:04 +02:00
renovate[bot]
0188fc3e1f
Update dependency rc-cascader to v3.26.0 ( #88777 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 14:52:25 +01:00
Marcus Efraimsson
0fffa31931
Chore: Remove unused code in legacydata package ( #88772 )
2024-06-05 15:37:32 +02:00
Dave Henderson
df784917e4
Alerting: Improve performance of tupleLablesToLabels function ( #88736 )
...
* Alerting: Improve performance of tupleLablesToLabels function
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* use %s for string rather than %v
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com >
2024-06-05 16:19:09 +03:00
renovate[bot]
3a6034b58e
Update dependency prettier to v3.3.1 ( #88771 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 14:18:22 +01:00
renovate[bot]
a58ac462c1
Update dependency knip to v5.17.4 ( #88759 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 15:18:39 +03:00
Dmitry Bashkatov
17525ad43f
Logs: Added support for numeric log levels ( #87366 )
...
* logs: add support for numeric loglevels
* Log types: add a numeric level map to LogLevel
* getLogLevelFromKey: adapt to support numeric levels
* Formatting
* getLogLevelFromKey: accept strings or numbers
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com >
2024-06-05 13:56:36 +02:00
Carl Bergquist
f262880b68
Scopes: Add field to disable selecting multiple scope under a ScopeNode ( #88767 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-06-05 14:43:22 +03:00
Marcus Efraimsson
fe3e5917f1
Plugins: Preserve trailing slash in plugin proxy ( #86859 )
...
* Plugins: Preserve trailing slash in plugin proxy
* enable toggle by default
2024-06-05 13:36:14 +02:00
Andreas Christou
17f03882d4
Azure: Update resource group ( #88690 )
...
Update azure e2e tests
2024-06-05 12:02:46 +01:00
Gilles De Mey
33d4e59ffb
Alerting: Use folder_uid instead of file for Grafana managed alert rules ( #88497 )
2024-06-05 12:46:23 +02:00
renovate[bot]
cd5f485df7
Update dependency tslib to v2.6.3
2024-06-05 10:08:51 +00:00
Gabriel MABILLE
b1520e93f1
Fix: Regenerate token on failed encryption/decryption ( #88732 )
...
* Add function to rotate the extsvc token
* Recover from failed token decryption
* add log
* Remove error check
* Log outside error
2024-06-05 11:56:54 +02:00
renovate[bot]
4443438fab
Update dependency @types/node to v20.14.2
2024-06-05 09:48:36 +00:00
Matias Chomicki
ec9aecd82b
Loki: remove query formatting ( #88636 )
...
* Loki: remove query formatting
* Loki formatting: remove feature flag
* chore: remove test
* Formatting
2024-06-05 12:46:28 +03:00
renovate[bot]
9bec35563a
Update dependency @grafana/plugin-e2e to v1.3.2
2024-06-05 09:20:09 +00:00
renovate[bot]
b101b37e2c
Update dependency @grafana/lezer-logql to v0.2.4 ( #88745 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 09:53:23 +01:00
renovate[bot]
45336105b2
Update dependency glob to v10.4.1 ( #88717 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-05 09:32:39 +01:00
Ryan McKinley
b640b6e8d1
K8s: Improve k8s dashboard query ( #88629 )
2024-06-05 11:21:51 +03:00
Karl Persson
7bc7ae2e8c
Docs: Update feature toggle information for generic oauth ( #88740 )
2024-06-05 09:55:51 +02:00
Ieva
e653003c73
Docs: Document the UIDs of basic roles ( #88742 )
...
document the UIDs of basic roles
2024-06-05 10:30:07 +03:00
Torkel Ödegaard
e735573852
DashboardScene: Fixes issue with some query editors to not adapt to width changes ( #88718 )
...
DashboardScene: Fixes issue with panel editor causing moncao query editors to not adapt to width changes
2024-06-05 08:14:45 +02:00
Ryan McKinley
71be5c6eb4
K8s: Remove action metadata key ( #88591 )
...
* remove action
* remove action
* remove action
* fix test
2024-06-05 07:37:36 +03:00
Leonardo Boleli
d83818f8cc
Cloudwatch: Update AWS DynamoDB Metrics ( #88418 )
2024-06-04 15:22:15 -04:00
Santiago
9f9928d41a
Alerting: Update grafana/alerting ( #88363 )
...
* Alerting: Update grafana/alerting
* make tests pass by implementing yaml unmarshallers and deleting fields with omitempty in their yaml tags
* go mod tidy
* fix tests by implementing not calling GettableApiAlertingConfig.UnmarshalYAML from GettableApiAlertingConfig.UnmarshalJSON
* cleanup, reduce diff
* fix more tests
* update grafana/alerting to latest commit, delete global section from configs in tests
* bring back YAML unmarshaller for GettableApiAlertingConfig
* update alerting package dependency to point to main
* skip test for sns notifier
2024-06-04 20:29:37 +02:00
Ihor Yeromin
618c51e193
Stat: Cut the top of the chart issue ( #88640 )
...
* fix(stat): update config on range change
2024-06-04 19:09:10 +02:00
Ryan Watts
f1dce0c7d7
XYChart: Use same auto-ranging logic for X and Y axes ( #88584 )
2024-06-04 11:58:59 -05:00
Matias Chomicki
cd3dab2736
Logs: Infinite scrolling in Explore enabled by default ( #87493 )
...
Logs: enable infinite scrolling
2024-06-04 18:23:20 +02:00
github-actions[bot]
9bbf96d9e6
I18n: Download translations from Crowdin ( #88676 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-04 19:16:36 +03:00
Matias Chomicki
1cfb21a74c
Logs: improve deduplication supporting code and fix duplicated frames ( #88716 )
...
* Logs: change refId approach to deduplicate infinite scrolling rows
* Chore: update tests
* chore: add comment
* Prettier
2024-06-04 19:09:33 +03:00
Jack Westbrook
a1d41a8932
Docs: Put back section on how to work with frontend plugins ( #88713 )
...
revert(developer-guide): put back section on how to work with frontend plugins in monorepo
2024-06-04 17:57:22 +02:00
renovate[bot]
404de83b06
Update dependency eslint-webpack-plugin to v4.2.0 ( #88715 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 18:44:58 +03:00
renovate[bot]
93b223f1e9
Update dependency esbuild-plugin-browserslist to ^0.12.0 ( #88705 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 16:27:12 +01:00
Andreas Christou
f787418e4b
AzureMonitor: Fix bug detecting app insights queries ( #88572 )
...
Make regexp case insensitive
2024-06-04 16:16:31 +01:00
Marcus Efraimsson
0af2931672
Plugins: Don't forward cookies for app plugins ( #88663 )
2024-06-04 16:55:54 +02:00
renovate[bot]
aaf95f7a08
Update dependency centrifuge to v5.2.0 ( #88699 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 15:28:39 +01:00
Kyle Hounslow
36c66e3e94
Update proxy/index.md ( #88261 )
...
* Update index.md
Specify proxy support is for SOCKS5 in Title. So it is clear this is not for TCP or HTTP proxy
* update title to match header
2024-06-04 09:08:53 -05:00
Diego Augusto Molina
62b3983d08
fix bug in Makefile enabling Go Race Detector in make run ( #88687 )
...
fix bug in Makefile that always enables Go Race Detector when run with make run
2024-06-04 11:02:09 -03:00
renovate[bot]
d4c28aa757
Update dependency @types/react-highlight-words to v0.20.0 ( #88693 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 14:54:22 +01:00
Andrej Ocenas
048194597f
Explore: Align time filters properly to day boundaries in query history ( #88498 )
2024-06-04 15:04:36 +02:00
renovate[bot]
b8cd5bb57c
Update dependency @types/node to v20.14.1 ( #88689 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 13:58:08 +01:00
Yuri Tseretyan
a63ef42816
Alerting: Mute Timing service to prevent changing provenance status to none ( #88462 )
...
* use relaxed validation to not introduce breaking changes for now but to be able to use the service
in non-provisioning APIs.
2024-06-04 08:54:33 -04:00
Mihai Doarna
25c57f21cd
SSO: Add the new role value fields for SSO SAML strategy ( #88561 )
...
added the new role value fields for SSO SAML strategy
2024-06-04 15:47:27 +03:00
Mihai Doarna
6b7e4b223d
Docs: Update the SAML role mapping docs with the new fields added ( #88529 )
...
* mention the auto_assign_org_role in saml role sync
* add role_values_viewer to docs
2024-06-04 15:45:37 +03:00
Sarah Zinger
4d002d85f9
Cloudwatch Logs: Fix bug where we did not return errors to user ( #87190 )
2024-06-04 08:43:36 -04:00
Sonia Aguilar
2090270a13
Gops: Fix data field in incidents query ( #88682 )
...
Remove data field in incidents query
2024-06-04 14:42:56 +02:00
renovate[bot]
ee157949e4
Update dependency @grafana/scenes to v4.26.0 ( #88677 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-04 13:29:20 +01:00
Joey
a52f99246f
Tempo: Send current filters when retrieving tags for AdHocFilters ( #88270 )
...
* Send current filters when retrieving tags
* Tests
* Syntax update
* Update if
2024-06-04 13:20:06 +01:00
renovate[bot]
66bc0fa9e9
Update dependency nx to v19.1.2
2024-06-04 11:06:10 +00:00
renovate[bot]
de2d8fadcc
Update dependency @grafana/plugin-e2e to v1.3.1
2024-06-04 10:38:46 +00:00
Laura Benz
adbb005d38
RestoreDashboards: Populate page ( #88555 )
...
* feat: add search input and filters
* feat: add state management v0
* feat: update search view and add to trash page
* refactor: fix some errors
* feat: page population
* feat: fix error
* Run betterer checks locally
* Run i18n abstraction
* refactor: clean up after merging main
* refactor: clean up after merging main
* Run i18n abstraction
* refactor: remove browse view
2024-06-04 12:08:18 +02:00
Fayzal Ghantiwala
b66cd7ef79
Alerting: Add filters for RouteGetRuleStatuses ( #88295 )
...
* Placeholder commit with rule_uid change
* Add new filters to grafana rule state API
* Revert type change
* Split rule_group and rule_name params
* remove debug line
* Change how query params are parsed
* Comment
2024-06-04 10:57:55 +01:00
github-actions[bot]
783aa1c0b4
I18n: Download translations from Crowdin ( #88665 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-04 09:40:54 +00:00
Sven Grossmann
2fb63cd2e6
Loki: Fix editor history in wrong order ( #88666 )
2024-06-04 11:40:04 +02:00
Ashley Harrison
3f7017a471
Chore: Remove nestedFolderPicker toggle ( #88660 )
...
remove nestedFolderPicker toggle
2024-06-04 12:16:12 +03:00
renovate[bot]
de67734871
Update dependency @react-awesome-query-builder/ui to v6.5.2 ( #88630 )
...
* Update dependency @react-awesome-query-builder/ui to v6.5.2
* fix type errors
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-06-04 12:15:16 +03:00
Ashley Harrison
9f95841c45
Chore: Fix typo in lint rule file name ( #88662 )
...
rename file
2024-06-04 12:08:37 +03:00
Tobias Skarhed
4d4cfaefce
Devenv: Longer provisioning update intervals ( #88623 )
...
* Change devenv provision updateinterval to one hour
* Update bulk-dashboards and bulk-folders
* Clear bulk-folders before creating new ones
* Update devenv/bulk-folders/bulk-folders.sh
2024-06-04 11:00:23 +02:00
Ryan McKinley
b02a5d6e07
FeatureFlags: Update creation timestamps ( #88654 )
2024-06-04 10:40:18 +02:00
Josh Hunt
407bbe1f4b
Keybinds: Vendor Mousetrap ( #88603 )
...
* vendor mousetrap
* fix js lint errors
* name to .ts - start refactoring to typescript
* refactor Mousetrap to valid typescript
rename local functions/variables
update types of CallbackInfo
Specify MouseCallback and cleanup types
* Use vendored mousetrap
* use vendored mousetrap
* add globalBind, and remove dependency on external mousetrap
* Update public/app/core/services/keybindingSrv.ts
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com >
---------
Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com >
2024-06-04 09:35:19 +01:00
Ashley Harrison
1cb701c304
Chore: Move Switch SCSS to emotion/angular ( #88553 )
...
move switch scss to emotion/angular
2024-06-04 09:34:38 +01:00
Tobias Skarhed
799ae387ff
Docs: Remove custom branding screenshot ( #88657 )
...
Update index.md
2024-06-04 10:34:17 +02:00
Pepe Cano
7372c446a4
Alerting docs: Specify Grafana alert rule evaluation ( #88250 )
...
* Alerting docs: Specify Grafana alert rule evaluation
* Mention alerts can display the same evaluation timestamp
* Specify `concurrent` behavior in alert rule evaluation
* Include a minor `Evaluation strategies` section
2024-06-04 10:31:21 +02:00
Sonia Aguilar
88a2485cc2
Alerting: Update translations in GrafanaEvaluationBehaviour component ( #88638 )
...
* Update translations
* Fix key in translations
* Interpolate point char in the Trans children text
* Use interpolation correctly in Trans component
2024-06-04 11:19:53 +03:00
github-actions[bot]
dca8ba7acd
I18n: Download translations from Crowdin ( #88658 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-04 08:18:10 +00:00
Oscar Kilhed
0f89f4b2d2
Grafana UI: stop input element of the react select component from overflowing and causing layout issues. ( #88372 )
...
* Grafana UI: stop input element of the react select component from overflowing the input container
* update snapshot since the css changed
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-06-04 10:13:43 +02:00
Carl Bergquist
c99fe4f970
Scopes: Add DashboardTitle to scopedashboardbinding ( #88609 )
...
scopes: add title to scopedashboardbinding
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-06-04 10:36:03 +03:00
Pepe Cano
3af72bdeee
Alerting docs: fix Alertmanagers title ( #88625 )
2024-06-04 09:10:28 +02:00
Laura Benz
b6bd9e5352
Laura/refactor/rename trash section ( #88617 )
...
* refactor: move and rename page component
* refactor: change codeowners
* refactor: change naming in backend
* refactor: change wording of subtitle
2024-06-04 10:03:33 +03:00
Brendan O'Handley
eeabb6f066
Prometheus: Add hints for native histograms ( #87017 )
2024-06-03 16:59:06 -05:00
Matthew Jacobson
31d5dd0a12
Alerting: Prevent updating rule uid matcher for silences ( #88519 )
...
Prevents updating the `__alert_rule_uid__` equality matcher (used for rule-specific silences) on existing silences
2024-06-03 17:39:06 -04:00
ismail simsek
f458e57523
InfluxDB: Fix custom variable support ( #88642 )
...
* fix variable support
* prettier
2024-06-03 23:47:27 +03:00
Yuri Tseretyan
043e19afb5
SSE: Fix threshold unmarshal to avoid panic ( #88521 )
2024-06-03 16:16:13 -04:00
Señor Performo - Leandro Melendez
63ca00dd10
Docs: Add Installation YouTube Videos to documentation pages. ( #88465 )
...
* Added Installation video index.md
* Update index.md adding video for Debian and Ubuntu installs
* Update index.md adding install video in macOS
* Update index.md adding video to install RHEL or Fedora
* Update index.md adding install video for SUSE
* Update index.md adding video for Windows installer
* Update _index.md Updated from suggestions
* Update index.md from suggestions
* Update index.md from suggestions
* Update index.md from suggestions
* Update index.md from suggestions
* Update index.md from suggestions
* Update docs/sources/setup-grafana/installation/_index.md
Applied Chris' suggestion
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Update docs/sources/setup-grafana/installation/debian/index.md
Applied Chris' suggestion
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Update docs/sources/setup-grafana/installation/mac/index.md
Applied Chris' suggestion
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Update docs/sources/setup-grafana/installation/redhat-rhel-fedora/index.md
Applied Chris' suggestion
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Update docs/sources/setup-grafana/installation/suse-opensuse/index.md
Applied Chris' suggestion
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
* Update docs/sources/setup-grafana/installation/windows/index.md
Applied Chris' suggestion
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2024-06-03 11:38:02 -06:00
Leon Sorokin
87cafbf9af
XYChart2: Implement color-by-field ( #88467 )
2024-06-03 11:53:59 -05:00
Gilles De Mey
e419c76842
Alerting: update CODEOWNERS ( #88628 )
...
update CODEOWNERS
2024-06-03 16:25:43 +00:00
Artur Wierzbicki
6523bf4b8e
Chore: fix typo in contribute/developer-guide.md to make codespell happy ( #88639 )
...
make codespell happy
2024-06-03 19:12:28 +03:00
Ashley Harrison
3f3f95fe0c
Betterer: force update results file ( #88637 )
...
force update results file
2024-06-03 18:43:47 +03:00
Ashley Harrison
16099c9913
Drawer: Fix overflow to stop drag handle being cut off ( #88500 )
...
fix drawer overflow to stop drag handle being cut off
2024-06-03 15:35:46 +01:00
EduardZaydler
dbec8465e5
Graphite: Fix splitting expressions in tag_value with template variables ( #86958 )
...
fix spilitting expressions in tag_value with template variables
2024-06-03 09:27:14 -05:00
renovate[bot]
f902e16d26
Update dependency @grafana/plugin-e2e to v1.3.0 ( #88624 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-03 15:08:02 +01:00
github-actions[bot]
034a43d066
I18n: Download translations from Crowdin ( #88535 )
2024-06-03 14:49:07 +01:00
Pepe Cano
2a8a6d755f
Alerting: update Set evaluation behavior text ( #88301 )
...
* Alerting: update `Set evaluation behavior` text
* Update `Evaluation group` description for the `Evaluation group` modal view
2024-06-03 15:41:34 +02:00
renovate[bot]
54a3ed1c7c
Update dependency yaml to v2.4.3
2024-06-03 13:32:11 +00:00
Ieva
c16f502ec5
Access Control: Clean up permissions for deprovisioned data sources ( #88483 )
...
* make sure that DS permissions get correctly cleaned up when a DS is deleted through provisioning
* don't attempt to delete a DS if it's not found
* fixes for tests
* fix ds tests
* rename DS service used by DS provisioner to BaseDataSourceService to avoid confusions with the full DS service
2024-06-03 16:19:53 +03:00
renovate[bot]
f204dd5bf1
Update dependency type-fest to v4.18.3
2024-06-03 13:05:43 +00:00
renovate[bot]
0ba54152dc
Update dependency ts-jest to v29.1.4
2024-06-03 12:27:33 +00:00
Misi
eacf6e0a4d
Auth: Add org to role mappings support to GitHub integration ( #88537 )
...
* wip: add extra tests for verifying current logic
* Add OrgRole mapping and tests
* Update docs
* Clean up
* Update docs/sources/setup-grafana/configure-security/configure-authentication/github/index.md
Co-authored-by: Mihai Doarna <mihai.doarna@grafana.com >
* Update docs with None role
* Apply suggestions from code review
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Fix
* Prettier docs
* Cleanup tests
---------
Co-authored-by: Mihai Doarna <mihai.doarna@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-06-03 14:24:58 +02:00
Alexa V
e147c58a7b
Dashboard: Fix Variables query hides fields with non-supported datasources ( #88516 )
...
* Show queryVariable editor even if the variable does not support variables
* Fix VariableQueryRunner unit test, now takes into account the new function
2024-06-03 13:58:30 +02:00
renovate[bot]
44c62dd536
Update dependency sass to v1.77.4
2024-06-03 11:44:55 +00:00
brendamuir
b6145fcb4c
Alerting docs: delete screensbots ( #88608 )
...
* Alerting docs: delete screensbots
* deletes screenshot 2
2024-06-03 13:42:58 +02:00
renovate[bot]
6003d26088
Update dependency rudder-sdk-js to v2.48.8
2024-06-03 10:50:13 +00:00
Tobias Skarhed
44ca89fe77
KeyboardShortcuts: Support panel attention for scenes ( #88476 )
...
* Support panel attention for scenes
* Remove console.log
* Bump scenes version for good measure
* Mock appEvents
* Remove unused import
2024-06-03 12:49:13 +02:00
Ashley Harrison
e781716a38
Chore: move PageHeader component to angular folder ( #88556 )
...
move page-header component to angular folder, scss to angular.scss
2024-06-03 11:47:47 +01:00
renovate[bot]
cdb6b13c7e
Update dependency rollup-plugin-dts to v6.1.1
2024-06-03 10:13:07 +00:00
renovate[bot]
59894ef7db
Update dependency reselect to v5.1.1
2024-06-03 09:45:08 +00:00
nerda-codes
12232dde54
[docs/sources/datasources/prometheus/configure-prometheus-data-source] Replace outdated text content in the Grafana UI with updated content ( #88548 )
2024-06-03 12:42:34 +03:00
ismail simsek
c73bbf19a1
InfluxDB: Introduce maxDataPoints setting for flux variable query editor ( #87935 )
...
* Introduce custom variable support
* Remove comment lines
* introduce maxDataPoints
* fix tests
* update
* fix unit tests
* remove new line
2024-06-03 12:09:33 +03:00
Pepe Cano
3e57576770
Alerting docs: Contact points updates ( #88582 )
...
* Update `Intro>Notifications>Contact points`
* Mention `OnCall` integration
2024-06-03 11:01:54 +02:00
Pepe Cano
68c44f1dd9
Alerting docs: Update Alertmanager docs ( #88567 )
...
* Remove alertmanager page and set redirects
* Update internal alertmanager links
* Update `Alertmanager` docs
* Change heading to `Configure Alertmanagers`
2024-06-03 11:00:52 +02:00
renovate[bot]
02182620db
Update dependency msw to v2.3.1
2024-06-03 09:00:33 +00:00
Joseph Perez
2c7569e004
Docs: Fix two broken links to plugin-tools/reference ( #87278 )
...
Fix two broken links
2024-06-03 10:58:23 +02:00
renovate[bot]
fcc89351d1
Update dependency @pmmmwh/react-refresh-webpack-plugin to v0.5.15 ( #88594 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-03 09:38:18 +01:00
renovate[bot]
afec695e42
Update dependency @types/gtag.js to ^0.0.20 ( #88571 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-03 09:17:16 +01:00
Victor Marin
e86784200a
Create lib panel and replace it in scene ( #88504 )
...
* Create lib panel - also replace it in scene
* refactor
* refactor
* refactor
2024-06-03 11:02:41 +03:00
Karl Persson
68f2585712
Cli: Fix bug where password is hashed twice ( #88589 )
2024-06-03 09:14:55 +02:00
Eric Leijonmarck
221e036233
Docs: add pinning of terraform for migration ( #88528 )
...
* Docs: update with terraform version
* added the terraform version pinning
* formatting
* Update docs/sources/administration/api-keys/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* formatting
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-06-02 13:30:15 +02:00
Nathan Marrs
9e82c85849
Canvas: Chore fix *remaining* betterer issues ( #88491 )
2024-05-31 13:33:31 -07:00
Isabella Siu
be2e420e6b
CloudWatch: Handle permissions error and update docs ( #88524 )
2024-05-31 14:36:38 -04:00
Arati R
73905695e3
Storage: Remove dual writing mode feature flags ( #88573 )
...
Remove dual writing feature flags
2024-05-31 20:18:09 +02:00
Leon Sorokin
a257b74d6e
TooltipPlugin: Fix console error when data updates while anchored ( #88546 )
2024-05-31 13:17:54 -05:00
Arati R
36f42853dd
Storage: Read desired mode from config instead of feature flags ( #88353 )
...
* Read desired mode from config
* Update playlist integration tests
* Add mode 1 playlist integration tests
* Add mode 0 dual writing to playlist integration tests
* Add documentation for the different dual writing modes
2024-05-31 19:29:59 +02:00
renovate[bot]
d3fa52a730
Update dependency react-i18next to v14.1.2
2024-05-31 17:21:34 +00:00
renovate[bot]
968dfcbf6e
Update dependency react-hook-form to v7.51.5
2024-05-31 15:53:32 +00:00
William Wernert
7a744a746b
Alerting: Update docs with rule read RBAC changes ( #88565 )
...
* Remove ref to `datasources:query` for rule read
* Remove more refs to `datasources:query`
* Run prettier
2024-05-31 11:50:44 -04:00
Diego Augusto Molina
c582744207
Chore: Allow using the Go race detector locally for tests and adhoc run binaries ( #88509 )
...
enable Go race detector locally for tests and adhoc run binaries
2024-05-31 12:30:51 -03:00
Pepe Cano
81af1d2208
Alerting docs: update Introduction > Notifications ( #88530 )
...
* Update Notifications intro page
* Update intro image
* Update docs/sources/alerting/fundamentals/notifications/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-05-31 17:28:15 +02:00
renovate[bot]
a9f805b7a2
Update dependency re-resizable to v6.9.17
2024-05-31 15:21:30 +00:00
Tom Ratcliffe
dfd64ed469
Alerting: Ensure we fetch AM config before saving new configuration ( #88458 )
2024-05-31 17:19:01 +02:00
renovate[bot]
aec8412af9
Update dependency nx to v19.1.1
2024-05-31 14:58:43 +00:00
renovate[bot]
ddcc0ce9bc
Update dependency ml-regression-simple-linear to v3.0.1
2024-05-31 14:38:36 +00:00
renovate[bot]
641c6624c6
Update dependency ml-regression-polynomial to v3.0.1
2024-05-31 14:21:17 +00:00
Piotr Jamróz
1e70cd8dad
Docs: Clarify that some GA flags may be disabled by default ( #88284 )
2024-05-31 16:18:54 +02:00
renovate[bot]
0ab0900f00
Update dependency i18next to v23.11.5
2024-05-31 13:04:49 +00:00
Bruno
33b9544047
Cloud migrations: create route to delete token ( #88297 )
...
* Cloud migrations: create route to delete token
* gcom.DeleteToken returns ErrTokenNotFound instead of a boolean
* remove unnecessary comment
* make openapi3-gen && yarn run rtk-query-codegen-openapi ./scripts/generate-rtk-apis.ts
* gcom stub: implement DeleteToken
2024-05-31 10:03:43 -03:00
Scott Schreckengaust
3e872bb77e
Cloudwatch: Add Kendra metrics ( #86809 )
2024-05-31 09:02:29 -04:00
renovate[bot]
ae11e54403
Update dependency dompurify to v3.1.5
2024-05-31 12:46:06 +00:00
Bruno
83543c6b12
Cloud migrations: create route to fetch cloud migration token ( #88176 )
...
* Cloud migration: create route to fetch cloud migration token
* implement gcomStub.ListTokens
* fix swagger for POST /cloudmigration/migration
* fix swagger for POST /cloudmigration/migration
* fix swagger for POST /cloudmigration/migration
2024-05-31 09:39:10 -03:00
renovate[bot]
b640921dfd
Update dependency @grafana/scenes to v4.25.0 ( #88541 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-31 15:25:57 +03:00
Fayzal Ghantiwala
67b9e3b269
Alerting: Update HA Redis TLS docs ( #88538 )
...
* Update HA Redis TLS doc
* Add test for regular TLS
* Update docs
* Update prom registry
2024-05-31 13:23:45 +01:00
Ashley Harrison
9317e2e1b2
Chore: fix betterer results ( #88539 )
...
fix betterer results
2024-05-31 15:01:15 +03:00
Ashley Harrison
8811c14aeb
AdHoc filters: add support for groups in adhoc filters + fix group styling ( #88430 )
...
add support for groups in adhoc filters + fix group styling
2024-05-31 11:04:19 +01:00
renovate[bot]
06121bb054
Update dependency eslint-plugin-react to v7.34.2
2024-05-31 09:56:48 +00:00
Piotr Jamróz
ce23a455c3
Explore: Show a modal to edit query template before saving it ( #88211 )
...
* Create a mock modal
* Add basic form handling
* Update tests
* Extract translations
* Disable auto-star switch
* Keep disabled input uncontrolled
2024-05-31 11:55:01 +02:00
renovate[bot]
287e3868ed
Update dependency @prometheus-io/lezer-promql to v0.52.1 ( #88531 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-31 12:27:54 +03:00
Ashley Harrison
8c88f605e4
Chore: Migrate some more scss styles ( #88484 )
...
* migrate some more styles
* migrate typeahead styles
* migrate tagsinput styles
2024-05-31 10:04:25 +01:00
renovate[bot]
a14a7580ed
Update dependency @prometheus-io/lezer-promql to v0.52.1 ( #88513 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-31 09:32:15 +01:00
Mihai Doarna
d83288b8c5
Docs: Improve the SSO settings API docs ( #87599 )
...
* improve SSO settings API docs
* address feedback
2024-05-31 11:22:54 +03:00
Sofia Papagiannaki
17ca61d7f8
Alerting: Export and provisioning rules into subfolders ( #77450 )
...
* Folders: Optionally include fullpath in service responses
* Alerting: Export folder fullpath instead of title
* Escape separator in folder title
* Add support for provisiong alret rules into subfolders
* Use FolderService for creating folders during provisioning
* Export WithFullpath() folder service function
---------
Co-authored-by: Tania B <yalyna.ts@gmail.com >
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-05-31 11:09:20 +03:00
Mihai Doarna
e1aedb65b3
SSO: Add oldSettings param to the Validate function from SSO settings ( #88245 )
...
* add oldSettings param to the Validate function from SSO settings
* update unit tests adding the missing param to Validate
2024-05-31 11:08:52 +03:00
Joseph Perez
9d8052830f
Docs: Edit of "ISSUE_TRIAGE" and other topics (part 3 of doc quality project) ( #88106 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-05-31 08:31:53 +01:00
Jon Cole
ba4c1fcf76
AzureMonitor: Retrieve Azure clouds from SDK ( #87944 )
...
* AzureMonitor: get the list of azure clouds from the SDK instead of from a hard coded list
* add azure-sdk to yarn.lock
* merge legacy with custom options
* Normalize legacy cloud names
* Workaround: send new credential format to backend while we wait to migrate to the new format
* Lint fix
* resolveLegacyCloudName should not return undefined
* re-add undefined handling in resolveLegacyCloudName so that we fallback to getDefaultAzureCloud when not defined
---------
Co-authored-by: Jeremy Angel <jeremyangel@microsoft.com >
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-05-30 23:40:05 +01:00
Drew Slobodnjak
1c339db7ad
Geomap: Improve Pan and Zoom Performance ( #88202 )
...
* Geomap: Improve pan and zoom performance
* Remove unused code
2024-05-30 14:41:59 -07:00
Nick Richmond
7ec93edec1
ExploreMetrics: Adjust wording to improve clarity ( #88319 )
...
refactor: change wording add clarity
2024-05-30 16:00:57 -04:00
Joseph Perez
2c8e869799
Docs: Edit of README and other topics in Contribute (part 1 of doc quality project) ( #85832 )
...
* Docs: Technical edit of 4 files in Contributing
* Fix admonitions
* Fix admonition
* Fix from code review
* Fix from code review
* Update contribute/create-pull-request.md
* Update contribute/merge-pull-request.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Minor fix
* Update contribute/merge-pull-request.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/merge-pull-request.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/merge-pull-request.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/merge-pull-request.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Update contribute/merge-pull-request.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Fix from code review
* Update contribute/triage-issues.md
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
* Run prettier
---------
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-05-30 10:41:02 -07:00
Nick Richmond
fddf77ee35
CodeEditor: Fix broken styles ( #88495 )
...
* fix: remove erroneous container
* fix: update selector
* fix: pass data attrs via `wrapperProps`
* fix: ensure `toBeInTheDocument` checks have unique markup
2024-05-30 20:34:00 +03:00
Matthew Jacobson
09cb3a6048
Alerting: Add optional metadata via query param to silence GET requests ( #88000 )
...
* Alerting: Add optional metadata to GET silence responses
- ruleMetadata: to request rule metadata.
- accesscontrol: to request access control metadata.
2024-05-30 12:04:47 -04:00
Ashley Harrison
413013a000
update results file
2024-05-30 17:10:10 +03:00
renovate[bot]
9a0482e7f2
Update dependency eslint-plugin-no-barrel-files to v1.1.1
2024-05-30 17:10:10 +03:00
Misi
ed6b3e9e7c
Auth: Introduce pre-logout hooks + add GCOM LogoutHook ( #88475 )
...
* Introduce preLogoutHooks in authn service
* Add gcom_logout_hook
* Config the api token from the Grafana config file
* Simplify
* Add tests for logout hook
* Clean up
* Update
* Address PR comment
* Fix
2024-05-30 15:52:16 +02:00
renovate[bot]
de201c5cdd
Update dependency eslint-plugin-jsdoc to v48.2.7
2024-05-30 13:34:49 +00:00
Edvard Falkskär
24d65fa32f
Docs: How to access Grafana in fundamentals tutorial ( #88488 )
...
* Docs: How to access Grafana in fundamentals tutorial
* All pretty, no pity
* note on login
---------
Co-authored-by: tonypowa <tonypowa@gmail.com >
2024-05-30 15:04:17 +02:00
renovate[bot]
e3fac9bf72
Update dependency dompurify to v3.1.4
2024-05-30 13:02:45 +00:00
Ivan Ortega Alba
c5ae0bbba2
Scenes: Update to latest 4.23.1 -> 4.24.4 ( #88485 )
...
# v4.24.4 (Thu May 30 2024)
#### 🐛 Bug Fix
- `@grafana/scenes`
- VizPanelRenderer: Emit SetPanelAttention event [#716 ](https://github.com/grafana/scenes/pull/716 ) ([@tskarhed](https://github.com/tskarhed ))
#### Authors: 1
- Tobias Skarhed ([@tskarhed](https://github.com/tskarhed ))
---
# v4.24.3 (Thu May 30 2024)
#### 🐛 Bug Fix
- `@grafana/scenes`
- Macros: Resolve browser timezone for `$__timezone` [#759 ](https://github.com/grafana/scenes/pull/759 ) ([@ivanortegaalba](https://github.com/ivanortegaalba ))
- Variables: Prioritize showing adhoc variable key and operator [#750 ](https://github.com/grafana/scenes/pull/750 ) ([@oscarkilhed](https://github.com/oscarkilhed ))
#### Authors: 2
- Ivan Ortega Alba ([@ivanortegaalba](https://github.com/ivanortegaalba ))
- Oscar Kilhed ([@oscarkilhed](https://github.com/oscarkilhed ))
---
# v4.24.2 (Wed May 29 2024)
#### 🐛 Bug Fix
- `@grafana/scenes`
- MultiValueVariable: Fixes issue when value is all value but all value is not enabled [#757 ](https://github.com/grafana/scenes/pull/757 ) ([@torkelo](https://github.com/torkelo ) [@ivanortegaalba](https://github.com/ivanortegaalba ))
#### Authors: 2
- Ivan Ortega Alba ([@ivanortegaalba](https://github.com/ivanortegaalba ))
- Torkel Ödegaard ([@torkelo](https://github.com/torkelo ))
---
# v4.24.1 (Tue May 28 2024)
#### 🐛 Bug Fix
- Plugin.json: update schema reference URL in scenes-app [#754 ](https://github.com/grafana/scenes/pull/754 ) ([@leventebalogh](https://github.com/leventebalogh ))
- `@grafana/scenes`
- Allow drag and dropping rows in valid states [#756 ](https://github.com/grafana/scenes/pull/756 ) ([@mdvictor](https://github.com/mdvictor ))
- fix: undefined check on RefreshPicker.autoOption [#751 ](https://github.com/grafana/scenes/pull/751 ) ([@darrenjaneczek](https://github.com/darrenjaneczek ))
#### Authors: 3
- Darren Janeczek ([@darrenjaneczek](https://github.com/darrenjaneczek ))
- Levente Balogh ([@leventebalogh](https://github.com/leventebalogh ))
- Victor Marin ([@mdvictor](https://github.com/mdvictor ))
---
# v4.24.0 (Mon May 27 2024)
#### 🚀 Enhancement
- `@grafana/scenes`
- SceneFlexLayout: Min width/height option was ignored [#749 ](https://github.com/grafana/scenes/pull/749 ) ([@edvard-falkskar](https://github.com/edvard-falkskar ))
#### Authors: 1
- Edvard Falkskär ([@edvard-falkskar](https://github.com/edvard-falkskar ))
---
2024-05-30 15:02:31 +02:00
renovate[bot]
fabed77d1f
Update dependency css-loader to v7.1.2
2024-05-30 12:44:55 +00:00
Misi
8a98e29fba
Docs: Update Okta docs ( #88352 )
...
* Update Okta docs
* Fixes
* Improvements
2024-05-30 14:42:24 +02:00
Carl Bergquist
6c79f63c04
Auth: Pass ctx when updating last seen ( #88496 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-05-30 14:25:54 +02:00
renovate[bot]
4b62be37f5
Update dependency core-js to v3.37.1
2024-05-30 12:11:46 +00:00
Kristin Laemmert
876ed9bf0b
chore: decrease frequency of updating last_seen ( #88461 )
2024-05-30 08:09:22 -04:00
kay delaney
8f45003192
LibraryPanels/RBAC: Ignore old folder permission check when deleting/patching lib panel ( #88422 )
...
* LibraryPanels/RBAC: Ignore old folder permission check when deleting lib panel
* Same for patching
2024-05-30 12:23:20 +01:00
Sofia Papagiannaki
4f999f2b6c
Dashboards: Fix regression when deleting folder ( #88311 )
...
* Fix regression when deleting folder
* Apply suggestion from code review
2024-05-30 14:21:34 +03:00
Gilles De Mey
f6a1ed3581
Alerting: Replace Strong component ( #88186 )
2024-05-30 13:05:37 +02:00
Konrad Lalik
93870c1cd8
Alerting: Use new endpoints to fetch single GMA rule on view and edit pages ( #87625 )
2024-05-30 12:55:06 +02:00
brendamuir
b07b6771e8
Alerting docs: adds pause and resume evaluation ( #88489 )
2024-05-30 12:47:38 +02:00
renovate[bot]
0c572e8db7
Update dependency @types/node to v20.12.13
2024-05-30 10:45:34 +00:00
Laura Fernández
98dcb3818c
Chore: Add no-untranslated-strings rule to betterer ( #88479 )
2024-05-30 12:45:22 +02:00
Gilles De Mey
b7db268798
Alerting: Correctly handle duplicating notification templates ( #88487 )
...
Co-authored-by: Alex Petrov <alex.petrov.vt@gmail.com >
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
Co-authored-by: Alex Petrov <apetrov@fastly.com >
2024-05-30 12:43:03 +02:00
renovate[bot]
c5c38b57c4
Update dependency @types/lodash to v4.17.4
2024-05-30 09:52:46 +00:00
Josh Hunt
5190e68ab1
Chore: Refactor betterer eslint to use overrides ( #88442 )
...
* Chore: Refactor betterer eslint to use overrides
* more comments
2024-05-30 10:09:30 +01:00
Sonia Aguilar
650f291054
Gops: Fix incidents url adding plugin twice in it ( #88472 )
...
Fix incidents url adding plugin twice in it
2024-05-30 11:05:20 +02:00
Yasir Ekinci
56a544668f
DashboardAI: Reformat prompts to have a single system prompt ( #88429 )
2024-05-30 02:46:05 -06:00
Agnès Toulet
d12c808279
Docker: Fix renderer plugin in custom Dockerfile ( #88223 )
...
* Docker: fix renderer plugin in custom Dockerfile
* Update Dockerfile
2024-05-30 10:27:26 +02:00
Tom Ratcliffe
5bb7d4da4c
Alerting: Remove regex reference in silences filter tooltip ( #88455 )
2024-05-30 09:05:34 +01:00
Ieva
1c2ae2c72d
Dashboards: Correctly display Admin access to dashboards in the UI ( #88439 )
...
* include folder wildcard scope in dash permission inheritance
* Update pkg/services/accesscontrol/ossaccesscontrol/permissions_services.go
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
---------
Co-authored-by: Karl Persson <kalle.persson@grafana.com >
2024-05-30 10:06:01 +03:00
Diego Augusto Molina
990ad860df
Chore: Allow using the Go race detector locally ( #88380 )
...
* use the Go race detector for local testing only
* add recipe to check if Go race detector is enabled
2024-05-29 20:34:16 -03:00
Nathan Marrs
98152b2f84
Stat: Add docs for stat percent change color options ( #88454 )
...
update docs
2024-05-29 14:13:01 -07:00
Bogdan Matei
011becb39e
Scopes: Use Grafana namespace instead of default ( #88451 )
2024-05-29 23:48:17 +03:00
Kyle Cunningham
f5346e3e2a
Table Panel: Move inspector into drawer component ( #88196 )
...
* Move inspector into drawer component
* Fix up naming
* fix betterer lint issue
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2024-05-30 03:33:05 +07:00
Nick Richmond
7334f71e09
CodeEditor: Improved styles when the code editor is loading ( #88102 )
...
* fix: monaco loading state
* chore: betterer
* test: leverage e2e selectors
* refactor: prefer HOC to wrap with testid
* refactor: add clarity
* docs: add clarity
* refactor: loading messaging
* test: rename vars to improve clarity
* test: rename vars to improve clarity
2024-05-29 15:55:18 -04:00
William Wernert
5de7d4d06d
Alerting: Create writer interface for recording rules ( #88459 )
...
* Create writer interface for recording rules
Also create fake impl + use it for stub in scheduler
2024-05-29 22:38:33 +03:00
Joseph Perez
4e99cd2860
Docs: Edit of "Developer Guide" and other topics (part 2 of doc quality project) ( #86072 )
...
* Edit deprecation-policy
* Edit drone-pipeline
* Docs: Edit of 4 files, part 2 of quality improvement
* Update contribute/developer-guide.md
* Update contribute/developer-guide.md
Co-authored-by: J Stickler <julie.stickler@grafana.com >
* Changes from feedback
* Properly style UNIX
* Update contribute/drone-pipeline.md
* Update contribute/feature-toggles.md
Co-authored-by: J Stickler <julie.stickler@grafana.com >
* Format with prettier
---------
Co-authored-by: J Stickler <julie.stickler@grafana.com >
2024-05-29 11:08:41 -07:00
Ezequiel Victorero
e81f48ef95
Dashboards: Do not expose datasource name and uid on dashboard external export ( #88382 )
...
Co-authored-by: Juan Cabanas <juan.cabanas@grafana.com >
2024-05-29 14:36:48 -03:00
Bogdan Matei
55ea077c3e
Scopes: Select scope even without data retrieval ( #87988 )
...
* Scopes: Select scope even without data retrieval
* Pass entire scope and not only the spec to Prometheus
* Enrich ScopeSpec that is sent to Prometheus
* add name to BE
---------
Co-authored-by: Kyle Brandt <kyle@grafana.com >
2024-05-29 20:09:27 +03:00
Señor Performo - Leandro Melendez
8b5c9e3e2a
Docs: Add Installation YouTube Videos to documentation pages. ( #88443 )
...
* Added Installation video index.md
* Update index.md adding video for Debian and Ubuntu installs
* Update index.md adding install video in macOS
* Update index.md adding video to install RHEL or Fedora
* Update index.md adding install video for SUSE
* Update index.md adding video for Windows installer
2024-05-29 10:56:15 -06:00
Tom Ratcliffe
3adb07cf4d
Alerting: Make regex notification routing preview consistent with notification policies implementation ( #88413 )
...
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-05-29 17:04:35 +01:00
renovate[bot]
2a65a8a1d1
Update dependency @reduxjs/toolkit to v2.2.5
2024-05-29 15:42:32 +00:00
renovate[bot]
dfae694cff
Update dependency @react-types/shared to v3.23.1
2024-05-29 15:22:25 +00:00
Carl Bergquist
0e6464fc96
Don't use transaction for updating last seen for an user. ( #88426 )
...
dont use transaction for updating last seen
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-05-29 18:13:04 +03:00
Sonia Aguilar
289ce61855
Alerting: Add the feature toggle for the new central alert state history feature ( #88346 )
...
* Add the feature toggle for the new central alert state history feature
* WIP
* Revert "WIP"
This reverts commit 80b8879d4e .
2024-05-29 18:01:38 +03:00
renovate[bot]
e1d7ef30ec
Update dependency @react-types/overlays to v3.8.7
2024-05-29 14:47:24 +00:00
Sven Grossmann
f81e8e04aa
LogsTable: Fix default sort by time ( #88398 )
2024-05-29 16:46:26 +02:00
renovate[bot]
144e476840
Update dependency @react-types/menu to v3.9.9
2024-05-29 14:30:54 +00:00
Darren Janeczek
763108ce10
datatrails: in Components, model.useState(), instead of model.state ( #88432 )
...
fix: in Components, `model.useState()`, instead of `model.state`
Generally, it is better practice. More succinct.
It could also eliminate subtle state bugs.
2024-05-29 10:29:57 -04:00
renovate[bot]
633486e4f1
Update dependency @react-types/button to v3.9.4
2024-05-29 14:10:56 +00:00
brendamuir
c8bbc9d6e5
Alerting docs: adds template selector docs ( #88412 )
...
* Alerting docs: adds template selector docs
* adds line about single save
2024-05-29 15:39:22 +02:00
renovate[bot]
e63037fe51
Update dependency @playwright/test to v1.44.1
2024-05-29 13:34:47 +00:00
renovate[bot]
8fa48ceb76
Update dependency @kusto/monaco-kusto to v10.0.22
2024-05-29 12:53:14 +00:00
renovate[bot]
c5b27c809a
Update dependency @grafana/faro-web-sdk to v1.7.3
2024-05-29 11:55:28 +00:00
Gilles De Mey
781f67dfb6
Alerting: Support alertingDisableSendAlertsExternal feature toggle ( #88384 )
2024-05-29 13:54:07 +02:00
renovate[bot]
e93169b66c
Update dependency @grafana/faro-web-sdk to v1.7.3
2024-05-29 11:30:50 +00:00
Ana Ivanov
c977653811
Add navigation config for grafana-csp-app ( #88360 )
...
Add navigation config for grafana-csp-app
2024-05-29 14:28:33 +03:00
Laura Fernández
a47e71fd34
Chore: create the no-untranslated-literals rule ( #88271 )
2024-05-29 13:03:59 +02:00
Fayzal Ghantiwala
543f0ae37e
Alerting: Update ListAlertRulesQuery to take a slice of RuleGroups ( #88385 )
...
* Change ListAlertRulesQuery to take RuleGroup slice instead
* Change func name
* Change func name
* Fix fakes
* Fix function arg
2024-05-29 11:50:33 +01:00
renovate[bot]
4c8ce76929
Update dependency @grafana/faro-core to v1.7.3
2024-05-29 09:55:43 +00:00
Andres Martinez Gotor
0f32c2bff9
Revamp tests for Add/Update Datasource ( #88386 )
2024-05-29 04:54:11 -05:00
renovate[bot]
2d18de7e84
Update dependency @floating-ui/react to v0.26.16 ( #88409 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-29 12:28:26 +03:00
renovate[bot]
48d49b4502
Update dependency cypress to v13.10.0 ( #84140 )
...
* Update dependency cypress to v13.10.0
* updated cypress-version in config
* updated configs
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com >
2024-05-29 11:10:42 +02:00
Ben Sully
2455c0cc37
Add Kubernetes icon ( #86677 )
2024-05-29 09:49:59 +01:00
github-actions[bot]
d8b662e8d5
Update make docs procedure ( #88404 )
...
Co-authored-by: grafanabot <bot@grafana.com >
2024-05-29 08:12:13 +00:00
Gabriel MABILLE
5eecc01123
VSCode: Launch Grafana with Storage server ( #88351 )
...
* VSCode: Launch Grafana with Storage server
* Fix module_server_test
2024-05-29 10:02:35 +02:00
antonio
1f90123f35
alerting>tutorials>get-started v2 ( #88373 )
...
* alerting>tutorials>get-started v2
* admon fix
* link fix
* pretty face
* Update docs/sources/tutorials/alerting-get-started/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* suggestions
* All pretty, no pity.
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-05-29 10:00:37 +02:00
Leonor Oliveira
ade96dbdbd
Introduce Comparator interface ( #88016 )
...
* Introduce Comparator interface
* Add compare implementation everywhere
* Add comment explaining what Compare should do
* Lint
2024-05-29 09:42:24 +02:00
Tobias Skarhed
06304894a1
Dashboard: Keyboard and mouse panel shortcuts improvement ( #87317 )
...
* Add custom attention state to dashboard
* Add attention state to DashboardGrid
* Remove old functionality
* Add attention state to keybindingSrv
* Create PanelAttentionService
* Add PanelAttentionService with scenes support
* Remove unused code
* Use viz panel key instead of VizPanel
* Add type assertion
* Add e2e test
* Update comments
* Use panel id for non-scenes use case
* Support undefined service use case
* Memoize singleton call
* Debounce mouseover
* Set panelAttention with appEvents
* Use AppEvents for Scenes
* Remove panelAttentionSrv
* Wait in e2e to handle debounce
* Move subscription to KeybindingSrv
* Remove imports and reset keyboardShortcuts from main
* Fix on* event handlers
2024-05-29 09:11:23 +02:00
Larissa Wandzura
66d6b3d83b
Docs: Update Grafana Teams documentation ( #86942 )
...
* added config doc
* added content
* added new topic docs and made updates
* minor updates
* updates based on feedback
* ran prettier , made updates
* removed original doc, updates to topic docs
* removed old index doc
* fixed format issue
* Update docs/sources/administration/team-management/administering-grafana-teams.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/administration/team-management/configure-grafana-teams.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/administration/team-management/configure-grafana-teams.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/administration/team-management/configure-grafana-teams.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/administration/team-management/configure-grafana-teams.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/administration/team-management/administering-grafana-teams.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/administration/team-management/_index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/administration/team-management/configure-grafana-teams.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/administration/team-management/configure-grafana-teams.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/administration/team-management/configure-grafana-teams.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/administration/team-management/configure-grafana-teams.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* edits based on feedback
* updates based on feedback
* improved some wording
* ran prettier
* minor correction
* added aliases
* Update docs/sources/administration/team-management/configure-grafana-teams.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* added contractions
* Removed .nx
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-05-29 08:22:45 +03:00
Andreas Christou
3eea71cc6b
Azure: Basic Logs support ( #88025 )
...
* Azure monitor: Basic Logs frontend (#85905 )
* adds datasource level config for enabling basic logs
* add basiclogsquery type to query json
* add toggle between basic and analytics
* adds basic logs toggle from UI, blocks time picker to only dashboard if basic logs is selected
* add check to remove UI if alerting
* tests for logsmanagement component
* tests for logs query editor
* tests for time mangement control
* remove unused imports
* clears query whenever toggle changes from basic <-> analytics
* add test to account for clearning query
* Update public/app/plugins/datasource/azuremonitor/components/ConfigEditor/BasicLogsToggle.tsx
wording
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
* Update public/app/plugins/datasource/azuremonitor/components/LogsQueryEditor/LogsQueryEditor.tsx
spelling
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
* Update public/app/plugins/datasource/azuremonitor/components/LogsQueryEditor/LogsQueryEditor.tsx
spelling
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
* update dependency list
* clear basic logs if resources change
* fix tests
---------
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
* Azure Monitor: Basic Logs modal acknowledgement (#86244 )
* adds datasource level config for enabling basic logs
* add basiclogsquery type to query json
* add toggle between basic and analytics
* adds basic logs toggle from UI, blocks time picker to only dashboard if basic logs is selected
* add check to remove UI if alerting
* tests for logsmanagement component
* tests for logs query editor
* tests for time mangement control
* remove unused imports
* add confirm modal
* clears query whenever toggle changes from basic <-> analytics
* add test to account for clearning query
* adds modal acknowledgement for basic logs query
* tests for handling modal logic
* basic logs ack type
* Update public/app/plugins/datasource/azuremonitor/components/ConfigEditor/BasicLogsToggle.tsx
wording
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
* Update public/app/plugins/datasource/azuremonitor/components/LogsQueryEditor/LogsQueryEditor.tsx
spelling
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
* Update public/app/plugins/datasource/azuremonitor/components/LogsQueryEditor/LogsQueryEditor.tsx
spelling
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
* update dependency list
* clear basic logs if resources change
* remove modal from config page
* remove basic logs query ack type
* add modal acknowledgement to toggle between basic and analytics
* clear query if resources change
* fix tests
* fix tests
* Update public/app/plugins/datasource/azuremonitor/components/LogsQueryEditor/LogsManagement.tsx
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
* fix tests
---------
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
* Azure Monitor: Basic Logs Backend (#87653 )
* fix logic for showingBasicLogsToggle
* move to utils function and add basiclogsquery in apply template variable
* add backend safeguards for basiclogsqueries
* adds support for calling search or query apis based on whether it is basic logs or not
* add tests for utils
* initial test for basic logs query in the backend
* tests for basic logs
* remve comment
* simplify checks for basic logs
* adds fromAlert prop for azure monitor backend services
* adds fromAlert check fo basic logs
* fix working and empty tags
* add telemetry for basic logs
* remove import from grafana core package
* change fromAlert true in tests
* change the way tests catch errors
* Update pkg/tsdb/azuremonitor/loganalytics/utils.go
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
* Update pkg/tsdb/azuremonitor/loganalytics/utils.go
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
* Update pkg/tsdb/azuremonitor/loganalytics/utils.go
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
* Update pkg/tsdb/azuremonitor/loganalytics/azure-log-analytics-datasource.go
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
* restructure code to only run basic logs checks if basiclogsflag is true
* data retention warning
* tests for calculate time range
* Simplify determining if request is from alerting
* Fix lint and bool check
* Fix tests
* clarify data retention
---------
Co-authored-by: Jocelyn <jcolladokuri@microsoft.com >
Co-authored-by: jcolladokuri <jocelyncollado52@gmail.com >
* Azure Monitor: Basic Logs data volume notification (#88009 )
* frontend changes for data ingested warning
* initial logic for getResource
* payload processing
* create basicLogs usage function
* add utils for converting time and getting the data volume query for basic logs
* frontend updates for showing the data ingested for the given query
* frontend tests
* add check for when no dataIngested is returned
* remove backend.logger prints
* comment on what function does
* fix merge
* make resource URI regex case insensitive
* add support for workspace variables in basic logs flow
* add undefined check
* structure and add tests for variable support
* Update pkg/tsdb/azuremonitor/loganalytics/azure-log-analytics-datasource.go
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
* add tracing for basic logs usage request
* clean up data volume query struct
* use async/await instead of callback
* fix parameters for getApiURL
* restrict time on usage query to 8 days max
* add time to dependency array to refetch basic logs usage
* move time check implementation to backend
* fix utils tests
---------
Co-authored-by: Jocelyn <jcolladokuri@microsoft.com >
Co-authored-by: jcolladokuri <jocelyncollado52@gmail.com >
---------
Co-authored-by: jcolladokuri <jcolladokuri@microsoft.com >
Co-authored-by: jcolladokuri <jocelyncollado52@gmail.com >
2024-05-28 18:06:27 +01:00
Stephen J. Smith
0b2fab9967
Azure Monitor: Fix typo that may cause an API request to fail ( #88320 )
...
Fix typo
2024-05-28 17:58:06 +01:00
Alexander Weaver
b926b6336d
Alerting: Scheduled recording rules execute their queries ( #88309 )
...
* Basic eval flow
* Wiring-up
* fix
* Extend todo
* Start with tests
* Include some relevant tests, skip ones that seem to have timing-based race conditions
* Some tests, touch up linter and todo
* Solve TODO
* Add tracing
* Tests to make sure an eval went through
* Wire up feature toggles
* Update pkg/services/ngalert/schedule/recording_rule.go
Co-authored-by: Steve Simpson <steve.simpson@grafana.com >
* Update pkg/services/ngalert/schedule/recording_rule_test.go
Co-authored-by: Steve Simpson <steve.simpson@grafana.com >
* Update pkg/services/ngalert/schedule/recording_rule_test.go
Co-authored-by: Steve Simpson <steve.simpson@grafana.com >
* Update pkg/services/ngalert/schedule/recording_rule_test.go
Co-authored-by: Steve Simpson <steve.simpson@grafana.com >
---------
Co-authored-by: Steve Simpson <steve.simpson@grafana.com >
2024-05-28 10:59:21 -05:00
Eric Leijonmarck
910553df20
Actionsets: Add cfg option for only writing actionsets ( #88367 )
...
* test
* test
* missed test
* fix review comments
2024-05-28 16:32:23 +01:00
Andrej Ocenas
5f326e98c1
NodeGraph: Add msagl and the layered layout code ( #88375 )
2024-05-28 17:04:03 +02:00
Bruno
07debd66c2
Ephemeral instances: fetch the grafana version from the package.json file ( #88300 )
2024-05-28 11:52:00 -03:00
Matthew Jacobson
8418aca823
Alerting: Add single rule checks to alert rule access control ( #88307 )
...
* Alerting: Add single rule checks to alert rule access control
Modifies ruler api single rule read to no longer fetch entire groups and instead
use the new single rule ac check.
Simplifies provisioning api getAlertRuleAuthorized logic to always load a single
rule instead of conditionally loading the entire group when provisioning
permissions are not present.
* Swap out Has/AuthorizeAccessToRule for Has/AuthorizeAccessInFolder
2024-05-28 10:49:24 -04:00
Eric Leijonmarck
ebbb64059f
LBAC datasource: Add swagger updates ( #88383 )
...
add swagger updates
2024-05-28 15:28:12 +01:00
Jack Baldry
26c2391c7e
[docs/sources/datasources] Replace docs/reference shortcode with ref URIs ( #88078 )
2024-05-28 15:17:49 +01:00
Jeroen Op 't Eynde
e1685cb44b
fix: set schemaVersion on dashboard schema (CUE) ( #87712 )
...
* fix: set schemaVersion on dashboard schema (CUE)
* docs: add comment to migration code
* fix: run make gen-cue
2024-05-28 16:16:20 +02:00
Leonor Oliveira
ef07dfa3bb
Add latency metrics to mode2 ( #88011 )
...
* Also call storage on mode1. Add metrics
* Update comment
* Don't use compare function for now
* Remove very important space
* Improve code readability on modes 1 and 2
* Fix tests
* Return error from legacy write
* Renume useless defer
* Start adding logging for mode2
* Retrurn errors is storage read fails
* Finish adding latency metrics to mode2
* Emit kind to metrics instead
* Fix var name
* Return if legacy delete list fails
* Unify latency calls
* Fix get function
2024-05-28 16:15:53 +02:00
Alex Khomenko
c4aca053e5
DateTimePicker: Return cleared value in onChange ( #88377 )
...
* DateTimePicker: Return cleared value in onChange
* Update story
2024-05-28 17:11:15 +03:00
Mihai Doarna
12e4a94d63
SSO: Use removeSecrets() instead of setting.RedactedValue() ( #88180 )
...
* use removeSecrets() instead of setting.RedactedValue()
* replace with redacted value only if secret is not empty
2024-05-28 17:03:54 +03:00
Andres Martinez Gotor
60ce523b72
Refactor plugin context initialization ( #88343 )
2024-05-28 16:59:06 +03:00
Ashley Harrison
ecfe50439b
Chore: Remove last of the SCSS from grafana/ui ( #88302 )
...
* remove last of scss from grafana/ui
* add comment about legacySelect classes
2024-05-28 14:58:51 +01:00
Ashley Harrison
b4e49e3114
Select: Ensure screenreader correctly narrates options ( #88118 )
...
* replace select aria-label with data-testid
* update in copy pasted places as well
* update plugin-e2e to 1.2.2
2024-05-28 14:51:47 +01:00
timo
6205236f25
NodeGraph: Use values from fixedX/fixedY column for layout ( #86643 )
...
* NodeGraph: Use values from fixedX/fixedY column for layout
* Cleanup some code, typings and naming
* Add test
---------
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com >
2024-05-28 15:34:35 +02:00
Kyle Brandt
a738cb42d8
Prometheus: Update dependency to v0.52.0 ( #87809 )
...
* Prometheus: Update dependency to v0.52.0
* go work sync
* fix panics in tests
* go work sync
* prometheus v0.52.0
* handle errors
* Update pkg/services/ngalert/sender/sender_test.go
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com >
* Update pkg/services/ngalert/sender/sender_test.go
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com >
---------
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com >
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-05-28 15:22:20 +02:00
Leonor Oliveira
502bd5612e
Storage: Extract returned object hydration into function ( #88012 )
...
* Extract returned object hydration into function
* Finish writing tests for utils func
* Lint
* Update pkg/apiserver/rest/dualwriter_mode2.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
* Better var naming
* Remove duplicated logic
* Lint
* Fix test
* Lint
* Make type private
* Fix one more test
* Fix test
---------
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
2024-05-28 15:14:27 +02:00
Andreas Christou
4f3ab51d69
AzureMonitor: Fix service selection in E2E tests ( #88378 )
...
Use selectall to replace text
2024-05-28 14:09:20 +01:00
Sofia Papagiannaki
d2f44816fd
TeamLBAC: add missing swagger tag ( #88374 )
2024-05-28 15:34:30 +03:00
Jack Westbrook
5ce68c50e3
Docs: add decoupled plugin commands to developer guide ( #88286 )
...
* docs(developer-guide): add development commands for building decoupled plugins
* docs(developer-guide): add subheading, tidy up tone
* Apply suggestions from code review
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
* docs(developer-guide): plugins section to identify which plugins need additional cmds
---------
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
2024-05-28 14:28:18 +02:00
Ashley Harrison
f1dbe39533
Chore: Improve typings ( #88282 )
...
* remove some type assertions
* some more type assertion fixes
* nicer
* shortcircuit while loop when hitting something that isn't an HTMLElement
2024-05-28 13:20:57 +01:00
Tobias Skarhed
c8ab138dbf
TimeRangePicker: Use native scrollbar ( #88327 )
...
* Use native scrollbar
* Native overflow scroll
* Fix feedback
* Make scrollbars thin
2024-05-28 13:41:31 +02:00
Ashley Harrison
7e25ff5756
Select: Support option groups in virtualised Selects ( #88232 )
...
* change select group headers to always be visible
* remove unnecessary SelectOptionGroup
* hacky change to work with virtualised lists
* undo this change
* add top border
* remove children from the category header
* don't virtualize story
* bit of renaming
* comments
* add new story for virtualized options
2024-05-28 10:49:43 +01:00
Jack Westbrook
cd3c10d905
Chore: Sync sass with theme ( #88340 )
...
chore(sass): run theme:generate to sync sass with theme
2024-05-28 11:49:02 +02:00
github-actions[bot]
4817156ba3
I18n: Download translations from Crowdin ( #88365 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-28 12:18:19 +03:00
Matias Chomicki
97cb92eb1e
Logs: Added multi-line display control to the "wrap lines" option ( #88144 )
...
* LogRowMessage: strip new lines when wrapping is disabled
* LogRowMessage: prevent conflicts between failed json parsing and unwrapping
* LogRowMessage: expand multi-line unwrapped logs when opening details
* Add unit test
* Prettier
* chore: update comment
2024-05-28 11:59:11 +03:00
Ashley Harrison
6f9527b4c2
DashboardGrid: Ensure drag handle always follows the cursor ( #88099 )
...
use flushSync in react-grid-layout
2024-05-28 09:46:04 +01:00
Gabriel MABILLE
3d9908f363
Fix: Prevent ExtSvcTokens from containing nil characters ( #88243 )
...
* Fix: Prevent ExtSvcTokens from containing nil characters
* Rebase
* Add more logs
* Nit. nil -> NUL
* Nit. Part -> Parts
* Back to const
* Account for comments
Co-authored-by: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
---------
Co-authored-by: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
2024-05-28 10:39:46 +02:00
Laura Benz
f6a83432a5
RestoreDashboards: Create trash section ( #88278 )
...
* feat: add feature toggle to docs
* feat: create page in BE
* feat: create page in FE
* refactor: set feat toggle as a condition
* refactor
* refactor
* refactor
* feat: add permission conditions
* refactor
* feat: add subtitle to translations
* feat: add to codeowners
* refactor: fix docs situation
* refactor
* Merge main branch into feat branch
2024-05-28 10:26:06 +02:00
gng0
f772056296
DataLinks: Fixes datalinks with onClick and variables in url not being interpolated ( #86253 )
...
* Use replaceVariables method on link url, fix and add unit tests
* Refactor href processing for links
* Prettier
2024-05-28 08:16:55 +02:00
Andres Martinez Gotor
0b526acf09
Fix provisioning for a missing plugin ( #88354 )
2024-05-28 01:47:45 +03:00
Sofia Papagiannaki
39298a656a
Swagger: sync specs with enterprise ( #88355 )
2024-05-28 01:12:54 +03:00
Laura Fernández
6d98f53e8b
Chore: Remove returnToPrevious feature toggle ( #88332 )
2024-05-27 17:47:57 +02:00
Steve Simpson
08b18113d2
Alerting: Wire up alertmanagerRemoteOnly feature toggle. ( #88329 )
...
* Alerting: Wire up alertmanagerRemoteOnly feature toggle.
Though the mode isn't feature complete yet, it will be useful to have the
feature toggle wired up in order to start testing.
* Apply suggestions from code review
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com >
* Formatting
---------
Co-authored-by: Santiago <santiagohernandez.1997@gmail.com >
2024-05-27 16:18:46 +02:00
Misi
aac6e6dfd9
Auth: Update SAML lib to improve HTTP-Post binding ( #88287 )
...
* Update lib and docs for HTTP-Post binding
* Improve docs
* fix spelling
* Regenerate go.sum and go.work.sum
2024-05-27 14:56:52 +02:00
Dominik Prokop
6e9543e0ad
Preserve variables and time range when navigating between dashboards ( #87966 )
...
* POC preserve filters and group by when navigating between dashboards
* Save all variables and time range
* minor refactor
* Add feature toggle
* Update feature toggle usage
* Delete local storage item if nothing to preserve
* Structural changes
* Simplify restore params code
* Use session storage
* Add tests
* Merge fix
* Remove unused code
* And make it better, errrrrr
* Minor deduplication refactor
* last minor
2024-05-27 14:28:06 +02:00
Marcus Efraimsson
0b1aec6767
Tracing: Various improvements ( #88308 )
2024-05-27 14:21:40 +02:00
Ivan Ortega Alba
66950c96f6
Dashboards: Discard the entire panel if it is newly added ( #87562 )
2024-05-27 13:46:02 +02:00
kay delaney
c0881cc970
Dashboards: Detect unsaved folder change ( #88293 )
2024-05-27 12:43:31 +01:00
Luis Felipe Dominguez Vega
4248ff4688
ValueFormats: Add Uruguay peso currency ( #88260 )
2024-05-27 11:45:37 +01:00
Giuseppe Guerra
2b54ce6c51
Chore: Bump google.golang.org/grpc to 1.64.0 ( #88219 )
...
* Bump google.golang.org/grpc to 1.64.0
* Address grpc.Dial deprecation notices
* go mod tidy
* Update go.work.sum
* go work sync
2024-05-27 12:44:39 +02:00
Piotr Jamróz
0530b296d0
Correlations: Enable feature toggle by default (on-prem) ( #88208 )
...
* Correlations: Enable feature toggle for on-prem
* Update Loki test
2024-05-27 12:04:37 +02:00
Joao Silva
45faefa8b3
TimeRangePicker: Allow users to navigate quick ranges with arrows instead of Tab ( #88138 )
2024-05-27 10:33:53 +01:00
Joao Silva
3014103f41
Chore: Remove gf-form from OrganizeFieldsTransformerEditor ( #88240 )
2024-05-27 10:26:47 +01:00
Levente Balogh
f77f47ff00
Plugins: Update the plugin.json schema with UI extensions meta-data ( #88288 )
...
* feat: change the `generated` property
* refactor: update the schema description for the "extensions" field
2024-05-27 11:13:46 +02:00
Timur Olzhabayev
4761326568
Fix: Proper plugin logo loading depending on staging ( #88247 )
...
* making logos respect the staging
* making it work when served from subfolders
* fixing helper test
2024-05-27 10:26:30 +02:00
Fabrizio
e7f05f4ff2
Tempo: Support standard span convention ( #88268 )
2024-05-27 10:10:04 +02:00
Mihai Doarna
e28a34f126
Docs: Add a note about deprecating the settings update API ( #87552 )
...
* add a note about deprecating the settings update API
* Update docs/sources/setup-grafana/configure-grafana/settings-updates-at-runtime/index.md
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
---------
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2024-05-27 11:08:19 +03:00
Mihai Doarna
934c510dda
Docs: Update SAML docs after the integration with SSO settings API ( #87512 )
...
* update SAML docs after the integration with SSO settings API
* fix link
* address feedback
* address feedback
2024-05-27 11:07:24 +03:00
Drew Slobodnjak
14957953db
Stat: Add percent change color modes ( #88205 )
...
* Stat: Add percent change color modes
* Apply color mode to percent change component
* Remove todo
* Create percent change color function and add tests
* drew08t/stat-percent-change-color-modes/ maybe fix import error?
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com >
2024-05-24 14:45:02 -07:00
Steve Simpson
ed42119907
Alerting: Pass metrics Registerer into NewExternalAlertmanagerSender. ( #88313 )
...
* Alerting: Pass metrics Registerer into NewExternalAlertmanagerSender.
I will work on a separate change to export the metrics from Grafana, this
is a little more complicated.
* Typo
2024-05-24 23:03:34 +02:00
renovate[bot]
bbef011e43
Update dependency nx to v19.1.0 ( #85487 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-24 22:01:56 +01:00
Darren Janeczek
80a0de511f
data trails: alternate legend display for missing label value ( #88153 )
...
* fix: alternate legend display for missing label value
* Update public/app/features/trails/ActionTabs/BreakdownScene.tsx
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
* Update public/app/features/trails/ActionTabs/BreakdownScene.tsx
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
---------
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
2024-05-24 15:41:20 -04:00
Darren Janeczek
a7d304a871
datatrails: on histogram breakdowns, show label value in legend ( #88154 )
...
fix: on histogram breakdowns, show label value in legend
2024-05-24 15:41:00 -04:00
Tim Levett
b5cf90ce78
API: Add in theme support to /render/* endpoint ( #88304 )
...
add in theme support to render endpoint
2024-05-24 14:12:31 -05:00
renovate[bot]
d843209ee4
Update babel monorepo to v7.24.6
2024-05-24 18:13:19 +00:00
Steve Simpson
8bcf589301
Alerting: Pass logger into NewExternalAlertmanagerSender ( #88256 )
2024-05-24 20:11:26 +02:00
Darren Janeczek
5c29052219
datatrails: refactor: move related code to trails/MetricSelect subdir ( #88262 )
...
refactor: move related code to trails/MetricSelect subdir
2024-05-24 13:45:21 -04:00
Juan Cabanas
f0ab501075
Chore: Add sharing squad as codeowners in render file ( #88306 )
2024-05-24 14:28:17 -03:00
Jon Cole
61db22f4b4
Prometheus: get Azure clouds from SDK ( #87676 )
...
* Prometheus: get the list of azure clouds from the SDK instead of from a hard coded list
* Update yarn.lock
* Fix lint
---------
Co-authored-by: Jeremy Angel (from Dev Box) <jeremyangel@microsoft.com >
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-05-24 17:56:53 +01:00
Jon Cole
67b90ceba5
Azure: Load custom clouds from ini file ( #87667 )
...
* Load custom clouds from config file
* Update docs
* Use the correct list of clouds, add test, fix error condition handling
* Remove on custom cloud from sample.ini and docs
* Remove unnecessary else block
* Use cached json instead of serializing with each request
* Update grafana-azure-sdk-go version to v2.0.4
* update configure-grafana entry for clouds_config
* fix lint errors
* fix lint errors
---------
Co-authored-by: Jeremy Angel (from Dev Box) <jeremyangel@microsoft.com >
2024-05-24 17:40:04 +01:00
renovate[bot]
9f23e9a53b
Update React Aria
2024-05-24 16:28:31 +00:00
Jack Westbrook
a079343fe3
Chore: bump Nx to 19 ( #88298 )
...
* chore(npm): bump nx to v19
* build(icons): make sure icons are generated before attempting typecheck
2024-05-24 17:57:12 +02:00
Ryan McKinley
ffc2702552
Plugins: Support Admission validation hooks ( #87718 )
2024-05-24 18:45:16 +03:00
Andrej Ocenas
b1eb4b7dad
Chore: Remove msagl related config in yarnrc ( #88292 )
2024-05-24 17:32:46 +02:00
Agnès Toulet
f866157f99
Page: add scrollbar ID to use in image renderer ( #88214 )
2024-05-24 17:28:43 +02:00
Gilles De Mey
99b5259cc1
Alerting: New list view UI – Part 1 ( #87907 )
2024-05-24 16:40:49 +02:00
Pepe Cano
51e27200a6
Alerting: add NeedHelpInfo for Configure No data and error handling ( #88145 )
2024-05-24 15:30:12 +02:00
Sergej-Vlasov
fbb5fd71f9
DashboardScenes: Optimise e2e test and add panels suite ( #88170 )
...
* refactor tests after adding additional data-testids
* add panels-suite e2e tests
* wip: add missing selectors
* finalise panels-suite tests
* clean up
* adjust workflow for test run
* restore workflow
2024-05-24 16:22:11 +03:00
Tom Ratcliffe
859b3ff78b
Alerting: Fix "copy link" not including full URL ( #88210 )
2024-05-24 15:02:46 +02:00
brendamuir
26a01c42a6
Alerting docs: adds settings feature ( #88294 )
...
* Alerting docs: adds settings feature
* ran prettier
2024-05-24 15:01:15 +02:00
Tom Ratcliffe
ebdad80dfa
Alerting: Fix rules deleting when reordering whilst filtered ( #88221 )
2024-05-24 13:49:52 +02:00
Domas
60f9817303
ButtonSelect: Render option custom component ( #88272 )
...
allow providing custom component to button select
2024-05-24 14:38:59 +03:00
Sonia Aguilar
caeb9bcea2
Alerting: Template selector in contact points form ( #87689 )
...
* WIP
* Refactor and update how we display these fields in the form
* Add test for getTemplateOptions and udpate parseTemplates to handle minus simbol
* fix betterer
* Fix wrapper
* Create new usePreviewTemplate to be reused from TemplatePreview and TemplateContentAndPreview
* remove unnecessary check
* track interactions
* Include the whole content of the template in the preview
* Update parseTemplates function to return default templates
* handle nested templates in parseTemplates function
* Missing border fixed, whitespaces preserved and no empty space at the bottom
* remove unused styles and add a comment in test
* Add missing error in getPreviewResults
* fix styles for template selector containers
* Alerting: PR feedback to move default templates into RTKQ (#88172 )
Move default templates to RTKQ API + constant
* move parseTemplates to a utils file and refactor last part of this function
* Keep selected options when loading exising input and when switching between tabs
* Update descritpion in tabs
* Fix not previewing when loading existing values
* Update text addressing Brenda's feedback
* Add test for matchesOnlyOneTemplate function
* Add minheight to viewer container and fix getContentFromOptions function
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2024-05-24 13:35:48 +02:00
Oscar Kilhed
6775bcb0a3
Dashboard scenes: Fix variable saving inconsistencies ( #88163 )
...
* Fix variable saving inconsistencies
* add tests
* for variable changes to be detected, save variables need to be true
* Fix for issue with buildNewDashboardSaveModel creating filter variable withouth filter property
* remove unused import
2024-05-24 13:33:05 +02:00
github-actions[bot]
4bf284cfff
I18n: Download translations from Crowdin ( #88267 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-24 10:52:38 +00:00
Eric Leijonmarck
c45eecad95
Anon: Doc add feature toggle displayAnonymousStats in docs ( #88218 )
...
* update with feature toggle in docs
* fmt
* Update index.md
* Update index.md
2024-05-24 09:17:19 +01:00
Pepe Cano
3d7fc8c927
Alerting docs: Update Intro - alert rule labels and annotations ( #88230 )
...
* Update `Labels & Annotations`
* Complete labels and annotations
* Update docs/sources/alerting/fundamentals/alert-rules/annotation-label.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/alert-rules/annotation-label.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/alert-rules/annotation-label.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-05-24 10:09:35 +02:00
brendamuir
01d5744433
Alerting docs: adds note on provisioning to main page ( #88264 )
2024-05-24 09:44:21 +02:00
Alexander Weaver
65793440d3
Alerting: Test infrastructure for recording rules ( #88200 )
...
* Add test rule generator support for recording rules
* Remove accidental add
* Recording rules appear in GetRulesForScheduling
* A couple more tests, updates, count
* No need to capture rule defs
2024-05-23 16:27:07 -05:00
Lucy Chen
e8625ecd4a
Snapshots: Prevent creation of snapshot of nonexistent dashboard ( #86806 )
...
* Add validation to check for existence of dashboard before creation
* add service mock for FindDashboard
* update tests
* reorder function
* update logic change to bool
* update naming validate dashboard
* add tests
* update return val
* remove bool return val
* simplify return statement
* update test
* remove extra spacing
* update mock
* remove unncessary space
2024-05-23 15:17:55 -04:00
Ryan McKinley
42b0f802de
QueryTypes: Add feature toggle to show query types in datasource apiservers ( #88213 )
...
* initial attempt
* show query types
* show query types
* with formatting
* with formatting
* more cleanup
* add feature toggle
* fix build
2024-05-23 18:46:28 +02:00
William Wernert
006d0021e3
Alerting: Remove requirement for datasource query on rule read ( #87349 )
...
* Remove requirement for datasource query for rule read
* Address PR comments
2024-05-23 12:44:30 -04:00
Matthew Jacobson
bc5d077b30
Alerting: separate out silence auth service preconditions checks ( #87998 )
...
* Alerting: separate out silence auth service preconditions checks
Will be useful for subsequent PR that adds metadata to silence response
* Add silence read wildcard scope to precondition for read all silences
2024-05-23 12:34:42 -04:00
Pepe Cano
33db776c91
Alerting docs: fixes missing alt attributes ( #88235 )
...
* Fix missing `alt` text in images
* Fix `canonical` setting in AlertManager docs
* Fix `.`(dot) position in hyperlinks due to a temporary styling issue
* Revert "Fix `canonical` setting in AlertManager docs"
This reverts commit 65354b3642 .
2024-05-23 18:07:52 +02:00
Pepe Cano
643018f94a
Alerting docs: Fix Alertmanager canonical setting ( #88236 )
2024-05-23 17:57:22 +02:00
Sonia Aguilar
738d862b15
Gops: Update text in irm configuration tracker for sending an oncall demo a… ( #88242 )
...
Update text in irm configuration tracker for sending an oncall demo alert
2024-05-23 18:41:03 +03:00
Isabel Matwawana
197ce3042d
Docs: Rename variables pages ( #87844 )
...
* Renamed Manage variables page to Add variables
* Renamed Inspect variables page to Manage and inspect variables
* Updated H1 on Add variables
* Moved Manage variables content to from Add varibles page to Manage and inspect variables page and updated text to fit
* Updated link style to ref URIs in Manage and inspect variables
2024-05-23 11:31:49 -04:00
Sonia Aguilar
e8e14a5e53
Gops: Fix wrong endpoint for incidents check ( #88238 )
...
Fix wrong endpoint for incidents check
2024-05-23 18:23:50 +03:00
Alex Khomenko
69108d3cac
DateTimePicker: Add clearable prop ( #88215 )
...
* DateTimePicker: Add clearable prop
* Docs/story
* Separate func
* Cleanup
* Remove disabled style
2024-05-23 18:21:25 +03:00
Laura Fernández
2aa67c7a47
A11y: Adjust placeholder text color to pass a11y tests ( #84357 )
2024-05-23 16:55:57 +02:00
Juan Cabanas
a85c1b69d5
PublicDashboards: Remove publicDashboardUid from DashboardMeta ( #85126 )
2024-05-23 11:21:21 -03:00
Ezequiel Victorero
6e88802cab
Snapshots: Add e2e test for Scenes view ( #88003 )
2024-05-23 10:35:03 -03:00
Avery Gottesman
56fe0102a6
Prometheus Variable Editor: Fix typo - double "Enter" in help text ( #88204 )
...
Fix double "Enter" in help text
2024-05-23 14:46:32 +02:00
Steve Simpson
8421919cb5
Alerting: Feature toggle to disallow sending alerts externally ( #87982 )
...
* Define feature toggle
* Implement feature toggle
2024-05-23 14:29:19 +02:00
Ieva
bd2b248f0e
RBAC: Clean up action set code ( #88147 )
...
* remove unused action set code, refactor the existing code
* fix import ordering
* use a separate interface for permission expansion after all, to avoid circular dependencies
* add comments, fix a test
2024-05-23 12:14:01 +01:00
Piotr Jamróz
84ef99c1dc
Explore: Add a query template to query library from query history ( #88047 )
...
* Add basic button for adding a query template
* Add hook to create a template
* Handle notifications
* Add tags to invalidate cache
* Generate translations
* Updates types
* Add tests
* Simplify code
* Add a better default title
2024-05-23 11:38:17 +03:00
Mathieu Parent
b8c9ae0eb7
OIDC: Support Generic OAuth org to role mappings ( #87394 )
...
* Social: link to OrgRoleMapper
* OIDC: support Generic Oauth org to role mappings
Fixes : #73448
Signed-off-by: Mathieu Parent <math.parent@gmail.com >
* Handle when getAllOrgs fails in the org_role_mapper
* Add more tests
* OIDC: ensure orgs are evaluated from API when not from token
Signed-off-by: Mathieu Parent <math.parent@gmail.com >
* OIDC: ensure AutoAssignOrg is applied with OrgMapping without RoleAttributeStrict
Signed-off-by: Mathieu Parent <math.parent@gmail.com >
* Extend docs
* Fix test, lint
---------
Signed-off-by: Mathieu Parent <math.parent@gmail.com >
Co-authored-by: Mihaly Gyongyosi <mgyongyosi@users.noreply.github.com >
2024-05-23 09:55:45 +02:00
Agnès Toulet
42126398be
Rendering: add userID in rendering log ( #88132 )
2024-05-23 09:41:53 +02:00
Arati R
0ffc4c441b
Storage: Add mode reconciliation for modes 1 and 2 ( #87919 )
...
* Add skeleton implementation for mode reconciliation between 1 and 2
* Track mode for each dual writer
* Add test for setting dual writer
* Include context when setting dual writing mode
---------
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-05-23 00:12:46 +02:00
Scott Lepper
cac40795a5
sql expressions - logging ( #88193 )
...
* sql expressions - logging
2024-05-22 17:18:46 -04:00
Isabel Matwawana
2fd51bb672
Docs: Fixed heading level ( #88188 )
...
Fixed heading level
2024-05-22 15:39:05 -04:00
Gaurav Agrawal
fdaa091a4d
Alerting: Support custom API URL for PagerDuty integration ( #88007 )
...
* fix assert in LINE
* fix pagerduty asserts
---------
Co-authored-by: Yuri Tseretyan <yuriy.tseretyan@grafana.com >
2024-05-22 15:31:55 -04:00
Ashley Harrison
c706166a24
Select: Change Select group headers to always be visible ( #88178 )
...
* change select group headers to always be visible
* remove unnecessary SelectOptionGroup
* add top border
2024-05-22 20:25:27 +03:00
Marcus Efraimsson
8ea0b336d5
API Server: Include traceID in HTTP request logs ( #88179 )
2024-05-22 17:56:34 +02:00
Jack Westbrook
10f600a6e9
Build: Set Nx inputs for theme-generate ( #84761 )
...
build(nx): set inputs for theme-generate to reduce reruns of task
2024-05-22 17:07:50 +02:00
Diego Augusto Molina
8b02b6b76a
Unified Storage: create kind_version table migration, add SQL and fix db ( #87977 )
...
* fix database interfaces
* add queries
* fix queries
* fix linters
* add owner to imported go library
* remove unused funcs
* run go work sync
* improve critical section fix in data race fix
* fix linters
* remove sync
* fix typo
* improve data embedding
* fix linters
* fix migration
* remove unnecessary comments
* fix linters
* improve SQL templates readability
* remove group_version from kind_version for consistency in History method
* add created_at and updated_at columns to kind_version table
2024-05-22 11:59:40 -03:00
Jack Baldry
6744dae806
Ensure all Panels and visualizations pages have /docs/grafana links too ( #88165 )
2024-05-22 15:40:20 +01:00
Ihor Yeromin
b4c368e72c
Canvas: Fix emotion style property error ( #88162 )
...
fix(canvas): emotion style property error
2024-05-22 16:20:40 +02:00
Pepe Cano
a035040630
Alerting docs: update Intro/Queries and Conditions ( #88164 )
2024-05-22 15:34:07 +02:00
Marie Cruz
285567573e
docs: update alert list visualization ( #87815 )
...
* docs: update alert list visualization
* Apply suggestions from code review
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* fix: linting errors
* docs: add youtube video
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-05-22 09:33:52 -04:00
Kristin Laemmert
16b1e285ea
Chore: Use cache for all signed in user lookups ( #88133 )
...
* GetSignedInUser unexported (renamed to getSignedInUser)
* GetSignedInUserWithCacheCtx renamed to GetSignedInUser
* added a check for a nil cacheservice (as defensive programming / test convenience)
2024-05-22 08:58:16 -04:00
Ashley Harrison
a5414020f8
SCSS: Remove some more scss ( #88129 )
...
remove some more scss
2024-05-22 13:48:34 +01:00
Tobias Skarhed
fb1acb45a2
Search: Announce to screen reader when query returns no result ( #87382 )
...
* Add alert role to not-found variant
* Provide role prop and apply for two cases
2024-05-22 14:15:56 +02:00
Joey
38fdfe43f5
Tempo: Update lezer autocomplete (histogram, quantile) and add missing functions ( #88131 )
...
* Update version
* Update autocomplete, add new functions
* Update highlighting
* Update yarn.lock
2024-05-22 13:03:51 +01:00
Ashley Harrison
5f3cd4b900
SCSS: Remove _icons.scss and associated icons ( #88127 )
...
remove _icons.scss and associated icons
2024-05-22 12:37:03 +01:00
Jack Baldry
c97b728c08
[docs/sources/dashboards] Replace docs/reference shortcode with ref URIs ( #88085 )
2024-05-22 09:55:17 +01:00
Leonor Oliveira
dd771e818e
Also call storage on mode1. Measure latency ( #87739 )
...
* Also call storage on mode1. Add metrics
* Update comment
* Don't use compare function for now
* Remove very important space
* Finish add logging in mode2.
Also call US in mode1 in a non blocking way
* Improve code readability on modes 1 and 2
* Fix tests
* Rename vars
* Lint
* Return error from legacy write
* Renume useless defer
* [REVIEW] improvements
* Pass kind instead of name
* Use kind instead of name in metrics
* Only call latency metrics once
* Return error on writes to legacystore in mode1
* Move accesssor logic into the goroutine as well
2024-05-22 10:23:29 +02:00
Jack Westbrook
7c5c62f617
Fix: Plugin dev command should watch all decoupled plugins ( #88160 )
...
fix(frontend): update plugin scripts to watch all plugins and remove ignore flags
2024-05-22 10:15:09 +02:00
Gabriel MABILLE
9dfe961013
Plugins: Add logging to plugin envvars ( #88143 )
...
Add logging to plugin envvars
Co-authored-by: Claudiu Dragalina-Paraipan <claudiu.dragalina@grafana.com >
Co-authored-by: Mihai Doarna <mihai.doarna@grafana.com >
2024-05-22 09:04:41 +02:00
Alexander Weaver
89b54d06e9
Alerting: Schedule a shim implementation for recording rules ( #87939 )
...
* Add shim rule implementation for recording rules
* Give ruleFactory access to the original rule definition
* Schedule shim implementation if the rule is a recording rule
* Fix or suppress linter
* Fix nolint
2024-05-21 16:42:58 -05:00
Pepe Cano
fc11350554
Alerting docs: remove Namespaces/folders/groups doc from Alert rules Intro ( #88146 )
...
Alerting docs: remove Namespaces/folders/groups doc from Alert rules Intro
2024-05-21 22:43:36 +02:00
Alexander Weaver
49c8deb1ea
Alerting: Add recording rules to ruler API and validation ( #87779 )
...
* Read path, main API
* Define record field for incoming requests
* Refactor several alerting specific validators into two paths
* Refactor validateCondition actually contain all the condition validation logic
* Move condition validation inside rule path
* Validators for recording rules
* Wire feature flag through to validators
* Test for accepting a valid recording rule
* Tests for negative case, no UID
* Test for ignoring alerting fields
* Build conditions based on recording rules as well
* Regenerate swagger docs
* Fix CRUD test to cover the right thing
* Re-generate swagger docs with backdated v0.30.2 version
* Regenerate base spec
* Regenerate ngalert specs
* Regenerate top level specs
* Comment and rename
* Return struct instead of modifying ref
2024-05-21 14:39:28 -05:00
Marie Cruz
fa319f36fb
docs: update dashboard list visualization ( #87494 )
...
* docs: update dashboard list visualization
* docs: add youtube video
* Apply suggestions from code review
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* Ran prettier
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
2024-05-21 14:04:48 -04:00
linoman
40aff085fb
multi-tenant Azure AD follow-up ( #88134 )
...
* Follow up comments from docs team
2024-05-21 17:17:55 +02:00
Jack Baldry
c16699e70d
[docs/sources/panels-visualizations] Replace docs/reference shortcode with ref URIs ( #88081 )
2024-05-21 16:16:47 +01:00
Gilles De Mey
8cc944f64f
Alerting: Docs feedback ( #88125 )
...
update OK to Normal label, matching instances to instances
2024-05-21 18:10:12 +03:00
Ieva
3e77768144
RBAC: Expand action sets when fetching permissions ( #87967 )
...
* logic to expand action set to the underlying actions when permissions are fetched from the DB
* updates needed for dependency injection
* clean up some code, also deduplicate scopes when grouping scopes and actions
* expand on a comment
* rename a method
2024-05-21 15:09:26 +01:00
William Wernert
cb0bcb6fe4
Alerting: Fix/update alerting API spec ( #88130 )
2024-05-21 10:06:44 -04:00
github-actions[bot]
10171a48bf
I18n: Download translations from Crowdin ( #88092 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-21 16:59:12 +03:00
linoman
3359025abd
IAM Docs: Describe the setup for a multitenant configuration with AzureAD ( #87836 )
...
* Describe the setup for a multitenant configuration with AzureAD
2024-05-21 15:17:26 +02:00
Aaron Godin
0072e4a92d
Update DS Proxy to use RBAC action ( #87517 )
...
iam-team: Update DS Proxy to use RBAC action
2024-05-21 08:05:16 -05:00
Jack Baldry
410e3b17e9
[docs/sources/alerting] Replace docs/reference shortcode with ref URIs ( #88079 )
2024-05-21 15:43:21 +03:00
brendamuir
fe78563faa
Alerting docs: vale fixes ( #88039 )
...
* Alerting docs: vale fixes
* ran prettier
2024-05-21 14:26:40 +02:00
ismail simsek
9bdfb6ee13
InfluxDB: Introduce custom variable support ( #87903 )
...
* Introduce custom variable support
* Remove comment lines
* betterer
2024-05-21 13:46:41 +02:00
Andrej Ocenas
a2aea70100
Tempo: Don't modify the passed time range when using timeShiftEnabled ( #87980 )
...
Don't modify the passed range
2024-05-21 13:12:27 +02:00
Marcus Efraimsson
9e6f18c947
API Server: Add temporary request log for queries ( #88103 )
2024-05-21 13:07:47 +02:00
Tom Ratcliffe
dbf258b837
Alerting: Center "need help" icons ( #87981 )
2024-05-21 12:04:10 +01:00
Oscar Kilhed
059e412344
Dashboards: timeRangeUpdatedDuringEditOrView should not be persisted ( #88119 )
...
Fix persisting timeRangeUpdated that should not be persisted
2024-05-21 11:41:28 +02:00
Piotr Jamróz
03650f76f1
Explore: Convert kebab-case styles to camel-case ( #88048 )
2024-05-21 09:38:05 +00:00
Joey
a398188e69
Revert: Tempo: Always use time range even if timeShiftEnabled is false ( #88095 )
...
Revert "Tempo: Always use time range even if timeShiftEnabled is false (#85477 )"
This reverts commit e91136338a .
2024-05-21 10:03:31 +01:00
Usman Ahmad
6bf69d141e
Docs/usman plugin mgmt ( #85424 )
...
* fixed text and better formatting
* added examples of community and partners plugins
* added more clarity to apps plugin usage
* added and also fixed more
* added clarity to the server and org admin roles
* run prettier
* fixed some minor typos
* Apply suggestions from code review
thanks. looks good now-
Co-authored-by: David Harris <david.harris@grafana.com >
* Technical edit
* restorted the changes in panel and datasource examples as requested
* revert duplicated change
* Apply suggestions from code review
Thanks Jack for the suggestions. Looks good!!
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* added minor adjustment
* fixed typo
* added bash syntax
* revert changes
* added changes from PR 87168 for index.md file
* Delete docs/sources/shared/find-and-use-plugins.md
removed this file from the PR as was not intended to be part of this PR.
This PR is only for the Grafana OSS and not for the Grafana Cloud
* run prettier
* Apply suggestions from code review
Co-authored-by: David Harris <david.harris@grafana.com >
* Update docs/sources/administration/plugin-management/index.md
Co-authored-by: David Harris <david.harris@grafana.com >
* Update docs/sources/administration/plugin-management/index.md
Co-authored-by: David Harris <david.harris@grafana.com >
* added a small text fix
* added cloud tag in product labels
* run prettier
* Apply suggestions from code review
thanks for the review
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com >
* fixed typo for note section
* run prettier to fix
---------
Co-authored-by: David Harris <david.harris@grafana.com >
Co-authored-by: Joe Perez <joseph.perez@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com >
2024-05-21 10:24:26 +02:00
Tristan
bffd87107b
CloudWatch: Add additional AWS/KinesisAnalytics metrics ( #88101 )
2024-05-21 09:50:19 +02:00
Nathan Marrs
3d980f1d8d
Canvas: Chore clean up more betterer warnings ( #88010 )
2024-05-20 21:27:27 -06:00
knuzhdin
28992f0488
Dashboard: Make dashboard search faster ( #88019 )
2024-05-20 13:42:24 -04:00
Sergej-Vlasov
e324a346f6
DashboardScene: Re-enabled skipped scenes e2e tests due to bugs ( #87723 )
...
* enabled skipped tests
* adjust to wait for loading indicator
* adjust typos
* adjust e2e workflow for test PR run
* restore workflow
* adjust workflow for test run
* restore workflow to sheduled runs
2024-05-20 20:30:35 +03:00
Leonardo Boleli
e1e33d2f31
Cloudwatch: Add AWS/Events Metrics ( #88097 )
2024-05-20 11:46:57 -04:00
Jack Baldry
01cd2efbef
[docs/sources/developers] Replace docs/reference shortcode with ref URIs ( #88088 )
2024-05-20 16:29:57 +01:00
Ryan McKinley
6d10797812
Errors: Update errutil to be compatible with k8s errors ( #87605 )
2024-05-20 18:11:37 +03:00
Santiago
60e7a4e746
Alerting/Chore: Remove unused parameters ( #88045 )
...
Alerting/Chore: Remove unused parameters from redisPeer.receiveLoop() and ReceiverService.shouldDecrypt()
2024-05-20 16:37:39 +02:00
Yuri Tseretyan
8c2a382788
Alerting: Fix typo in JSON response for rule export. ( #88028 )
2024-05-20 09:39:39 -04:00
Mihai Doarna
860dd7f58b
SSO: enable api_url validator for azuread ( #85967 )
...
enable api_url validator for azuread
2024-05-20 16:13:43 +03:00
Mihai Doarna
295b31ccd7
Auth: Update ssoSettingsSAML flag to public preview ( #87548 )
...
* update ssoSettingsSAML flag to public preview
* generate files
2024-05-20 16:13:05 +03:00
Kristina
c8d237dd56
Explore / Query Library: Enable run button ( #87882 )
...
* Enable run button
* First pass of shared component, tests half-implemented
* cleanup
2024-05-20 08:05:59 -05:00
Ashley Harrison
3800b97a5b
Chore: Clean up some @grafana/ui SCSS ( #87986 )
...
* clean up drawer and slider styles
* clean up cascader styles
2024-05-20 12:51:34 +01:00
Andrej Ocenas
20294b0fb6
NodeGraph: Remove msagl lib and layered layout option ( #87905 )
...
* Remove msagl lib
* Change drone.yml
* update signature
2024-05-20 13:50:08 +02:00
Ashley Harrison
429bcbe67f
Select: Preserve value when allowCustomValue is set ( #87843 )
...
* initial working poc with some better types
* move logic inside SelectBase
* add unit tests
* cleaner logic
* simpler
* update comments
* more comments
* use onMenuClose
* undo changes to cleanValue
* fix unit tests
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2024-05-20 11:01:38 +01:00
Joao Silva
cf407fe8de
Button: Allow disabled button to still be focused ( #87516 )
2024-05-20 10:39:52 +01:00
Ashley Harrison
8f6dcfee8b
Icon: Remove hardcoded color from ai icon ( #87996 )
...
* remove hardcoded color from ai icon
* remove opacity from icon
* adjust icon in grafana-icons as well
2024-05-20 10:32:37 +01:00
Ryan McKinley
e8b7b6aa66
ResourceClient: Add generateName (eg UID) helper ( #88037 )
2024-05-20 12:18:53 +03:00
Pepe Cano
f3be9d009e
Alerting docs: Fix H3 headings in Configure Grafana alert rules. ( #88040 )
...
Configure Grafana alert rules: Fix `H3` headings
2024-05-20 10:41:27 +02:00
Piotr Jamróz
d09f5abec9
Correlations: improve error handling ( #87810 )
...
Improve error handling
2024-05-20 10:35:47 +02:00
Olivier Giniaux
e91136338a
Tempo: Always use time range even if timeShiftEnabled is false ( #85477 )
...
* Tempo: Always use time range even if timeShiftEnabled is false
* Fix unused import and failing test
2024-05-20 09:28:07 +01:00
Torkel Ödegaard
fe991a9a7b
PanelOverrides: Only filter out override properties that do not exist ( #87904 )
2024-05-20 09:48:07 +02:00
Pepe Cano
8e5ce99f72
Update Configure no data and error handling and State & Health ( #87985 )
...
* Update `Configure no data and error handling` and State & Health
* Update docs/sources/alerting/alerting-rules/create-grafana-managed-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/create-grafana-managed-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/alerting-rules/create-grafana-managed-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/alert-rule-evaluation/state-and-health.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-05-20 09:39:30 +02:00
Pepe Cano
67f434dc73
Remove Single and multi-dimensional rule from Configure alert rules ( #87951 )
...
* Remove `Single and multi-dimensional rule` from `Configure alert rules`
* Do not change H3 titles
2024-05-20 09:34:00 +02:00
Pepe Cano
54eab4db59
Alerting docs: Relocate Resolved stale alert instances section ( #87965 )
...
Relocate `Resolved stale alert instances` section
2024-05-20 09:33:14 +02:00
Karl Persson
78d1b2a250
Authn: Share key retriever between id and access token verifiers ( #87978 )
2024-05-20 09:13:46 +02:00
Alex Khomenko
0a10793840
Store: Enable adding extra middleware ( #87984 )
...
* Store: Enable adding extra middleware
* Fix type
2024-05-20 08:34:00 +03:00
Andreas Christou
58d382e5dd
CloudMonitoring: Fix query type selection issue ( #87990 )
...
* Use deepEqual to ensure migratedQuery is only returned when query is unchanged
* Add selectors for query editors
* Add more tests for query editor component
* Clarifying comments
* Fix how state is set
* Simplify query editor loading and migration
2024-05-17 14:06:05 -04:00
Yuri Tseretyan
05d6813a09
Alerting: Fix scheduler to sort rules before evaluation ( #88006 )
...
sort rules scheduled for evaluation to make sure that the order is stable between evaluations.
This is especially important in HA mode.
2024-05-17 11:38:19 -04:00
Ieva
da1a99d729
Team: Add an endpoint for bulk team membership updates ( #87441 )
...
* add an endpoint for bulk team membership updates
* update comment
* schema gen
* test fix
* add swagger parameter definition
2024-05-17 13:41:41 +03:00
Xavi Lacasa
7726631fe8
IAM docs: Update Azure AD OAuth2.0 docs after rename to Entra ID ( #87925 )
2024-05-16 20:36:52 +02:00
Ryan McKinley
778d9eb69d
Live: Add more devenv dashboards ( #87952 )
2024-05-16 20:37:24 +03:00
Ezequiel Victorero
42d75ac737
Dashboards: Add feature restore dashboards backend ( #83131 )
...
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com >
2024-05-16 14:36:26 -03:00
Andreas Christou
edae5fc791
Azure: Fix for username assertion ( #87853 )
...
Fix for username assertion
- Allow setting username assertion in INI
- Correctly set the azsettings value
- Update tests
2024-05-16 11:50:02 -05:00
Adela Almasan
1957cfe6af
XY Chart: Fix series editor index ( #87942 )
2024-05-16 11:18:13 -05:00
Matias Chomicki
82796fad98
Elasticsearch: queries no longer executed on-change ( #87652 )
...
* Elasticsearch: queries no longer executed on-change
* Elasticsearch: run query if it was previously undefined
2024-05-16 19:09:50 +03:00
Tom Ratcliffe
938fcab1c8
Alerting: Skip flakey silencing test ( #87994 )
2024-05-16 18:49:18 +03:00
Ezequiel Victorero
5ce2d4e1a7
Snapshots: Render Dashboard controls in Scenes View ( #87972 )
2024-05-16 12:22:14 -03:00
antonio
c7d2a7a19c
grafana fundamentals fix ( #87975 )
...
* grafana fundamentals fix
* pretty face
2024-05-16 16:56:32 +02:00
Isabel Matwawana
80e2af5d25
Docs: public dashboards fixes ( #87870 )
...
* Made minor style fixes
* Converted docs ref links to ref URIs and updated note style to admonitions
* Fixed link text and version syntax
2024-05-16 09:16:39 -04:00
Kyle Brandt
1ab8208e07
Prometheus: Add interpolation of groupByKeys query parameters into expr ( #86360 )
...
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-05-16 08:36:03 -04:00
Marcus Efraimsson
961272a76d
Datasources: Enable native histograms for datasource response size metric ( #87962 )
2024-05-16 13:48:51 +02:00
github-actions[bot]
c46c0c9eb9
Update make docs procedure ( #87950 )
...
Co-authored-by: grafanabot <bot@grafana.com >
2024-05-16 12:00:32 +01:00
Alex Khomenko
4c2c717fed
Banner: Add nav link ( #87885 )
...
* Notification Banner: Add feature toggle
* Add banner node to general section
2024-05-16 13:21:24 +03:00
Ashley Harrison
82eb160f5c
Chore: SCSS tidy up ( #87956 )
...
* more scss tidy up
* replace some scss
2024-05-16 11:20:29 +01:00
antonio
086def3f57
alerting: contact points - links ( #87955 )
...
* alerting: contact points - links
* fundamentals: alerting instructions update
* updated steps
* prettier
2024-05-16 12:19:44 +02:00
Santiago
e41434c332
Alerting: Promote configuration in the remote Alertmanager ( #87388 )
2024-05-16 12:06:03 +02:00
Daniele Stefano Ferru
fbda55316d
K8s: Set X-Remote-Extra-User-Instance-Role header for SignedInUser ( #87958 )
2024-05-16 12:57:49 +03:00
Karl Persson
5c27f223af
Authn: Support access token wildcard namespace ( #87816 )
...
* Authn+ExtJWT: allow wildcard namespace for access tokens and restructure validation
2024-05-16 10:47:20 +02:00
Arati R
4867fd3069
Storage: Test mode 2 dual writer in playlist tests ( #87938 )
...
Add mode 2 feature flag to playlist tests
2024-05-16 10:39:30 +02:00
Tom Ratcliffe
9e29c215c3
Alerting: Update silences creation to support __alert_rule_uid__ and move into drawer ( #87320 )
2024-05-16 09:34:07 +01:00
Gabriel MABILLE
e7d5622969
RBAC: No need to filter permissions on cache hit ( #87941 )
2024-05-16 09:53:20 +02:00
Nathan Marrs
431fdd4bab
Canvas: Adhere editing state to dashboard editable state ( #87883 )
2024-05-15 17:17:50 -07:00
Liza Detrick
a17340ea8b
Applinks: Adds grafana-attributions-app to Cost Management nav ( #87765 )
...
* Applinks: add attributions under cost management -> metrics
2024-05-15 14:26:18 -07:00
Isabel Matwawana
47b42c9d42
Docs: Add annotated image and updated feature overview list ( #87833 )
...
Added annotated image and updated feature overview list
2024-05-15 16:22:49 -04:00
Yuri Tseretyan
f410c7fca1
Alerting: use logger with same context within rule scheduling loop ( #87934 )
2024-05-15 15:38:00 -04:00
Kyle Cunningham
e4db00903b
Format String Transformation: Add applicability function ( #87777 )
...
* Add applicability function
* Prettier
2024-05-16 02:29:30 +07:00
Tom Ratcliffe
aae6b5312a
Alerting: Fix "evalutation" typo ( #87930 )
2024-05-15 19:05:45 +03:00
Tom Ratcliffe
f4d55d2612
Alerting: Restructure mock server handlers slightly and remove unnecessary handlers ( #87759 )
2024-05-15 16:53:16 +01:00
Ashley Harrison
1af4256a7c
Switch: Improve disabled active state ( #87694 )
...
* add subtle active disabled state + fix story
* make toggle disabled color when disabled
* add icon in checked state
* undo placement changes
* readd positioning changes
* remove extra css
2024-05-15 16:50:24 +01:00
Usman Ahmad
9f543fa8d6
Update helm docs - removed enterprise tag from product labels ( #87922 )
...
Update index.md
2024-05-15 10:15:33 -05:00
SeamusGrafana
7f58a5b239
Disable Requirement for SSL in 'cloak.sql' ( #86919 )
...
Disable Requirment for SSL in 'cloak.sql'
Disable the Requirement for SSL on External Sites in Keycloak Database for Grafana Realm
2024-05-15 17:12:51 +02:00
Torkel Ödegaard
ce18b2f983
Dropdown: Fixes missing calls to onVisibilityChange causing wrong caret states ( #87923 )
2024-05-15 17:07:59 +02:00
Scott Lepper
93acc0c932
sqlexpressions - fix escape quote ( #87921 )
2024-05-15 10:55:58 -04:00
Pepe Cano
608a3faacd
Alerting docs: Last changes State and Health ( #87920 )
...
* Last changes `State and Health`
* Add additional explanation for `Keep last state`
* Minor clarification
2024-05-15 16:44:52 +02:00
Alexander Weaver
1badcf4b63
Alerting: Allow NoData and ExecErrState to be fully blank on recording rules ( #87868 )
...
* Allow empty NoData and ExecErrState on recording rules
* remove TODO about this
2024-05-15 09:35:54 -05:00
Dominik Prokop
fa63e03df3
MultiSelect: Respect value passed to the component regardless of custom value being allowed or not ( #87906 )
...
* MultiSelect: Respect value passed to the component regardless of custom value being allowed or not
* reset input for test
---------
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-05-15 16:24:30 +02:00
Fabrizio
953c8f838f
Loki: Lower log level when retrieving metadata ( #87910 )
...
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
2024-05-15 17:08:03 +03:00
antonio
e2f062d16d
alerting: Improve documentation regarding linking and visualizing alert rules in dashboards ( #87892 )
...
* commit 4
* commit 5
2024-05-15 15:50:32 +02:00
Jack Westbrook
65b2834420
Grafana UI: Bump to Storybook 8 ( #87722 )
...
* chore(storybook): run yarn dlx storybook@latest upgrade
* chore(storybook): remove storybook/blocks patch
* chore(yarn): clean up storybook dependencies
* feat(storybook): migrate to v8 config via migration codemods
* refactor(storybook): update stories to use v8 types via codemod
* refactor(storybook): update stories to use preview-api instead of client-api
* refactor(storybook): replace mdx usage of ArgsTable with PureArgsTable
* refactor(storybook): migrate remaining mdx files to v8 storybook/blocks api
* refactor(storybook): clean up mdx imports and blocks component names
* chore(storybook): clean up typescript configuration
* fix(frontend): align types/react versions across monorepo so grafana ui can be built
* fix(storybook): pub back react-docgen-typescript and use ArgTypes so props tables work
* chore(storybook): patch blocks package to expose Preview component
* revert(storybook): revert changes related to using Canvas component in mdx files
* Storybook upgrade: Fix icon typing (#87793 )
fix iconOptions typing
* refactor(storybook): prefer as const over asserting types
* revert(storybook): put back correct case in box.mdx
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-05-15 15:49:00 +02:00
Bogdan Matei
6127dfd322
Scopes: Adapt for new API ( #87841 )
...
* Implement changes for new Scopes API
* Update from linkID to linkId
* Fixes
* Fix tests
* prom/scopes: change query model to recieve []ScopeSpec
* Move to basic backend service
---------
Co-authored-by: Kyle Brandt <kyle@grafana.com >
2024-05-15 16:28:09 +03:00
Alex Khomenko
6c1e9a9717
Grafana/ui: Update IconRenderer ( #87914 )
2024-05-15 16:27:05 +03:00
Juan Cabanas
a6d64c6ed5
PublicDashboards: Public dashboard refreshed when access token changes ( #87913 )
2024-05-15 10:20:00 -03:00
Kevin Minehart
90970d5f58
CI: In promotions, set the --go-version when building Grafana packages ( #87912 )
...
* Specify drone-version when building in promotions
* Specify drone-version when building in promotions
2024-05-15 16:10:06 +03:00
Sonia Aguilar
3aae2b7e04
Alerting: Assume built-in AM is receiving alerts in case of not having admin config ( #87893 )
2024-05-15 14:51:28 +02:00
lean.dev
639ab6cca7
Tempo: Implement PDC for gRPC client ( #85867 )
2024-05-15 14:39:02 +02:00
Konrad Lalik
1cf1c5f03a
Alerting: Add hide plugins rules filter ( #87445 )
...
* Add hide plugins rules filter
* Change the filter label and available values
* Setup plugins hook in tests
* Fix lint errors
* remove unused code
2024-05-15 14:09:56 +02:00
ismail simsek
4fef6ff30d
Chore: Use TemplateSrv from @grafana/runtime in influxdb datasource ( #87813 )
...
use templatesrv from @grafana/runtime
2024-05-15 12:42:09 +02:00
Torkel Ödegaard
699c5bfe79
DashboardScene: Skip panel repeats when values are the same ( #87788 )
...
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2024-05-15 12:29:46 +02:00
Ida Štambuk
272cfa83b1
Feature Management: Move awsDatasourcesNewFormStyling to GA ( #87696 )
2024-05-15 12:23:24 +02:00
Oscar Kilhed
d52381b744
Dashboard scenes: Fix issue going from view panel to edit panel when dashboard is not in edit mode ( #87487 )
...
Fix issue going from view panel to edit panel
2024-05-15 11:53:02 +02:00
Pepe Cano
37d1d1c0a0
Alerting docs: Update State and health of alerts docs ( #87846 )
...
* Update `View alert state and history`
* first edit `State and Healths of alerts`
* Complete `State and health of alerts`
* Update docs/sources/alerting/fundamentals/alert-rule-evaluation/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-05-15 10:49:16 +02:00
Sonia Aguilar
28bf5a4577
Gops: Add tracking for data source check ( #87886 )
...
Add tracking for data source check
2024-05-15 10:35:36 +02:00
antonio
f24eb3165b
alerting: adding links to get-started tutorial ( #87811 )
...
* alerting: adding links to get-started tutorial
* Update index.md
* Update create-grafana-managed-rule.md
* Update _index.md
* Update _index.md
* Update docs/sources/alerting/alerting-rules/create-grafana-managed-rule.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* pretty
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-05-15 08:57:12 +02:00
Nathan Marrs
d92ec98ecc
Transformations: Add string type check to field value in substring value matcher ( #87782 )
2024-05-14 16:56:46 -07:00
grafana-delivery-bot[bot]
012ee1d557
Changelog: Updated changelog for 9.5.19 ( #87873 )
...
Co-authored-by: grafanabot <bot@grafana.com >
2024-05-14 17:19:30 -04:00
Scott Lepper
14a814a280
[sql expressions] fix: use ast to read tables ( #87867 )
...
* [sql expressions] fix: use ast to read tables
* can't run tests during ci yet. need to install duckdb
* skip for now. need duckdb cli
2024-05-14 17:05:29 -04:00
grafana-delivery-bot[bot]
7d386dc26b
Changelog: Updated changelog for 10.1.10 ( #87869 )
...
Co-authored-by: grafanabot <bot@grafana.com >
2024-05-14 16:52:30 -04:00
Alexander Weaver
b8a284fb81
Alerting: Fix xorm serialization of Record field struct, add tests for storing and reading ( #87857 )
...
Fix sub struct ser and deser, add tests
2024-05-14 14:50:06 -05:00
Tom Glenn
1e2c58fc80
Docs: Adds video embed for the Understanding Dashboards youtube video ( #87449 )
...
* Adds video embed for the Understanding Dashboards youtube video
* Moved video to Use dashboards page
---------
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
2024-05-14 15:03:56 -04:00
grafana-delivery-bot[bot]
a50bcaca57
Changelog: Updated changelog for 10.2.7 ( #87847 )
...
Co-authored-by: grafanabot <bot@grafana.com >
2024-05-14 12:59:33 -04:00
owensmallwood
557c3a9cdd
Unified Storage: Adds metrics for database query counts ( #87781 )
2024-05-14 10:17:38 -06:00
Ieva
4b24019bae
Dashboards: Don't set dashboard creator/updater if the action is done by an API key ( #87704 )
...
don't parse userID if entity isn't user or service account
2024-05-14 17:02:03 +01:00
Ieva
b382cea9c8
RBAC: Update role picker in team page, fix a bug with roles being removed upon team setting update ( #87519 )
...
immediately update team roles through team role picker in team settings page instead of doign apply + update flow
2024-05-14 17:00:04 +01:00
Ivana Huckova
f99c722ecf
FeatureBadge: Update FeatureBadge to support current release stages ( #87555 )
...
* FeatureBadge: Update avalaiable FeatureState
* Move to separate folder
* Add private preview state
2024-05-14 18:58:47 +03:00
Joey
225755b2da
Tempo: Check for histogram in isTraceQlMetricsQuery ( #87840 )
...
Check for histogram in isTraceQlMetricsQuery
2024-05-14 16:55:57 +01:00
Diego Augusto Molina
cbcd945251
Unified Storage: in SQL template, also handle output data, improve API, examples and docs ( #87560 )
...
* preview of work so far
* stylistic improvements
* fix linters
* remove golden tests, they may cause the system to be too rigid to changes
* remove unnecessary code for golden tests
* remove white space mangling in Execute
* also handle output data, improve API, examples and docs
* add helper methods
* fix interface
2024-05-14 12:32:21 -03:00
Dominik Prokop
c747e344bf
SelectMenu: Fix potential undefined problem ( #87835 )
2024-05-14 18:16:00 +03:00
Kyle Brandt
ea1845edbe
Scopes: Change JS linkID to linkId ( #87831 )
2024-05-14 11:01:21 -04:00
ttshivers
b07b927a94
Tempo: Escape backslash in span name for promsql query ( #83024 )
...
* Tempo: Escape backslash in span name for promsql query
In promsql, backslashes in regexes must be doubly escaped for them to be
interpreted as a literal backslash character.
Fixes #79791
* Fix regex replace
---------
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com >
2024-05-14 16:57:35 +02:00
Sergej-Vlasov
5f147644d4
DashboardScene: Default hoverHeaderOffset to 0 ( #87561 )
...
* remove hoverHeaderOffsetBehavior and force offset to 0
* force headerHoverOffset in addPanel flow
2024-05-14 17:50:59 +03:00
Sonia Aguilar
ca0dae6812
Gops: Add configuration tracker on the existing IRM page ( #85838 )
...
* WIP
* add configure irm componet and pass it to Nav
* add check if theres datasource for Alerts
* update incident steps links
* uncomment done property in the interface
* Fix not having data sources in store and removing warning using wrong Icon name type
* call incidents api in done step
* Show checked steps with an icon instead of a badge
* Implemnt check contact point ready in essentials
* Fix codeowners and prettify file
* Check if there is one oncall integration in at least one contact point
* Refactor
* Check for oncall integration being created
* Add the test oncall integration action
* Do not hide any card in irm page, and refactor
* Refactor: move hooks to a separate file
* Implement oncall chatops checks
* update incidents hook
* Show new irm page only on cloud and for admins
* fix prettier in irmhooks
* remove unused import
* fix prettier in irm hooks
* fix axios method
* Add progress bar on essentials
* Update texts and some styles
* Refactor
* fix api call
* fix check is plugin is installed
* fix async call
* fix lint
* Do not show check icon when done field is undefined in a step
* refactor
* Add test for Essentials
* check if incident plugin installed
* call incidents api to get steps
* add the new api to get config
* fix prettier
* memoize the api call
* fix lint
* add proper api call
* check if response is valid
* fix typo
* use state to save the values
* fix lint
* fix response schema
* fix prettier
* update incident steps copy
* udapte texts in respond tooltips
* Fix confiure IRM route check
* Fix logic for the data source check: check if there is a data source that is alerting compatible
* Use existing header prop in NavLandingPage instead of creating a new prop
* fix wrong updated file
* Update logic for default contact point check and update some links
* Update texts and show only one item for oncall integration with alerting checks
* Update texts following suggestions in the doc
* Fix getting default contact point and update oncall link for slack tab
* Update texts, buttons and checks following last meeting action items
* remove unnecessary component drawer
* Track interactions: user open or close essentials drawer
* Refactor
* remove unnecessary createMonitoringLogger for tracking irm events
* remove unnecessary style
* refactor
* refactor
* Add fallback links and labels for action buttons when step is done
* Update irm card styles
* remove extra space after progress bar numbers
* remove progress bar border
* Address pr review comments
* remove unnecessary AlertmanagerProvider
* fix logic behind default contact point check
* update test
* Address pr review comments part1
* add aria and properties role for Progressbar
* Reorganize hooks into separate folders/files for each app
* move done field to the step level
* Handle empty dropdown options
* Handle loading state
* Update tooltip for connecting alerting to oncall
* Use RTKQ for incidents
* handle loading for oncall hooks
* refactor getting configuration for each app
* fix incident rtkq query to be a query instead of mutation
* refactor: rename variable
* Address some nits in the review
---------
Co-authored-by: reemtariqq <reem.tariq@grafana.com >
2024-05-14 16:42:22 +02:00
renovate[bot]
367af27d7a
Update dependency @grafana/scenes to v4.21.1
2024-05-14 16:14:34 +02:00
Ryan Crutchfield
c912cb399b
Update JWT auth page ( #87523 )
2024-05-14 15:11:05 +01:00
Gábor Farkas
c0333130af
postgres/mysql: improve macro docs ( #87434 )
2024-05-14 15:10:27 +01:00
grafana-delivery-bot[bot]
8b77e7b417
Changelog: Updated changelog for 10.3.6 ( #87819 )
...
Co-authored-by: grafanabot <bot@grafana.com >
2024-05-14 16:00:54 +02:00
Steve Simpson
67fa96f88d
Alerting: Pass logger into NewAnnotationBackend. ( #87812 )
...
* Alerting: Pass logger into NewAnnotationBackend.
Make it possible to pass loggers into more places for code reuse.
* Mistake in passing logger
2024-05-14 15:51:27 +02:00
David Allen
5678012f0f
docs: add dashboard list play link ( #87807 )
2024-05-14 09:49:41 -04:00
William Wernert
563fcb8bf4
Alerting: Encode query model map to string in rule export to avoid html escape sequences ( #87663 )
...
* Encode query model map to string to avoid html escape sequences
* Remove insignificant whitespace in test request
2024-05-14 09:29:50 -04:00
Ryan McKinley
62d326cf04
Plugins: Add baseMiddleware support ( #87799 )
2024-05-14 16:27:40 +03:00
Fayzal Ghantiwala
7a2fbad0c8
Alerting: Add options to configure TLS for HA using Redis ( #87567 )
...
* Add Alerting HA Redis Client TLS configs
* Add test to ping miniredis with mTLS
* Update .ini files and docs
* Add tests for unified alerting ha redis TLS settings
* Fix malformed go.sum
* Add modowner
* Fix lint error
* Update docs and use dstls config
2024-05-14 14:21:42 +01:00
Alexander Weaver
e39658097f
Alerting: Wire recording rules feature toggle into limits struct ( #87778 )
...
Wire toggle into limits
2024-05-14 07:44:14 -05:00
Adela Almasan
fa66816be4
BarChart: Add check for empty series ( #87761 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-05-14 07:38:29 -05:00
Karl Persson
9977258d04
AuthN: Set uid during authentication ( #87797 )
...
* Identity: Remove GetNamespacedUID and use GetUID instead
* Authn: Set uid for users and service accounts
2024-05-14 14:13:50 +02:00
Arati R
6836bfe1ea
Storage: Customise setting dual writing modes ( #87668 )
...
* Add feature toggles for mode 2 and 3 playlist dual writing
* Make current mode customised based on kind
* Check feature flags when initialising dual writer
* Fix linting
* Refactor NewDualWriter
2024-05-14 14:11:56 +02:00
Andres Martinez Gotor
d8904f3ca4
Add apiVersion to plugin models ( #87510 )
2024-05-14 13:58:27 +02:00
renovate[bot]
2f11cf84e8
Update dependency @grafana/experimental to v1.7.11
2024-05-14 11:51:13 +00:00
Torkel Ödegaard
6f1fce7540
TestData: Fixes query interpolation ( #87803 )
2024-05-14 13:40:54 +02:00
grafana-delivery-bot[bot]
a3838c0dbe
Changelog: Updated changelog for 10.4.3 ( #87804 )
...
Co-authored-by: grafanabot <bot@grafana.com >
2024-05-14 13:31:41 +02:00
Fabrizio
bd4e9d102b
Update version to 11.0.0
2024-05-14 12:54:11 +02:00
Torkel Ödegaard
9cd7c87b48
DashboardScene: Fixing major row repeat issues ( #87539 )
...
* DashboardScene: Fixing major row repeat issues
* Fixing edit scope
* Use dashboard variableDependendency to notify row repeat behaviors
* update scenes lib
* Do not repeat if values are the same
* Update public/app/features/dashboard-scene/scene/DashboardScene.tsx
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
* Updated scenes
* Update
* Update
* Do not render row actions for repeated rows
* Fixed e2e
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2024-05-14 12:39:10 +02:00
Ezequiel Victorero
c9c6445554
Chore: Refactor render via http ( #84613 )
2024-05-14 07:24:18 -03:00
Ashley Harrison
a7a503501a
Select: Ensure virtualised menu scrolls active option into view when using arrow keys ( #87743 )
...
scroll option into view whenever current focusedIndex changes
2024-05-14 10:36:28 +01:00
Brendan O'Handley
7569fa6297
Prometheus: Add native histogram types metric explorer to allow filter by type ( #87090 )
...
* add native histogram type and give them the right type
* add tests for native histograms
* fix test
2024-05-14 11:23:44 +02:00
grafana-delivery-bot[bot]
da800a026f
Changelog: Updated changelog for 11.0.0 ( #87790 )
...
Co-authored-by: grafanabot <bot@grafana.com >
2024-05-14 10:45:16 +02:00
Tobias Skarhed
aa7a01a87e
TimeRangePicker: Announce to screen reader when time range is updated ( #87692 )
...
Add aria live to TimeRangePicker
2024-05-14 10:20:15 +02:00
Piotr Jamróz
fd218edca4
Explore: List query templates ( #86897 )
...
* Create basic feature toggle
* Rename context to reflect it contains query history and query library
* Update icons and variants
* Rename hooks
* Update tests
* Fix mock
* Add tracking
* Turn button into a toggle
* Make dropdown active as well
This is required to have better UI and an indication of selected state in split view
* Update Query Library icon
This is to make it consistent with the toolbar button
* Hide query history button when query library is available
This is to avoid confusing UX with 2 button triggering the drawer but with slightly different behavior
* Make the drawer bigger for query library
To avoid confusion for current users and test it internally a bit more it's behind a feature toggle. Bigger drawer may obstruct the view and add more friction in the UX.
* Fix tests
The test was failing because queryLibraryAvailable was set to true for tests. This change makes it more explicit what use case is being tested
* Remove active state underline from the dropdown
* Add basic types and api methods
This is just moved from the app. To be cleaned up and refactored later.
* Move API utils from Query Library app to Grafana packages
* Move API utils from Query Library app to Grafana packages
* Move API utils from Query Library app to Grafana packages
* Add basic table for query templates
* Add sorting
* Style cells
* Style table cells
* Allow closing Query Library drawer from the toolbar
* Remove Private Query toggle
It will be moved to the kebab
* Add empty state
* Remove variables detection for now
Just to simplify the PR, it's not needed for Explore yet.
* Simplify getting useDatasource.tsx
* Rename cell
* Move QueryTemplatesTable to a separate folder
* Use RTK Query to get list of query templates
* Clean up query templates table
* Simplify useDatasource hook
* Add a test
* Retrigger the build
* Remove unused code
* Small clean up
* Update import
* Add reduxjs/toolkit as a peer dependecy
* Revert "Add reduxjs/toolkit as a peer dependecy"
This reverts commit aa9da6e442 .
* Update import
* Add reduxjs/toolkit as a peer dependecy
* Revert "Add reduxjs/toolkit as a peer dependecy"
This reverts commit 2e68a62ab6 .
* Add @reduxjs/toolkit as peer dependency
* Add @reduxjs/toolkit as peer dependecy
* Move reactjs/toolkit to dev dependecies
* Minor clean up and use react-redux as a peer dependency
* Move query library code to core features
* Update code owners
* Update export
* Update exports
* Use Redux store instead of APIProvider
* Await for query templates to show during the test
* Add more explicit docs that the feature is experimental
---------
Co-authored-by: Kristina Durivage <kristina.durivage@grafana.com >
2024-05-14 10:05:39 +02:00
Sonia Aguilar
6b1a662f6b
Alerting: Fix deleting rules when silencing/resuming rule from a panel alert tab ( #87710 )
...
* Fix deleting rules when silencing/resuming rule from a panel alert tab
* fix test and return early when no group target is found
* address pr review comment
2024-05-14 10:01:08 +02:00
ismail simsek
194039c429
InfluxDB: Update alias regex pattern ( #87713 )
...
* use frontend mode alias regex
* remove comment
2024-05-14 09:53:18 +02:00
Stephanie Hingtgen
bbb4323f7e
K8s: add server run options ( #87784 )
2024-05-14 07:11:11 +03:00
J Stickler
56054e2e87
docs: Update link to Loki Get Started ( #87772 )
2024-05-13 16:01:52 -05:00
Andrew Hackmann
9bf9f8e457
List Azure CosmosDB as an enterprise plugin ( #87575 )
2024-05-13 15:57:53 -05:00
Ezequiel Victorero
56766abcc8
Scenes: Fix snapshot rendering ( #87769 )
2024-05-13 16:15:39 -03:00
Kyle Brandt
ff6d1f4977
Scopes: Add intregation tests for scopeNodes based on example ( #87646 )
2024-05-13 14:12:33 -04:00
Marie Cruz
6fbb35736e
docs: update news visualization ( #87443 )
...
* docs: update news visualization
* docs: add use case
* Apply suggestions from code review
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* Removed future tense
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
2024-05-13 13:12:27 -04:00
kay delaney
da0f7a5036
Chore: Convert TeamPages from class component to function component ( #87602 )
2024-05-13 17:58:27 +01:00
Nick Richmond
18f8f2324a
Graphite: Fix alignment of elements in the query editor ( #87662 )
...
style: ensure elements in query builder rows are aligned
2024-05-13 12:51:32 -04:00
Isabel Matwawana
b7d024c426
Docs: update headings and add release info ( #87058 )
...
* Updated headings and to align with release life cycle stages and adding release info
* Update generated files
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
---------
Signed-off-by: Jack Baldry <jack.baldry@grafana.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-05-13 12:44:14 -04:00
David Allen
351d36caea
docs: add flame graph play link ( #87498 )
2024-05-13 12:32:09 -04:00
David Allen
fc425983b3
docs: add text panel play link ( #87497 )
2024-05-13 12:31:47 -04:00
owensmallwood
3bf39d6d9a
Unified Storage: Fixes bug with postgres connection string and adds tests ( #87656 )
2024-05-13 10:16:26 -06:00
renovate[bot]
8c585c4a79
chore(deps): update dependency stylelint to v16.5.0 ( #87726 )
...
Update dependency stylelint to v16.5.0
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 16:42:16 +01:00
David Allen
5705952d85
docs: add geomap play link ( #87469 )
2024-05-13 11:21:59 -04:00
Carl Bergquist
3160a4d909
ScopeNodes: Add naive filter functionality for scopenode.titles ( #87721 )
2024-05-13 18:21:09 +03:00
David Allen
3eba57dc98
docs: add histogram play link ( #87466 )
2024-05-13 11:20:29 -04:00
David Allen
d61c661a90
docs: add heatmap play link ( #87464 )
2024-05-13 11:15:18 -04:00
David Allen
788c50527f
docs: add canvas button example play link ( #87462 )
2024-05-13 11:12:31 -04:00
renovate[bot]
18f5a831f5
Update dependency sass to v1.77.1 ( #87725 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 16:10:26 +01:00
renovate[bot]
4b5aa3f3ec
Update dependency msw to v2.3.0 ( #87719 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 15:50:12 +01:00
Isabel Matwawana
c2e8384090
Docs: What’s new & Upgrade guide & Breaking changes v11.0 ( #86369 )
...
* Updated g11-preview pags for g11 release
* Added items to breaking changes guide
* Added and updated What's new content from latest Cloud file
* Updated link text
* Removed Azure Monitor item
2024-05-13 10:27:45 -04:00
owensmallwood
77686da969
Unified Storage: Adds sql metrics ( #87651 )
...
* registers sql metrics for unified storage and removes single quotes from postgres connection string format
* uses db logger
* only register US sql metrics when connecting to another postgres or mysql db
* use engine
2024-05-13 08:09:25 -06:00
Artur Wierzbicki
e34e9f4b12
Chore: change grpc server ownership ( #87148 )
...
add limitation
2024-05-13 16:00:58 +02:00
renovate[bot]
d5fe1699e5
Update dependency knip to v5.15.1 ( #87716 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 16:41:01 +03:00
Ivana Huckova
336b6dafb6
Elasticsearch: Fix setting of default maxConcurrentShardRequests ( #87703 )
...
* Elasticsearch: Fix setting of default maxConcurrentShardRequests
* Add float test scenario
* Add comment
2024-05-13 16:39:37 +03:00
renovate[bot]
17f6f75bd2
Update dependency jest-fail-on-console to v3.3.0 ( #87715 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 16:22:54 +03:00
renovate[bot]
7afbeca3da
Update dependency @grafana/scenes to v4.20.0 ( #87714 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 16:04:37 +03:00
Duologic
e6669c835c
Revert "fix: in generated file"
...
This reverts commit 724d198be1 .
2024-05-13 14:49:23 +02:00
Duologic
724d198be1
fix: in generated file
2024-05-13 14:45:09 +02:00
renovate[bot]
54d026f576
Update dependency immer to v10.1.1 ( #87709 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 12:55:12 +01:00
renovate[bot]
02e0ece87d
Update dependency rimraf to v5.0.7
2024-05-13 11:25:12 +00:00
Andres Martinez Gotor
ae152af119
Upgrade grafana-plugin-sdk-go to v0.230.0 ( #87706 )
2024-05-13 13:23:30 +02:00
github-actions[bot]
391edf8c80
I18n: Download translations from Crowdin ( #87705 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-13 14:17:43 +03:00
renovate[bot]
0597265344
Update dependency immutable to v4.3.6
2024-05-13 11:04:06 +00:00
antonio
11e970c580
tutorials: alerting get started url fix ( #87697 )
2024-05-13 04:03:18 -07:00
Ashley Harrison
9bf3adabd8
Spinner: Change spinner icon when prefers-reduced-motion is set ( #87641 )
...
* change spinner icon when prefers-reduced-motion is set
* update mock
* remove outdated comment
* fix matchMedia mocks
* update spinner aria label
2024-05-13 11:32:02 +01:00
Jack Westbrook
58e554b67f
Chore: Bump ejs to 3.10.0 ( #87701 )
...
chore(npm): bump ejs to 3.1.10 for dependabot
2024-05-13 13:29:56 +03:00
renovate[bot]
b536b6d7de
Update dependency glob to v10.3.15
2024-05-13 10:24:30 +00:00
Josh Hunt
1033c8407d
Chore: Bump lerna and tar ( #87699 )
...
* Chore: Bump lerna to 8.1.3
* Chore: Bump transitive tar to 6.2.1
2024-05-13 13:22:07 +03:00
renovate[bot]
dfa9e8f4f4
Update dependency dompurify to v3.1.3
2024-05-13 10:05:11 +00:00
Tom Ratcliffe
08884f16af
Chore: Remove redux-rtl test helper ( #87596 )
2024-05-13 11:03:21 +01:00
Ashley Harrison
2cdb7d923f
EmptyState: Don't apply animation when prefers-reduced-motion is set ( #87638 )
...
* don't apply animation when prefers-reduced-motion is set
* bail quicker
* early return
2024-05-13 10:48:41 +01:00
Leonor Oliveira
b214f9cc3a
Add metrics utils to the dualwriter ( #87693 )
...
* Add metrics utils
* Ignore lint temporarily
* Lint
2024-05-13 11:36:24 +02:00
antonio
1191992226
alerting: PD - typo fix ( #87674 )
...
typo fix
2024-05-13 11:34:02 +02:00
Alex Khomenko
f3953b4955
Notification Banner: Add feature toggle ( #87686 )
2024-05-13 12:32:34 +03:00
renovate[bot]
8681965be0
Update dependency @kusto/monaco-kusto to v10.0.21
2024-05-13 09:08:08 +00:00
Karl Persson
7125a2e455
Anon: Add support to resolve anonymous identity ( #87486 )
2024-05-13 11:06:14 +02:00
renovate[bot]
1983043b71
Update dependency @floating-ui/react to v0.26.14 ( #87690 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 11:42:58 +03:00
renovate[bot]
89f6845739
Update dependency eslint-plugin-jest to v28.5.0 ( #87654 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 09:25:33 +01:00
Jack Westbrook
f785a71aae
Fix: Angular detection in plugin loader ( #87323 )
...
fix(plugins): make sure angular detection is passed to loader
2024-05-13 09:55:26 +02:00
Torkel Ödegaard
a6076d8d05
TestData: Do not mutate query in applyTemplateVariables ( #87680 )
2024-05-13 08:24:54 +02:00
Bruno
14ccf7f6d1
Cloud migrations: return errutil.Error in http responses ( #87448 )
2024-05-13 00:22:46 -04:00
Bruno
6a3ab71d77
cms: clean up model file ( #87179 )
...
* move CreateAccessTokenResponseDTO to api.go
* remove unused types
* run make swagger-clean && make openapi3-gen
2024-05-13 00:22:19 -04:00
Karl Persson
0f3080ecb8
AuthN: Fix signout redirect url ( #87631 )
...
* Add missing return
* Use sign out redirect url from auth config if configured
* remove option from auth.jwt that is not used
2024-05-12 19:53:19 +02:00
renovate[bot]
3dab7e44ec
Update dependency glob to v10.3.15
2024-05-12 10:37:20 +00:00
antonio
7e8b71d882
alerting: docs - pagerduty ( #87604 )
...
* alerting: docs - pagerduty
* pretty
2024-05-11 11:00:28 +02:00
Adela Almasan
f706c78ea1
Chore: Refactor tooltip scrollable prop ( #87671 )
2024-05-11 03:19:42 +03:00
Adela Almasan
ddde7f1056
XYChart: Use global range for mapped size field ( #87661 )
...
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-05-10 18:59:03 -05:00
Torkel Ödegaard
f83366fcdd
GenAI: Fixes multiple calls to settings and health ( #87623 )
...
* GenAI: Fixes multiple calls to settings and health
* swap order of tests given new caching
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2024-05-10 20:52:59 +02:00
Michael Mandrus
ef51a64b57
Feature Toggles: Hide featureToggleAdminPage toggle from docs and note that it is cloud only. ( #87660 )
...
update featureToggleAdminPage feature toggle to be hidden from docs and specify cloud only
2024-05-10 21:34:53 +03:00
Domas
708bcda76a
VizLegend: Represent line style in series legend and tooltip ( #87558 )
...
* wip
* aand finished
* remove console log
* use css for styling
* user boerder for solid as well
* misc fixes
* attempt css based approach
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-05-10 21:27:09 +03:00
Ryan McKinley
f880abc292
QueryService: Move raw http.Handler to rest.Connector ( #87595 )
...
* query connector
* improve error wrappers
* return 400 for missing datasource (not 404)
* fix errors
* message
2024-05-10 21:01:17 +03:00
Leon Sorokin
f43ed7e6d7
BarChart: Refactor and VizTooltip fixes ( #87160 )
...
Co-authored-by: Adela Almasan <adela.almasan@grafana.com >
2024-05-10 12:58:53 -05:00
renovate[bot]
8bfd7e5106
Update dependency @types/react-test-renderer to v18.3.0 ( #87649 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 19:29:46 +03:00
Ashley Harrison
396e75dadf
Chore: Type improvements ( #87634 )
...
* improve typings in opentsdb datasource
* couple of influx improvements
* couple more
* more
* more more more
* 3 more
* changes to variables/inspect/utils
* some graphite improvements
2024-05-10 17:28:44 +01:00
Andreas Christou
49e6bf26b3
AzureMonitor: Refactor Log Analytics backend ( #87429 )
...
* Remove unneeded error check
* Refactor to reduce cyclomatic complexity
* Add util function for parsing resultformat
* Make use of util
* Remove unneeded types
* Move types to their own file
* Move getApiUrl to utils
* Move traces functions to separate file
- Add separate helper for building trace string queries
* Add helper for determining resources
* Add test for RetrieveResources
* Don't append twice
* Refactor tests
2024-05-10 17:11:54 +01:00
Andreas Christou
95667f6a53
CloudMonitoring: Improve legacy query migrations ( #86069 )
...
* Match backend and correctly migrate metricType
Update tests
* Ensure project is migrated or set if not defined
* Improve migrations logic
2024-05-10 16:57:18 +01:00
renovate[bot]
b226ddfa53
Update dependency @react-types/shared to v3.23.0 ( #87643 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 18:21:42 +03:00
renovate[bot]
b8c55a35a8
Update dependency @grafana/scenes to v4.19.0 ( #87642 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 18:21:03 +03:00
Joao Silva
4bab530375
Chore: Remove gf-forms from SubMenuItems and RangeMatcherEditor ( #87633 )
2024-05-10 16:18:40 +01:00
renovate[bot]
e6f662a180
Update dependency react-redux to v9.1.2
2024-05-10 14:33:00 +00:00
renovate[bot]
b31193f172
Update dependency @reduxjs/toolkit to v2.2.4
2024-05-10 17:21:37 +03:00
Torkel Ödegaard
fcda8c235f
MixedDataSource: Support multi value data source variable that issues a query to each data source ( #87586 )
...
* Revert "Revert "MixedDataSource: Support multi value data source variable tha…"
This reverts commit 979d87f46f .
* fix issue
2024-05-10 16:03:25 +02:00
Konrad Lalik
c203a030e8
Alerting: Fix MatcherFilter onChange handling ( #87511 )
...
* Fix input onChange handler
* Remove unused variables
2024-05-10 15:42:23 +02:00
renovate[bot]
be1bb04e9b
Update dependency semver to v7.6.2
2024-05-10 13:32:47 +00:00
renovate[bot]
e9ed62a7b6
Update dependency i18next to v23.11.4
2024-05-10 13:31:14 +00:00
Ashley Harrison
670960f70c
Chore: Upgrade redux ( #86877 )
...
* update packages
* fix type errors
* upgrade redux toolkit as well
* don't need eslint-disable command
* remove comment
* fix unit tests
* call rtk query selector directly
* remove unnecessary checks
2024-05-10 14:28:51 +01:00
linoman
926ee0f62e
SAML: add referemce to azure ad limitations ( #87571 )
...
* update the url for Azure AD limitations
* add warnings of using Azure AD with SAML
2024-05-10 15:12:31 +02:00
renovate[bot]
329f4b1243
Update dependency glob to v10.3.14
2024-05-10 16:11:50 +03:00
Andrej Ocenas
d912703634
Chore: Updated go.work.sum file ( #87622 )
...
* Updated file
* fix quote character issue in workspace check
---------
Co-authored-by: Todd Treece <todd.treece@grafana.com >
2024-05-10 14:59:44 +02:00
renovate[bot]
0793a9033a
Update dependency @types/lodash to v4.17.1 ( #87419 )
...
* Update dependency @types/lodash to v4.17.1
* fix grafana-data
* simpler grafana-data fix
* simpler code
* commit a betterer crime (it was already doing this implicitly before...)
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com >
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-05-10 13:56:27 +01:00
Dominik Prokop
39aafde8cb
AdHocFilters: Use queries in ad hoc filters api calls ( #87624 )
2024-05-10 14:54:07 +02:00
Tobias Skarhed
fa95b41715
TimeSeries: Improve keyboard focus and fix spacebar override ( #86848 )
...
* Make GrpahNG focusable
* Move to VizLayout instead
* Update uPlot plugins for better keyboard support
* Remove unrelated changes
* different fix
---------
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-05-10 14:07:12 +02:00
Torkel Ödegaard
459673b539
Dropdown: Fixes double call to onVisibilityChange ( #87607 )
...
* Dropdown: Fixes double call to onVisibilityChange
* Update
* update
2024-05-10 14:06:53 +02:00
Christian Simon
ad78dec7c3
[DOC] Adds missing link to Pyroscope core data source ( #85493 )
...
[DOC] Add missing link to Pyroscope
Grafana Pyroscope is a core shipped data source.
2024-05-10 13:03:13 +01:00
Ivana Huckova
1130369a12
Docs: Add Configuring Elasticsearch documentation for required privileges ( #87593 )
...
* Docs: Add Configuring Elasticsearch documentation for required privileges
* Update docs/sources/datasources/elasticsearch/configure-elasticsearch-data-source.md
* Update docs/sources/datasources/elasticsearch/configure-elasticsearch-data-source.md
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
2024-05-10 13:59:23 +02:00
renovate[bot]
d2c492cae5
Update dependency eslint-plugin-jsdoc to v48.2.4
2024-05-10 14:59:15 +03:00
linoman
cd98aaf89b
Chore: Add login protection when user is trying different uppercase letters ( #87588 )
...
* add login protection when the user is trying different uppercase letters
2024-05-10 13:49:59 +02:00
Christian Briones
867d36fe59
Explore: lookup datasource by name when present in legacy URLs ( #85222 )
...
* [explore] lookup datasource by name when present in legacy compact URLs
* update unit test
* prettier fix
---------
Co-authored-by: Kristina Durivage <kristina.durivage@grafana.com >
2024-05-10 06:48:42 -05:00
renovate[bot]
dce39237c4
Update dependency @prometheus-io/lezer-promql to v0.52.0 ( #87554 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 12:40:20 +01:00
renovate[bot]
23ed1b2d9e
Update dependency systemjs to v6.15.1 ( #87594 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-10 12:39:48 +01:00
kay delaney
cadc551a3c
Chore: Remove deprecated re-exported template variable types ( #87459 )
...
Chore: Remove deprecated re-exported template varible types
2024-05-10 12:00:41 +01:00
kay delaney
cbe868b118
Chore: Use getNextRefId instead of deprecated getNextRefIdChar ( #87460 )
2024-05-10 12:00:17 +01:00
Ieva
167151b211
Chore: Remove use of deprecated method in AC code ( #87541 )
...
* switch from using cfg to using featuremgmt for checking a feature toggle in AC code
* merge test fixes
2024-05-10 11:56:52 +01:00
Karl Persson
8c7b8542f1
Chore:: Update authlib version ( #87603 )
...
update authlib version
2024-05-10 12:55:12 +02:00
Sonia Aguilar
4b720206d4
Alerting: Reduce number of request fetching rules in the dashboard view using rtkq ( #86991 )
...
* Reduce number of request fetching rules in the dashboard view using rtkq
* Fix UnifiedAlertStatesWorker work
* refactor ungroupRulesByFileName
* Address review comments and fix test
* fix DashboardQueryRunner test
* Fix tests
* Update AlertStatesDataLayer to use RTKQ
* Fix PanelAlertTabContent test
* Fix PanelAlertTabContent test after adding RTKQ
* fix test and address PR review comments
* Update useCombinedRuleNamespaces to have both dashboardUID and panelId as optional params and rename the hook
* Address review pr comment
* remove test about template variables
* Use poll interval in useCombinedRules
2024-05-10 12:27:06 +02:00
Ashley Harrison
d9d25dc649
Chore: Remove some more old SCSS ( #87506 )
...
* remove some more old styles and consolidate any angular ones into their own file
* few more
2024-05-10 10:52:51 +01:00
Sven Grossmann
1c8a77a43d
Loki: Fix log context when no label types are present ( #87587 )
2024-05-10 11:52:41 +02:00
Andrej Ocenas
8213e8a2a6
Flamegraph: Add collapse and expand group buttons to toolbar ( #87395 )
2024-05-10 11:51:09 +02:00
Alexander Zobnin
0302b75721
Access control: Use search options for computing permissions cache key ( #87589 )
2024-05-10 12:06:52 +03:00
Misi
896882b004
Chore: Implement GetOAuthProviders in FakeSocialService ( #87590 )
...
Implement GetOAuthProviders in FakeSocialService
2024-05-10 11:48:05 +03:00
Andrew Hackmann
5e19aa7bd1
Azure data sources: Set selected config type before save ( #87481 )
...
* set selected config type before save
* use effect once and move in mssql
* add to prom
* Update ConfigurationEditor.tsx
* Update ConfigurationEditor.tsx
* Delete public/app/plugins/datasource/mssql/configuration/ConfigurationEditor.tsx
* omadsfdsa
* remove unneeded assign
2024-05-10 03:54:24 +03:00
Nathan Marrs
eae2ce38e8
Canvas: Fix infinite panning editor description ( #87582 )
2024-05-10 01:13:42 +03:00
Drew Slobodnjak
dfdf119f7f
Canvas: Improve connection vertex logic ( #87580 )
...
Canvas: Prevent machine error causing logic swap
2024-05-09 14:38:43 -07:00
Kristina
979d87f46f
Revert "MixedDataSource: Support multi value data source variable that issues a query to each data source" ( #87579 )
...
Revert "MixedDataSource: Support multi value data source variable that issues…"
This reverts commit 700d378c98 .
2024-05-09 16:16:28 -05:00
Alexander Weaver
a6a9ab4008
Alerting: Do not store series values from past evaluations in state manager for no reason ( #87525 )
...
Do not store previous execution results on states
2024-05-09 15:51:55 -05:00
Dave Henderson
c6a0175c04
ci: use go.mod as source of truth for actions/setup-go action ( #87574 )
...
* ci: use go.mod as source of truth for actions/setup-go action
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* updating upgrading-go-version.md doc
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-05-09 15:30:13 -04:00
Chris Marchbanks
49cd917b08
Prometheus: Use correct datasources:write permission ( #87454 )
...
The datasources:edit permission does not exist and should have been write to begin with.
2024-05-09 14:20:34 -05:00
lean.dev
b009536329
Caching: Implement mtls-enabled memcached integration ( #84171 )
...
* fix merge
* fix conflicts
* updating generated feature toggle code
* Fix go mod owner
* fix merge
* add dependency
* fix dependencies
* workspace sync
* go get
* work sync
* trying something
* fix
* add docs for tls config
* work sync
* adjust go mod
* try something
* move import to the correct file
---------
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com >
2024-05-09 15:12:08 -04:00
Todd Treece
00684682d7
Chore: Update go workspace check error message ( #87576 )
2024-05-09 21:31:46 +03:00
timo
935076c349
SQL Query Editor: Fix label-for IDs, associate "Table" label ( #86944 )
...
* SQL Query Editor: Fix label-for IDs, associate "Table" label
* Fix mysql e2e test
---------
Co-authored-by: Zoltán Bedi <zoltan.bedi@gmail.com >
2024-05-09 20:30:33 +02:00
Nathan Marrs
99262c53b6
Canvas: Chore clean up betterer ( #87477 )
2024-05-09 10:59:49 -07:00
Yuri Tseretyan
356a29592b
Alerting: Add two sets of provisioning actions for rules and notifications ( #87149 )
2024-05-09 13:19:07 -04:00
Alexander Weaver
36ef611cf4
Alerting: Add database migration for recording rule fields ( #87012 )
...
* Create recording rule fields in model
* Add migration
* Write to database, support in version table
* extend fingerprint
* Force fields to be empty on validate
* Another storage spot, tests for fingerprint
* Explicitly set defaults in provisioning API
* Tests for main API validation
* Add diff tests even though fields are unpopulated for now
* Use struct tag approach instead of FromDB/ToDB hooks as it better handles nulls when deserializing
* test for deser
* Backout RecordTo for now since it's not decided in the doc
* back out of migration too
* Drop datasourceref for now
* address linter complaints
* Try a single outer struct with all fields embedded
2024-05-09 12:12:44 -05:00
Jev Forsberg
9bd44aed2e
Transformations: Fix true inner join in joinByField transformation ( #87409 )
...
* baldm0mma/inner_join_fix/ init commit
* baldm0mma/inner_join_fix/ first attempt at an tabular inner join
* baldm0mma/inner_join_fix/ add innerTabular
* baldm0mma/inner_join_fix/ add innerJoin option to editor
* baldm0mma/inner_join_fix/ add editor option
* baldm0mma/inner_join_fix/ update joinInnerTabular function behavior
* baldm0mma/inner_join_fix/ add js docs
* baldm0mma/inner_join_fix/ update jsdocs
* baldm0mma/inner_join_fix/ update docs
* baldm0mma/inner_join_fix/ remove unused console.logs
* baldm0mma/inner_join_fix/ update tests
* baldm0mma/inner_join_fix/ simplify getValue
* baldm0mma/inner_join_fix/ update tests
* baldm0mma/inner_join_fix/ update docs builder
* baldm0mma/inner_join_fix/ add tables to Outer join (for tabular data)
* baldm0mma/inner_join_fix/ update docs
* baldm0mma/inner_join_fix/ build docs
* baldm0mma/inner_join_fix/ remove innertab for inner
* baldm0mma/inner_join_fix/ rename innertab
* baldm0mma/inner_join_fix/ update tests
* baldm0mma/inner_join_fix/ rem con logs
* baldm0mma/inner_join_fix/ rem comment
* baldm0mma/inner_join_fix/ rem sample data
* baldm0mma/inner_join_fix/ remove irrelevant test
* baldm0mma/inner_join_fix/ update docs
* Update packages/grafana-data/src/transformations/transformers/joinDataFrames.test.ts
Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com >
* baldm0mma/inner_join_fix/ update test description
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2024-05-09 11:00:59 -06:00
Drew Slobodnjak
06a27911a4
Canvas: Fix bug for connection first vertex ( #87534 )
2024-05-09 09:17:23 -07:00
Kyle Brandt
baed7d6dbe
Scopes: Fix logic in find call ( #87565 )
...
With Find, if the parent query parameter is empty or not provided, we want to list the top level of the forest.
2024-05-09 11:52:56 -04:00
Oscar Kilhed
c3936bbae2
DashboardScene: Discard panel changes disabled/enabled depending of changes ( #87137 )
...
---------
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com >
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2024-05-09 18:48:20 +03:00
Sergej-Vlasov
588abbb177
DashboardScene: Adjust failing scenes e2e ( #87553 )
...
* adjust failing scenes e2e
* remove .only from test
* restore e2e workflow
2024-05-09 18:12:03 +03:00
Todd Treece
fa2f6578b3
Chore: Add info about K8s folder structure to README ( #87508 )
...
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2024-05-09 16:43:07 +03:00
kay delaney
d5c781b9c5
Templating: Fix issue where updated custom var options weren't persisted ( #86804 )
...
* Templating: Fix issue where updated custom var options weren't persisted
2024-05-09 14:11:03 +01:00
renovate[bot]
c1a2051c1e
Update dependency @playwright/test to v1.44.0 ( #87550 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 13:57:49 +01:00
Stephanie Hingtgen
1bc6738d92
Chore: Upgrade go from 1.21.0 to 1.21.10 ( #87479 )
2024-05-09 15:57:08 +03:00
renovate[bot]
116a7ad1d1
Update dependency @grafana/scenes to v4.17.3
2024-05-09 12:02:41 +00:00
Torkel Ödegaard
700d378c98
MixedDataSource: Support multi value data source variable that issues a query to each data source ( #83356 )
...
* MixedDataSource: Support multi value data source variable
* go work sync
* fix typo
* if it is not interpolated use the actual uid
* Update tests
* prettier
* go work sync
* add more unit test case
* Update tests to use scene variables
* merge main
* Update
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2024-05-09 13:27:09 +02:00
renovate[bot]
df12007f80
Update dependency @opentelemetry/semantic-conventions to v1.24.1 ( #87544 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-09 13:55:15 +03:00
renovate[bot]
a901c512a0
Update dependency @grafana/scenes to v4.17.2
2024-05-09 10:36:05 +00:00
Ashley Harrison
62db9b01b8
new yarn version
2024-05-09 11:04:02 +01:00
renovate[bot]
25dfc865d5
Update Yarn to v4.2.2
2024-05-09 11:04:02 +01:00
antonio
3a2c9f4898
alerting: integrations > small update ( #87538 )
...
* added links to list
* changed heading
2024-05-09 11:31:28 +02:00
Ieva
105313f5c2
RBAC: Adding action set resolver for RBAC evaluation ( #86801 )
...
* add action set resolver
* rename variables
* some fixes and some tests
* more tests
* more tests, and put action set storing behind a feature toggle
* undo change from cfg to feature mgmt - will cover it in a separate PR due to the amount of test changes
* fix dependency cycle, update some tests
* add one more test
* fix for feature toggle check not being set on test configs
* linting fixes
* check that action set name can be split nicely
* clean up tests by turning GetActionSetNames into a function
* undo accidental change
* test fix
* more test fixes
2024-05-09 10:18:03 +01:00
Jack Westbrook
6380a01543
Frontend: Improve barrel file detection in codemod ( #87389 )
2024-05-09 10:49:47 +02:00
Diego Augusto Molina
acf17c7fb1
Unified Storage: Add SQL template package ( #87524 )
...
* added sqltemplate package
* addded example
* fix linting issues
* improve code readability
* fix documentation
2024-05-08 17:58:18 -03:00
Scott Lepper
4b38253b20
Sql Expressions: use display name for sql tables ( #87530 )
2024-05-08 16:43:55 -04:00
Andrew Hackmann
85fdc3db16
Azure Monitor: Update grafana-azure-sdk-go to v2.0.3 ( #87480 )
...
* update
* update
2024-05-08 23:40:57 +03:00
Adela Almasan
3d56257b34
Timeseries: Fix incorrect threshold style ( #87521 )
2024-05-08 23:14:43 +03:00
Todd Treece
80f10e2a09
GRPC Server: Add README ( #87442 )
2024-05-08 15:29:43 -04:00
Bruno
be260e9713
Ephemeral instances: update go version ( #87526 )
2024-05-08 22:06:12 +03:00
Todd Treece
6e4d35e1ee
Scopes: Add a /find query endpoint ( #87457 )
...
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com >
2024-05-08 13:35:11 -04:00
renovate[bot]
01d28e01d2
Update dependency semver to v7.6.1
2024-05-08 17:21:38 +00:00
renovate[bot]
27ce73edce
Update dependency react-hook-form to v7.51.4
2024-05-08 16:52:03 +00:00
renovate[bot]
5cbef194bf
Update dependency rc-tree to v5.8.7
2024-05-08 16:32:25 +00:00
Todd Treece
de438eae2e
K8s: Prevent the use of arbitrary namespaces ( #83636 )
2024-05-08 09:30:08 -07:00
renovate[bot]
9d8507cded
Update dependency @types/webpack-env to v1.18.5
2024-05-08 15:33:46 +00:00
Todd Treece
f342217158
K8s: Add path rewriter filter ( #87456 )
2024-05-08 18:08:43 +03:00
renovate[bot]
04ce2d2f5a
Update dependency @types/prismjs to v1.26.4
2024-05-08 14:53:35 +00:00
renovate[bot]
98435a67f5
Update dependency @types/node to v20.12.11
2024-05-08 16:08:44 +02:00
Alexander Zobnin
d1c582815a
Access control: Fix searching permissions from cache ( #87489 )
...
* Fix searching permissions from cache
* Write permissions to cache
2024-05-08 16:08:21 +02:00
Marcus Efraimsson
41b29ff93c
Chore: Migrate to use buf for protobuf generation ( #87407 )
...
* Chore: Migrate to use buf for protobuf generation
* fix codeowners
* fixes after review
* docs/tooling for installing buf
* add back codeowners
* Update upgrading-dependencies.md
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
* sdk v0.229.0
---------
Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com >
2024-05-08 15:42:40 +02:00
Alexa V
2dc19a0241
Chore: Update deprecated layout components HorizontalGroup and VerticalGroup in dashboard scene code ( #87447 )
...
* Chore: update deprecated layout components in scene code
* Add missing css for missing selectionOptionsForm
2024-05-08 15:42:36 +02:00
renovate[bot]
3e2e06179e
Update dependency @types/jquery to v3.5.30
2024-05-08 13:39:13 +00:00
github-actions[bot]
2eebcd2642
I18n: Download translations from Crowdin ( #87501 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-08 16:21:59 +03:00
Joao Silva
f32e4810ab
GrafanaUI: Add tabular prop to Text component for tabular numbers ( #87440 )
2024-05-08 14:03:21 +01:00
Josh Hunt
c41ec46b29
I18n: Fix and reenable verify-i18n CI check ( #87496 )
...
* I18n: Change verify-i18n script to use node_deb image with make in it
* remove swagger from i18n make
* make verify-i18n fail ci
* fix incorrect and unextracted nav translations
* fix more copy paste
2024-05-08 14:01:17 +01:00
Haris Rozajac
b383cafd35
Explore: Logs in content outline ( #86431 )
...
* wip filtering
* Remove corresponding children from parentlessItem ref on register
* wip filtering
* Remove corresponding children from parentlessItem ref on register
* Highlighting filters
* OMG
* Handle updating highlight field inside context
* Toggling legend from the content outline
* Support multiple selects for log filters in content outline
* Remove commented out code
* Fix an issue with loki datasource; use same datastructure for logsVolume in Logs and LogVolume panel
* Fix registering logic
* cleanup
* Don't register outline items when having multiple log volume levels
* Remove checking mergeSingleChild logic because in context because ContentOutline does it
* Fix logic so it works for elasticsearch
* Better logic
* Add log color and sort
* Show items at full opacity
* Remove commented sort
* Do not highlight if all are selected, and highlight = 100% opacity, active = 30%
* dont auto collapse after filter unselect
* Remove console logs
* No partial opacity, add height for consistent display
---------
Co-authored-by: Piotr Jamroz <pm.jamroz@gmail.com >
Co-authored-by: Kristina Durivage <kristina.durivage@grafana.com >
2024-05-08 07:58:37 -05:00
Tobias Skarhed
ef37b78631
Revert "Panel: Keyboard focus shortcuts prioritization" ( #87213 )
...
Revert "Panel: Keyboard focus shortcuts prioritization (#86772 )"
This reverts commit 3e450ec4bf .
2024-05-08 14:53:20 +02:00
renovate[bot]
f1e5a02af5
Update dependency rc-cascader to v3.25.0 ( #86045 )
...
* Update dependency rc-cascader to v3.25.0
* fix type errors
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-05-08 15:24:01 +03:00
Ieva
9a824bdf0a
RBAC: Don't set empty action sets ( #87398 )
...
* don't set empty action sets
* extend comment
2024-05-08 15:09:46 +03:00
Karl Persson
be5ced4287
Identity: Use typed version of namespace id ( #87257 )
...
* Remove different constructors and only use NewNamespaceID
* AdminUser: check typed namespace id
* Identity: Add convinient function to parse valid user id when type is either user or service account
* Annotations: Use typed namespace id instead
2024-05-08 14:03:53 +02:00
antonio
d83cbe4d85
alerting/webhook doc update ( #87492 )
...
* alerting/webhook doc update
* text formath
* fixed admonition
* typo
* headings
* formatted headings and prettified it all
* one more heading
2024-05-08 13:49:55 +03:00
renovate[bot]
8ca4d73c40
Update dependency @grafana/scenes to v4.17.1 ( #87490 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-08 12:15:21 +03:00
Torkel Ödegaard
0c2f58bdae
DashboardScene: Fixes editing transformations after toggling table view ( #87397 )
2024-05-08 08:58:19 +02:00
Torkel Ödegaard
e7c39f18be
DashboardDataSource: Fixes issue where sometimes untransformed data could be returned ( #87433 )
...
* DashboardDataSource: always return a result key
* Update
* Update
2024-05-08 08:25:19 +02:00
Charandas
d13e175328
K8s: upgrade authlib with correct IDTokenClaims ( #87461 )
2024-05-07 14:09:02 -07:00
Stephanie Hingtgen
d365d442fa
Chore: Upgrade go to 1.22.3 ( #87463 )
2024-05-07 15:23:21 -05:00
Dan Cech
1884b03511
Provisioning: Look up provisioned folders by UID when possible ( #87465 )
...
look up provisioned folders by uid when possible
2024-05-07 15:38:53 -04:00
Charandas
a9da6ce1d5
ext_jwt: streamline expected aud in access tokens and id tokens ( #87401 )
2024-05-07 11:20:16 -07:00
Alexander Weaver
6c47968f6c
Alerting: Do not retry rule evaluations with "input data must be a wide series but got type long" style errors ( #87343 )
...
add typed error for series must be wide, do not retry
2024-05-07 11:31:07 -05:00
Nihal
5fb87de321
Auth: Added support to filter for parent teams in GitHub connector's team membership filter ( #86754 )
...
* added changes for parent teams in team_ids. see https://github.com/grafana/grafana/issues/85916
Signed-off-by: Syed Nihal <syed.nihal@nokia.com >
* added unit test
Signed-off-by: Syed Nihal <syed.nihal@nokia.com >
* addressed review comments to consider case where parent object can be null
Signed-off-by: Syed Nihal <syed.nihal@nokia.com >
* addressed review comment
Signed-off-by: Syed Nihal <syed.nihal@nokia.com >
---------
Signed-off-by: Syed Nihal <syed.nihal@nokia.com >
2024-05-07 18:19:20 +02:00
Karl Persson
2d8570e85e
IDToken: Reuse claims from authlib ( #87437 )
...
* bump authlib version
* Reuse claims from authlib
2024-05-07 16:46:43 +02:00
Ashley Harrison
27fa544f72
SCSS: remove some low hanging dead fruit ( #87260 )
...
* remove some low hanging fruit
* restore json_explorer
2024-05-07 15:26:43 +01:00
David Harris
a4d296559c
Plugins: Catalog to show all plugins by default ( #87168 )
...
* update plugin install filter to show all by default
* make pretty
* remove aria-label on lock icon
* wip: attempt to fix overflow
* switch to stack, add aria label back for testing
* make pretty
* switch to TextLink
* remove learn more link from catalog
* add hover text
* docs: update plugin install to reflect state filter change
* Revert "docs: update plugin install to reflect state filter change"
This reverts commit 16222aee0b .
2024-05-07 16:48:09 +03:00
Eric Leijonmarck
6b218b11cf
Actionsets: fix remove printf ( #87439 )
...
fix: remove printf
2024-05-07 16:36:01 +03:00
Ieva
0239cf8766
Docs: Link to generic oauth docs from team sync page ( #87381 )
...
link to generic oauth docs from team sync page
2024-05-07 14:31:57 +01:00
Alexander Zobnin
82dea4b3e5
Access control: Cache basic roles and teams permissions ( #87043 )
...
* RBAC: Cache basic roles permissions
* Cache teams permissions
* Set cache TTL to 1 minute
* Add OSS implementation
* Fetch basic role permissions correctly
* fix conflict_user_command
* Fix teams permissions query
* Add traces for GetUserPermissions
* Fix folders tests
* Fix colflict user command
* Update store mock
* Fix linter error
* Reuse GetUserPermissions for fetching basic roles
* tests for GetTeamsPermissions
* pre-allocate slice capacity
* Fix linter
2024-05-07 15:23:11 +02:00
Leonor Oliveira
ee2f6a7b49
Force interface implementation also on legacy storage ( #87414 )
...
* Force interface implementation also on legacy storage
* Add DeleteCollection to folders and dashboards
* Fix integration tests
* Fix tests
2024-05-07 15:02:30 +02:00
Ivana Huckova
12a87c0899
Logs panel: Fix spacing when log details disabled ( #87431 )
...
* Logs panel: Fix spacing when log details disabled
* Fix error spacing
2024-05-07 15:27:44 +03:00
Tom Ratcliffe
a597300027
Chore: Allow MenuItems to have role=menuitem when URL is set ( #86886 )
...
Allow passing a role into a MenuItem component, and fallback to default behaviour if not passed
2024-05-07 13:12:02 +01:00
Oscar Kilhed
c6975e06d2
Dashboard scenes: Fix view panel breadcrum when going to edit from view single panel ( #87411 )
...
Fix view panel breadcrum when going to edit from view panel
2024-05-07 14:02:52 +02:00
Karl Persson
37af1ae58e
IDToken: Set typ header ( #87430 )
...
TokenSigning: Set typ header
2024-05-07 13:59:23 +02:00
kay delaney
bc67b88301
Chore: Rewrite alerting css using object styles ( #87114 )
...
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-05-07 10:57:25 +01:00
kay delaney
1654b719e9
Chore: Fix lint error in grafana-prometheus ( #87421 )
2024-05-07 12:40:55 +03:00
kay delaney
b68f40d5c5
Chore: Rewrite grafana-prometheus css using object styles ( #86835 )
2024-05-07 10:11:49 +01:00
renovate[bot]
6733f43781
Update dependency @types/diff to v5.2.1
2024-05-07 09:08:14 +00:00
Ashley Harrison
37ef6df3b2
Chore: replace calls to defaultProps ( #87310 )
...
* replace calls to defaultProps
* make linksGetter optional
2024-05-07 10:07:16 +01:00
renovate[bot]
0c702d335e
Update dependency @grafana/faro-web-sdk to v1.7.2 ( #87341 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-07 09:35:50 +01:00
antonio
1bde17c8d5
alerting: config notif page improvement ( #87140 )
...
* alerting: config notif page improvement
* Update docs/sources/alerting/configure-notifications/template-notifications/_index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update _index.md
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-05-07 10:26:04 +02:00
Gábor Farkas
4f7ed97aad
mysql: fix dispose-method not called in external-mode ( #87330 )
2024-05-07 09:54:30 +02:00
Leonor Oliveira
0a2c5065a0
Choose mode. Turn DualWriter into a real interface. Better Logging ( #87291 )
...
* Choose mode. Add log field on top level dualwriter
* Add logs
* Turn DualWriter into a full interface. Fix tests
* Lint
* Use struct for dualWriter interface
* Use struct
* Default should be legacyStore for all entities
* Fix test. Get rid of extra concrete type
* Remove comment
* Add comment
* Temp set dualwriter mode 2 for playlists while configs are not in place
* Add modes type + add comment on what each mode does
* Don't require watcher interface for now
* Use storage implementation on mode 2
* Update pkg/apiserver/rest/dualwriter_mode2.go
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com >
* Pass log values to the context
* test
* Update pkg/apiserver/rest/dualwriter_mode3.go
Co-authored-by: Dan Cech <dcech@grafana.com >
---------
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com >
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-05-06 23:18:28 +02:00
Aaron Godin
0bc8992dfa
Revert #86466 ( #87405 )
...
Revert "Apply plugin route ReqAction to ds_proxy authorization (#86466 )"
This reverts commit 53f94ac50d .
2024-05-06 14:40:32 -05:00
Dan Cech
41bee274fd
Chore: Fix error handling in postDashboard, remove UserDisplayDTO, fix live redis client initialization ( #87206 )
...
* clean up error handling in postDashboard and remove UserDisplayDTO
* replace GetUserUID with GetUID and GetNamespacedUID, enforce namespace constant type
* lint fix
* lint fix
* more lint fixes
2024-05-06 14:17:34 -04:00
jackyin
ba8b4bde3a
fix ipv6 startup fail #81870 ( #87108 )
...
* fix ipv6 startup fail #81870
* ipv6 startup fail
* ipv6 startup fail
2024-05-06 14:17:03 -04:00
Nick Richmond
fae9bfccb2
Prometheus: Place custom inputs first when using regex filter values in the query builder ( #87360 )
...
* fix: place custom inputs first when using regex filter values
* fix: remove confusing messaging
2024-05-06 12:07:04 -04:00
Pepe Cano
7dd05998fd
Alerting docs: Update and restructure Introduction/Alert rule evaluation ( #87331 )
...
* Migrate and update `Alert rule evaluation`
* Minor change
* Update internal links to new URLs
2024-05-06 17:33:14 +02:00
Pepe Cano
1b69d647be
Alerting docs: update Comparison between alert rule types ( #87252 )
2024-05-06 17:32:33 +02:00
github-actions[bot]
10afa5a5a0
I18n: Download translations from Crowdin ( #87336 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-06 14:26:57 +00:00
Gilles De Mey
19e8dca09c
Alerting: Allow editing of provisioned mutable Alertmanagers ( #87385 )
2024-05-06 14:29:28 +02:00
Kristina
8173bd89bf
Explore: Only let nodeGraph frames process through nodeGraph visualization ( #87198 )
...
* Only let nodeGraph frames process through nodeGraph
* add metadata to test frames to be processed
* Revert "add metadata to test frames to be processed"
This reverts commit fc366a0ab4 .
* Revert "Only let nodeGraph frames process through nodeGraph"
This reverts commit b8be50e219 .
* Only send node graph frames to node graph logic
* remove unnecessary logic
2024-05-06 07:13:09 -05:00
Yuri Kotov
33170c4d07
Loki: Use label/<name>/values API instead of series API for label values discovery ( #83044 )
...
* Loki: Add label values API selector to setting and use label_values API when selected
* remove CHANGELOG change
* add docs
* Support Loki 2.7+ only, so unconditionally use /labels API
* Correct doc for fetchLabels and fetchLabelValues functions
* Fixes after merge
* Do not encode query parameter twice
* return getLabelKeys in Completion Provider
* docs
* Add test for LabelParamEditor
* Update public/app/plugins/datasource/loki/LogContextProvider.test.ts
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* toHaveBeenCalledWith
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com >
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2024-05-06 13:47:49 +02:00
Andrej Ocenas
9c254c7e1e
Flamegraph: Add diff mode color legend ( #87319 )
2024-05-06 12:28:57 +02:00
brendamuir
526be4fa2b
Alerting vale fixes ( #87380 )
2024-05-06 11:43:34 +02:00
Eric Leijonmarck
601485c74d
Actionsets: Fix downgrade of permission to add the actionset permission ( #87328 )
...
* check for missingActions empty and add actionset
* spelling
2024-05-06 10:16:26 +01:00
Fabrizio
f99d4ee92d
Tempo: Fix sorting for nested tables ( #87214 )
2024-05-06 10:41:47 +02:00
Larissa Wandzura
57038e8dfa
Docs: added note to RBAC doc from support escalation ( #85311 )
...
* added admonition and API info
* Update docs/sources/administration/roles-and-permissions/access-control/_index.md
---------
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-05-06 09:27:46 +02:00
Misi
9236c5a5cf
Auth: Add OrgRoleMapper service ( #86973 )
...
* Add OrgRoleMapper
* Address feedback, add more tests
* Prevent resetting assignments when global org mapping fails
* Provide a parsing function instead of recalculating the org_mapping on every mapping
* Introduce strict role parsing/mapping
* Introduce MappingConfiguration
* Handle other edge case
* Add tests
* lint
* Apply documentation update suggestions
* Apply GetDefaultOrgMapping suggestions from code review
* Apply suggestions for cleaning up unnecessary err in ParseOrgMappingSettings
* Apply suggestions from code review
* Address feedback suggestions
* Cleanup
* Reduce cognitive complexity of ParseOrgMappingSettings
---------
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2024-05-06 09:25:47 +02:00
Ryan McKinley
333ed377d6
Prometheus: Avoid parsing unused legacy datasource property ( #87224 )
...
* query cleanup
* parse query
* more comments
2024-05-05 15:00:53 +03:00
Jon Cole
8e96821c16
Azure: get custom cloud list from grafana-azure-sdk-go package ( #86717 )
...
* Get custom cloud list from grafana-azure-sdk-go for frontend settings
* Remove getAzureClouds() and call CustomClouds() directly
* remove unused type
2024-05-04 13:17:51 +03:00
Nathan Marrs
5e4722fe2e
Canvas: Fix canvas style regression ( #87363 )
2024-05-04 02:47:30 +03:00
Nathan Marrs
1ef1cc7e3f
Canvas: Add support to rotate a group of elements ( #87358 )
2024-05-03 15:58:51 -07:00
Adela Almasan
7bcda34b55
XY Chart: Prevent crash when deleting a series ( #87356 )
2024-05-03 17:21:46 -05:00
Adela Almasan
8a96fcedb2
XyChart: Fix legend ( #87155 )
2024-05-04 01:06:05 +03:00
Nathan Marrs
68fa2110d6
Canvas: Fix phantom connections persisting after element deletion ( #87285 )
2024-05-03 14:17:05 -07:00
Isabel Matwawana
386baf83cd
Docs: add data link cell type information ( #87350 )
...
Add data link cell type information
2024-05-03 16:22:48 -04:00
Charandas
0c59baf62d
ext_jwt: switch to new authlib ( #87157 )
2024-05-03 12:59:37 -07:00
Matthew Jacobson
babfa2beac
Alerting: Hook up GMA silence APIs to new authentication handler ( #86625 )
...
This PR connects the new RBAC authentication service to existing alertmanager API silence endpoints.
2024-05-03 15:32:30 -04:00
Darren Janeczek
e9b932c8f6
datatrails: reloaded trail bugs related to no selected metric ( #87344 )
...
* fix: reloaded scene first step topScene
The top scene was not being initialized
when reloading trails, causing it to use
the top scene of whatever was selected
previously.
* fix: select new metric node not reloading right
On reloading trails, any metric node that
was 'green' with a undefined metric due to
clicking on the "select new metric" button,
was reloading with the metric of the step
directly before it (in index order).
2024-05-03 21:29:54 +03:00
Alex Khomenko
683390a4ec
PanelHeaderCorner: Remove font-awesome icons ( #87303 )
...
* PanelHeaderCorner: Remove font-awesome
* Fix mode styles
* Remove unused styles
* Cleanup
* Simplify styles
* Fixes
* Remove unused variable
2024-05-03 20:05:03 +03:00
renovate[bot]
1fb1e1bb64
Update dependency @grafana/faro-web-sdk to v1.7.0 ( #87339 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-03 19:41:46 +03:00
Darren Janeczek
f93c330b66
datatrails: only fetch metrics metadata when using the language provider, avoid redundant fetch of metric names ( #87067 )
...
* fix: only fetch metrics metadata, not metric names
2024-05-03 12:24:18 -04:00
Darren Janeczek
6524febbd4
datatrails: quick bugfix: handle undefined step ( #87337 )
...
fix: handle undefined step
2024-05-03 19:22:23 +03:00
Ashley Harrison
1d6d5cc2cd
Chore: improve typings ( #87306 )
...
* some fixes
* some more fixes
* some canvas fixes
* use removeProperty instead
* few more
* fixy fix
* undo changes to ticks for now
2024-05-03 17:21:37 +01:00
renovate[bot]
43ed6a8218
Update dependency @grafana/faro-core to v1.7.0 ( #87329 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-03 17:21:12 +01:00
Laura Benz
ecd7357049
Dashboards: Add toggle for folder names in dashboard list panel ( #87288 )
...
* refactor: add switch
* refactor: add functionality
* refactor: fix test
2024-05-03 17:52:10 +02:00
Darren Janeczek
5b424ed6bb
scenes: update to v4.14.0: opt-in to useQueriesAsFilterForOptions ( #87244 )
...
* fix: opt-in to `useQueriesAsFilterForOptions`
With updating the scenes library, dashboards must now explicitly
opt in to `useQueriesAsFilterForOptions`.
2024-05-03 18:47:57 +03:00
Isabella Siu
5aeaeb6e90
Cloudwatch: Update grafana-aws-sdk to fix sts endpoints ( #87326 )
...
Cloudwatch: update grafana-aws-sdk to fix sts endpoints
2024-05-03 11:43:28 -04:00
Gilles De Mey
5e25afe6e9
Alerting: New settings page ( #84501 )
2024-05-03 17:42:42 +02:00
Darren Janeczek
046eedaa4c
datatrails: recently loaded trails modify parent variables when making new steps ( #87284 )
...
* fix: loaded trails modified parent var on new step
This ensures that recently loaded trails won't have variable changes
which create new steps modify the previous step.
2024-05-03 11:38:47 -04:00
Sergej-Vlasov
6433053479
DashboardScene: Restrict dashboard in read only state ( #87316 )
...
---------
Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com >
2024-05-03 18:33:49 +03:00
renovate[bot]
6a696a976b
Update Yarn to v4.2.1 ( #87325 )
...
* Update Yarn to v4.2.1
* add new yarn version
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-05-03 18:10:51 +03:00
Juan Cabanas
d1434fad3a
ShareModal: Share link redesign under newDashboardSharingComponent FF ( #87011 )
2024-05-03 12:02:18 -03:00
Prem Saraswat
196134b0b4
Storage Server: Avoid incorrect parsing of connection string ( #85293 )
...
Storage Server: avoid incorrect parsing of connection string
In storage server, a connection string is generated to connect to the
backing database. In case of Postgres, we were generating the string
like `"user=grafana pass= host=postgres.example port=4567"`.
This triggered an edge case in `pq` (the go postgres driver) to parse
`pass` to be equal to `host=postgres.example`, and host being reset to
default value.
Using single quotes in the connection string fixed this.
Signed-off-by: Prem Kumar <prem.saraswat@grafana.com >
2024-05-03 10:54:39 -04:00
Andreas Christou
28df41fd96
MSSQL: Add HostName method ( #87309 )
...
* Add HostName method
* Add test
* Fix lint
2024-05-03 15:45:34 +01:00
renovate[bot]
ac8f3f6e86
Update dependency yaml to v2.4.2
2024-05-03 14:44:59 +00:00
Chris Marchbanks
d6c93c12bf
Prometheus: Add reqAction to Prometheus routes ( #87208 )
...
Add reqAction to Prometheus routes
This should allow provisioned service accounts that do not have a role to use the /proxy endpoints for Prometheus. This
is desired for some integrations that need to query for labels or other data not part of /ds/query.
2024-05-03 16:09:06 +02:00
renovate[bot]
2924b37628
Update dependency rudder-sdk-js to v2.48.7
2024-05-03 14:08:50 +00:00
renovate[bot]
7b71464c62
Update dependency re-resizable to v6.9.16
2024-05-03 13:31:56 +00:00
ismail simsek
9fbca6c035
Datatrails: Fix overflow of labels ( #87301 )
...
Fix overflow of labels
2024-05-03 09:26:30 -04:00
renovate[bot]
346dbab768
Update dependency lru-cache to v10.2.2
2024-05-03 12:58:12 +00:00
renovate[bot]
bb771e3501
Update dependency i18next to v23.11.3
2024-05-03 12:26:42 +00:00
Scott Lepper
1a2bbd61fd
sql expressions: improve parser ( #87277 )
...
sql expressions: improve parser
2024-05-03 08:08:07 -04:00
renovate[bot]
48f77cdebe
Update dependency dompurify to v3.1.2
2024-05-03 12:00:28 +00:00
Santiago
b76a9e4d31
Alerting: Implement GetStatus in the remote Alertmanager struct ( #84887 )
...
* Alerting: Implement GetStatus in the remote Alertmanager struct
* update tests
* fix tests, extract AlertmanagerConfig from PostableConfig
* get the remote AM config instead of the Grafana one from the remote AM
* pass grafana AM config in test
* return error in GetStatus instead of logging it (internal AM)
2024-05-03 13:59:02 +02:00
Andres Martinez Gotor
b6f899d953
Migrate wrong datasource UIDs ( #86598 )
2024-05-03 13:32:07 +02:00
renovate[bot]
b25f193be0
Update dependency @types/node to v20.12.8
2024-05-03 11:25:38 +00:00
Gilles De Mey
7a12c5e0ef
Alerting: Add OAuth2 to HTTP settings for vanilla Alertmanager / Mimir ( #87272 )
...
add OAuth2 to HTTP settings for vanilla Alertmanager / Mimir
2024-05-03 13:23:37 +02:00
Gilles De Mey
12fa9e56e6
Alerting: Fix max alerts ( #87271 )
2024-05-03 13:22:42 +02:00
Domas
4b496a907d
Tempo: Option to not show variable options in "search" editor ( #87126 )
...
* allow disabling variable options in Tempo "search" editor
* also for GroupByField
* set addVariablesToOptions true by default
2024-05-03 14:22:03 +03:00
renovate[bot]
39a88bae44
Update dependency @swc/helpers to v0.5.11 ( #87296 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-03 12:07:54 +01:00
ismail simsek
3317691615
InfluxDB: Support cardinality queries with backend mode ( #87264 )
...
support cardinality queries
2024-05-03 12:50:00 +02:00
renovate[bot]
253ab5efd3
Update dependency @react-types/overlays to v3.8.6
2024-05-03 10:39:01 +00:00
renovate[bot]
0ecb1ddf2c
Update dependency @react-types/menu to v3.9.8
2024-05-03 10:12:28 +00:00
Eric Leijonmarck
a98328b092
Auditlogging: add docs about dsquery ( #87218 )
...
* add docs for dsquery
* update the generic actions
2024-05-03 11:11:46 +01:00
kay delaney
b3f173f153
Dashboard: Fix issue where changes to panel in row weren't detected in panel edit ( #87195 )
...
Closes #87171
2024-05-03 11:50:10 +02:00
renovate[bot]
95028b65f3
Update dependency @react-types/button to v3.9.3
2024-05-03 09:49:45 +00:00
renovate[bot]
7d84ae04aa
Update dependency @pmmmwh/react-refresh-webpack-plugin to v0.5.13 ( #87283 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-03 09:54:03 +01:00
Georges Chaudy
dd0e646e92
k8s: remove dependency on app_mode development ( #85474 )
...
* k8s: remove dependency on app_mode development
* remove dev conditions on storage server
* remove logic to drop entity tables
2024-05-03 11:28:15 +03:00
github-actions[bot]
fd58168c3b
I18n: Download translations from Crowdin ( #87240 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-03 08:21:27 +00:00
Carl Bergquist
7a6bef8f9c
Scopes: Adds kinds for browsing the scope node tree. ( #86975 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-05-03 09:48:54 +02:00
Alex Khomenko
c4c313d20f
Grafana/ui: Update Button and IconButton components to accept icon as component ( #87243 )
...
* Saga-icons: Forward SVG attributes
* Icon prop as component
* Add IconRenderer
* Cleanup
* Fix types
* Update size prop
* Revert storybook
* Update IconButton
2024-05-03 09:22:22 +03:00
renovate[bot]
85170d51dd
Update dependency @kusto/monaco-kusto to v10.0.20
2024-05-03 02:51:04 +00:00
Karl Persson
a22350f8f4
IDToken: add namespace ( #87242 )
2024-05-02 18:55:28 -07:00
renovate[bot]
75401ea857
Update dependency @grafana/scenes to v4.13.2
2024-05-03 00:31:17 +00:00
renovate[bot]
4d0a3de6fb
Update dependency @floating-ui/react to v0.26.13 ( #87273 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-02 23:11:39 +01:00
Tom Glenn
e95eaa9302
docs: Minor tweaks to the Grafana Fundamentals tutorial ( #86777 )
...
* Minor tweaks to the Grafana Fundamentals tutorial
* Replaced old note style with admonition shortcode
* trigger CI
* Fixed shortcode
Co-authored-by: Danielle Broadwater <danibroadwater@outlook.com >
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
Co-authored-by: Danielle Broadwater <danibroadwater@outlook.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-05-02 16:44:59 -04:00
Nick Richmond
21afe3dc62
Prometheus: Ensure values in metric selector are visible ( #87150 )
...
* fix: ensure selectable values are visible
* refactor: remove unnecessary ternaries, strengthen types
* docs: fix typo
* style: comply with `betterer` guidelines
* refactor: add clarity
* fix: remove border for consistency's sake
2024-05-02 16:06:40 -04:00
Scott Lepper
cbe3e3a5e0
fix: sql expressions parser with join ( #87263 )
2024-05-02 14:48:05 -04:00
Drew Slobodnjak
6c7485129b
Canvas: Fix datalinks using field variable ( #87265 )
2024-05-02 11:29:43 -07:00
Isabel Matwawana
f8d9f8541b
Docs: add panel options shared content ( #87258 )
...
* Added panel options shared file
* Added panel options shared file to visualizations pages
* Fixed version interpolation syntax and added Cloud links
* Fixed heading level of title
2024-05-02 14:17:23 -04:00
renovate[bot]
79b5fb9f1f
Update babel monorepo to v7.24.5
2024-05-02 18:10:10 +00:00
Marie Cruz
7db41222c6
docs: update flame graph visualization ( #86615 )
...
* docs: update flame graph visualization
* fix: linting issues
* docs: add example data
* Apply suggestions from code review
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* Removed Wikipedia link
* Fixed punctuation
* Updated max image width
* Update docs/sources/panels-visualizations/visualizations/flame-graph/index.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* fix: linting issues
* docs: add links to pyroscope docs about flame graph and profile types
* Ran prettier
* docs: add flame graph video
* Updated wording
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
2024-05-02 13:37:05 -04:00
Eric Leijonmarck
cdb9eeb7fc
TeamLBAC: Add scenario 6 to the docs ( #87215 )
...
* add task 6
* Apply suggestions from code review
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-05-02 17:38:26 +01:00
renovate[bot]
dd9fb83606
Update React Aria ( #87253 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-02 17:27:29 +01:00
Ashley Harrison
84c59e1134
Chore: Add tracking for total number of scss files ( #87259 )
...
* add tracking for total number of scss files
* need this comma :o
2024-05-02 19:10:31 +03:00
Nicholas P. Cole
64d5440c5a
Docs: Fix link to values.yaml file ( #87014 )
...
Fix link to values.yaml file
Linking to the "edit" URL fails if the reader doesn't have write access
to the repo: they'll be prompted to fork the repo or to sign in to
GitHub. Instead link to the "blob" URL which is accessible to all
readers.
2024-05-02 10:39:51 -05:00
Laura Benz
3e12fd8a2c
Renovate: Add Slate and related packages to ignore list ( #87250 )
...
refactor: add Slate and related dependencies to ignore section
2024-05-02 18:36:32 +03:00
Galen Kistler
840aeddbd1
Logs: Explore panel default visualization feature flag ( #87189 )
...
* add logsExploreTableDefaultVisualization feature flag
* use feature flag in calculating initial visualization type
* add feature flag to tracking
2024-05-02 10:28:15 -05:00
Ashley Harrison
8afaea8a56
Navigation: show img as backup if icon doesn't exist ( #87247 )
...
show img as backup if icon doesn't exist
2024-05-02 16:24:06 +01:00
kay delaney
bc9010a95b
Scenes: Adjust styles to allow shrinking of variable selectors ( #87085 )
2024-05-02 16:23:29 +01:00
Ryan McKinley
b7df129b78
FeatureToggles: Write enabled flags to the logs on startup ( #87225 )
2024-05-02 18:19:34 +03:00
Torkel Ödegaard
281d785442
Select: Fixes issue preserving search term (input) when selecting a value ( #87013 )
2024-05-02 17:13:53 +02:00
Arati R
4db5ec28a1
Storage: Enable mode 2 dual writing for playlists ( #87245 )
...
Enable mode 2 dual writing for playlists
2024-05-02 16:52:29 +02:00
Gilles De Mey
0dffdc1756
Scenes: Add endLineNumber to json diff ( #87049 )
2024-05-02 16:41:13 +02:00
Sergej-Vlasov
838e36bd99
DashboardScenes: Pin go version to go.mod file in scenes e2e workflow ( #87238 )
...
* adjust workflow to use correct go version
* finalise wokflow adjustments
2024-05-02 17:30:08 +03:00
Fayzal Ghantiwala
df25e9197e
Alerting: Get grafana-managed alert rule by UID ( #86845 )
...
* Add auth checks and test
* Check user is authorized to view rule and add tests
* Change naming
* Update Swagger params
* Update auth test and swagger gen
* Update swagger gen
* Change response to GettableExtendedRuleNode
* openapi3-gen
* Update tests with refactors models pkg
2024-05-02 15:24:59 +01:00
Arati R
9e6de035c0
Storage: Add mode 2 dual writing improvements ( #87204 )
...
* Fix mode 2 List test
* Set origin timestamp during conversion to k8s resource
* Add instructions for updating a playlist
* Handle partial deletions of a collection in mode 2
2024-05-02 16:06:51 +02:00
Darren Janeczek
b1d98939e1
datatrails: include step index and number of steps when reporting trail step navigation usage ( #87068 )
...
* fix: include step index and number of steps
2024-05-02 09:55:58 -04:00
Alexa V
eae1cafebd
Dashboard Scene: Chore - Add missing unit test to PanelDataQueryTab ( #87139 )
...
* Create basic structure PanelDataQueriesTab unit test
* Add more test cases to the PanelDataQueriesTab test
* Update public/app/features/dashboard-scene/panel-edit/VizPanelManager.tsx
2024-05-02 15:54:50 +02:00
Mihai Doarna
2eab915b80
SSO: Collect user save attempts from OAuth provider forms ( #87233 )
...
collect user save attempts from OAuth provider forms
2024-05-02 16:54:07 +03:00
Sergej-Vlasov
afbd02c4ec
DashboardScene: adjust lib panel as a dashboard datasource refresh logic ( #87120 )
...
* activate library viz panel and adjust id extractor
* revert parts that are fixed in #87125
* clean up after activation handler
2024-05-02 16:20:35 +03:00
Gabriel MABILLE
8802282ebc
RBAC: fix panic role not found permission sync ( #87217 )
2024-05-02 15:19:56 +02:00
Kevin Yu
6851ad9f8c
CloudWatch: Fix apostrophes in dimension values not being escaped ( #87182 )
2024-05-02 06:15:11 -07:00
Mihai Doarna
a979417700
SSO: Update ssoSettingsApi flag to general availability ( #87216 )
...
* update ssoSettingsApi flag to general availability
* generate files
2024-05-02 16:00:52 +03:00
Karl Persson
d8fbbdefea
Identity: Use typed namespace id ( #87121 )
...
* Use typed namespace id
2024-05-02 14:50:56 +02:00
Scott Lepper
4fd2cb6014
fix: sql expressions - sql parser table name case ( #87196 )
...
* fix: sql parser table name case
2024-05-02 08:43:20 -04:00
Kristin Laemmert
ac07a9794b
Chore: update go.mod ( #87194 )
...
* Chore: update go.mod
2024-05-02 08:11:19 -04:00
Sergej-Vlasov
37ca484aad
DashboardQueryEditor: Adjust options filtering in scenes ( #87174 )
...
adjust options filtering for dashboard datasource in scenes
2024-05-02 15:10:06 +03:00
Sergej-Vlasov
4d37e11ce9
DashboardScene: Remove min height on viz picker scroll container ( #87172 )
...
removed min height prop
2024-05-02 15:07:13 +03:00
Gilles De Mey
1d06f33a8e
Alerting: Prevent search from locking the browser ( #87132 )
2024-05-02 14:41:33 +03:00
Serge Zaitsev
ad5613d7d4
Chore: Remove cfg from folder service ( #87212 )
...
remove cfg from folder service
2024-05-02 13:18:54 +02:00
Josh Hunt
08121dc193
E2C: Restore Disconnect modal ( #87223 )
2024-05-02 11:57:51 +01:00
github-actions[bot]
544b22a6b2
I18n: Download translations from Crowdin ( #87170 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-05-02 10:42:10 +00:00
Gábor Farkas
d7ff3213f3
postgres: decouple the frontend-part ( #87131 )
2024-05-02 12:25:25 +02:00
Ieva
28dd1ddd8e
RBAC: Do not set permissions on data sources with wildcard UID in OSS ( #87220 )
...
do not set permissions on DS with wildcard UID
2024-05-02 13:18:29 +03:00
Jack Westbrook
b5a084611f
Fix: Always fetch plugin css with Systemjs ( #87211 )
...
* fix(plugins): fetch strategy should always be used for css/json/wasm/html
* refactor(plugins): prefer checking for js file type rather than list of other file types
2024-05-02 11:55:20 +02:00
Esteban Beltran
9f5ab38477
FE Sandbox: Fix innerHTML distortion causing issues with DOMPurify inner works ( #87117 )
...
* FE Sandbox: Fix innerHTML distortion causing issues with DOMPurify inner works
* Add a comment explaining the fix
2024-05-02 11:17:04 +02:00
Tobias Skarhed
a59e7e14b1
AnnotationList: Fix link for annotation with no panel or dashboard ( #87048 )
...
* Handle case for no associated panel or dashboard
* Convert to CSS object
* Add tests and extend type to cover null use case
2024-05-02 11:30:19 +03:00
Serge Zaitsev
6ddb8aeae3
Chore: Moving to slog (folders) ( #87000 )
...
* moving folders to slog
* trying to fix the tests
* fix per-logger filters in slog
* allow using slog.Default()
* bring cfg back to keep the pr small
* fix tests
* back to the roots
2024-05-02 09:14:12 +02:00
Jack Westbrook
a6b7fc51a8
Chore: Add back node-forge npm package ( #87136 )
2024-05-02 08:39:02 +02:00
Isabel Matwawana
90b594e998
Docs: add standard options shared content ( #87199 )
...
* Added standard options shared file
* Added missing option to shared file and added shared file link to visualizations pages
* Fixed links
2024-05-01 18:30:24 -04:00
Isabel Matwawana
d5cfcc8187
Docs: add field overrides shared content ( #87197 )
...
* Added field overrides shared file
* Added link to overrides file in visualizations pages
* ihm/010524-field-override-shared-content/ run lint
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com >
2024-05-01 18:10:06 -04:00
Isabel Matwawana
1ef0e240e9
Docs: Add data links shared content ( #86893 )
...
* Added data link options shared file and added file to relevant visualizations
* Updated some text and links in canvas
* Added shared file to xy chart
* Fixed list of visualizations using shared file
* Removed unneeded level offset
* Removed future tense
* Update data links description
* Updated wording
* Removed redundant sentence
2024-05-01 16:51:12 -04:00
Adela Almasan
ee4422d1e2
XYChart: Fix default point size ( #87192 )
2024-05-01 21:19:54 +03:00
owensmallwood
efff4c0bbd
Unified Storage: Redacts logged env var values for entity api db password ( #87191 )
...
redacts logged env var values for entity api db password
2024-05-01 12:15:44 -06:00
owensmallwood
40558899e4
Unified Storage: Adds health check service for entity server ( #86471 )
2024-05-01 11:36:44 -06:00
Ieva
a9ac648cf6
Chore: Improve some confusing logs ( #87185 )
...
improve some confusing logs
2024-05-01 19:42:05 +03:00
lean.dev
0719f73f35
Cloud Migration: Remove ID migration in favor of UID ( #86550 )
...
* - Added migration to add a new collumn UID to both migration and migration_run tables.
- Added migration to set UID for records already existent in the database before adding a new column.
- Added UID field to CloudMigration and CloudMigrationRun dtos (model.go)
* Fix db migration
* Updating store and model
* Updating API to use UID
* fix typo
* update openapi specs and generated endpoints
* fix spec
* update openapi specs and generated endpoints
* Fixing db mapping
* Fix frontend
* fix migration
* remove migration uid from run fetch endpoint
* Revert "merge"
This reverts commit d654e4c530 , reversing
changes made to 5fe0b483eb .
* manual merge
* rename some funcs for consistency
* make interfaces consistent
* validate uids
* update generated frontend api
* fix enterprise spec
* manually resolve api
* try again
* try yet again
* once more
---------
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com >
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com >
Co-authored-by: joshhunt <josh@trtr.co >
2024-05-01 12:29:25 -04:00
Reem Tariq
fcb40e601d
GrafanaUI: Add two icons add-user and clip-attach ( #87112 )
...
* add two icons add-user and clip-attach
* rename clip-attach to attach
2024-05-01 17:27:27 +01:00
dependabot[bot]
49e82eb4c1
Chore(deps): Bump github.com/Masterminds/sprig/v3 from 3.2.2 to 3.2.3 ( #87020 )
...
Bumps [github.com/Masterminds/sprig/v3](https://github.com/Masterminds/sprig ) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/Masterminds/sprig/releases )
- [Changelog](https://github.com/Masterminds/sprig/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Masterminds/sprig/compare/v3.2.2...v3.2.3 )
---
updated-dependencies:
- dependency-name: github.com/Masterminds/sprig/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-01 11:24:37 -04:00
Alexa V
9ea1042329
Dashboard: POC to run existing e2e with dashboardScene feature toggle ( #84598 )
...
* Standarize e2e for addDashbaord e2e flow
* WIP: Duplicate e2e dashboard flows and smoke test for scene e2e tests
* Fix autoformatting mistake for bash file
* Enable dashboardScene using local storage and only for the scene folder
* Add missing folders
* Set the feature toggle in the before of all tests
* Revert "Standarize e2e for addDashbaord e2e flow"
This reverts commit 6b9ea9d5a4 .
* Add missing e2e selectors to NavToolbarActions, and modify addDashboard scene flow
* e2e: panels_smokescreen.spec.ts migrated
* e2e smokeTestSceneario migrated
* Start migrating dashbaord-suite e2e
* WIP create variable types
* adjust tests for scenes
* restore dashboard json file
* update scenes version
* restore pkg/build/wire/internal/wire/testdata modifications
* finalising test adjusments
* restore pkg/build/wire/internal/wire/testdata files
* add latest scenes version and update tests
* add drone setup for dashboard scenes tests
* update to latest scenes version
* adjust drone errors
* adjust indentation in drone yml file
* drone adjustments
* add github workflow to run scenes e2e
* restore drone file
* adjust github workflow
* wip: github workflow adjustments
* test remove gpu
* bump
* undo formating changes
* wip: github workflow debugging
* adjusting flaky tests
* update to latest scenes
* clean up workflow file
* adjust flaky test
* clean up pr
* finalise worflow logic and add to codeowners
* clean up launching old arch dashboards e2e separately
---------
Co-authored-by: Sergej-Vlasov <sergej.s.vlasov@gmail.com >
Co-authored-by: Jeff Levin <jeff@levinology.com >
2024-05-01 17:56:48 +03:00
Adela Almasan
0fbfb67b15
XY Chart: Show mapped size/color fields in tooltip ( #87153 )
2024-05-01 09:55:11 -05:00
Krishna Dhakal
deb6d27406
Core: Replace deprecated jest matcher toBeCalledWith ( #86635 )
...
* Replace depredated matcher from jest
* perform rechecks
---------
Co-authored-by: joshhunt <josh@trtr.co >
2024-05-01 15:33:26 +01:00
Jack Baldry
c5217aa632
Update doc-validator workflow to support ref URIs ( #86423 )
2024-05-01 15:05:08 +01:00
Torkel Ödegaard
4034a26972
DashboardScene: Fixes issue referring to library panel in dashboard data source ( #87125 )
...
* DashboardScene: Fixes issue using a library panel as source for dashboard data source
* Added test
2024-05-01 14:30:54 +02:00
Laura Benz
f806b9749d
refactor: replace static placeholders with translatable ones ( #87130 )
...
* refactor: replace static placeholders with translatable ones
* refactor
* refactor: keep default option
* refactor: improve expression
* refactor: run extraction after merging fix
2024-05-01 13:17:53 +02:00
Josh Hunt
b0f1222a21
Chore: Restore pseudoizer dep ( #87166 )
2024-05-01 12:45:34 +03:00
Torkel Ödegaard
7a5c17d613
DashboardScene: Fixes issue with panel edit options pane and data ( #87161 )
2024-05-01 11:17:48 +02:00
Ashley Harrison
f15f21a13f
Dashboard: Only show Starred as parent breadcrumb for starred dashboards ( #87145 )
...
don't update pageNav to have folder if sectionNav is starred
2024-05-01 09:55:31 +01:00
Joey
5cee521dc9
Tempo: Use ellipsis when trace view header url is too long ( #86417 )
...
* Limit url length
* Update styles to use objects
* Update width
* Add url to tooltip
2024-05-01 09:20:37 +01:00
Arati R
61f3d08c3f
Storage: Add List support for pagination ( #87093 )
...
* Add origin keys to List request
* Check origin keys requirement in the sql entity server's List method
* Refactor mode 2 List
* Check origin keys before making Storage List call
---------
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-05-01 08:42:47 +02:00
Isabel Matwawana
406fe8c85a
Docs: Add thresholds shared content ( #87009 )
...
* Added thresholds shared files
* Added shared files to visualizations and updated shared files
* Removed future tense
* Fixed prettier
2024-04-30 16:33:31 -04:00
Isabel Matwawana
dad3069594
Docs: add legends shared content ( #86814 )
...
* Updated shared file name and added missing options
* Added legend options 1 shared file to relevant visualizations
* Updated shared file name and corrected options
* Added legend options 2 shared file to relevant visualizations
* Updated legend content for heatmap and pie chart
* Added where shared legend files are used in each file
* Moved intro text out of viz pages into legend options shared files
* Added reasoning to front matter of shared files
* Added reasoning to front matter of shared files
* Fixed version interpolation and added cloud links
* Updated links in shared files
2024-04-30 15:40:07 -04:00
bornohin6
7ce1254913
CloudMigration: Remove details from the migration run list ( #87104 )
...
Remove details from the migration run list
2024-04-30 11:44:35 -07:00
Adela Almasan
4312f2accd
XYChart2: Fix tooltip mode ( #87147 )
2024-04-30 13:19:37 -05:00
Kevin Yu
a54df47976
CloudWatch: Add labels for Metric Query type queries ( #85766 )
...
* CloudWatch: Fix metric query with group by not being labelled in alerts
* just use one key for the labels
* not needed
* unused function
* add tests
* pr comments
* fetch dimensions to build labels for MetricQuery type queries
* pr comments
* group cache related tests and use fresh cache for non-cache related tests
* don't cache empty values
2024-04-30 09:06:16 -07:00
Tom Ratcliffe
b0f6913ef6
Alerting: unify alert rule actions between list and detail view ( #86071 )
...
* Add mock method for getting a plugin
* Update tests to find "more" button via label
* Remove test for Silence action in rule details
* Unify alert rule actions to pull from same place
* Restore behaviour of only showing incident button when firing
* Fix identifier and pause permission/logic
* Remove TODO comment related to refactor
* Update snapshot for useAbilities
* Undo optional param
* Rename alert rule menu hook to component
* Refactor hook to component
* Rename Rule action buttons component
* Chore: update style syntax for RuleDetails
* Add tests for refactored alert rule menu
* Only re-fetch Grafana managed alerts after pausing/resuming
* Remove console log and check for extensions
* Improve share rule generation of GMA rules
* Rename component
* Update action
* Refactor plugins and fix tests
* lint
---------
Co-authored-by: Konrad Lalik <konrad.lalik@grafana.com >
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-04-30 16:17:55 +01:00
William Wernert
93519f70ca
Alerting: Also fix HCL field name for MuteTimeIntervals ( #87079 )
...
* Correct HCL field name for MuteTimeIntervals
* Update test
2024-04-30 16:14:01 +01:00
Ieva
5e060d2d99
Data source: Maintain the default data source permissions when switching from unlicensed to licensed Grafana ( #87119 )
...
set managed data source permissions upon resource creation for unlicensed Grafana, remove them on deletion
2024-04-30 16:05:30 +01:00
Alex Khomenko
86aceb7a10
Saga-icons: Forward SVG attributes ( #87138 )
2024-04-30 15:58:25 +01:00
antonio
1ddbcc3f61
alerting/notifications: links ( #87122 )
...
* added links to each section
* ref fix
* ref fix2
* link fix
2024-04-30 16:34:18 +02:00
antonio
99f2de0847
alerting:config-notifications links ( #87127 )
...
* alerting:config-notifications links
* link fix
* linked blog post to examples section
2024-04-30 16:34:06 +02:00
Aaron Godin
53f94ac50d
Apply plugin route ReqAction to ds_proxy authorization ( #86466 )
...
* Apply plugin route ReqAction to ds_proxy authorization
Co-authored-by: Eric Leijonmarck <eleijonmarck@users.noreply.github.com >
* fix: move ds_proxy route Evaluator out of plugins pkg
* move DataSourceProxy route authorization to method
---------
Co-authored-by: Eric Leijonmarck <eleijonmarck@users.noreply.github.com >
2024-04-30 09:19:34 -05:00
Steve Simpson
5c89b8fe12
gRPC Server: Make message size limits configurable. ( #86982 )
...
* gRPC Server: Make message size limits configurable.
* Fix mistake, don't add opts twice
* Apply suggestions from code review
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com >
---------
Co-authored-by: Todd Treece <360020+toddtreece@users.noreply.github.com >
2024-04-30 16:18:03 +02:00
ismail simsek
4cc6b53a6d
Chore: InfluxDB unit testing overhaul ( #86586 )
...
* move mocks into the __mocks__ folder
* refactor datasource.test.ts
* refactor datasource_backend_mode.test.ts
* add dbName tests
* prettier
* betterer
2024-04-30 09:59:42 -04:00
Gábor Farkas
3d80693456
postgres: simpler test ( #86331 )
2024-04-30 15:27:20 +02:00
Marcus Efraimsson
2fc99375df
Chore: Upgrade otel dependencies ( #86994 )
...
* Chore: Upgrade otel dependencies
* sdk changes
* ignore deprecated go.opentelemetry.io/otel/exporters/jaeger for now
* use latest commit from sdk branch
* sdk v0.228.0
2024-04-30 15:12:45 +02:00
Mihai Doarna
76d94b35c9
SSO: fix settings merge for SAML fields ( #86970 )
...
* fix sso settings merge for saml fields
* change func name
2024-04-30 15:10:27 +03:00
Andreas Christou
125ac18fa3
AzureMonitor: Enable session ID header for Log Analytics ( #86320 )
...
* Enable option
- Update sdk
* Sync go.work
2024-04-30 13:10:04 +01:00
Karl Persson
a2cba3d0b5
User: Add tracing ( #87028 )
...
* Inject tracer in tests
* Annotate with traces
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2024-04-30 13:15:56 +02:00
Alex Khomenko
7f1b2ef205
Select: Add data-testid to Input ( #87105 )
...
* Select: Add custom input component
* Forward data-testid
* Add input selector
* Props check
2024-04-30 14:04:58 +03:00
Arati R
ec6f59a678
Chore: Update protoc-gen-go ( #87116 )
...
Update protoc-gen-go
2024-04-30 12:14:33 +02:00
antonio
9203f84bc8
docs / alerting / fundamentals / templates ( #86983 )
...
* docs / alerting / fundamentals / templates
* renamed and adjusted front matter
* pretty
* frontmatter
* admonition fix
* admo
* restructuring
* Update docs/sources/alerting/fundamentals/notifications/templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/notifications/templates.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* amended admonition
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-04-30 12:06:25 +02:00
Tim Mulqueen
6dbc44920c
Dashboard Scene - Variable Fix: cancel out margin-bottom of placeholder in loading state ( #87107 )
...
fix: cancel out margin-bottom of placeholder in loading state
2024-04-30 10:54:25 +02:00
Konrad Lalik
9369f07e32
Alerting: Immutable plugin rules and alerting plugins extensions ( #86042 )
...
* Add pluginsApi
* Add rule origin badge
* Make plugin provided rules read-only
* Add plugin settings caching, add plugin icon on the rule detail page
* Add basic extension point for custom plugin actions
* Add support for alerting and recording rule extensions
* Move plugin hooks to their own files
* Add plugin custom actions to the alert list more actions menu
* Add custom actions renderign test
* Add more tests
* Cleanup
* Use test-utils in RuleViewer tests
* Remove __grafana_origin label from the label autocomplete
* Remove pluginsApi
* Add plugin badge tooltip
* Update tests
* Add grafana origin constant key, remove unused code
* Hide the grafana origin label
* Fix typo, rename alerting extension points
* Unify private labels handling
* Add reactive plugins registry handling
* Update tests
* Fix tests
* Fix tests
* Fix panel tests
* Add getRuleOrigin tests
* Tests refactor, smalle improvements
* Rename rule origin to better reflect the intent
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2024-04-30 10:34:52 +02:00
Andreas 'count' Kotes
78cda7ff5c
Schema: add missing insertNulls to GraphFieldConfig ( #85861 )
...
add missing insertNulls to GraphFieldConfig
Co-authored-by: joshhunt <josh@trtr.co >
2024-04-30 10:21:49 +03:00
Misi
1cb3f332a1
Chore: Remove extra sql select from the Insert function of userimpl.store ( #87060 )
...
Remove getAnyUserType
2024-04-30 08:54:20 +02:00
Jack Westbrook
0f4db3f5ad
Fix: yarn build in DockerFile ( #86858 )
2024-04-30 07:58:25 +02:00
Yuri Tseretyan
052082a927
Alerting: Refactor Alert Rule Generators ( #86813 )
2024-04-29 21:52:15 -04:00
kay delaney
8bb9b06e48
Chore: Rewrite grafana-sql css using object styles ( #87052 )
2024-04-29 22:34:10 +01:00
Adela Almasan
e3719471d5
Heatmap: Fix histogram highlighted series ( #86955 )
2024-04-29 16:02:38 -05:00
Scott Lepper
7505af2886
Chore: Update go-duck dependency to v0.0.18 ( #87073 )
...
* Chore: Update go-duck dependency to v0.0.18
2024-04-29 14:46:19 -04:00
Andrej Ocenas
16395f9f23
Pyroscope: Add adhoc filters support ( #85601 )
...
* Add adhoc filters support
* Add tests
* refactor tests
* Add comment
* Removed empty param docs
2024-04-29 20:41:40 +02:00
William Wernert
70ff229bed
Alerting: Use expected field name for receiver in HCL export ( #87065 )
...
* Use expected field name for receiver in hcl
Terraform provider expects `contact_point` instead of `receiver` in
notification settings on a rule.
2024-04-29 18:13:29 +01:00
Larissa Wandzura
3845033308
Docs: Update Explore Metrics doc based on feedback ( #87062 )
...
* changed from private preview to public preview
* commented out pivot to logs and traces
2024-04-29 12:09:47 -05:00
Isabella Siu
7b392d40a0
Auth: Sign sigV4 request after adding headers ( #87063 )
2024-04-29 13:07:45 -04:00
Gilles De Mey
b679a32fad
Alerting: Allow deleting contact points referenced only by auto-generated policies ( #86800 )
2024-04-29 17:48:54 +01:00
Santiago
36a0499128
Alerting: Implement CreateSilence in the forked Alertmanager (remote primary mode) ( #85716 )
2024-04-29 18:47:25 +02:00
Drew Slobodnjak
49fbe970fb
Canvas: Fix connection hyperbolic bug ( #87002 )
...
* Canvas: Connection original persistence check
* Canvas: Fix connection hyperbolic bug
2024-04-29 09:16:01 -07:00
Julien Duchesne
8d8f19b84f
Regenerate OpenAPI spec ( #87050 )
...
Issue: https://github.com/grafana/grafana/issues/86453
The endpoints were documented in enterprise Grafana
2024-04-29 16:27:59 +01:00
Santiago
1af2e69625
Alerting: Implement DeleteSilence in the forked AM (remote primary) ( #85721 )
2024-04-29 17:23:41 +02:00
Drew Slobodnjak
7590f4afe1
Canvas: Connection original persistence check ( #86476 )
...
* Canvas: Connection original persistence check
* modify current connection state directly instead of copying and needing to call "onChange"
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2024-04-29 08:23:26 -07:00
Alex Khomenko
4e6ba433de
Grafana/ui: Fix traces icon ( #86984 )
2024-04-29 17:55:55 +03:00
Tom Ratcliffe
0a02508415
Add more robust error handling for stringifying API responses
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
a34d22dcbf
Include alertmanager param on creation
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
e0ee0b09db
Add test to check that a broken alertmanager will handle errors correctly
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
aa2f52a2a1
Tidy up error message handling
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
fd07b3d431
Link silence test handlers together more clearly and test more cases
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
31231cf5bf
Change test render method to use locationService
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
a34c02fcf2
Address misc PR feedback
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
9860117399
Add more fine grained tag invalidation/providing for Silences
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
4fb1ac2bec
Check error state more reliably
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
a0373c66c3
Add fallback for alertmanager alerts
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
9bf2cf0a52
Rename silences RTKQ tag
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
4d4bf39184
Check for server received body
...
This is not ideal! Preference would be to have a more robust mock server
that responds to the received silence and appends it to a stateful list for the test
and then resets afterwards
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
0dc003aadc
Split handlers out into separate files
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
f419c9b53a
Add comment explaining reset in silences editor
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
df5c62b8ad
Misc tidy up
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
21a3f4817a
Add correct tag invalidation after creating a silence
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
cdfc6baea4
Remove unused fetchAlerts method
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
f397830098
Refactor Silences test
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
10fcd541e3
Add handlers to mock server
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
341449f4f5
Remove unused actions/reducers
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
a1d2a9670b
Restructure Silences components for better separation of concerns
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
11ed882c84
Add mock server handlers necessary for Silences
2024-04-29 14:15:48 +01:00
Tom Ratcliffe
8f27ec2521
Add silences RTK Query API
2024-04-29 14:15:48 +01:00
kay delaney
6f875188b7
Chore: Clean up package.json files ( #86951 )
...
* Chore: Clean up package.json files
Removes any unused packages, adds missing peer dependencies
2024-04-29 14:03:01 +01:00
Haris Rozajac
b52e349639
Explore and Correlations: Replace deprecated layout components ( #86967 )
...
Replace deprecated layout components
2024-04-29 13:50:03 +01:00
Piotr Jamróz
5830d6761d
ifrost/fix-link ( #86965 )
...
* Fix link label
* Switch to lowercase
2024-04-29 14:33:00 +02:00
Matias Chomicki
f1e8d2645f
Loki: update HorizontalGroup deprecation ( #86995 )
...
* Loki: update HorizontalGroup deprecation
* Update betterer
2024-04-29 13:14:06 +01:00
Ashley Harrison
c151a97110
Chore: Enable no-unreduced-motion and fix errors ( #86572 )
...
* enable `no-unreduced-motion` in betterer
* move all animation calls inside handleReducedMotion
* fix violations + enable rule
* update rule README
* remove unnecessary transition from <Collapse>
* remove handleReducedMotion utility and add handleMotion to theme
* update to use new theme value
* handle Dropdown and IconButton
* handle AppChromeMenu and update lint message
* keep rotation at a reduced speed
* handle DashboardLoading
2024-04-29 13:12:36 +01:00
Eric Leijonmarck
8a1f43a65d
User: Remove the lowercasing in the query for login conflict ( #87032 )
...
* refactor: remove the lowercasing in the query for login conflict
* refactor: move function into the closure gs
2024-04-29 12:24:14 +01:00
Ieva
cee713e34c
Chore: Add tracing to team service ( #86999 )
...
* add tracing to team service
* another test fix
* pass in context for team creation and membership checking
2024-04-29 11:32:03 +01:00
Steve Simpson
fbaa847a3c
Alerting: Pass logger into NewRemoteLokiBackend. ( #87029 )
...
Tiny refactor to allow a logger to be passed into NewRemoteLokiBackend.
2024-04-29 12:10:23 +02:00
github-actions[bot]
706110be62
I18n: Download translations from Crowdin ( #86807 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-29 11:50:15 +02:00
Thomas Wikman
7fab894e9b
DateTimePicker: Alternate timezones now behave correctly ( #86750 )
...
* Add failing tests for timezone handling
* Fix `DateTimePicker.tsx` timezone handling
- Resolves `onBlur` issue
- Resolve Calendar and TimeOfDay issues
- Update test to cover different timezone
* Handle `console.warn` in test
* Handle `console.warn` in test #2
* Better handling of invalid date
When parsing date string with `dateTime`, adding a second `formatInput` aids in both parsing the actual string and avoid `console.warn` when `moment` reverts to be using `Date`.
* add more test cases
* Ash/proposed changes (#86854 )
* simplify
* only need this change
* formatting
* const > let
* add test to ensure calendar is always showing the matching day
* separate state
* undo story changes
* update util function comments
* fix for selecting date in the calendar
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-04-29 10:46:44 +01:00
Dai Nguyen
ccd2bff8b0
Docs: Create the Azure AD application section has outdated information. ( #71498 )
...
Update index.md
2024-04-29 10:24:49 +01:00
Levente Balogh
e89f6daeda
Plugins: Add an auto-generated part to the plugin.json schema ( #86520 )
...
feat: update the plugin.json schema
2024-04-29 11:04:03 +02:00
Torkel Ödegaard
a4bb4c8400
DashboardScene: Fixes issues with relative time range in panel edit ( #86862 )
...
* DashboardScene: Fixes deleting dirty dashboard
* Update
* Progress
* Update
* Update
* Update
* Update
* Update
* Update
* update
* Update
2024-04-29 10:53:57 +02:00
Torkel Ödegaard
01f8301504
DashboardScene: Fixes issue with dashboard links and variables ( #86910 )
...
* DashboardScene: Fixes issue with dashboard links and variables
* Update
2024-04-29 10:28:41 +02:00
Victor Marin
8705e03d57
Home dashboard test ( #86961 )
...
home dashboard test
2024-04-29 10:56:06 +03:00
Gábor Farkas
500558bb72
mysql decouple frontend part ( #86308 )
...
* mysql decouple frontend part
* eslint "fix"
* package version update
2024-04-29 09:55:09 +02:00
Dominik Prokop
67968df70e
DashboardDataSourceBehaviour: Handle loading library panel ( #86980 )
...
* DashboardDataSourceBehaviour: Handle loading library panel
* Remove timeout
* FIx test
2024-04-29 09:49:46 +02:00
Oscar Kilhed
fdc1023586
Dashboard scenes: Fix min interval not saving ( #86962 )
...
* Fix min interval not saving
* Add tests
* Fix test
2024-04-29 09:41:43 +02:00
Karl Persson
c4cfee8d96
User: support setting org and help flags though update function ( #86535 )
...
* User: Support setting active org through update function
* User: add support to update help flags through update function
2024-04-29 08:53:05 +02:00
brendamuir
7077a5850e
Alerting docs: more vale ( #86978 )
2024-04-27 09:59:42 +02:00
Juan Cabanas
b77763bbcc
ShareModal: Differentiate between panel and dashboard share for tracking ( #86992 )
2024-04-26 15:35:39 -03:00
Isabel Matwawana
d5fde99c6d
Docs: Add value mappings shared content ( #86996 )
...
* Added value mappings shared file
* Fixed name of file
* Fixed list of visualizations using shared file
* Added shared file to visualizations
* Updated shared file and added to canvas
* Updated shared file intro text
* Removed future tense
2024-04-26 14:32:01 -04:00
kay delaney
1dbb3bfdea
Scenes/PanelVizTypePicker: Use default tab if listMode is unsupported ( #86885 )
...
Closes #84565
2024-04-26 18:44:18 +01:00
Ben Sully
f2ca115913
Scenes: support interpolations in TemplateSrv.replace ( #86990 )
...
TemplateSrv.replace takes an optional 'interpolations' argument which
records information about the variables which were found during the
interpolation. Until [this Scenes PR][scenes PR] this wasn't supported
by Scenes so the interpolations argument was being ignored if dashboard
scenes were enabled. This commit bumps the scenes version and passes
the interpolations array along to the scenes function.
[scenes PR]: https://github.com/grafana/scenes/pull/708
2024-04-26 16:44:36 +01:00
Darren Janeczek
9af4607e78
datatrails: fix bookmark/recent trail detection, prevent duplications, save trail on browser close/reload ( #85677 )
...
* fix: persistence trail detection, save on unload
- fixes detection on bookmarks and recents when current step isn't final
- now save current trail on browser close or reload (unload)
- refresh page or return to URL that corresponds to a recent trail will
resume that trail instead of creating a duplicate recent trail
- do not create a recent trail out of an empty starting trail
* fix: bookmarks status after making new step
- clone bookmark trail state to prevent it from being changed by user
- re-evaluate bookmark status after creating new step
2024-04-26 11:35:38 -04:00
linoman
9a1f9c126f
Replace deprecated layout elements ( #86977 )
2024-04-26 17:13:28 +02:00
Oscar Kilhed
c3cde17b33
Dasbhoard scenes: Don't return null when uids are not matching for new dashboards ( #86998 )
...
Don't return null when uids not matching for new dashboards
2024-04-26 17:12:47 +02:00
Hugo Kiyodi Oshiro
7783b16e47
Plugins: Make grafana-com API URL usage consistent ( #86920 )
...
Plugins: Fix grafana-com API URL usage
2024-04-26 16:47:38 +02:00
Juan Cabanas
85c23eed38
ShareModal: Remove PublicDashboard tab when share panel ( #86946 )
2024-04-26 11:34:55 -03:00
Mihai Doarna
45effc48d9
Auth: ignore non-OAuth2 providers when creating social connectors ( #86989 )
...
ignore non-oauth2 providers when creating social connectors
2024-04-26 17:14:31 +03:00
Kristina
e6f51536bf
Explore: Add tests around query history errors ( #86810 )
...
* WIP build tests
* Fix one test :D
* Unskip, remove console logging, fix limit test
* Add back whitespace
2024-04-26 08:09:31 -05:00
Eric Leijonmarck
eaad38e492
TeamLBAC: Add a limit to the docs for the number of rules ( #86971 )
...
teamlbac: update to include the limit for the rules
2024-04-26 13:01:04 +01:00
brendamuir
fd30ceed3e
Alerting docs: vale fixes ( #86972 )
...
* Alerting docs: vale fixes
* ran prettier
2024-04-26 12:17:06 +02:00
Eric Leijonmarck
f9714b9672
Docs: Update manage rbac w. toc and reference to provisioning w. file ( #81120 )
...
* docs: toc and reference to provisioning
* Update docs/sources/administration/roles-and-permissions/access-control/manage-rbac-roles/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-04-26 10:09:08 +01:00
Marcus Efraimsson
aec4a23d21
Chore: Cleanup require sections in go.mod ( #86952 )
2024-04-26 09:40:23 +02:00
Alex Khomenko
8117aad9af
Stack: Add size props ( #86900 )
...
* Abstract sizing styles from Box
* Upd name
* Stack: Add sizing props
* Revert
* Update LoginServiceButtons
2024-04-26 08:17:16 +03:00
Darren Janeczek
ff761bb7d6
Tooltips: Ensure new viz tooltips are visible within modals (alternative solution) ( #86716 )
...
fix: ensure new viz tooltips are visible within modals
Co-authored-by: Leon Sorokin <leeoniya@gmail.com >
2024-04-25 16:27:24 -04:00
Yuri Tseretyan
dff7cb9afb
Alerting: Move alertmanager api silence code to separate files ( #86947 )
...
* Move alertmanager api silence code to separate files unchanged
* Replace with silence model instead interface
---------
Co-authored-by: Matt Jacobson <matthew.jacobson@grafana.com >
2024-04-25 15:20:37 -04:00
kay delaney
0f98bd3b7b
Chore: Rewrite dashboard component css using object styles ( #86930 )
2024-04-25 20:18:02 +01:00
Marcus Efraimsson
fbcb9a3677
Chore: Upgrade/fix deps after thema removal ( #86763 )
...
* Chore: Upgrade/fix deps after thema removal
* github.com/deepmap/oapi-codegen v1.14.0
* github.com/deepmap/oapi-codegen v1.15.0
* github.com/deepmap/oapi-codegen v1.16.0
* fix for dep used in enterprise
* github.com/deepmap/oapi-codegen/v2 v2.0.0
* oapi-codegen/v2 v2.1.0, kin-openapi v0.122.0, sdk
* keep kin-openapi at v0.122.0 and allow SDK to use v0.124.0
* remove github.com/deepmap/oapi-codegen v1 dep
* fix owner
* add back github.com/deepmap/oapi-codegen v1 dep
* upgrade github.com/influxdata/influxdb-client-go/v2 to get rid of deepmap/oapi-codegen
* migrate to oapi-codegen/runtime
* sdk
* sdk v0.227.0
2024-04-25 20:52:09 +02:00
Juan Cabanas
9f07c37fac
ShareModal: Fix share link tracking ( #86940 )
2024-04-25 15:38:12 -03:00
Leon Sorokin
d1b67847a2
Migrations: Graph (old) percent stacked ( #84335 )
2024-04-25 12:51:07 -05:00
Matthew Jacobson
3397e8bf09
Alerting: Improve error when receiver or time interval used by rule is deleted ( #86865 )
...
* Alerting: Improve error when receiver used by rule is deleted
* Remove RuleUID from public error and data
* Improve fallback error in am config post
* Refactor to expand to time intervals
* Fix message on unchecked errors to be same as before
2024-04-25 13:36:00 -04:00
Eric Leijonmarck
e394e16073
Auth: Force lowercase login/email for users ( #86359 )
...
* [WIP]: Force lowercase login/email for user CRUD
* warn and remove use of userCaseInsensitiveLogin check
* remove log warning
* reimplementation of the caseinsensitive
* need to decide if we want the conflict check or not
* remvoved the tests for conflict user by getEmail, getLogin
* added tests for user lowercase migration
* wip: emails next
* tests for email lowercasing
* review comments
* optimized login and email lookup before migrating
2024-04-25 17:31:17 +01:00
Ieva
748b3c855c
Chore: Clean up team membership code ( #86914 )
...
remove unused code, clean up commands
2024-04-25 16:46:24 +01:00
Mihai Doarna
4bf9405ce4
SSO: add SSO settings to secrets migrator ( #86913 )
...
* add sso settings to secrets migrator
* unify SSO settings in all log lines
2024-04-25 18:30:23 +03:00
Marcus Efraimsson
ac152ca416
Chore: Upgrade grpc-ecosystem/go-grpc-middleware to v2 ( #86724 )
...
* Chore: Replace deprecated prometheus grpc middleware
* go mod tidy without enterprise
* with updated sdk branch
* sdk v0.226.0
* remove deprecated opentracing support for outgoing plugin requests
* migrate to github.com/grpc-ecosystem/go-grpc-middleware/v2
* fix
2024-04-25 17:25:48 +02:00
antonio
42778de2b4
alerting>intro>templates ( #86850 )
...
* alerting>intro>templates
* restored alias url
* numbering
* diagram
* Update docs/sources/alerting/fundamentals/notifications/message-templating.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* formatting
* figure fix
* Brenda edits
* Brenda edit 2
* new diagram
* new diagram2
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-04-25 17:01:23 +02:00
Mihai Doarna
28e86c3edb
Mention the migrator in the secrets service readme ( #86922 )
...
mention the migrator in the secrets service readme
2024-04-25 17:44:55 +03:00
kay delaney
917cbce448
Scenes: Remove lodash usage from DetectChangesWorker ( #86683 )
2024-04-25 14:42:24 +01:00
Imma Valls
262cb82132
Explore: add links to metrics and correlations editor to Explore ( #86474 )
...
add links to metrics and correlations editor
2024-04-25 15:09:38 +02:00
Todd Treece
32215adb37
Chore: Remove HorizontalGroup and VerticalGroup from storage ( #86888 )
2024-04-25 13:58:25 +01:00
Sonia Aguilar
a68df4be88
Alerting: Skip flaky test ( #86921 )
...
Skip flacky test
2024-04-25 13:43:37 +01:00
Tom Ratcliffe
f43762f39a
Remove (most) occurrences of HorizontalGroup within Alerting
2024-04-25 12:54:41 +01:00
Alexa V
e711d10925
Dashboard: Migration Fixes Mixed data source losing existing queries ( #86883 )
2024-04-25 13:06:57 +02:00
Karl Persson
cd724d74aa
Authn: move namespace id type ( #86853 )
...
* Use RoleType from org package
* Move to identity package and re-export from authn
* Replace usage of top level functions for identity
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
2024-04-25 12:54:36 +02:00
Timur Olzhabayev
ed89354eaa
Chore: Adding debug logging to signature checks ( #86915 )
...
Adding debug logging to signature checks
2024-04-25 11:53:10 +01:00
Tobias Skarhed
18c4bee18e
DashboardLinks: Make click area bigger in the list ( #86481 )
...
* DasboardLinks: Make click area bigger in the list
* Update DashboardLinkList.tsx
* Remove import
2024-04-25 10:59:04 +01:00
George Robinson
c049e5bbfc
Alerting: Update grafana/alerting to bb4f4f4 ( #86827 )
2024-04-25 10:47:01 +01:00
Erik Sundell
1c121ff764
Units: add test cases for siprefix (milli, micro, etc) ( #86695 )
2024-04-25 12:04:45 +03:00
Erik Sundell
0140dfdddf
Chore: Add e2e selectors to alert rule page ( #86909 )
...
wip
2024-04-25 10:00:11 +02:00
Erik Sundell
4ff5a561af
Fix: Update lockfile ( #86901 )
...
update lockfile
2024-04-25 08:20:02 +02:00
Dave Henderson
8ca10cfe78
Revert "ci: remove milestone check" ( #86856 )
...
Revert "ci: remove milestone check (#86452 )"
This reverts commit 4bb0b78abb .
2024-04-25 01:31:29 -04:00
Erik Sundell
a3ef463499
Grafana packages: Remove E2E workspace ( #86416 )
...
* remove e2e package code and any code referencing it
* update code owners
* remove more references to e2e package
* remove unrelated file
2024-04-25 07:12:43 +02:00
Kristin Laemmert
f1aa6549f6
Chore: Upgrade go version to 1.22.2 ( #86873 )
...
* Chore: Upgrade go version to 1.22.2
* upgrade to latest swagger for go 1.22 compatibility
* regen openapi spec
* upgrade go in github workflows
2024-04-24 14:26:14 -04:00
Isabel Matwawana
0e81fdffbe
Docs: add tooltips shared content ( #86553 )
...
* Replaced shared tooltips file with text in xy chart
* Added tooltip info for heatmap
* Updated tooltip shared files, renamed one file, updated configure tooltips
* updated tooltip shared file paths
* Added tooltips shared files in relevant visualizations
* Added where shared file is used in tooltip-options-1
* Added where shared file is used in tooltip-options-2
* Added intro text and justifications to shared files
* Removed tooltips intro text from visualizations with shared files
* Added names of files to comments in shared files
2024-04-24 12:40:27 -04:00
Darren Janeczek
53ead9904d
datatrails: interpolate adhoc variables and datasource variables when opening "explore metrics" from dashboard panels ( #86252 )
...
* fix: interpolate "explore metrics" from panels
---------
Co-authored-by: Darren Janeczek <darren.janeczek@grafana.com >
* fix: remove support for legacy dashboard
- simplify code
- take advantage of scenes dashboard async and datasource api object
---------
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2024-04-24 12:05:48 -04:00
Ieva
8028d1c3e1
Chore: Update tests to use team membership hooks ( #86846 )
...
* update tests to use team membership hooks
* linting
2024-04-24 16:55:42 +01:00
Javier Ruiz
9e54c450d7
Add onClick behaviour to links to new tooltips ( #84974 )
...
* Add onClick behaviour to new tooltips
* Prefer using DataLink component
2024-04-24 17:24:47 +02:00
Tom Ratcliffe
0582e05f8f
Add PoC for different MSW approach
2024-04-24 15:57:11 +01:00
Torkel Ödegaard
c965c27994
DataTrails: Exploring alternatives to history issues ( #86843 )
...
* DataTrails: Exploring alternatives to history issues
* incorporated unit tests from #86817 and #86741
---------
Co-authored-by: Darren Janeczek <darren.janeczek@grafana.com >
2024-04-24 10:36:58 -04:00
Sofia Papagiannaki
a5a3ee9fa3
SQLStore: Disable redundant create and drop unique index migrations on dashboard table ( #86857 )
...
SQLStore: Disable create and drop unique index migrations
2024-04-24 15:25:43 +01:00
Levente Balogh
17a3ec52b6
Plugin preloading: Fix performance measurement ( #86855 )
...
fix: measuring plugin preload performance
2024-04-24 15:37:22 +02:00
Khushi Jain
5dd8353ab1
Dashboards: Migrate from aria-label e2e selectors to data-testid ( #78536 )
...
* Dashboards: Migrate from aria-label e2e selectors to data-testid
* more changes
* addPanelwidget
* Test: Update .betterer.results
* refactor: fix e2e tests
* refactor: fix failing test
* refactor: update plugin-e2e after adding selector changes to the packege
---------
Co-authored-by: Laura Benz <48948963+L-M-K-B@users.noreply.github.com >
Co-authored-by: Laura Benz <laura.benz@grafana.com >
2024-04-24 15:16:19 +02:00
Victor Marin
38917c4e79
Fix home breadcrumbs ( #86786 )
...
* fix home breadcrumbs
* fix homepage gap
* fix tests
2024-04-24 14:54:30 +03:00
Tobias Skarhed
3e450ec4bf
Panel: Keyboard focus shortcuts prioritization ( #86772 )
...
* Panel: Keyboard shortcuts prio
* Remove redundant Array.from
* Simplify
* Handle Scenes use case
2024-04-24 13:46:40 +02:00
Josh Hunt
f382bd402c
Chore: Remove i18n psuedo precommit hook ( #86840 )
...
Remove i18n psuedo precommit hook
2024-04-24 13:08:19 +02:00
Jack Westbrook
fd1bf66d86
Plugins: Selectively load plugins using script tags ( #85750 )
...
* feat(plugins): introduce logic to selectively load fe plugins via script tags
* feat(plugins): extend cache to store isAngular flag. use isAngular in shouldFetch
* revert(plugins): remove unused prepareImport from SystemJSWithLoaderHooks type
* fix(plugins): cache[path] maybe undefined if not registered or invalidated
* Update public/app/features/plugins/plugin_loader.ts
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
---------
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2024-04-24 12:27:28 +02:00
Alexander Zobnin
60ed6bfc33
Search: Fix slow query when user does not have roles assigned ( #86791 )
...
* Search: Fix slow query when user does not have roles assigned
* Check all required actions and skip if not found
2024-04-24 13:23:08 +03:00
Esteban Beltran
1e1c62fef1
FE Sandbox: Get plugin module path from bootdata instead of plugin settings ( #86702 )
...
* FE Sandbox: Get plugin module path from bootdata instead of plugin settings
* Remove unnecessary async/await
2024-04-24 12:05:20 +02:00
Oscar Kilhed
e7f40493e4
DashboardScene: Measure and report scene load time ( #86267 )
...
* measure scene load time
* Fix tests that fail due to performance not being the proper global performance object in jest
* add isScene parameter to tracking test
2024-04-24 11:45:32 +02:00
Charandas
d46b163810
Authn (jwt_auth): add tracing spans for validating newer use cases ( #86812 )
2024-04-24 02:40:00 -07:00
Konrad Lalik
2db56b9c85
GrafanaUI: Add minWidth and maxWidth props to the Box component ( #86607 )
...
* Add minWidth and maxWidth props to the Box component
* Add height props, use theme spacing for sizing
2024-04-24 10:52:00 +02:00
Serge Zaitsev
522a98c126
Chore: Make Cfg field private in SQLStore ( #85593 )
...
* make cfg private in sqlstore
* fix db init in tests
* fix case
* fix folder test init
* fix imports
* make another Cfg private
* remove another Cfg
* remove unused variable
* use store cfg, it has side-effects
* fix mutated cfg in tests
2024-04-24 10:38:40 +02:00
Piotr Jamróz
f6e472f879
Explore: Show a drawer with tabs for the library and query history ( #86279 )
...
* Create basic feature toggle
* Rename context to reflect it contains query history and query library
* Update icons and variants
* Rename hooks
* Update tests
* Fix mock
* Add tracking
* Turn button into a toggle
* Make dropdown active as well
This is required to have better UI and an indication of selected state in split view
* Update Query Library icon
This is to make it consistent with the toolbar button
* Hide query history button when query library is available
This is to avoid confusing UX with 2 button triggering the drawer but with slightly different behavior
* Make the drawer bigger for query library
To avoid confusion for current users and test it internally a bit more it's behind a feature toggle. Bigger drawer may obstruct the view and add more friction in the UX.
* Fix tests
The test was failing because queryLibraryAvailable was set to true for tests. This change makes it more explicit what use case is being tested
* Remove active state underline from the dropdown
* Allow closing Query Library drawer from the toolbar
* Simplify dropdown design
2024-04-24 10:32:11 +02:00
Alexa V
de589b98c7
Dashboard: Migration [Panel Edit] Missing Query Editor when datasource is not found ( #86789 )
...
* Return default datasource if datasource is not found
* Set query runner datasource state to default, else refreshing will not work
2024-04-24 10:21:01 +02:00
Sven Grossmann
a8424f4831
LogContext: Fix structured metadata labels being added as stream selectors ( #86825 )
...
* LogContext: Fix structured metadata labels being added as stream selectors
* use row index
2024-04-24 10:00:39 +02:00
Karl Persson
0fa983ad8e
AuthN: Use typed namespace id inside authn package ( #86048 )
...
* authn: Use typed namespace id inside package
2024-04-24 09:57:34 +02:00
Marcus Andersson
804c726413
PluginExtensions: Make the extensions registry reactive ( #83085 )
...
* feat: add a reactive extension registry
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
* feat: add hooks to work with the reactive registry
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
* feat: start using the reactive registry
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
* feat: update the "command palette" extension point to use the hook
* feat: update the "alerting" extension point to use the hooks
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
* feat: update the "explore" extension point to use the hooks
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
* feat: update the "datasources config" extension point to use the hooks
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
* feat: update the "panel menu" extension point to use the hooks
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
* feat: update the "pyroscope datasource" extension point to use the hooks
Co-authored-by: Marcus Andersson <marcus.andersson@grafana.com >
* feat: update the "user profile page" extension point to use the hooks
* chore: update betterer
* fix: update the hooks to not re-render unnecessarily
* chore: remove the old `createPluginExtensionRegistry` impementation
* chore: add "TODO" for `PanelMenuBehaviour` extension point
* feat: update the return value of the hooks to contain a `{ isLoading }` param
* tests: add more tests for the usePluginExtensions() hook
* fix: exclude the cloud-home-app from being non-awaited
* refactor: use uuidv4() for random ID generation (for the registry object)
* fix: linting issue
* feat: use the hooks for the new alerting extension point
* feat: use `useMemo()` for `AlertInstanceAction` extension point context
---------
Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com >
2024-04-24 09:33:16 +02:00
Clément Boudereau
d48b5ea44d
Docs: Fix data source (jaeger, zipkin, tempo) provisioning yaml TracesToLog query example ( #86606 )
2024-04-24 07:42:29 +01:00
nextMJ
309adcaa7f
Typo fix in User API doc example ( #81890 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-04-24 06:13:51 +01:00
kay delaney
b7995ae18a
Chore: Rewrite grafana-flamegraph css using object styles ( #86816 )
2024-04-23 23:28:37 +01:00
Nathan Marrs
5dea949433
Canvas: Match connection anchor points to elements ( #85421 )
...
Co-authored-by: Ihor Yeromin <yeryomin.igor@gmail.com >
2024-04-23 14:26:53 -07:00
Josh Hunt
fc5007b0d5
Dashboards: Fix minor i18n papercuts that snuck through ( #86802 )
...
* fix two issues in dashboards i18n
* import
* fix another
2024-04-23 19:30:11 +01:00
dependabot[bot]
2c5b684b85
Chore(deps): Bump google.golang.org/api from 0.162.0 to 0.176.0 ( #86794 )
...
* Chore(deps): Bump google.golang.org/api from 0.162.0 to 0.176.0
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client ) from 0.162.0 to 0.176.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases )
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md )
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.162.0...v0.176.0 )
---
updated-dependencies:
- dependency-name: google.golang.org/api
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* but does it work across all workspaces
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kristin Laemmert <mildwonkey@users.noreply.github.com >
2024-04-23 12:32:16 -04:00
Pepe Cano
14789db1b7
Docs: add Provisioning section to Install on Kubernetes docs ( #83875 )
...
* Docs: add `Provisioning` section to `Install on Kubernetes` docs
* prefix k8s object names with `grafana-`
* Fix `suplying` typo
2024-04-23 18:24:25 +02:00
Nathan Marrs
709d78b8b5
Chore: Fix CVE-2024-22363 ( #86738 )
2024-04-23 09:24:02 -07:00
Kyle Cunningham
37d086d49c
Table Panel: Fix images not showing on hover with multiple data links ( #86732 )
...
* Fix issue
* Prettier
* codeincarnate/image-table-fix/ lint
* Make linter happy by using div with role of button + improve a11y
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com >
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2024-04-23 23:03:24 +07:00
dependabot[bot]
ca7f41be11
Chore(deps): Bump buf.build/gen/go/parca-dev/parca/protocolbuffers/go from 1.28.1-20221222094228-8b1d3d0f62e6.4 to 1.33.0-20240414232344-9ca06271cb73.1 ( #86092 )
...
Chore(deps): Bump buf.build/gen/go/parca-dev/parca/protocolbuffers/go
---
updated-dependencies:
- dependency-name: buf.build/gen/go/parca-dev/parca/protocolbuffers/go
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-23 12:02:36 -04:00
dependabot[bot]
18a4c56539
Chore(deps): Bump go.opentelemetry.io/collector/pdata from 1.0.1 to 1.5.0 ( #86091 )
...
* Chore(deps): Bump go.opentelemetry.io/collector/pdata
Bumps [go.opentelemetry.io/collector/pdata](https://github.com/open-telemetry/opentelemetry-collector ) from 1.0.1 to 1.5.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-collector/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-collector/blob/main/CHANGELOG-API.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-collector/compare/pdata/v1.0.1...pdata/v1.5.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/collector/pdata
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* go work sync
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kristin Laemmert <mildwonkey@users.noreply.github.com >
2024-04-23 11:58:17 -04:00
Kristin Laemmert
9553923eb7
Chore: Fix failing ssosettingimpl test ( #86792 )
...
Chore: Fix failing ssosetting test
2024-04-23 11:36:34 -04:00
Drew Slobodnjak
173ba73a8a
Canvas: Ensure tangency for first segment ( #86543 )
2024-04-23 07:54:42 -07:00
George Robinson
2049f766c6
Remove fmt.Println of client certificate ( #86773 )
2024-04-23 15:15:52 +01:00
Laura Fernández
2fb38a34ac
Navigation: Add a return to previous button when navigating to different sections ( #86764 )
2024-04-23 15:56:04 +02:00
Mihai Doarna
3dabc3ff5d
SSO: filter out SAML from the SSO providers in UI ( #86768 )
...
* filter out saml from sso providers
* fix lint error
2024-04-23 16:55:01 +03:00
Ashley Harrison
a1321d17ca
TimeOfDayPicker: Fix text colours in light mode ( #86771 )
...
fix text colours in light mode
2024-04-23 14:50:42 +01:00
Mihai Doarna
bf15329492
SSO: run the validation on upsert with all secrets in settings ( #86579 )
...
* run the validation on upsert with all secrets in settings
* rename social to reloadable
2024-04-23 16:50:16 +03:00
Santiago
a6be12c037
Alerting: Implement SaveAndApplyConfig in the forked Alertmanager (remote primary) ( #84659 )
...
* Alerting: Implement SaveAndApplyConfiguration in the forked Alertmanager struct
* call SaveAndApplyConfig on the remote first, log errors for the internal
* add comments explaining why we ignore errors in the internal AM
* restore go.work.sum
2024-04-23 15:45:35 +02:00
Torkel Ödegaard
b28e6bc5d8
DashboardScene: Fixes issue with editing panels that uses instanceState ( #86687 )
...
* DashboardScene: Fixes issue with editing panels that uses instanceState
* Minor tweak
* Update
* Update
2024-04-23 15:25:16 +02:00
antonio
7067e37971
alerting:labels-annotations elaboration ( #86663 )
...
* alerting:labels-annotations elaboration
* applied suggestions
* applied suggestions 2
* modified intro, and labels sections
* Update docs/sources/alerting/fundamentals/alert-rules/annotation-label.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/alert-rules/annotation-label.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/alert-rules/annotation-label.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/alert-rules/annotation-label.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/alert-rules/annotation-label.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/alert-rules/annotation-label.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/alert-rules/annotation-label.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/fundamentals/alert-rules/annotation-label.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* pretty
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-04-23 15:07:29 +02:00
Steve Simpson
a6ad2380bf
Alerting: Refactor api_prometheus.go request handlers. ( #86639 )
...
This splits the request handlers into two functions, one which is the actual
handler and one which is independent from the Grafana `ReqContext` object. This
is to make it easier to reuse the implementation in other code.
Part of the refactoring changes the functions which get query parameters from
the request to operate on a `url.Values` instead of the request object.
The change also makes the code consistently use `req.Form` instead of a
combination of `req.URL.Query()` and `req.Form`, though I have left
`api_ruler` as-is to avoid this PR growing too large.
2024-04-23 14:50:26 +02:00
Sonia Aguilar
68564b1940
Alerting: Gops labels integration ( #85467 )
...
* Show list of labels on the alert rule form in a more visual way, and use a modal for managing them
* fix test
* Fix more tests
* Show orange badge when no labels are selected
* Remove unused datasource property in LabelsField
* Remove unused div and add comment
* Use button instead of icon for editing labels
* Use subform for labels
* Move logic fetching labels from different places in a separate hook
* Fix tests
* remove unused getLabelInput const in test
* Add ellispis and tooltip for long labels and move labels list in modal to the bottom
* Use text instead of badge when no using labels
* Fix tests after adding ellipsis and tooltip to the labels
* simplify styles
* Fix fetching values from gops when new key is used
* Address pr review comments
* Address pr review comments part2
* Fix tag on rtkq
* Remove color for no labels selected text
* Disable already used keys in the labels sub form
* Fix typo
* use the UseFieldArrayRemove type from react-hook-form
* Update some styles and text in the labels modal
* Address some review comments (nits)
* Address review comments part1
* Move logic getting labels in useCombinedLabels hook
---------
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-04-23 14:38:31 +02:00
Santiago
c77ab53819
Alerting: implement SaveAndApplyConfig in the remote Alertmanager struct ( #84642 )
...
* implement SaveAndApplyConfig in the remote Alertmanager struct
* remove ID from CreateGrafanaAlertmanagerConfig call
* decrypt, test that we decrypt, refactor
* fix duplicated declaration in test
* rephrase comment, remove unnecessary conversion to slice of bytes
* fix test
2024-04-23 14:37:10 +02:00
Santiago
8b7c2a459b
Alerting: Implement SaveAndApplyDefaultConfig in the forked Alertmanager (remote primary mode) ( #85668 )
...
* Alerting: Implement SaveAndApplyDefaultConfig in the forked Alertmanager (remote primary)
* log the error for the internal AM instead of returning it
2024-04-23 14:36:40 +02:00
Esteban Beltran
0ec9c3e01a
FE Sandbox: Fix worker post message not handling proxy objects correctly ( #86654 )
...
* FE Sandbox: Fix worker post message not handling proxy objects correctly
* use expect error instead of ignore
* use assertion instead of ignore
* Fix formatting
2024-04-23 14:08:34 +02:00
github-actions[bot]
3d55602fde
Update make docs procedure ( #86746 )
...
Co-authored-by: grafanabot <bot@grafana.com >
2024-04-23 12:52:16 +01:00
Torkel Ödegaard
835b968b08
DashboardScene: Fixes deleting dirty dashboard ( #86479 )
...
* DashboardScene: Fixes deleting dirty dashboard
* refactor + unit test
2024-04-23 12:35:16 +02:00
Jack Westbrook
e6799be13c
Chore: Bump webpack-dev-middleware to 6.1.3 ( #86482 )
...
chore(npm): bump version of webpack-dev-middleware to 6.1.3
2024-04-23 12:32:17 +02:00
Jack Westbrook
d10303fb05
Chore: Bump ip to 2.0.1 ( #86486 )
...
chore(npm): bump ip to 2.0.1
2024-04-23 12:31:27 +02:00
Jack Westbrook
c1f70219b5
Chore: Bump express to 4.19.2 ( #86487 )
...
chore(npm): bump express to 4.19.2
2024-04-23 12:31:10 +02:00
Tom Ratcliffe
349df74578
Rename debug target to "UI" rather than Jest
2024-04-23 11:26:56 +01:00
Tom Ratcliffe
97b66c2a95
Apply prettier fixes to VSCode debug config
2024-04-23 11:26:56 +01:00
Tom Ratcliffe
37a86872db
Remove port and add NODE_ENV to VSCode debug config
2024-04-23 11:26:56 +01:00
Josh Hunt
467d4231f1
E2C: Remove ModalController from MigrationTokenPage ( #86709 )
...
* Remove ModalController from MigrationTokenPage
* Dont show modal or toast for error response
* better
2024-04-23 11:23:06 +01:00
renovate[bot]
c849b6beaa
Update dependency react-i18next to v14 ( #86753 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 11:11:25 +01:00
Tom Ratcliffe
08200bc533
Nav: Fix alerting links/special cases not selecting the right MegaMenu item ( #85336 )
...
* Render current MegaMenu link as `aria-current=page`
* Add overrides capability for mega menu links
* Pass pageNav into getActiveItem so we can use override capability
* Test MegaMenu special cases for starred & dashboards
* Test that overrides for megamenu util works correctly
* Alpha-sort megamenu overrides
* Refactor util for getting active item for megamenu
Update parameters to getActiveItem
Update tests for getActiveItem
* Fix test for starred dashboard and remove query param test
Query param case happens differently in real app and is fiddly to test here
* handle edge cases
* restore handling home page test
* fix dashboard settings
* handle starring properly
---------
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-04-23 11:04:53 +01:00
Nicki de Wet
2d9d0e61b1
Added Caveat regarding inheritance of Mute timings ( #86678 )
...
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-04-23 10:27:24 +02:00
Thomas Wikman
99cbb5281c
Grafana UI: Add timezone selector to Storybook toolbar ( #86703 )
...
* Add timezone selector to Storybook toolbar
So that it's possible to preview how components that are using date functions, behave when timezone differs from browser/client.
* Re-order imports
2024-04-23 09:09:08 +01:00
renovate[bot]
6c777519d8
Update dependency style-loader to v4 ( #86749 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 09:08:46 +01:00
renovate[bot]
b224be5940
Update dependency @grafana/scenes to v4.12.0 ( #86747 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 08:50:02 +01:00
renovate[bot]
579cf9bd7d
Update dependency esbuild to v0.20.2 ( #76342 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 08:26:02 +01:00
Mihai Doarna
4d9e35ba57
SSO: add configurableProviders list to SSO service ( #86622 )
...
* add configurableProviders list to sso service
* address feedback
2024-04-23 10:00:43 +03:00
renovate[bot]
51dcd1d9fd
Update dependency eslint-plugin-jest to v28 ( #86745 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 08:59:28 +02:00
renovate[bot]
41617b174e
Update dependency css-loader to v7 ( #86711 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-23 07:28:32 +01:00
Oscar Kilhed
dccad4e081
Dashboard scenes: fix textbox value only set to first character of default value ( #86595 )
...
Dashboard scene: fix textbox value only set to first character in default value
2024-04-23 06:52:26 +02:00
github-actions[bot]
357276da01
I18n: Download translations from Crowdin ( #86708 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-23 07:34:17 +03:00
Leon Sorokin
7754d0d4dc
XYChart2: Remove common series name from tooltip items ( #86739 )
2024-04-23 05:24:39 +02:00
Isabel Matwawana
2b3457e6ed
Docs: add snapshot deletion info ( #86725 )
...
* Added delete snapshots section
* Replicated content, updated heading, and lowered heading level
2024-04-22 18:28:15 -04:00
Isabel Matwawana
05a4b3e80d
Docs: Add config guidance for embedding ( #86726 )
...
Added note re iframes
2024-04-22 17:02:45 -04:00
Fabrizio
0b2e748bd8
Loki: Fix setting of tenant ID ( #86433 )
2024-04-22 21:02:56 +01:00
Alexander Weaver
c32953e52c
Alertign: Create feature toggle for recording rules ( #86696 )
...
create toggle for recording rules
2024-04-22 12:53:16 -05:00
Lisa
59eb302fc1
Embed Managing users and permissions video to the documentation ( #86387 )
...
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-04-22 17:38:11 +01:00
Yuri Tseretyan
9735a8a080
Alerting: Distinguish conflict violation errors ( #86634 )
...
* update generator to set ID = 0 and do not set 0 if unique is needed
* return proper message when the constraint violation
2024-04-22 12:28:46 -04:00
renovate[bot]
de92317fc7
Update dependency rc-slider to v10.6.2 ( #86704 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 17:15:34 +01:00
Ashley Harrison
fc45b56d9d
EmptyState: Apply call-to-action variant in core ( #86448 )
...
* apply empty state in a bunch of places
* fix unit tests
* put alert back on top
* add data-testids so e2e tests keep working
* remove info boxes
* fix annotations empty state alignment with new maxWidth
2024-04-22 17:01:24 +01:00
linoman
224d61746a
Remove SAML form the list of auth providers for devenv ( #86684 )
...
Update README.md
The link for SAML was broken. Since SAML is an enterprise feature, it has been removed.
2024-04-22 17:27:58 +02:00
renovate[bot]
c47b4ff8c3
Update dependency mini-css-extract-plugin to v2.9.0 ( #86691 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 16:04:44 +01:00
Marie Cruz
50b285ac69
docs: update candlestick visualization ( #86053 )
...
* docs: update candlestick visualization
* fix: linting issues
* Apply suggestions from code review
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* docs: add candlestick video
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-04-22 10:20:10 -04:00
Julian Siebert
14f018e3fc
Docs: Use correct description for "og_priority" ( #80889 )
2024-04-22 13:53:18 +00:00
renovate[bot]
427f361f58
Update dependency @grafana/scenes to v4.11.3
2024-04-22 13:41:01 +00:00
Misi
6ab9dcde8d
LDAP: Fix listing all non-matching groups ( #86682 )
...
Fix getRowId in LdapUserGroups to list all non-matching groups
2024-04-22 15:34:16 +02:00
renovate[bot]
7564d5cee7
Update dependency core-js to v3.37.0 ( #86676 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 14:18:57 +01:00
Oscar Kilhed
12771e49fc
Dashboards: Check if dashboard.meta is undefined, if undefined handle redirect in dashboard scene. ( #86674 )
...
dashboard meta is not available if the dashboard response is a redirect
2024-04-22 15:02:40 +02:00
Kristina
2247d6c415
Short Links: Add setting for changing expiration time ( #86003 )
...
* Add setting for changing shortlink expiration time
* Add docs, add better language
* put all the numbers in the duration 🤷
* 🙄
* update language to be correct and clear
* Add max limit and more documentation
2024-04-22 07:39:24 -05:00
Alex Khomenko
cad9e23e54
Login page: Fix button width ( #86680 )
...
* Fix login buttons width
* Login page: Fix button width
* Add todo
2024-04-22 15:31:11 +03:00
Konrad Lalik
7caa30bc2e
Alerting: Add plugins extension point to alerting home page ( #85725 )
...
* Add basic extension point to alerting home page
* Remove home page scenes app. Improve plugins styles
* Remove unused code
* Fix home page rendering when no plugins registered
* Add row-based integrations component
* Add missing margins
* Rollback the Box component changes
* Remove unused import
2024-04-22 13:42:11 +02:00
renovate[bot]
686c8013c3
Update dependency @types/diff to v5.2.0 ( #86675 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 12:01:43 +01:00
Haris Rozajac
a10dcf9661
Explore (bugfix): Expanded section state ( #86594 )
...
Fix
2024-04-22 12:47:05 +02:00
Steve Simpson
54290f2ac4
Alerting: Fix TestRouteGetRuleStatuses as much as possible. ( #86666 )
...
This test has been skipped for a long time, so it doesn't work anymore. I've
fixed the test so it works again, but left some tests disabled which were
apparently flaky. If we see the other test cases flaking, we'll have to
disable it again.
Fixes:
- Use fake access control for most test cases, and real one for FGAC test cases.
- Check that "file" in API responses the full folder path, not folder title.
2024-04-22 12:36:50 +02:00
renovate[bot]
3364df27c2
Update dependency @grafana/scenes to v4.11.2 ( #86671 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 12:36:11 +02:00
Konrad Lalik
1b930c341d
Alerting: Fix max_alerts field handling ( #86651 )
...
Fix max_alerts field parsing
2024-04-22 12:25:04 +02:00
renovate[bot]
7dc6540ead
Update dependency @grafana/faro-web-sdk to v1.6.0 ( #86670 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 11:50:21 +02:00
renovate[bot]
f9e73ed9a0
Update dependency @grafana/faro-web-sdk to v1.6.0 ( #86668 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 11:32:30 +02:00
github-actions[bot]
cda0f53f7c
I18n: Download translations from Crowdin ( #86603 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-22 09:18:39 +00:00
renovate[bot]
e6c5dc52d2
Update dependency re-resizable to v6.9.14
2024-04-22 09:13:56 +00:00
George Robinson
30d38c1775
Update the docs for state_periodic_save_interval ( #86611 )
...
This commit updates the docs for state_periodic_save_interval following
a question in the forums about what the consequences of this change could
be.
2024-04-22 11:13:02 +02:00
dependabot[bot]
82daadf56b
Bump slackapi/slack-github-action from 1.25.0 to 1.26.0 ( #86562 )
...
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action ) from 1.25.0 to 1.26.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases )
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.25.0...v1.26.0 )
---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 09:10:36 +00:00
Lisa
65e6b67b2e
Embed creating alerts with Grafana video to the documentation ( #86386 )
2024-04-22 11:09:00 +02:00
renovate[bot]
97c05dc52d
Update dependency jest-date-mock to v1.0.10
2024-04-22 08:55:16 +00:00
Tobias Skarhed
b399facf2c
GeoMap: Pan and zoom keyboard support ( #86573 )
...
* Make GeoMap keyboards navigable
* Remove redundant interaction boolean
* Fix tabIndex error and set role to application
* Update docs
2024-04-22 10:53:32 +02:00
Timur Olzhabayev
951916c668
Chore: Making the plugin install commands respect the config parameter ( #86578 )
...
Currently the grafana cli plugin commands are not reacting to the --config parameter. This PR make it possible to use config to define the plugin endpoints via config as an alternative to providing the --repo flag.
2024-04-22 10:29:25 +02:00
renovate[bot]
2a39f1f7ce
Update dependency @grafana/faro-core to v1.6.0 ( #86613 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-22 09:28:20 +01:00
Steve Simpson
f07f48616a
Alerting: Fix panic when limit_alerts=0. ( #86640 )
...
Oversight in the TopK function meant if k=0, then we'd panic when checking
element zero in the heap, because no items are ever allowed into the heap.
2024-04-22 10:14:19 +02:00
Michael Mandrus
45a7f649fe
CMS: Create local implementation of cloud migration for dev use ( #86637 )
...
* add developer mode property to config
* create cms stub
* cleanup
* implement and wire up gcom stub
* fix errors
* don't document the flag
2024-04-20 23:51:58 -04:00
Andreas Christou
ae84d16a6f
MSSQL: Simplify proxy logic ( #86278 )
...
* Simplify proxy dialer creation
- Set new dialer on connector
- Create MSSQL connector in a similar fashion to postgres
* Update test
* Fix lint
* More lint
* Use correct driver name
2024-04-19 22:03:26 +01:00
Andreas Christou
ec8dfc4dda
CloudMonitoring: Correctly interpolate multi-valued template variables in PromQL queries ( #86391 )
...
* Interpolate promql queries appropriately
- Use pipes for multi-valued variables in PromQL queries
- Update tests
* Don't break betterer
* Another any
* Update public/app/plugins/datasource/cloud-monitoring/datasource.ts
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com >
---------
Co-authored-by: Andrew Hackmann <5140848+bossinc@users.noreply.github.com >
2024-04-19 22:07:15 +02:00
ismail simsek
57bea68453
Chore: Remove unused functions form prometheus data source ( #86461 )
...
* remove createQuery
* remove redundant unit test
* update unit tests
* remove redundant mock
* exclude mocks from build
* remove it
* prettier
2024-04-19 16:00:26 -04:00
Andreas Christou
74ee675732
CloudMonitoring: Allow a custom group by value ( #86288 )
...
Allow a custom group by value
2024-04-19 20:56:12 +01:00
Andreas Christou
d8a8db3750
CloudMonitoring: Ensure variables can be used in all variable queries ( #86377 )
...
* Allow specifying project when querying services
* Ensure metricType is interpolated
2024-04-19 20:52:39 +01:00
Kim Nylander
d6e84dbf0a
[DOC] Update the traces to profile content based upon SDK updates ( #86628 )
...
Update the traces to profile content based upon SDK updates
2024-04-19 14:17:11 -05:00
Jev Forsberg
ad679c62c6
Docs: Update example docs for rename by regex ( #86627 )
...
* baldm0mma/update_regex/ update example docs
* baldm0mma/ push ts
* baldm0mma/update_regex with new exmaples
* baldm0mma/update_regex/ update images
* baldm0mma/regex_update/ update text
2024-04-19 21:04:54 +02:00
Steve Simpson
6ea97e41fb
Alerting: Consistently return Prometheus-style responses from rules APIs. ( #86600 )
...
* Alerting: Consistently return Prometheus-style responses from rules APIs.
This commit is part refactor and part fix. The /rules API occasionally returns
error responses which are inconsistent with other error responses. This fixes
that, and adds a function to map from Prometheus error type and HTTP code.
* Fix integration tests
* Linter happiness
* Make linter more happy
* Fix up one more place returning non-Prometheus responses
2024-04-19 21:03:20 +02:00
Santiago
9ed616a7b3
Alerting: Fix typo ('Alert manager' -> 'Alertmanager') ( #86608 )
...
* Alerting: Fix typo ('Alert manager' -> 'Alertmanager')
* fix front-end test
2024-04-19 20:53:51 +02:00
Robert Horvath
86a9533863
Chore: Replace backend platform codeownership ( #86010 )
...
* Replace backend platform codeownership
* fix go.mod with work sync
* fix go.mod
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
Co-authored-by: Dave Henderson <dave.henderson@grafana.com >
2024-04-19 19:12:59 +02:00
Laura Fernández
b5335f0910
Chore: ChangePassword - Replace VerticalGroup with Stack ( #86614 )
2024-04-19 17:37:51 +02:00
Laura Fernández
efa5e582cc
Chore: UserProfileEditPage - Replace VerticalGroup with Stack ( #86619 )
2024-04-19 17:37:14 +02:00
Matias Chomicki
aa73140564
Loki: Add label filters after label_format if present ( #86124 )
...
* Loki ad-hoc filters: add filters after label_format
* Chore: add comment explaining rationale
* Formatting
* Formatting
2024-04-19 17:31:38 +02:00
Joao Silva
8f38ef70ce
Chore: Replace VerticalGroup in OrgDetailsPage and BenchmarksPage ( #86621 )
2024-04-19 16:28:51 +01:00
Laura Fernández
db4f7cd21d
Chore: UserSignup and LoginServiceButtons - Replace VerticalGroup with Stack ( #86616 )
2024-04-19 17:24:09 +02:00
antonio
f7b82a74ad
alerting: email doc >url fix ( #86574 )
...
* url fix
* pretty
2024-04-19 17:01:42 +02:00
Eric Leijonmarck
ddabef9895
RBAC: Add actionsets struct and write path ( #86108 )
...
* Add actionsets struct and failing test
* update from review
* review comments
* review comments update
* refactor: create interface
* actionset service
* fix tests
* move from wireoss to wire
* Apply suggestions from code review
remove unnecessary comments
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
* nil for the actionsetservice
* Revert "nil for the actionsetservice"
This reverts commit e3d3cc8171 .
---------
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com >
2024-04-19 15:38:14 +01:00
Laura Fernández
a057e8be06
Chore: AppNotificationList- Replace VerticalGroup with Stack ( #86612 )
2024-04-19 16:21:45 +02:00
renovate[bot]
e7fd2cb0fb
Update dependency sass-loader to v14.2.1
2024-04-19 14:04:45 +00:00
Laura Fernández
913d7da3af
Grafana UI: Text.story.tsx - Replace VerticalGroup with Stack ( #86584 )
2024-04-19 16:01:24 +02:00
renovate[bot]
53f5663714
Update dependency msw to v2.2.14
2024-04-19 13:46:18 +00:00
Santiago
529f55cfe8
Alerting: Remove isDefault field from receivers (Alertmanager configuration) ( #86605 )
...
Alerting: Remove isDefault field from receivers in the Alertmanager configuration
2024-04-19 15:44:20 +02:00
Brendan O'Handley
2d733a4d77
Prometheus: Do not throw error for label_join function ( #86465 )
2024-04-19 08:32:26 -05:00
Tobias Skarhed
95ad100cb9
RolePicker: Identity Access team as codeowners ( #86602 )
2024-04-19 15:21:49 +02:00
Santiago
309a7e7684
Alerting: Implement SaveAndApplyDefaultConfig in the remote Alertmanager struct ( #85005 )
...
* Alerting: Implement SaveAndApplyDefaultConfig in the remote Alertmanager struct
* send the hash of the encrypted configuration
* tests, default config hash in AM struct
* add missing default config to test
* restore build directory
* go work file...
* fix broken test
* remove unnecessary conversion to []byte
* go work again...
* make things work again with latest main branch changes
* update error messages in tests for decrypting config
2024-04-19 15:11:07 +02:00
Bruno
1f3a85824f
ephemeral instances: add workflow run id env var ( #86528 )
2024-04-19 09:49:03 -03:00
Ashley Harrison
4a9e478a6b
EmptyState: Apply completed empty state in Notifications page ( #86504 )
...
* add 'completed' variant
* apply completed empty state to notifications page
2024-04-19 13:46:03 +01:00
ismail simsek
ec1af89a02
Chore: Bump promlib to v0.0.5 ( #86596 )
...
bump promlib to v0.0.5
2024-04-19 14:33:44 +02:00
renovate[bot]
bcc52a91c7
Update dependency marked to v12.0.2
2024-04-19 12:31:26 +00:00
renovate[bot]
c2f3bf677d
Update dependency @types/react to v18.2.79
2024-04-19 11:39:32 +00:00
renovate[bot]
bc97d11220
Update dependency @types/eslint to v8.56.10
2024-04-19 11:19:10 +00:00
Santiago
a2ce8fefed
Alerting: Use a struct when sending a Grafana AM configuration to the remote Alertmanager ( #86451 )
...
* Alerting: Use a struct when sending a Grafana AM configuration to the remote Alertmanager
* remove '-distroless' from mimir image name
2024-04-19 13:04:18 +02:00
Ivan Ortega Alba
65afe90124
IntervalVariableEditor: Do not add current value as interval prop ( #86446 )
2024-04-19 13:04:01 +02:00
Joao Silva
aa326423ed
ColorPicker: Improvements to story organization ( #86539 )
2024-04-19 11:58:20 +01:00
Laura Fernández
9878dfb7d9
Grafana UI: EmotionPerfTest - Replace VerticalGroup with Stack ( #86588 )
2024-04-19 12:55:04 +02:00
Laura Fernández
7404a631f6
GrafanaUI: PageToolbar.story.tsx - Replace VerticalGroup with Stack ( #86581 )
2024-04-19 12:54:20 +02:00
Ashley Harrison
63427ccd98
CommandPalette: Fix keyboard shortcut alignment ( #86540 )
...
* use full typography properties
* use Text component
2024-04-19 11:52:27 +01:00
Ashley Harrison
21588ce7e2
EmptyState: Set a max width on the empty state component ( #86569 )
...
set a max width on the empty state component
2024-04-19 12:52:16 +02:00
Steve Simpson
5f7612834e
Alerting: Refactoring in api_prometheus.go to allow code reuse. ( #86575 )
...
Preparing these functions to be used by some other part of the codebase,
which does not have a `contextmodel.ReqContext`, only the normal request
structure (`url.Values`, etc). This is slightly messy because of how
Grafana allows url parameters to be in the URL or in the request body,
so we need to make sure to invoke the form parsing logic in `ReqContext`.
2024-04-19 12:52:01 +02:00
Alex Khomenko
44e1bce55a
Feature toggles: Remove dashboardEmbed toggle ( #86587 )
2024-04-19 12:48:08 +02:00
Laura Fernández
c5ca90747d
Grafana UI: TagsInput.story.tsx - Delete unnecessary VerticalGroup ( #86582 )
2024-04-19 12:34:49 +02:00
renovate[bot]
1ea7dc9250
Update dependency @grafana/plugin-e2e to v1.1.1
2024-04-19 10:23:52 +00:00
Victor Marin
60e6dd56bf
Change folder breadcrumb on folder change in general settings ( #86342 )
...
* Change folder breadcrumb on folder change in general settings
* tests and refactor
* refactor to fix broken tests
* fix test
2024-04-19 13:21:40 +03:00
ismail simsek
f9a8e34b32
Prometheus: Update lezer-promql package ( #85942 )
...
* Update @lezer/lr to v1.4.0
* Update @prometheus-io/lezer-promql to v0.37.0
* Update @prometheus-io/lezer-promql to v0.38.0
* Update @prometheus-io/lezer-promql to v0.39.0
* Update @prometheus-io/lezer-promql to v0.40.0
* add jest config
* update code
* fix code to pass "handles things" test
* fix retrieving labels
* fix code to pass "handles label values" test
* fix code to pass "simple binary comparison" test
* use BoolModifier
* add changed lines as comments
* fix for ambiguous query parsing tests
* resolve rebase conflict
* fix retrieving labels, aggregation with/out labels
* add error
* fix comment
* fix "reports error on parenthesis" unit test
* fix for "handles binary operation with vector matchers" test
* fix for "handles multiple binary scalar operations" test
* fix for "parses query without metric" test
* fix indentation and import style
* remove commented lines
* add todo items and comments
* remove dependency update from tempo datasource
* apply same changes in core prometheus frontend
* prettier
* add new test case
* use old version of lezer in the root package.json
* Revert "apply same changes in core prometheus frontend"
This reverts commit 83fd6ac7
* fix indentation
* use latest version of lezer-promql v0.51.2
* Update packages/grafana-prometheus/src/querybuilder/parsing.ts
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
* enable native histogram test
---------
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
2024-04-19 11:54:56 +02:00
Steve Simpson
73873f5a8a
Alerting: Optimize rule status gathering APIs when a limit is applied. ( #86568 )
...
* Alerting: Optimize rule status gathering APIs when a limit is applied.
The frontend very commonly calls the `/rules` API with `limit_alerts=16`. When
there are a very large number of alert instances present, this API is quite
slow to respond, and profiling suggests that a big part of the problem is
sorting the alerts by importance, in order to select the first 16.
This changes the application of the limit to use a more efficient heap-based
top-k algorithm. This maintains a slice of only the highest ranked items whilst
iterating the full set of alert instances, which substantially reduces the
number of comparisons needed. This is particularly effective, as the
`AlertsByImportance` comparison is quite complex.
I've included a benchmark to compare the new TopK function to the existing
Sort/limit strategy. It shows that for small limits, the new approach is
much faster, especially at high numbers of alerts, e.g.
100K alerts / limit 16: 1.91s vs 0.02s (-99%)
For situations where there is no effective limit, sorting is marginally faster,
therefore in the API implementation, if there is either a) no limit or b) no
effective limit, then we just sort the alerts as before. There is also a space
overhead using a heap which would matter for large limits.
* Remove commented test cases
* Make linter happy
2024-04-19 11:51:22 +02:00
Ryan McKinley
5a8384a245
QueryService: Add feature toggles to better support testing ( #86493 )
2024-04-19 12:26:21 +03:00
Will Browne
8a5c0cfdc0
Plugins: Pass cancellable context during API server creation ( #86545 )
2024-04-19 09:22:14 +03:00
Sofia Papagiannaki
aa825f5dee
Chore: Fix Swagger/OpenAPI instructions ( #86541 )
...
Update README.md
2024-04-19 09:16:38 +03:00
Matthew Jacobson
a20197229e
Alerting: Prevent simplified routing zero duration GroupInterval and RepeatInterval ( #86561 )
...
Prevent zero duration GroupInterval and RepeatInterval
2024-04-18 21:08:38 -04:00
Matthew Jacobson
71445002b7
Alerting: Fix simplified routing group by override ( #86552 )
...
* Alerting: Fix simplified routing custom group by override
Custom group by overrides for simplified routing were missing required fields
GroupBy and GroupByAll normally set during upstream Route validation.
This fix ensures those missing fields are applied to the generated routes.
* Inline GroupBy and GroupByAll initialization instead of normalize after
2024-04-18 21:08:14 -04:00
ismail simsek
842c8dd206
InfluxDB: Fix interpolating field keys in influxql ( #86401 )
...
* interpolate field keys
* use scopedVars
2024-04-18 19:14:29 -04:00
brendamuir
b311612cf2
Alerting docs: RBAC for enterprise and cloud ( #86506 )
...
* Alerting docs: RBAC for enterprise and cloud
* rbac structure
* ran prettier
* updates to data source permissions
* adds tables for roles
* ran prettier
* adds examples for custom role
* ran prettier
* updates table
* typo fix
* ran prettier
2024-04-18 20:32:04 +02:00
timo
f3fcfad2c8
NodeGraph: Fix invisible arrow tips in Editor ( #86517 )
...
NodeGraphPanel: Namespace marker IDs to fix invisible arrow tips in editor
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com >
2024-04-18 18:39:16 +02:00
linoman
1d1ebee36b
RolePicker: Adjust dynamic position ( #86424 )
...
* Adjust dynamic position
2024-04-18 17:53:34 +02:00
Sofia Papagiannaki
3ab361abfc
Chore: Update swagger ( #86523 )
...
* Chore: Update swagger
2024-04-18 15:35:38 +00:00
Laura Fernández
bfb79d20ff
Grafana UI: Menu.story.tsx - Replace VerticalGroup with Stack ( #86529 )
2024-04-18 17:35:36 +02:00
Josh Hunt
fe24404432
I18n: Support for Enterprise translations ( #86215 )
...
* I18n: Support for Enterprise translations
* don't attempt to link to enterprise in tests
* move extract script to makefile to optionally support enterprise
* update references to old extract script
* update docs
* thank god for unit tests
2024-04-18 16:25:27 +01:00
antonio
272b2e139a
email contact point -url fix ( #86538 )
...
url fix
2024-04-18 17:24:22 +02:00
Alexa V
7a147f2ce8
Dashboard: DashboardPageProxy - Use chaining operators to prevent runtime error ( #86507 )
...
* Use chaining operators to prevent runtime error
* Fix tests
---------
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com >
2024-04-18 17:15:18 +02:00
Laura Fernández
e65669bc0d
Grafana UI: Checkbox.story.tsx - Replace VerticalGroupwith Stack ( #86524 )
2024-04-18 17:05:19 +02:00
Señor Performo - Leandro Melendez
0d11f9b2f4
Docs: Add GeoMaps YouTube Video ( #86472 )
...
* Update index.md on GeoMaps adding YouTube Video
Added the GeoMap YouTube video to the documentation
* Update docs/sources/panels-visualizations/visualizations/geomap/index.md
Totally agree, I tend to use those words and not realize :P
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-04-18 10:57:08 -04:00
Laura Fernández
18bd11ca6a
Grafana UI: TextLink.story.tsx - Replace VerticalGroup with Stack ( #86526 )
2024-04-18 16:37:48 +02:00
ismail simsek
28a683cf28
InfluxDB: Remove influxdbSqlSupport feature toggle ( #86518 )
...
Remove influxdbSqlSupport feature toggle
2024-04-18 16:29:27 +02:00
Matias Chomicki
99f34cb1ed
Common labels/displayed fields: Show label names with values ( #86345 )
...
* LogLabels: create specialized component for arrays of labels
* Logs: sort displayed fields when assigning to state
* LogsMetaRow: fix types and use specialized components
* LogLabels: show label and value
* LogsPanel: update common labels
* LogsMetaRow: use LogsLabelsList
* Update unit tests
* Formatting
* Update betterer
* Prettier
* Logs panel: update test
* LogLabels: add actual tooltip
* Logs: remove sorting of displayed fields
2024-04-18 16:25:58 +02:00
Laura Fernández
bbf4281d8d
Grafana UI: Dropdown.story.tsx - Replace VerticalGroup with Stack ( #86521 )
2024-04-18 16:13:08 +02:00
Konrad Lalik
344cea1725
Alerting: Fix external Alertmanager settings payload ( #86413 )
...
* Remove helper properties from the AM config object
* Make the omitTemporaryIdentifiers a pure function
* Add formValuesToCloudReceiver test
* Remove immer produce to prevent object freezing
2024-04-18 15:55:13 +02:00
Vanilla
817f787947
Cli: Check missing plugin parameter of plugin update command ( #86410 )
...
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com >
2024-04-18 15:46:04 +02:00
Andres Martinez Gotor
eac02a61e1
Return plugin error when requesting settings ( #86052 )
2024-04-18 14:29:02 +02:00
Marie Cruz
8373fc3544
docs: update heatmap visualization and add play links ( #85926 )
...
* docs: update heatmap visualization
* docs: add state timeline and status history play shortcodes
* Apply suggestions from code review
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* docs: add heatmap video
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-04-18 08:22:14 -04:00
Mihai Doarna
57848bbe23
Auth: encrypt/decrypt SAML secrets in SSO settings service ( #85253 )
...
encrypt/decrypt saml secrets in sso settings service
2024-04-18 15:16:59 +03:00
Lisa
bdd288d058
Add Create annotations in panel video to the documentation ( #86383 )
...
* Add Create annotations in panel video to the documentation
* Update docs/sources/dashboards/build-dashboards/annotate-visualizations/index.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
2024-04-18 08:14:56 -04:00
Tom Ratcliffe
a5c75c5ffb
Remove explicit imports of whatwg-fetch from individual test files
2024-04-18 12:23:38 +01:00
Tom Ratcliffe
389250afe0
Add whatwg-fetch polyfill to jest test setup so all tests run it
2024-04-18 12:23:38 +01:00
Andres Martinez Gotor
0f4a47b180
Plugin load errors: Add more well-known errors ( #85960 )
2024-04-18 13:04:22 +02:00
github-actions[bot]
80e63b5206
I18n: Download translations from Crowdin ( #86438 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-18 10:34:18 +00:00
Ashley Harrison
07044309f1
EmptyState: Add completed variant ( #86497 )
...
* add 'completed' variant
* add central text alignment
2024-04-18 11:22:28 +01:00
Laura Fernández
bc07eedaa9
Grafana UI: Replace VerticalGroup with Stack on alerts documentation in Storybook ( #86400 )
2024-04-18 12:16:57 +02:00
Laura Fernández
6b21d12ce0
Grafana UI: FilterPopup- Replace VerticalGroup and HorizontalGroup with Stack ( #86398 )
2024-04-18 12:16:38 +02:00
ismail simsek
635d85db7a
InfluxDB: Fix interpolation for floating point number values ( #86396 )
...
return number as it is
2024-04-18 11:21:41 +02:00
Ivana Huckova
f3fd2de9dd
Loki: Remove tracking grafana_loki_query_executed and add grafana_explore_loki_query_executed ( #86484 )
...
* Loki: Remove and add
* Update public/app/plugins/datasource/loki/tracking.ts
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
2024-04-18 10:57:18 +02:00
Torkel Ödegaard
1d513f66b8
DashboardScene: Fixes checkbox orienation in save forms ( #86408 )
2024-04-18 10:15:06 +02:00
Kristina Durivage
4e0e12bb07
add cleanup
2024-04-18 09:04:53 +01:00
Kristina Durivage
bf897c1255
Add clarifying comments/docs
2024-04-18 09:04:53 +01:00
Tom Ratcliffe
ab605e37df
Remove unnecessary server.listen()
2024-04-18 09:04:53 +01:00
Tom Ratcliffe
ef5c4b69f3
Remove unused msw import
2024-04-18 09:04:53 +01:00
Tom Ratcliffe
de4510cc70
Reuse setupMswServer for alerting tests
2024-04-18 09:04:53 +01:00
Tom Ratcliffe
76c6e029a5
Fix incidental console error spy that was unneeded
2024-04-18 09:04:53 +01:00
Tom Ratcliffe
6557f5a00e
Add whatwg-fetch and fixes to Playlist tests that break when polyfill is added
2024-04-18 09:04:53 +01:00
Tom Ratcliffe
2ab13071fb
Add whatwg-fetch and fixes to dashboard tests that break when polyfill is added
2024-04-18 09:04:53 +01:00
Tom Ratcliffe
2674043cef
Add whatwg-fetch and fixes to alerting tests that break when polyfill is added
2024-04-18 09:04:53 +01:00
Joey
80d920500b
Tempo: Tidy up types in resultTransformer ( #86025 )
...
* Tidy up types
* Ternary
2024-04-18 08:53:06 +01:00
Joey
306cea7350
Tempo: Group by template vars ( #86022 )
...
* Add template variables to group by field
* Add test for interpolation
* Add test to allow selecting template vars
* Show custom value
2024-04-18 08:52:51 +01:00
Konrad Lalik
9614126cb7
Alerting: Fix instances link when served from subpath ( #86432 )
...
Fix instances link when served from subpath
2024-04-18 08:56:30 +02:00
Torkel Ödegaard
1327bdf575
DashboardScene: Fixes issue saving new dashboard from panel edit ( #86477 )
2024-04-18 08:46:24 +02:00
Torkel Ödegaard
3870ecd2e0
RefreshPicker: Change running state to be less distracting ( #86405 )
...
RefreshPicker: Change running state to not change button variant to destructive
2024-04-18 05:46:43 +02:00
Torkel Ödegaard
a8b81e1481
DashboardScene: Fixes minor issue transitioning between dashboards ( #86262 )
...
* DashboardScene: Fixes minor issue transitioning between dashboards
* Update
2024-04-18 05:45:38 +02:00
Andreas Christou
420067a7e1
MSSQL: Add SQL_VARIANT converter and update test ( #85823 )
...
Add SQL_VARIANT converter and update test
2024-04-17 16:49:51 -05:00
Adela Almasan
38fe9fcfd1
VizTooltip: Fix heatmap mode All ( #86463 )
2024-04-17 23:24:13 +02:00
Nick Richmond
82dd573ea4
Expressions: Fix erroneous sorting of metrics and expressions ( #86372 )
...
chore: upgrade `dataplane/sdata`
2024-04-17 16:03:33 -04:00
Michael Mandrus
df4c8c3cbc
CloudMigrations: Move business logic out of api layer ( #86406 )
...
* move run migration to the cloudmigrationimpl layer
* add migration run list logic down a layer
* remove useless comments
* pull cms calls into their own service
2024-04-17 15:43:09 -04:00
Nick Richmond
00256d3fdd
Prometheus: Cancellable label values requests ( #86403 )
...
* feat: cancellable label values requests
* refactor: prefer more explicit `requestId`
* refactor: request options to avoid tedious test changes
* refactor: avoid `any`
2024-04-17 15:03:31 -04:00
Kristina
15ff166fb6
Explore: Mock useExplorePageTitle in every integration test ( #86462 )
...
Mock useExplorePageTitle in every integration test
2024-04-17 14:01:09 -05:00
Brendan O'Handley
61c10ed155
Prometheus: Bypass flaky E2E test ( #86460 )
...
bypass flaky test
2024-04-17 13:53:22 -05:00
Brendan O'Handley
55b2a4b0c0
Prometheus: Limit Prometheus run query event tracking to queries in Explore ( #86054 )
...
only track run query events in explore
2024-04-17 20:40:27 +02:00
Darren Janeczek
53d2714a18
Tooltips: Ensure new viz tooltips are visible within modals ( #86258 )
...
fix: ensure new viz tooltips are visible within modals
2024-04-17 13:54:10 -04:00
Kyle Brandt
46efe41e33
Prometheus: (Instrumentation) Add rawExpr (pre-interpolation) to traces ( #86449 )
2024-04-17 19:53:38 +02:00
Drew Slobodnjak
ed8eacbc7e
Canvas: Fix division by zero ( #85443 )
...
* Canvas: Fix division by zero
* Fix last add vertex control
* Apply fix to existing vertices
* Apply deltas to temporary paths
* Persist original source and target coorindates
* Add follow up TODO
* Update connection svg to handle originals
* Get rid of minimum constraints for deltas
* Apply persist coordinate system to vertex handlers
* Consolidate and rename selected value
* Update connection arcs to use new coordinates
* fix editor crashing with scenes
---------
Co-authored-by: Adela Almasan <adela.almasan@grafana.com >
2024-04-17 10:18:17 -07:00
ismail simsek
e528c79689
Chore: Don't apply adhoc filters when promQLScope is enabled ( #86454 )
...
* check promQLScope
* add tests
2024-04-17 18:54:28 +02:00
Will Browne
dceb83ab42
Plugins: Expose backendplugin for client proto interface ( #86207 )
...
* first pass
* tidy
* add err check
* remove comment
* simplify
* remove unused stuff
* add backend()
* use SDK commit
* add codeowners for go.mod
* fix go.mod
* bump SDK
* go work sync
2024-04-17 18:47:01 +02:00
Dave Henderson
4bb0b78abb
ci: remove milestone check ( #86452 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-04-17 12:06:23 -04:00
Joao Silva
1997faf617
Select: Increase size of virtualized list options ( #86444 )
2024-04-17 17:01:21 +01:00
Kristina
7112f1effc
Explore: Deprecate local storage singular datasource key ( #86250 )
...
* add a note?
* Let Explore own the core/history folder
2024-04-17 09:48:27 -05:00
Tobias Skarhed
1c2065af60
PanelChrome: Improve accessibility landmark markup ( #85863 )
...
* Add section and use Text component to get h2 for panel
* Remove heading when collapsible
* Make button text truncate
* Update test
* Remove labelledby as it is not needed anymore
* Use testid selectors in test
* Remove async
2024-04-17 16:44:07 +02:00
Darren Janeczek
2ed7eecf2d
fix: datatrail link to "open in explore" prefix with config.appSubUrl ( #86375 )
...
* fix: datatrail link to explore needs appSubUrl
* fix: use `appUrl` when creating URL for sharing
2024-04-17 16:40:40 +02:00
Matias Chomicki
ec43edd8a1
Loki/Prometheus Query Editor: Disabled cmd/ctrl+f keybinding within the editor ( #86418 )
...
* Prom: disable cmd f within the editor
* Loki: disable cmd f within the editor
* Update public/app/plugins/datasource/loki/components/monaco-query-field/MonacoQueryField.tsx
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
* Monaco: upgrade to 0.34.1
* Loki/Prometheus: allow native search to be displayed
* Formatting
* Monaco: upgrade to 0.34.1
https://github.com/microsoft/monaco-editor/issues/102#issuecomment-1282897640
---------
Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com >
2024-04-17 16:38:43 +02:00
Leonor Oliveira
9baf96dbd2
Storage: dualwriter update implementation ( #85844 )
...
* Add update methods for the dual writer
* improve errors
* [WIP] add tests for the update method
* Move example package to its own package so it can be used by the rest package. Finish tests
* Add codeowners
* Use Pod as a dummy resource
* :int
* Lint
* [REVIEW] rename var
* [REVIEW] don't rely on legacy storage at all in mode4
* Update pkg/apiserver/rest/dualwriter_mode2.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
* [REVIEW] improve comment
* Update pkg/apiserver/rest/dualwriter_mode1.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* [REVIEW] improve mode3
* Lint
* Move test files
* Update pkg/apiserver/rest/dualwriter_mode2.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
* Lint
* Update pkg/apiserver/rest/dualwriter_mode4_test.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
* Fix error
* Lint
* Update pkg/apiserver/rest/dualwriter_mode2.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
* Don't set the flag to true as updatedObj creates an object in case it's not found
* Lint
* Lint
* Add tests on update
* Lint
---------
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-04-17 08:32:34 -06:00
Leon Sorokin
9682022b1d
Transforms: Fix 'Filter data by values' removing rows in unrelated frames ( #86087 )
2024-04-17 09:07:23 -05:00
Aaron Godin
d409d8e860
IAM - Fix error messages for resource permissions endpoints ( #85773 )
...
* IAM: fix many error messages in access-related code to provide more information
* Remove debug statement
* Refactor resourcepermissions package to use errutil
* Replace a few more errors with errutil and wrap errors found in users and teams services
* Apply diff of openAPI spec
2024-04-17 08:53:28 -05:00
Ashley Harrison
60abf01526
remove stray console.log ( #86440 )
2024-04-17 15:43:38 +02:00
Ieva
33e8292386
Docs: Clarify the docs for viewers_can_edit and editors_can_admin ( #86422 )
...
* clarify the docs for viewers_can_edit and editors_can_admin
* more changes
* more changes 2
2024-04-17 14:43:20 +01:00
Karl Persson
1a6777cb93
User: use update function for password updates ( #86419 )
...
* Update password through Update function instead
* Remove duplicated to lower
* Refactor password code
2024-04-17 15:24:36 +02:00
Ashley Harrison
f99d5a1c1a
EmptyState: Add call-to-action variant ( #85017 )
...
* add default variant
* enhance story
* rename to "initial" + update docs
* default to showing a CTA
* use switch
* translations
* update and use LinkButton
* update default message
* rename "initial" to "nothing-here"
* update variant name to `call-to-action`
* i18n
* add CTA svg
* extract into its own component
2024-04-17 14:23:21 +01:00
Andre Pereira
93c24403b3
Explore: Move app to under explore > traces ( #86436 )
...
Move app to under explore > traces
2024-04-17 14:18:06 +01:00
Kristina
2338cad563
Explore: Work on unskipping test ( #86370 )
...
* test unskip
* Mock getDataSourceSrv seperately
* mock the hook instead
* Remove TODO
2024-04-17 08:17:51 -05:00
Jev Forsberg
f9af4675ad
Reducers: Update percentile logic - move percentiles to after standard reducers ( #86004 )
...
* baldm0mma/pth_fix2/ move percentiles to after standard reducers
* baldm0mma/pth_fix2/ update ordinal suffix
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2024-04-17 07:01:13 -06:00
Josh Hunt
0a12ad0084
I18n: Update English phrases that have changed in code, but not extracted ( #86429 )
...
Update English phrases that have changed in code, but not extracted
2024-04-17 14:47:01 +02:00
Kristin Laemmert
03b795844c
SQLStore: Improve recursive CTE support detection ( #86397 )
...
sqlstore: improve recursive CTE support detection
Vitess returns a not supported error, not a parse error
Co-authored-by: Derek Perkins <derek@nozzle.io >
2024-04-17 08:37:47 -04:00
TechVest
1ffe858e06
chore: remove repetitive words ( #86412 )
...
Signed-off-by: TechVest <techdashen@qq.com >
2024-04-17 13:08:00 +01:00
Joanna
65951c40c4
Dashboard: Fix A11y in AutoRefresh input field ( #86058 )
...
Dashboard: Fix issue with providing clear instructions for data format in Auto Refresh input field
2024-04-17 12:54:37 +02:00
Fabrizio
bbae4af935
Tempo: Add waitFor in flaky test ( #86277 )
2024-04-17 12:32:22 +02:00
Laura Fernández
6a5bdcafa2
Chore: ForgottenPassword - Replace HorizontalGroup with Stack ( #86393 )
2024-04-17 11:51:49 +02:00
Laura Fernández
ce092450db
Chore: TimeRegionEditor- Replace HorizontalGroup with Stack ( #86395 )
2024-04-17 11:51:32 +02:00
Laura Fernández
3bb6de57d2
Chore: change bettererResultsToJSON format ( #86381 )
2024-04-17 11:51:18 +02:00
Laura Fernández
9b27d5a0c1
Chore: DataSourcePicker- Replace HorizontalGroup with Stack ( #86389 )
2024-04-17 11:50:58 +02:00
Leonor Oliveira
dcfaf7e434
Storage: Add dualwriter test mocks ( #86243 )
...
* WIP: add mocks for dual writer
* Test dualwriter mode1
* Re-add non implementation errors
* Use testify assert
* Write tests for mode2.
* Lint
* Remove comment
* Update pkg/apiserver/rest/dualwriter_mode2_test.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
* [REVIEW improve readability and call fn legacy fn
* [REVIEW] rename mocks and setupFns
* [REVIEW add missing test case
* [REVIEW] add test case with getting object from storage and not legacy
* Add deleteCollection
* Test deleteCollection
* Rename file
---------
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
2024-04-17 11:25:19 +02:00
Timur Olzhabayev
70eefea434
Chore: Remove feature toggles github action ( #85714 )
...
* remove the feature toggle cleanup github action
* removing codeowners entries that are unnecessary
2024-04-17 10:33:44 +02:00
Konrad Lalik
acd3e83c1c
Alerting: Take receivers into account when custom grouping Alertmanager groups ( #86127 )
...
* Take receiver into account when custom grouping Alertmanager alert groups
* Fix and add tests
2024-04-17 08:55:01 +02:00
Joey
383c310c73
Add more tracing datasources to 'Tracing in explore' docs ( #85630 )
...
* Add more tracing datasources to docs
* Remove datadog
2024-04-17 07:52:59 +01:00
Torkel Ödegaard
989e7c2c11
DashboardScene: Fixes react panels with old angular options ( #86256 )
...
* DashboardScene: Fixes react panels with old angular options
* Update
2024-04-17 08:05:23 +02:00
Torkel Ödegaard
5837def850
DashboardScene: Move add library panel view from grid item to drawer ( #86257 )
...
* DashboardScene: Add library panel in drawer
* DashboardScene: Move add libray panel view to a drawer instead of a grid item
* Update
* Update tests
2024-04-17 06:54:38 +02:00
Darren Janeczek
ea90f0119c
datatrails: track user interactions ( #85909 )
...
* chore: add interaction tracking
2024-04-16 15:55:07 -04:00
Isabel Matwawana
d55ce5b2e8
Docs: change availability to public preview for v11 ( #86390 )
...
Changed availability to public preview
2024-04-16 15:16:31 -04:00
Isabel Matwawana
7c441011f2
Docs: add panels & visualizations landing page ( #86073 )
...
* Added landing page front structure
* Added description and overview content and card titles
* Added placeholder tile and work notes
* Finalized text and updated link type
* Updated panel overview tile link
2024-04-16 14:26:41 -04:00
Yuri Tseretyan
e9d6135e33
SSE: Threshold expression to use simple functions ( #86062 )
...
* replace math expression with predicates
2024-04-16 13:35:41 -04:00
Eric Leijonmarck
9c1ef8b16e
Auth: Remove caseinsensitive check on update user ( #86286 )
...
* Removal: case insensitive check on update
* refactor and removal of test for duplicate user
* refactor to still shadow user variable
2024-04-16 17:47:17 +01:00
Matthew Jacobson
533bed6d94
Alerting: Fix simplified routes '...' groupBy creating invalid routes ( #86006 )
...
* Alerting: Fix simplified routes '...' groupBy creating invalid routes
There were a few ways to go about this fix:
1. Modifying our copy of upstream validation to allow this
2. Modify our notification settings validation to prevent this
3. Normalize group by on save
4. Normalized group by on generate
Option 4. was chosen as the others have a mix of the following cons:
- Generated routes risk being incompatible with upstream/remote AM
- Awkward FE UX when using '...'
- Rule definition changing after save and potential pitfalls with TF
With option 4. generated routes stay compatible with external/remote AMs, FE
doesn't need to change as we allow mixed '...' and custom label groupBys, and
settings we save to db are the same ones requested.
In addition, it has the slight benefit of allowing us to hide the internal
implementation details of `alertname, grafana_folder` from the user in the
future, since we don't need to send them with every FE or TF request.
* Safer use of DefaultNotificationSettingsGroupBy
* Fix missed API tests
2024-04-16 12:14:39 -04:00
Arati R
79eab65f94
Storage: Add mode-specific DeleteCollection implementations ( #86065 )
...
* Add DeleteCollection methods to modes 1 and 4
* Add DeleteCollection implementations for modes 2 and 3
2024-04-16 17:05:31 +02:00
Nick Richmond
d3fee607e2
Expressions: sort numeric metrics behind feature toggle ( #85911 )
...
* feat: sort numeric metrics behind feature toggle
* chore: upgrade `dataplane/sdata` to latest tag
* chore: `go work sync`
2024-04-16 10:52:47 -04:00
Ieva
036f826b87
AuthZ: Further protect admin endpoints ( #86285 )
...
* only users with Grafana Admin role can grant/revoke Grafana Admin role
* check permissions to user amdin endpoints globally
* allow checking global permissions for service accounts
* use a middleware for checking whether the caller is Grafana Admin
2024-04-16 15:48:12 +01:00
Karl Persson
0f06120b56
User: Clean up update functions ( #86341 )
...
* User: remove unused function
* User: Remove UpdatePermissions and support IsGrafanaAdmin flag in Update function instead
* User: Remove Disable function and use Update instead
2024-04-16 16:33:50 +02:00
owensmallwood
8c8885ef23
Storage Api: Adds traces ( #85391 )
...
- adds traces and improved logging to the unified storage server
- add a configurable logger to the gRPC server service
2024-04-16 08:30:51 -06:00
Kyle Brandt
a12669951b
Prometheus: Add BE support for Adhoc Filters ( #85969 )
...
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-04-16 16:56:50 +03:00
Karl Persson
8520892923
User: Fix GetByID ( #86282 )
...
* Auth: Remove unused lookup param
* Remove case sensitive lookup for GetByID
2024-04-16 15:24:34 +02:00
Victor Marin
b9285e320a
Fix new dashboard save name validation ( #86290 )
2024-04-16 15:46:25 +03:00
Piotr Jamróz
ccd660d559
Explore: Skip flaky test ( #86289 )
...
Skip flakey test
2024-04-16 12:42:22 +00:00
brendamuir
0cb3e8bc49
Alerting docs: adds roles docs ( #86261 )
...
* Alerting docs: adds roles docs
* adds header
* adds link
* spacing
* prettier
* Update docs/sources/alerting/set-up/configure-roles/index.md
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
* Update docs/sources/alerting/set-up/configure-roles/index.md
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
* Update docs/sources/alerting/set-up/configure-roles/index.md
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
* Update docs/sources/alerting/set-up/configure-roles/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/alerting/set-up/configure-roles/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/alerting/set-up/configure-roles/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/alerting/set-up/configure-roles/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/alerting/set-up/configure-roles/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* prettier
* Update docs/sources/alerting/set-up/configure-roles/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* corrects link
---------
Co-authored-by: Pepe Cano <825430+ppcano@users.noreply.github.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-04-16 14:33:15 +02:00
Ezequiel Victorero
7c7cdf7c3d
Docs: Update broken links to grafana play ( #86233 )
...
* Docs: Update broken links to grafana play
* Update docs/sources/datasources/graphite/template-variables/index.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* Update docs/sources/datasources/influxdb/template-variables/index.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-04-16 09:32:52 -03:00
kay delaney
3795f0d5a9
Dashboards: Fix issue when importing external dashboard with datasource variables ( #86273 )
2024-04-16 13:29:27 +01:00
Tom Ratcliffe
8f0f0387b8
Simplify providers used for test utils method
...
For now, keep the providers down to just what was already in TestProvider
2024-04-16 12:23:50 +01:00
Tom Ratcliffe
45949e7684
Simplify import logic for test utils
2024-04-16 12:23:50 +01:00
Tom Ratcliffe
488c5b8396
Use PropsWithChildren and allow router configuration in test utils render
2024-04-16 12:23:50 +01:00
Tom Ratcliffe
045ec86984
Add typing for react-inlinesvg mock now its included in tsconfig
2024-04-16 12:23:50 +01:00
Tom Ratcliffe
0f88075e4c
Mark TestProvider as deprecated
...
(up for discussion, depending on adoption of test utils. Alternative approach could be to re-use TestProvider in test-utils)
2024-04-16 12:23:50 +01:00
Tom Ratcliffe
9ad87de0b8
Alias @grafana/test-utils for easier imports in tests
2024-04-16 12:23:50 +01:00
Tom Ratcliffe
c0cb36c9d6
Add initial test-utils file with render helper, wrapping in (most) required providers
2024-04-16 12:23:50 +01:00
Josh Hunt
f90e3b2ebc
I18N: Warn if t() called before init ( #86222 )
...
* I18N: Warn if t() called before init
* don't log in tests
* fix double assignemnt!
2024-04-16 12:47:24 +02:00
Gábor Farkas
2379498228
mysql additional decoupling steps ( #86168 )
...
* mysql additional decoupling steps
* updated snapshot test
2024-04-16 11:50:41 +02:00
Leonard Gram
2c304c5fdf
Cloudmigration: org admin can migrate ( #85256 )
2024-04-16 11:36:10 +02:00
Josh Hunt
b5337ba419
I18N: Fix untranslated descriptions in data source picker ( #86216 )
...
I18n: Remove t() call from root module scope
2024-04-16 10:28:24 +01:00
Josh Hunt
f110c05797
I18N: Split loadTranslations i18next plugin into seperate file ( #86217 )
2024-04-16 09:53:23 +01:00
Laura Fernández
f1de8940dc
Grafana UI: StackingEditor and addHideFrom - Replace HorizontalGroup with Stack ( #86192 )
2024-04-16 10:46:01 +02:00
Alexa V
40f1b2c92c
Dashboard: Migration - Add public dashboard tag in the nav bar ( #86204 )
...
Migrate public dashboard badge to scenes dashboard
2024-04-16 10:04:25 +02:00
Gábor Farkas
9015bfa3f4
mssql: decouple sqleng ( #86130 )
...
* mssql: decouple sqleng
* fix codeowners-file
2024-04-16 08:00:14 +00:00
Fabrizio
538db9ab1c
Docs: Fix typos ( #85651 )
2024-04-16 09:58:40 +02:00
Ryan McKinley
ba510d1a7d
Playlists: Enable kubernetesPlaylists by default in OSS ( #86259 )
2024-04-16 09:19:35 +02:00
Torkel Ödegaard
e15beab362
DashboardScene: Fixes saving dashboard with angular panels ( #86098 )
...
* DashboardScene: Fixes saving angularOptions
* Update
* Update
2024-04-16 03:13:42 +02:00
Torkel Ödegaard
869814ea3e
DashboardScene: Fix empty row repeat issue ( #86095 )
2024-04-16 03:10:24 +02:00
Brendan O'Handley
f85470d652
Prometheus: Use the frontend package in Prometheus and remove feature toggle ( #86080 )
...
* add history links for monaco completion provider folder
* add history links for monaco query field folder
* add history links for components folder
* add history links for configuration folder
* add history links for dashboard json folder
* add history links for gcopypaste folder
* add history link for variableMigration
* add history link for querybuilder/components/metrics-modal folder
* add history link for querybuilder/components/promqail folder
* add history links for querybuilder/components folder
* add history links for querybuilder/hooks folder
* add history links for querybuilder/shared folder
* add history links for querybuilder folder
* add history links for querycache folder
* add history links for src folder
* use frontend package and custom auth in module.ts
* remove files and fix import issues
* remove usePrometheusFrontendPackage
* remove extra files
* update betterer
* remove extra files after rebase
* fix betterer for rebase
* fix e2e flakiness
2024-04-15 16:45:23 -05:00
David Allen
c9350a25c4
docs: add annotations play link ( #86206 )
...
* docs: add annotations play link
* PR feedback
2024-04-15 17:30:48 -04:00
Nick Richmond
63aa8a6035
Chore: add missing modowner ( #86234 )
...
* chore: add modowner
* fix: modowner
2024-04-15 23:17:15 +02:00
David Allen
f50e29e004
docs: add thresholds play link ( #86212 )
...
* docs: add thresholds play link
* PR review
2024-04-15 17:16:04 -04:00
David Allen
19ae9377b9
docs: added logs panel play link; added dedup options, reformatted fig ( #86209 )
...
* docs: added logs panel play link; added dedup options, reformatted fig
* Update docs/sources/panels-visualizations/visualizations/logs/index.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* Update docs/sources/panels-visualizations/visualizations/logs/index.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-04-15 17:08:06 -04:00
David Allen
c450d61d32
docs: query data/relative time range override play link ( #86213 )
2024-04-15 15:51:13 -04:00
David Allen
04e127b368
Docs: added bar gauge play link ( #86205 )
...
* docs: added bar gauge play link
* Update docs/sources/panels-visualizations/visualizations/bar-gauge/index.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-04-15 15:50:53 -04:00
David Allen
5a57c31607
Docs: add template var Play link; cleanup existing ( #86074 )
...
* Docs: add template var Play link; cleanup existing
* Update docs/sources/dashboards/variables/_index.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* Update docs/sources/dashboards/variables/_index.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* Apply suggestions from code review
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-04-15 15:32:09 -04:00
Brendan O'Handley
7c156274cd
Prometheus: Add native histogram functions ( #86002 )
...
* add native histogram functions to code editor
* add native histogram function types for query builder
* add functions to query builder
* add test to show parsing breaks from code to builder
* add histogram_avg to code editor
* add histogram_avg to builder and make parity between package and core
* add functions to hard coded promql file for highlighting
* remove native histogram test so that it can be added in #85942
* remove functions from core prometheus js to prevent merge conflict in #86080
* use xit for test instead of removing it
2024-04-15 14:26:51 -05:00
Charandas
2aedd9dacf
K8s: add ID token to requests outbound to new query endpoint ( #86214 )
2024-04-15 20:34:20 +02:00
ismail simsek
cc87281d71
Prometheus: Respect dashboard queries when querying ad hoc filter labels ( #85674 )
...
* use queries
* extract metric name from query
* unit tests
2024-04-15 19:05:19 +02:00
Laura Fernández
82f910c0c5
Chore: Use handleReducedMotion to smooth the animation in LoadingBar ( #85808 )
2024-04-15 17:27:08 +02:00
Isabel Matwawana
219c2c761e
Docs: add dashboards landing page ( #86001 )
...
* Added template from existing landing page
* Added dashboards content
* Fixed front matter
* Referenced existing icon to test
* Added test icon
* Edited text
* Fixed link formatting
* Finalized description and overview text
* Updated description'
* Updated tile text
* Updated docs/ref section
2024-04-15 11:07:05 -04:00
Laura Fernández
726cd4a8a6
Chore: Fix link in UsersTable ( #86152 )
2024-04-15 16:56:28 +02:00
Isabel Matwawana
d9a0cedd89
Docs: add panel overview ( #86075 )
...
* Added panel overview page and updated panel editor page
* Finalized panel overview intro text and added links
* Added add panel section to overview and removed section from editor
* Fixed version interpolation syntax and updated Cloud link
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Fixed version interpolation syntax
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
---------
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-04-15 10:51:00 -04:00
Isabel Matwawana
918f122433
Docs: add tags section to dashboard settings docs ( #85875 )
...
Edited
2024-04-15 10:49:14 -04:00
David Allen
eb46d85829
Docs: add best practices Play link ( #86076 )
2024-04-15 10:47:58 -04:00
Jack Westbrook
1dfd34ee79
Chore: Add codemod and betterer config to make barrel imports explicit ( #80913 )
...
* chore: add codemod for highlighting barrel imports
* style(frontend): add no-barrel-files plugin to betterer
* chore(betterer): update betterer file
* ci(frontend-metrics): track occurrences of barrel files being imported
* chore: clean up explicit barrel imports codemod script
* chore(codeowners): add explicit barrel imports script
* Add no-barrel-files plugin to betterer configuration
Co-Authored-By: LeventeBalogh <balogh.levente.hu@gmail.com >
---------
Co-authored-by: LeventeBalogh <balogh.levente.hu@gmail.com >
2024-04-15 16:36:19 +02:00
renovate[bot]
453a75b767
Update dependency @swc/helpers to v0.5.10 ( #86146 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 15:30:26 +01:00
Alexander Weaver
5b1498f98f
Alerting: Return a 400 and errutil error when trying to delete a contact point that is referenced by a policy ( #85481 )
...
Return a 400 and errutil error when trying to delete a contact point that is referenced by a policy
2024-04-15 09:25:28 -05:00
Laura Fernández
afbd28e160
Chore: RolePickerMenu and RolePickerSubmenu - Replace HorizontalGroup with Stack ( #86145 )
2024-04-15 16:12:47 +02:00
Laura Fernández
499ad35a50
Chore: ActionRow - Replace HorizontalGroup with Stack ( #86143 )
2024-04-15 15:57:15 +02:00
antonio
b2555cfc01
alerting>tutorial>fix ( #86101 )
...
* alerting>tutorial>fix
* Update index.md
2024-04-15 15:46:19 +02:00
renovate[bot]
2868264360
Update dependency @types/react-calendar to v4 ( #86132 )
...
* Update dependency @types/react-calendar to v4
* remove @types/react-calendar since it's no longer used
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-04-15 15:44:12 +02:00
Kristina
0034e9f044
Explore: Change service in hook, un-skip test ( #85894 )
...
Use different service, un-skip test
2024-04-15 08:11:21 -05:00
Kristina
ad3abfc695
Explore: Query history does not save filtered queries ( #85825 )
...
* Bring in datasource filterQuery in, to not save filtered queries to history
* Add test
2024-04-15 08:07:02 -05:00
renovate[bot]
b07f69d1a4
Update dependency @types/marked to v6 ( #86123 )
...
* Update dependency @types/marked to v6
* remove @types/marked since it's no longer needed
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-04-15 15:02:22 +02:00
Gábor Farkas
7ce7584151
postgres: decouple sqleng ( #86055 )
2024-04-15 14:28:03 +02:00
Gábor Farkas
b02317d583
mysql: decouple sqleng ( #86057 )
2024-04-15 14:26:15 +02:00
Dave Henderson
44adfea049
Server: Fix 'server' subcommand double-registration ( #86083 )
...
fix 'server' subcommand double-registration
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-04-15 08:21:03 -04:00
Erik Sundell
ad8d505d81
Chore: Install Playwright deps manually ( #86008 )
...
* install deps manually
* use ubuntu image
* regenerate drone file
* use node bookworm image
* get node major version from variable and wait for grafana server to be ready
2024-04-15 14:19:37 +02:00
Victor Marin
6fb13842a5
Fix Canvas crashing in scenes dashboard ( #86117 )
2024-04-15 15:13:07 +03:00
renovate[bot]
06719e1756
Update dependency i18next to v23.11.2
2024-04-15 11:57:44 +00:00
renovate[bot]
6541be39d1
Update dependency @types/react to v18.2.78
2024-04-15 10:45:52 +00:00
Bogdan Matei
d379e319d6
Implement API server client in Scopes ( #85266 )
2024-04-15 13:43:42 +03:00
renovate[bot]
fc6cad797d
Update dependency @testing-library/react to v15.0.2
2024-04-15 09:42:14 +00:00
David Allen
b0c336c692
Docs: add data source type play link; cleanup ( #86077 )
2024-04-15 10:40:32 +01:00
Pepe Cano
656918ce35
Alerting docs: simplify Supported data sources section ( #85795 )
2024-04-15 10:56:01 +02:00
linoman
51da96d94e
Auth: Add IsClientEnabled and IsEnabled for the authn.Service and authn.Client interfaces ( #86034 )
...
* Add `Service. IsClientEnabled` and `Client.IsEnabled` functions
* Implement `IsEnabled` function for authn clients
* Implement `IsClientEnabled` function for authn services
2024-04-15 10:54:50 +02:00
Laura Fernández
2b62167842
Grafana UI: LoginPage - Replace HorizontalGroup with Stack ( #86068 )
2024-04-15 10:52:28 +02:00
renovate[bot]
6ff021bb9b
Update dependency @playwright/test to v1.43.1
2024-04-15 08:50:38 +00:00
Leonor Oliveira
d17af78e79
Storage: dualwriter delete implementation ( #86000 )
...
* Add delete methods
* Remove duplicated const
* Add tests
* Lint
* Lint
* Remove duplicated test file
* Update pkg/apiserver/rest/dualwriter_mode2.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
* Update pkg/apiserver/rest/dualwriter.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
* Update pkg/apiserver/rest/dualwriter_mode2.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
* Add missing dependency
* Return if object deletion goes wrong
* Add a more complete log
---------
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
2024-04-15 10:48:31 +02:00
Giuseppe Guerra
eec9d3dbc4
Plugins: Removed feature toggle pluginsDynamicAngularDetectionPatterns ( #85956 )
...
* Plugins: Removed feature toggle pluginsDynamicAngularDetectionPatterns
* re-generate feature toggles
2024-04-15 10:37:28 +02:00
renovate[bot]
41e4b95b51
Update dependency @grafana/scenes to v4.8.0 ( #85887 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 10:27:59 +02:00
Ashley Harrison
5e74b6962b
Chore: Add lint rule for no-unreduced-motion ( #85862 )
...
* add lint rule for no-unreduced-motion
* update to satisfy types
2024-04-15 09:18:56 +01:00
renovate[bot]
00daca7f43
Update dependency sass-loader to v14.2.0 ( #86066 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-15 09:18:29 +01:00
Torkel Ödegaard
814ffdbc2b
DashboardScene: Fixes issue moving between dashboards ( #86093 )
2024-04-15 09:18:02 +02:00
Domas
54e1756b49
ButtonSelect: Respect isDisabled option property ( #85954 )
...
make buttonselect respect isDisabled
2024-04-15 10:13:39 +03:00
Torkel Ödegaard
31879f1f5a
useForceUpdate: Return stable function ( #86094 )
2024-04-15 09:13:16 +02:00
ismail simsek
23cd2d3e6f
Chore: Add jest config to grafana-prometheus ( #86078 )
...
add jest config
2024-04-12 21:17:53 +02:00
Yuri Tseretyan
12605bfed2
Alerting: Update fixed roles to include silences permissions ( #85826 )
...
* update fixed roles to include silences
* add silence actions to managed permissions
* update documentation
2024-04-12 12:37:34 -04:00
Ieva
56f4664875
RBAC: add a feature toggle for action sets ( #86064 )
...
* add a feature toggle for action sets
* update feature toggle name
2024-04-12 17:19:25 +01:00
Laura Fernández
f3b814a024
Grafana UI: ToolbarButton.story.tsx - Replace HorizotalGroup and VerticalGroup with Stack ( #86067 )
2024-04-12 18:08:43 +02:00
Prapti Sharma
930363ad12
Minor correction done in WORKFLOW.md ( #80505 )
...
Update WORKFLOW.md
Co-authored-by: Laura Benz <laura.benz@grafana.com >
2024-04-12 17:56:10 +02:00
Faye Lin
a94ab259c6
Expression: Fix a bug of the display name of the threshold expression result ( #85912 )
...
* replace ReferenceVar with RefID when creating the math command for the ThresholdCommand
* Fix the Hysteresis test
2024-04-12 17:46:14 +02:00
Joao Silva
10c6ab5a17
Chore: Replace HorizontalGroup with Stack in SelectOrgPage and ChangePasswordForm ( #86061 )
2024-04-12 16:32:57 +01:00
renovate[bot]
6417e92ebe
Update dependency sass to v1.75.0 ( #86051 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-12 16:17:13 +01:00
Steve Simpson
ad7f804255
Alerting: Fix evaluation metrics to not count retries ( #85873 )
...
* Change evaluation metrics to only count once per eval, and add new metrics.
* Cosmetic: Move eval total Inc() to orginal place.
2024-04-12 16:20:46 +02:00
Tobias Skarhed
f1f02207f2
Alerting: Improve heading accessibility ( #85723 )
...
* Change from h5 to Text component
* Fix goworksum error
* Add headings for contact points and notification policies
* Alert group h2
* Reset labels and move h2 to group by
---------
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-04-12 16:19:47 +02:00
lean.dev
c8d185502b
Fixes CMS url for dev environment ( #86056 )
2024-04-12 14:19:38 +00:00
Gábor Farkas
ee1ece1cf8
sql: use resample from grafana-plugin-sdk-go ( #85599 )
...
* copied files
* add copy of Pointer
* fix the API
* forward resample to the namespaced code
* moved the aligning-code to the parent
* call namespaced resample directly
* lint fix
* lint fix
* switch to plugin-sdk-go resample
* adjusted import path
2024-04-12 15:22:28 +02:00
github-actions[bot]
b295f09af6
I18n: Download translations from Crowdin ( #86050 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-12 15:17:33 +02:00
renovate[bot]
c1b8ee8453
Update dependency typescript to v5.4.5
2024-04-12 15:06:30 +02:00
renovate[bot]
a5cd88c67e
Update dependency typescript to v5.4.3 ( #84470 )
...
* Update dependency typescript to v5.4.3
* refactor: solve TS errors
* refactor: update yarn.lock
* refactor: return type
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Laura Benz <laura.benz@grafana.com >
2024-04-12 14:46:47 +02:00
Josh Hunt
3b4983695e
E2C: Remove mock api ( #86043 )
2024-04-12 13:26:13 +01:00
Arati R
aba15646b6
Storage: Add DualWriter improvements ( #85968 )
...
* Add Create tests
* Adjust mode 2 and mode 3 Get behavior
---------
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-04-12 14:21:10 +02:00
Ashley Harrison
b3401c802c
EmptyState: make "message" a required prop ( #86029 )
...
* make "message" a required prop on EmptyState
* run i18n:extract
2024-04-12 13:13:28 +01:00
Leon Sorokin
2bedbcf344
TimeSeries: Fix series rendering with data links and extra fields ( #86007 )
2024-04-12 14:11:22 +02:00
renovate[bot]
c2a81f3020
Update react monorepo
2024-04-12 11:58:02 +00:00
renovate[bot]
ba80c15281
Update dependency react-hook-form to v7.51.3
2024-04-12 11:35:25 +00:00
Andre Pereira
1a62d94c55
Tempo: Return raw result from traceql query ( #86032 )
...
Return raw result from traceql query
2024-04-12 12:26:27 +01:00
renovate[bot]
44a612a96b
Update dependency @types/eslint to v8.56.9
2024-04-12 11:11:55 +00:00
github-actions[bot]
5ea7a1eefd
I18n: Download translations from Crowdin ( #86030 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-12 10:38:51 +00:00
renovate[bot]
63d63ea9fb
Update dependency @testing-library/react to v15.0.1
2024-04-12 10:27:38 +00:00
Krishna Dhakal
068bcfbdb0
Frontend Testing: Replace deprecated toBeCalledWith Jest matcher. ( #85929 )
2024-04-12 11:26:01 +01:00
Karl Persson
73fecc8d80
Authn: Identity resolvers ( #85930 )
...
* AuthN: Add NamespaceID struct. We should replace the usage of encoded namespaceID with this one
* AuthN: Add optional interface that clients can implement to be able to resolve identity for a namespace
* Authn: Implement IdentityResolverClient for api keys
* AuthN: use idenity resolvers
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
2024-04-12 11:38:20 +02:00
renovate[bot]
c837d95677
Update dependency @swc/helpers to v0.5.9 ( #86024 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-12 10:34:53 +01:00
Ashley Harrison
40c148ba48
EmptyState: Provide custom messages for existing empty states ( #86021 )
...
provide custom messages for existing empty states
2024-04-12 11:08:14 +02:00
Ashley Harrison
505bdf5a8d
Chore: add @types/history to renovate ignore list ( #86011 )
...
add @types/history to renovate ignore list
2024-04-12 10:00:27 +01:00
David Allen
a1086836f3
Docs: add mysql data source Play link ( #85982 )
2024-04-12 09:47:59 +01:00
David Allen
bf9df1a8d6
Docs: add graphite data source Play link ( #85981 )
2024-04-12 09:47:51 +01:00
Tom Ratcliffe
ce5fc59d54
Use ActiveTab type for custom hook
2024-04-12 09:13:29 +01:00
Tom Ratcliffe
ccaf850c09
Refactor to useTabQueryParam
2024-04-12 09:13:29 +01:00
Tom Ratcliffe
d91e1a4e3a
Refactor tab query param logic and add tests
2024-04-12 09:13:29 +01:00
Tom Ratcliffe
800a2e0228
Fix tests being stateful due to locationService
2024-04-12 09:13:29 +01:00
Tom Ratcliffe
94ad66998f
Send tab query param through when returning from template save
2024-04-12 09:13:29 +01:00
Tom Ratcliffe
933cc3f075
Tweak ContactPoints to use query param for tab selection
2024-04-12 09:13:29 +01:00
Diego Augusto Molina
e6ead667b3
Unified Storage: added pkg/util/ring package to handle queueing of notifications ( #84657 )
...
* added pkg/util/rinq package to handle queueing of notifications
* fix linters
* Fix typo in comment
Co-authored-by: Dan Cech <dcech@grafana.com >
* improve allocation strategy for Enqueue; remove unnecessary clearing of slice
* Update pkg/util/ringq/dyn_chan_bench_test.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update pkg/util/ringq/ringq.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* refactor to move stats and shrinking into Ring
* add missing error assertions in tests
* add missing error assertions in tests and linting issues
* simplify controller closed check
* improve encapsulation of internal state in Ring
* use (*Ring).Len for clarity instead of stats
---------
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-04-11 19:32:31 -03:00
Adela Almasan
eb86fd867f
Canvas: Update new element type with rotation ( #85690 )
2024-04-11 15:36:33 -05:00
Dave Henderson
5cfca8dbf6
chore: bump Go to 1.21.9 ( #85964 )
...
* chore: bump Go to 1.21.9
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* regen .drone.yml
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-04-11 15:37:07 -04:00
Charandas
a39fe593c2
K8s: remove standalone authenticator in favor of providing one through the factory ( #85901 )
2024-04-11 21:30:23 +02:00
grafana-delivery-bot[bot]
1031c2f1d2
Changelog: Updated changelog for 10.4.2 ( #85997 )
...
Co-authored-by: grafanabot <bot@grafana.com >
2024-04-11 18:49:19 +00:00
Brendan O'Handley
a25b59c6d8
Prometheus: Change feature toggle usePrometheusFrontendPackage to general availability ( #85951 )
...
change feature toggle to GA after testing
2024-04-11 14:13:30 -04:00
Ieva
58059da10b
RBAC: Fix global role deletion in hosted Grafana ( #85980 )
...
take into account the value of RBACSingleOrganization setting when determining org
2024-04-11 18:50:23 +01:00
David Allen
623d4d580e
Docs: add bar/pie visualization Play link ( #85898 )
...
* Update index.md
* pie chart equivalent commit
* Updated titles to match dashboard title
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-04-11 13:27:38 -04:00
David Allen
17a8de68e6
Docs: add gague visualization Play link ( #85897 )
...
* Docs: add gague visualization Play link
* Fixed typo
* Updated title to match dashboard title
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-04-11 13:27:07 -04:00
David Allen
765f20c555
Docs: add time series visualization Play link ( #85885 )
...
* docs/play shortcode: time series visualization
* Ran prettier
* Updated title to match title of dashboard in Grafana Play
---------
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-04-11 13:17:16 -04:00
Giuseppe Guerra
e42d8f0bd0
Plugins: Removed feature toggle enablePluginsTracingByDefault ( #85953 )
2024-04-11 18:40:47 +02:00
David Allen
83438bd231
Docs: add Table visualization Play link ( #85896 )
...
Docs: add stat visualization Play link
2024-04-11 12:13:24 -04:00
Isabel Matwawana
2798acd667
Docs: fix duplicate headings ( #85903 )
...
Added suffix to one Placement heading
2024-04-11 12:12:47 -04:00
David Allen
cdfd092d11
Docs: add stat visualization Play link ( #85895 )
2024-04-11 12:11:48 -04:00
renovate[bot]
51d5a4c8f2
Update dependency @testing-library/dom to v10 ( #85958 )
...
* Update dependency @testing-library/dom to v10
* update @testing-library/react as well
* fix unit tests
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-04-11 17:29:35 +02:00
Summer
92d659527d
Release: Update drone-pipeline.md ( #85950 )
...
Update drone-pipeline.md
2024-04-11 09:00:29 -06:00
Andres Martinez Gotor
ab5a065256
Revamp plugin loading error management ( #85939 )
2024-04-11 16:18:04 +02:00
renovate[bot]
bb56f4a605
Update dependency @grafana/e2e to v10 ( #85952 )
...
* Update dependency @grafana/e2e to v10
* remove @grafana/e2e dependency from @grafana/prometheus
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-04-11 16:16:12 +02:00
Darren Janeczek
34875344ed
datatrails: fix: clear undefined query params on history step change ( #85607 )
...
* fix: clear undefined query params on history step change
* Minor tweak
* fix: resolve CodeQL check: Client-side cross-site scripting
---------
Co-authored-by: Torkel Ödegaard <torkel@grafana.com >
2024-04-11 09:52:33 -04:00
renovate[bot]
b4b0a80e86
Update dependency sass to v1.74.1 ( #85947 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 14:32:37 +01:00
Marcus Efraimsson
78f460c4de
Tracing: Allow otel service name and attributes to be overridden from env ( #85937 )
...
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com >
2024-04-11 15:18:46 +02:00
renovate[bot]
0d42e025f0
Update dependency webpack-bundle-analyzer to v4.10.2
2024-04-11 12:53:27 +00:00
Joao Silva
cf640717ba
Chore: Upgrade uglify-js to fix vulnerability ( #85889 )
2024-04-11 13:51:51 +01:00
Jack Baldry
61e2a5354e
Revert "Docs: Clarify open source documentation ( #77077 )" ( #85879 )
2024-04-11 13:51:24 +01:00
Bruno
69a92a7a2f
CloudMigrations: include stack id in access policy and token names ( #85868 )
...
* CloudMigrations: include stack id in access policy and token names
* CloudMigrations: include slug in the display name
* formatting
2024-04-11 09:43:46 -03:00
Gábor Farkas
050105e70a
plugins: update to latest go plugin sdk version (v0.222.0) ( #85943 )
...
plugins: update to latest go plugink sdk (v0.222.0)
2024-04-11 14:41:37 +02:00
Josh Hunt
6d35fb307f
Chore: Run PR checks when enabling auto-merge ( #85857 )
2024-04-11 14:11:21 +02:00
renovate[bot]
af115c1d93
Update dependency jest-fail-on-console to v3.2.0 ( #85936 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 13:51:45 +02:00
Arati R
4e532b00e1
Storage: Add mode-specific List implementations ( #85814 )
...
* Add List methods to mode 1 and 4
* Refactor errors
2024-04-11 13:41:05 +02:00
renovate[bot]
4af239af39
Update dependency i18next to v23.11.1 ( #85935 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 12:33:50 +01:00
Marcus Efraimsson
3e385763c5
Tracing: Improve HTTP request/middleware spans and standalone apiserver ( #85715 )
...
Fixes so that auth middleware trace/span doesn't wrap the next handlers.
Allow tracing service name to be overridden in standalone apiserver.
Change k8s api tracing operation name to KubernetesAPI from
grafana-apiserver (which is the service name)
2024-04-11 13:28:23 +02:00
renovate[bot]
877aaf87d2
Update dependency dompurify to v3.1.0 ( #85932 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 13:14:32 +02:00
renovate[bot]
6a4ef71c4e
Update dependency @types/eslint to v8.56.8
2024-04-11 10:55:18 +00:00
renovate[bot]
5a471420d0
Update dependency centrifuge to v5.1.1 ( #85923 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 11:29:15 +01:00
Timur Olzhabayev
116088c722
Chore: Making versioncheck url rely on config instead of being hardcoded ( #85855 )
...
* Making versioncheck url rely on config instead of being hardcoded
* Update pkg/services/updatechecker/plugins.go
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
* making the names a bit more generic and using url.url library
* fixing tests
* fixing linting
---------
Co-authored-by: Will Browne <wbrowne@users.noreply.github.com >
2024-04-11 12:04:53 +02:00
Adam Yeats
0ec8ccbf66
Google Cloud Monitor: Fix interface conversion for incorrect type in cloudMonitoringProm.run ( #85811 )
2024-04-11 11:59:34 +02:00
Fabrizio
653d9fa895
Loki: Handle X-Scope-OrgID and tenant IDs ( #85726 )
2024-04-11 11:51:54 +02:00
renovate[bot]
37f1ea7b57
Update dependency @playwright/test to v1.43.0 ( #85918 )
...
* Update dependency @playwright/test to v1.43.0
* update playwright image
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-04-11 11:45:36 +02:00
Bogdan Matei
62c512662c
Dashboard: Allow auto refresh option when saving a dashboard ( #85581 )
...
Fix saving auto refresh option
2024-04-11 12:31:47 +03:00
renovate[bot]
26805906dd
Update dependency @grafana/plugin-e2e to v1.1.0 ( #85917 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-11 11:04:13 +02:00
Laura Fernández
2986273273
Grafana UI: CellActions - Replace HorizontalGroup with Stack ( #85860 )
2024-04-11 10:59:23 +02:00
renovate[bot]
1ed3dc22d5
Update react monorepo
2024-04-11 08:47:05 +00:00
dependabot[bot]
cab7fefef5
Bump actions/checkout from 3 to 4 ( #84529 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 09:44:09 +01:00
Josh Hunt
c024d51a38
Chore: Remove a buncha stuff from Sandbox TestStuffPage ( #85876 )
2024-04-11 09:40:30 +01:00
renovate[bot]
8461310e36
Update dependency rc-cascader to v3.24.1
2024-04-11 08:27:47 +00:00
Karl Persson
895222725c
Session: set authID and authenticatedBy ( #85806 )
...
* Authn: Resolve authenticate by and auth id when fethcing signed in user
* Change logout client interface to only take Requester interface
* Session: Fetch external auth info when authenticating sessions
* Use authenticated by from identity
* Move call to get auth-info into session client and use GetAuthenticatedBy in various places
2024-04-11 10:25:29 +02:00
Andres Martinez Gotor
f375af793f
Plugin loader: refactor step evaluation ( #85881 )
2024-04-11 09:41:05 +02:00
renovate[bot]
1e9841b1c9
Update dependency ol-ext to v4.0.18
2024-04-10 21:14:15 +00:00
Darren Janeczek
2e1e45bbb1
datatrails: ensure breakdown yaxis sync is maintained when layout changes ( #85380 )
...
fix: ensure breakdown yaxis sync is maintained when layout changes
2024-04-10 17:12:33 -04:00
renovate[bot]
486c956098
Update dependency nanoid to v5.0.7
2024-04-10 19:56:56 +00:00
renovate[bot]
9fc8599bbf
Update dependency eslint-plugin-jsdoc to v48.2.3
2024-04-10 18:14:13 +00:00
Tom Ratcliffe
a852b70953
Fix console.errors from edit group modal tests
2024-04-10 19:13:41 +01:00
Tom Ratcliffe
fff524b54c
Make quick eval buttons in group edit set dirty state on form and handle invalid case
2024-04-10 19:13:41 +01:00
Tom Ratcliffe
584d2bcb91
Remove useEffect that was setting incorrect display value for pending period
2024-04-10 19:13:41 +01:00
Sergej-Vlasov
79631bdd15
DashboardScene: prevent panel hovel header crop with scenes ( #85869 )
...
* add behaviour that adjusts hoverHeaderOffset
* clean up behaviour logic
* optimise and extract behaviour to separate file
* fix hoverHeaderOffsetBehavior unsubscribe
* update to latest scenes version
* Fix PanelOptionsTest
* fix: test value for adhoc filter url param
* Fix transformation tab tests
* bump scenes version
* Revert "Fix transformation tab tests"
This reverts commit 3ec9f5b226 .
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
Co-authored-by: Darren Janeczek <darren.janeczek@grafana.com >
Co-authored-by: oscarkilhed <oscar.kilhed@grafana.com >
2024-04-10 20:39:43 +03:00
Armand Grillet
212acb9bc5
Alerting: clarify alerting silences ( #85853 )
...
* Clarify alerting silences
* Update docs/sources/alerting/configure-notifications/create-silence.md
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
---------
Co-authored-by: Tom Ratcliffe <tom.ratcliffe@grafana.com >
2024-04-10 18:30:21 +02:00
Laura Fernández
cd79fe1a7c
Grafana UI: ThemeDemo - Replace HorizontalGroup and VerticalGroup with Stack and Box ( #85888 )
2024-04-10 18:23:31 +02:00
Josh Hunt
7aac5f6b3e
Chore: Fix custom eslint rule typechecking ( #85886 )
2024-04-10 17:12:31 +01:00
linoman
85e66d8edb
Chore: Fix position for RolePickerMenu being out of bounds ( #85604 )
...
* Fix position for RolePickerMenu being out of bounds
* adjust the offset of the role picker menu
2024-04-10 17:51:50 +02:00
Dominik Prokop
483dc02b68
Remove repeating responsibility from LibraryVizPanel ( #84879 )
...
* Remove repeating responsibility from LibraryVizPanel
* Improvements
2024-04-10 17:46:42 +02:00
Dominik Prokop
615fa73f23
DashboardScene: Enrich requests correctly in edit mode ( #85883 )
2024-04-10 17:38:37 +02:00
renovate[bot]
b1ad46e426
Update dependency @types/node to v20.12.7
2024-04-10 15:26:09 +00:00
Todd Treece
796b15d9e0
Metrics: Prevent duplicates in MultiRegistry ( #85880 )
2024-04-10 10:55:24 -04:00
Kristina
60edd988ac
Explore: Skip flaky test ( #85878 )
...
Skip flaky test
2024-04-10 16:05:07 +02:00
Ashley Harrison
3c69de6be5
Chore: removing some type assertions ( #85839 )
...
* fix some type assertions in loops
* some more cleanup
* some alerting fixes
* put comments in correct place to ignore rule
* couple more
* undo SilencesFilter changes
2024-04-10 14:54:31 +01:00
ismail simsek
96f49bfaee
InfluxDB: Fix panic when reading concurrency count during influxql health check ( #85771 )
...
fix panic when reading concurrency count during influxql health check
2024-04-10 15:32:38 +02:00
Sergej-Vlasov
33b6f45a9e
Revert "DashboardScene: prevent panel hovel header crop with scenes" ( #85865 )
...
Revert "DashboardScene: prevent panel hovel header crop with scenes (#85780 )"
This reverts commit 23f1732855 .
2024-04-10 16:27:53 +03:00
renovate[bot]
2fc8342248
Update dependency @kusto/monaco-kusto to v10.0.19
2024-04-10 13:24:23 +00:00
Kristina
98c575d28f
Explore: Query history should gracefully handle undefined exploreId on run button ( #85821 )
...
* Gracefully handle undefined exploreId on run button
* Add test
2024-04-10 07:21:29 -06:00
Isabel Matwawana
d666b92317
Docs: add unit scaling clarification ( #85830 )
...
* Added unit scaling information
* Edited
2024-04-10 09:11:59 -04:00
renovate[bot]
c650b016e4
Update dependency @grafana/scenes to v4.5.7
2024-04-10 13:05:07 +00:00
Sergej-Vlasov
23f1732855
DashboardScene: prevent panel hovel header crop with scenes ( #85780 )
...
* add behaviour that adjusts hoverHeaderOffset
* clean up behaviour logic
* optimise and extract behaviour to separate file
* fix hoverHeaderOffsetBehavior unsubscribe
* update to latest scenes version
* Fix PanelOptionsTest
* fix: test value for adhoc filter url param
* Fix transformation tab tests
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
Co-authored-by: Darren Janeczek <darren.janeczek@grafana.com >
Co-authored-by: oscarkilhed <oscar.kilhed@grafana.com >
2024-04-10 15:39:51 +03:00
Tobias Skarhed
c602d9d6ad
News: Change from h3 to h2 ( #85858 )
...
Change from h3 to h2
2024-04-10 14:00:25 +02:00
Laura Fernández
22d33bd354
Grafana UI: SecretTextArea - Replace HorizontalGroup with Stack and Box ( #85849 )
2024-04-10 13:41:02 +02:00
renovate[bot]
d480cf4977
Update dependency @grafana/faro-web-sdk to v1.5.1
2024-04-10 11:24:40 +00:00
github-actions[bot]
3c8519816c
I18n: Download translations from Crowdin ( #85797 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-10 11:22:53 +00:00
renovate[bot]
8975e24b2b
Update dependency @grafana/faro-web-sdk to v1.5.1
2024-04-10 10:44:24 +00:00
Alexander Zobnin
3127566a20
Access control: Use ResolveIdentity() for authorizing in org ( #85549 )
...
* Access control: Use ResolveIdentity() for authorizing in org
* Fix tests
* Fix middleware tests
* Use ResolveIdentity in HasGlobalAccess() function
* remove makeTmpUser
* Cleanup
* Fix linter errors
* Fix test build
* Remove GetUserPermissionsInOrg()
2024-04-10 12:42:13 +02:00
Karl Persson
ebb4bb859e
Authn: allow ResolveIdentity to authenticate in "global" scope ( #85835 )
...
* Authn: allow ResolveIdentity to authenticate in "global" scope
* Use constant
2024-04-10 11:53:45 +02:00
renovate[bot]
a3ed1855ff
Update dependency @grafana/faro-core to v1.5.1
2024-04-10 09:46:06 +00:00
Laura Fernández
1dce01fdd7
Grafana UI: PanelChrome - Replace HorizontalGroup with Stack in documentation and stories ( #85843 )
2024-04-10 11:44:03 +02:00
renovate[bot]
0585b55bb1
Update dependency @floating-ui/react to v0.26.12 ( #85842 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-10 12:26:02 +03:00
Karl Persson
fd870702c7
Chore: Remove unused function TryRotateToken ( #85836 )
...
* Chore: Remove unused function
* remove unused function
2024-04-10 11:15:43 +02:00
Josh Hunt
f484519784
E2C: Refactor on-prem ConnectModal ( #85799 )
...
* Refactor on-prem ConnectModal to not use ModalProvider
* fix
2024-04-10 10:07:52 +01:00
renovate[bot]
651223fe2d
Update babel monorepo to v7.24.4
2024-04-10 09:06:54 +00:00
renovate[bot]
77c97f69a9
Update opentelemetry-js monorepo ( #85337 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-10 09:28:20 +01:00
Ashley Harrison
bbf874b96d
ConfirmModal: Pressing enter in confirmation input now triggers primary action ( #85812 )
...
wrap confirm modal in a form
2024-04-10 09:22:22 +01:00
Tristan
8f5839fe8f
CloudWatch: Add additional Glue metrics ( #85798 )
2024-04-09 19:31:39 +00:00
Oscar Kilhed
96abe65fe4
Dashboard scenes: Fix export tab not including variables when exporting externally ( #85807 )
...
Fix export tab not including variables when exporting externally
2024-04-09 20:39:30 +02:00
Darren Janeczek
66c0fd4dcc
chore: update datatrails feature flag and enable ( #85508 )
...
* chore: update datatrails feature flag and enable
* fix: rename `datatrails` feature flag to `exploreMetrics`
2024-04-09 14:15:18 -04:00
Victor Marin
b6249d6a50
Check source panel for updates in Dashboard DS panel ( #85655 )
...
* Check source panel for updates in Dashboard DS panel
* Test
* made it better
* cleanup
* cleanup and tests
* fix failing tests
* find the correct dashboard query
* revert mixed check in dashboard behaviour
* Dashboard data source: Return error when used in mixed data source (#85765 )
* MixedDS: Inform about dashboard ds not being supported
* lint fix
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2024-04-09 20:59:37 +03:00
Matthew Jacobson
f79dd7c7f9
Alerting: Persist silence state immediately on Create/Delete ( #84705 )
...
* Alerting: Persist silence state immediately on Create/Delete
Persists the silence state to the kvstore immediately instead of waiting for the
next maintenance run. This is used after Create/Delete to prevent silences from
being lost when a new Alertmanager is started before the state has persisted.
This can happen, for example, in a rolling deployment scenario.
* Fix test that requires real data
* Don't error if silence state persist fails, maintenance will correct
2024-04-09 13:39:34 -04:00
Tobias Skarhed
c7e4baff75
Explore: Add h1 for screen readers ( #85794 )
...
* Add h1 in Explore for screen readers
* Add i18n
* Move to ExplorePage
2024-04-09 18:15:44 +02:00
Ieva
9a2969fb4f
RBAC: hide save button for users who can't save dashboard ( #85758 )
...
hide save button for users who can't save dashboard
2024-04-09 17:09:41 +01:00
Ivan Ortega Alba
27bc0c19ab
DashboardScene: Detect changes when editing a panel ( #85708 )
2024-04-09 18:48:10 +03:00
Todd Treece
72472e5eb7
K8s: Add slog wrapper ( #84680 )
2024-04-09 18:39:25 +03:00
Leonor Oliveira
518d3341d5
Add Get method in dual writer ( #85589 )
...
* Add Get method in dual writer
* Update pkg/apiserver/rest/dualwriter_mode3.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Actually run the tests
* no need for t.Run()
* Update pkg/apiserver/rest/dualwriter_mode3.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update pkg/apiserver/rest/dualwriter_mode3.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Update pkg/apiserver/rest/dualwriter_test.go
Co-authored-by: Dan Cech <dcech@grafana.com >
* Log improvements
* Fix method name
---------
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-04-09 16:08:20 +02:00
Isabel Matwawana
1b1450e593
Docs: add updated youtube link ( #85801 )
...
Updated youtube link
2024-04-09 09:30:58 -04:00
Laura Fernández
88f116e96b
CSS: use prefers-reduced-motion to let users skip animations ( #85450 )
2024-04-09 15:27:28 +02:00
Will Browne
698436aa29
Plugins: Update to latest go plugin sdk (v0.221.0) ( #85796 )
...
* update plugin sdk
* fix indirect
2024-04-09 15:06:05 +02:00
Kristina
5305316f5a
Explore: Move Query History to be screen wide ( #84321 )
...
* WIP
* Use splitpanewrapper for drawer
* Get rich history pulling from multiple datasources
* highlight pane
* Fix datasource data handling
* create ds/explore map, move around ds lookup
* Handle no filters
* Fix tests and some errors
* Fix context menu issue
* (Poorly) enable scrolling, fix onClose to function
* Remove highlighting, use legacy key, fix casing
* fix filtering to handle non-simple data
* Fix linter, add translations
* Fixing tests~~
* Move to explore drawer and fix some more tests
* Kinda fix drawer stuff?
* Fix remaining card tests
* Fix test
* Fix tests
* Partially fix starred tab tests
* Fix integration tests
* Fix remaining tests 🤞
* Add a test and a clarifying comment behind a couple hooks
* Remove unused code
* Fix button styling and fix animation (but break width)
* Make Drawer using parent width (100%)
* Fix tests and some small catches
* Add tests for selectExploreDSMaps selector
---------
Co-authored-by: Piotr Jamroz <pm.jamroz@gmail.com >
2024-04-09 07:36:46 -05:00
Andreas Christou
3420e942ac
Chore: Update RPM docs to include beta release references ( #85753 )
...
* Update RPM docs to include beta release references
* andreas/update-installation-docs/ run lint
* Don't number lists
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com >
2024-04-09 14:11:22 +03:00
Laura Fernández
00be24d6b3
Chore: Create handleReduceMotion util function to manage animations ( #85785 )
2024-04-09 13:10:37 +02:00
kay delaney
02096c4e22
Dashboards: Add isViewing to mustKeepProps ( #85748 )
2024-04-09 10:33:59 +00:00
idafurjes
5c4a2de59b
Add FolderUID for library elements ( #83819 )
...
* Revert "Revert "Add FolderUID for library elements" (#83776 )"
This reverts commit 0dfdb2ae47 .
* Fix bug, dashboard id and library element fodler_id are the corresponding values
Dashboard table hold both dahboards and tables
2024-04-09 12:27:43 +02:00
Santiago
2e7cc68394
Alerting: Remove CleanUp method from the Alertmanager ( #85650 )
...
Alerting: Remove Cleanup method from the Alertmanager
2024-04-09 12:13:27 +02:00
Ashley Harrison
4b5b738646
Time Zones: Fix relative time when using UTC timezone ( #85637 )
...
add UTC case to e2e test + let UTC pass through to moment.tz
2024-04-09 09:54:57 +01:00
Leonor Oliveira
8d75dcec04
Add better logging to the dual writer ( #85594 )
...
* Make Legacy a public field
* Remove duplicated Create method
* Add logger to dualwriter
* Use klog
* Add comment about selecting the dual writer
* Update pkg/apiserver/rest/dualwriter_mode1.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
* Update pkg/apiserver/rest/dualwriter_mode2.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
* Update pkg/apiserver/rest/dualwriter_mode3.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
* Update pkg/apiserver/rest/dualwriter_mode3.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
* Update pkg/apiserver/rest/dualwriter_mode2.go
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
* Create error var
* Lint
---------
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com >
2024-04-09 10:54:09 +02:00
Misi
4c12d77b98
Util: Support parsing and splitting strings enclosed in quotes in util.SplitString ( #85735 )
...
* Support parsing string enclosed in quotation marks in util.SplitString
* Support mixed formats of string list
2024-04-09 10:35:57 +02:00
Hugo Kiyodi Oshiro
b200156a01
Plugins: Show update buttons when instance version is different ( #85486 )
2024-04-09 10:32:34 +02:00
Laura Fernández
0bdb96552a
Grafana UI: Modal - Replace HorizontalGroup with Stack ( #85756 )
2024-04-09 10:31:11 +02:00
Erik Sundell
0f1b65a7ad
Grafana E2E: Add deprecation notice and update docs ( #85619 )
...
* add deprecation notice
* update docs
* Update packages/grafana-e2e/README.md
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
---------
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com >
2024-04-09 10:10:19 +02:00
Ivan Ortega Alba
df72cfd38e
Dashboard: Move "add" actions into a dropdown ( #85776 )
...
* Move all add actions into a dropdown
* Hide alerts rules when editing
* Hide fav icon when editing
2024-04-09 11:09:37 +03:00
Sonia Aguilar
e234d098e9
Alerting: Get oncall metada only when we have alert manager configuration data ( #85622 )
...
* Get oncall metada from url in settings only when we have alert manager configuration
* Add test in useContactPointsWithStatus hook
* Fix tests
2024-04-09 09:02:44 +02:00
Gábor Farkas
8a15ed42ae
PostgreSQL: Fix the verify-ca mode ( #85530 )
...
postgres: fix the verify-ca problem
2024-04-09 08:39:45 +02:00
Torkel Ödegaard
4f290ebf99
DataTrails: Do not create a new VizPanel every activation ( #85693 )
2024-04-09 08:39:26 +02:00
Yuri Tseretyan
509691b416
Alerting: Introduce authorization logic for operations on silences ( #85418 )
...
* extract genericService from RuleService just to reuse it later
* implement silence service
---------
Co-authored-by: William Wernert <william.wernert@grafana.com >
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
2024-04-08 18:02:28 -04:00
Dai Nguyen
9d7e758e04
Update teamHttpHeaders casing ( #85767 )
...
teamHTTPHeaders does not work.
teamHttpHeaders is the correct syntax for the feature toggle.
2024-04-08 22:24:19 +01:00
Isabel Matwawana
8014665ab5
Docs: g11 preview whats new fixes ( #85759 )
...
* Made style fixes to intro
* Updated upgrade guide menu title
* Commented Explore metrics docs link back in
2024-04-08 15:08:40 -04:00
Yuri Tseretyan
e167a435c8
Alerting: Add description of a new role ( #85218 )
2024-04-08 15:01:15 -04:00
Eve Meelan
3721682a02
PR to document Explore Metrics (previously datatrails) ( #85212 )
...
* text dump
* initial edits
* more edits
* added more info, made edits
* first draft
* removed some commented out content
* final edits
* made requested changes
* feature name change
* missed a metrics explore - fixed
* ran prettier
---------
Co-authored-by: lwandz13 <larissa.wandzura@grafana.com >
2024-04-08 13:24:32 -05:00
Dan Cech
5dfe4cf407
Storage: Watch tests ( #85496 )
...
* basic watch tests working
* refactor to read previous event within poller
* add watch test files
* cleanup
* watch tests passing
* debug cleanup
* special handling for canceled context
* cleanup
* fix wire
* fix sqlite_sequence cleanup issue
* move watch tests to integration, wait for provisioned dashboards
* handle context deadline exceeded and eof errors
* add comment about sleep
2024-04-08 11:42:12 -04:00
Pepe Cano
0672bdf397
Alerting docs: add Template variable interpolation section in file provisioning ( #84106 )
...
* Alerting docs: add `Template variable interpolation` section in file provisioning
* Update docs/sources/alerting/set-up/provision-alerting-resources/file-provisioning/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/set-up/provision-alerting-resources/file-provisioning/index.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/set-up/provision-alerting-resources/file-provisioning/index.md
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
Co-authored-by: Matthew Jacobson <matthew.jacobson@grafana.com >
2024-04-08 17:34:26 +02:00
Laura Fernández
0e12f60ee6
Grafana UI: FilterPill.story.tsx - Replace HorizontalGroup with Stack ( #85736 )
2024-04-08 17:21:58 +02:00
Gábor Farkas
ccd13bf08e
postgres: add tests to handle multiple statements in the same query ( #85523 )
...
* postgres: add tests to handle multiple statements in the same query
* better test explanation
2024-04-08 16:56:23 +02:00
Isabel Matwawana
fe3b6d3c5e
Docs: add youtube links to g11 preview what's new ( #85738 )
...
* Added youtube links
* Commented scenes video out
2024-04-08 10:55:48 -04:00
Torkel Ödegaard
edf36d9ec0
DashboardScene: Fixes issue with mobile responsive layout due to repeated grid item class ( #85731 )
2024-04-08 16:55:35 +02:00
owensmallwood
37d39de36d
Storage Api: Add metrics ( #85316 )
...
* Storage server runs own instrumentation server if its the sole target. Starts adding some sample metrics for now.
* adds metric for failed optimistic locks
* refactors metrics registration to own method on service for testability. Adds tests.
* Register sql storage server metrics from within the service
* fixes test
* troubleshooting drone test failures. Maybe timing when starting instrumentation server?
* Waits until instrumentation server has started. Updates tests.
* defer wont get called unless theres an error. removing.
* wait for instrumentation server to be running
* linter - close res body
* use port 3000 for metrics and removes test metric inc() call
* fixes test - updates port
* refactors module server to provide an instrumentation server module when there is no ALL or CORE target provided and running as single target
* make instrumentation server a dependency of all modules that do not run their own http server
* adds module server test
* adds tests for instrumentation service and removes old tests that aren't needed
* ignore error in test
* uses helper to start and run service
* when running wait on ctx done or http server err
* wait for http server
* removes println
* updates module server test to be integration test
* require no error in goroutine
* skips integration test when GRAFANA_TEST_DB not defined
* move http server start into start, verify returned content
* make test error when run fails
* try waiting longer and see if drone tests pass
* update integration test mysql creds to match drone
* go back to only waiting half second
* debug log drone mysql connection string
* use same db connection config as drone
* try using same hostname as drone
* cant use localhost as mysql hostname in drone tests. Need to parse it from the cfg db connection string
---------
Co-authored-by: Dan Cech <dcech@grafana.com >
2024-04-08 08:35:01 -06:00
Isabel Matwawana
3d9a0c8398
Docs: fix link text ( #85701 )
...
* Wording fixes
* Reverted change to this section
2024-04-08 10:07:27 -04:00
Pepe Cano
441118e506
Alerting docs: include hcl format in /alert-rules/:uid/export endpoint ( #85432 )
2024-04-08 16:01:18 +02:00
Mitch Seaman
3865b8c980
Docs: Re-order features and update intro in Grafana 11.0-preview What's new ( #85702 )
...
* Re-order features and update intro in Grafana 11.0-preview What's new
* Removed title casing
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-04-08 10:00:15 -04:00
Dan Cech
9c46e71d5a
Storage: Support continue at specified resource version ( #84868 )
...
* support continue at specified resource version
* detect whether list continue pages need to use entity_history, remove BatchRead, expand selectQuery helper
* refactor continue token handling
* fix tests, increase history chunk size
* lint fix
2024-04-08 09:57:02 -04:00
Juan Cabanas
d0312af571
PublicDashboards: Footer fix for scenes ( #85684 )
2024-04-08 09:44:27 -03:00
kgeckhart
5aa56c9380
CloudWatch: Add a Performance Insights and other missing metrics to aws/rds ( #85680 )
2024-04-08 14:00:28 +02:00
kay delaney
1b376546e2
Dashboards: Fix issue with changing panel JSON from edit view ( #85717 )
2024-04-08 12:49:38 +01:00
Andreas Christou
a7f7f4787d
Docs: Remove excess text in changelog ( #85720 )
...
Remove unnecessary wording
2024-04-08 12:19:46 +01:00
grafana-delivery-bot[bot]
7078347d0f
Changelog: Updated changelog for 11.0.0-preview ( #85718 )
...
* Changelog: Updated changelog for 11.0.0-preview
* changelog: fix style issues
---------
Co-authored-by: grafanabot <bot@grafana.com >
Co-authored-by: Matias Chomicki <matyax@gmail.com >
2024-04-08 12:56:22 +02:00
Laura Fernández
f3fb083381
GrafanaUI: DateTimePicker - replace HorizontalGroup with Stack component ( #85663 )
2024-04-08 12:44:01 +02:00
Ivan Ortega Alba
d983629650
Detect folder changes when saving a dashboard ( #85378 )
2024-04-08 13:06:50 +03:00
Santiago
6a75a8f354
Alerting: Update grafana/alerting and use Upsert for creating silences ( #85676 )
...
* Alerting: Update grafana/alerting and use Upsert for creating silences
* go.work.sum
* change error message in tests for silences (save -> upsert)
2024-04-08 11:46:14 +02:00
Mikel Vuka
724517dc40
Provisioning: datasources auto deletion ( #83034 )
2024-04-08 11:45:39 +02:00
antonio
4b4bdc7c33
docs: email contact point ( #85627 )
...
* docs: email contact point
* applied suggestions
* admonition fix
* small typo fix
* applied suggested changes
* formatted text / applied suggestions
2024-04-08 11:35:45 +02:00
Ashley Harrison
b3cff22db3
Chore: Improve types ( #85659 )
...
* fixing some types
* more type fixes
* few more
* last couple
* tiny tweak
2024-04-08 09:56:21 +01:00
Karl Persson
46ee87a0fc
Authn: Ignore context.Canceled errors when logging auth errors ( #85707 )
...
Ignore context.Canceled errors when logging auth errors
2024-04-08 10:25:24 +02:00
Pepe Cano
d7ad7c6169
Alerting docs: update disable_provenance TF mute_timing ( #85692 )
2024-04-08 10:20:51 +02:00
Sofia Papagiannaki
ebf68f34fe
Chore: Fix spelling ( #85435 )
...
Fix spelling
2024-04-08 11:08:43 +03:00
Sofia Papagiannaki
88be09420c
Chore: Fix test to retry fetching provisioned dashboard until is in place ( #85408 )
...
Retry fetching provisioned dashboard until is in place
2024-04-08 10:47:34 +03:00
dependabot[bot]
2fd6bc65c7
Bump slackapi/slack-github-action from 1.24.0 to 1.25.0 ( #85052 )
...
Bumps [slackapi/slack-github-action](https://github.com/slackapi/slack-github-action ) from 1.24.0 to 1.25.0.
- [Release notes](https://github.com/slackapi/slack-github-action/releases )
- [Commits](https://github.com/slackapi/slack-github-action/compare/v1.24.0...v1.25.0 )
---
updated-dependencies:
- dependency-name: slackapi/slack-github-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-08 09:36:15 +02:00
Victor Marin
432936cdcf
Bump scenes to v4.5.4 ( #85681 )
...
bump scenes to v4.5.4
2024-04-08 09:07:20 +02:00
Erik Sundell
170131a4f6
Chore: Use latest version of plugin-e2e ( #85669 )
...
use latest plugin-e2e
2024-04-08 08:54:27 +02:00
Isabel Matwawana
fb1afa0c34
Docs: What’s new & Upgrade guide & Breaking changes v11.0-preview ( #84603 )
...
* Updated index pages and added 11.0 breaking changes, upgrade guide, and what's new pages
* Removed references to 10.4
* Added draft breaking changes
* docs: grafana11-upgrade: postgres (#84671 )
* docs: grafana11-upgrade: postgres
* fix typos
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com >
* improved text
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* improved text
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* improved text
---------
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* Added internal note
* Added what's new items
* Added more breaking changes'
* Copy edits
* Revert "docs: grafana11-upgrade: postgres" (#85580 )
Revert "docs: grafana11-upgrade: postgres (#84671 )"
This reverts commit d766d734c2 .
* Removed internal link and moved PR link
* Added new entries
* Made fixes
* Updated name
* Copy edits
* Fixed links and minor copy edits
* Removed link to Cloud What's new
* Added OSS what's new link
* Fixed spelling of GitHub
* Added Explore Logs and updated Explore Metrics
---------
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com >
Co-authored-by: Sriram <153843+yesoreyeram@users.noreply.github.com >
2024-04-07 22:56:23 -04:00
Tim Levett
c47be316eb
Reducers: Add in basic Percentile Support ( #85554 )
2024-04-06 06:44:49 -05:00
Adela Almasan
5f0ca1429b
Annotations: Fix annotation title ( #85614 )
2024-04-05 17:39:10 -05:00
Nathan Marrs
391d2ba7c7
Canvas: Limit connection vertex radius to numeric fields ( #85420 )
2024-04-05 16:09:19 -06:00
Eduardo Franscisco Pedrosa
d23918fd95
Fixes #81465 : Exclude-null now it's getting initialized properly by default ( #85613 )
...
* fix #81465 (FilterByValueTransformerEditor.tsx): Exclude-null now it's getting initialised properly by default
The default matcher of a new filter by value condition has been changed from greater to isNull. Added a file FilterByValueTransformerEditor.test.tsx with a test to confirm this change
* update tests and run linter
* filter-by-values-exclude-null/ update test definition
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com >
2024-04-05 11:24:57 -06:00
David Harris
cd05568459
docs: add missing viz types to index ( #85400 )
...
* docs: add missing viz types to index
* prettier
* Update _index.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* fix merge mistake
* fix cloud links
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-04-05 18:04:04 +01:00
github-actions[bot]
ad904d7b42
I18n: Download translations from Crowdin ( #85641 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-05 19:18:31 +03:00
Leonard Gram
1332d8ba24
Cloudmigration: Sets the runID correctly when saving ( #85661 )
...
Sets the runID correctly instead of setting it to the same as the migration id.
2024-04-05 18:03:45 +02:00
Isabella Siu
58f32150c2
CloudWatch: Improve metric label parsing ( #84835 )
2024-04-05 11:57:56 -04:00
Bogdan Matei
9d44c8e8cf
Add auto to refresh picker ( #85584 )
2024-04-05 18:31:40 +03:00
Josh Hunt
040966220e
E2C: Show latest migration run instead of the first ( #85666 )
...
* running a new migration should only invalidate the list of migration runs
* correctly select the last migration result, not the first
2024-04-05 16:28:57 +01:00
Fabrizio
45c56d208f
CI: Skip CodeQL analysis if repo is not grafana/grafana ( #85652 )
2024-04-05 17:10:18 +02:00
Adela Almasan
883a41e8aa
Canvas: Add support for line animation ( #85556 )
2024-04-05 17:53:40 +03:00
Juan Cabanas
8e8bfae761
Scenes: Add PDF tab in share modal ( #85541 )
2024-04-05 11:29:13 -03:00
Alexander Weaver
03114e7602
Alerting: Return better error for invalid time range on alert queries ( #85611 )
...
* Return better error for invalid time range
* drop comment
2024-04-05 09:20:21 -05:00
Laura Fernández
9af259a0d6
GrafanaUI: ConfirmModal - replace HorizontalGroup with Stack and Box component ( #85660 )
2024-04-05 16:11:53 +02:00
Misi
8796d2d307
Auth: Convert SetDefaultOrgHook to PostLoginHook ( #85649 )
...
* Convert SetDefaultOrgHook to PostLoginHook
2024-04-05 16:03:51 +02:00
Alexander Weaver
734d0111cb
Alerting: Export pure function to convert query results to alert results ( #85393 )
...
Exported pure function to convert query results to alert results
2024-04-05 08:57:31 -05:00
Laura Fernández
362c95c606
Grafana UI: Button.story.tsx - Replace HorizontalGroup and VerticalGroup with Stack and Box ( #85644 )
2024-04-05 15:45:55 +02:00
Eve Meelan
d8407c78db
Update CODEOWNERS file for Explore docs ( #85656 )
...
Update CODEOWNERS
2024-04-05 06:29:27 -07:00
Erik Sundell
6716276463
Chore: Remove flaky test ( #85645 )
...
remove flaky test
2024-04-05 14:29:32 +02:00
Karl Persson
b1fc0861f1
AuthN: reset email verified on email change ( #85643 )
...
* AuthN: reset email verified on email change
Co-authored-by: Misi <mgyongyosi@users.noreply.github.com >
2024-04-05 14:19:12 +02:00
Laura Fernández
cd43308dc9
Betterer: improve the deprecated layout components usage tracking ( #85648 )
2024-04-05 13:40:46 +02:00
timo
3294411027
NodeGraph: Fix configuring arc colors with mixed case field names ( #84609 )
...
* NodeGraphPanel: Fix case comparison for arc field colors
When a field has mixed case in the data frame, the options editor
offers it with mixed case as well, so the options will have the field
with mixed case as well, making the comparison in utils.ts
applyOptiosToFrames fail, leaving the arcs uncolored.
This version of the commit allows mismatched cases between field in
dataframe and options panel in case users were depending on this
behavior in their dashboards.
* Update comment
---------
Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com >
2024-04-05 13:39:07 +02:00
Santiago
c7573bb0f7
Alerting: Make retention period configurable for the notification log ( #85605 )
...
* Alerting: Make retention period configurable for the notification log
* update sample.ini
* fix outdated comment (on disk -> kvstore)
* skip checking cyclomatic complexity for ReadUnifiedAlertingSettings
2024-04-05 12:25:43 +02:00
Josh Hunt
b19c246a39
Revert "Chore: Update glob-stream" ( #85642 )
...
Revert "Chore: Update glob-stream (#85107 )"
This reverts commit a61cac9d51 .
2024-04-05 13:22:13 +03:00
Karl Persson
ba41954854
Email: trigger email verification flow ( #85587 )
...
* Add email and email_verified to id token if identity is a user
* Add endpoint to trigger email verification for user
* Add function to clear stored id tokens and use it when email verification is completed
2024-04-05 12:05:46 +02:00
Laura Fernández
661aaf352e
GrafanaUI: IconButton - replace HorizontalGroup and VerticalGroup with Stack component ( #85639 )
2024-04-05 12:03:57 +02:00
kay delaney
9efbf142a8
Scenes: Persist changes made in edit mode to save model ( #84320 )
2024-04-05 12:32:28 +03:00
Torkel Ödegaard
e0be7d29ea
Users and ServiceAccount table: UX consistency updates ( #85624 )
...
UsersTable: UX concistency updates
2024-04-05 11:31:16 +02:00
Torkel Ödegaard
49a3a95dd1
DashboardScene: Fixes panel edit issue with clearing title not resulting in hover header mode ( #85621 )
...
* PanelEditor: Update hoverHeader state when changing panel title
* refactor test and remove duplicate
2024-04-05 11:24:25 +02:00
kay delaney
6a53864f7a
LibraryPanelRBAC: Fix issue with importing dashboards containing library panels ( #83980 )
2024-04-05 10:11:02 +01:00
Josh Hunt
5ce8b60878
E2C: Resources table refactor ( #85585 )
...
* E2C: Resources table refactor
* update swagger spec with enums
* use native resource item type, rather than our mock type
* unit tests for resources table
* update spec
2024-04-05 10:08:42 +01:00
Giuseppe Guerra
c033a15aaa
Angular deprecation: Prefer local "angularDetected" value to the remote one ( #85571 )
...
* Angular deprecation: Prefer local value to remote
* Update tests
2024-04-05 10:45:11 +02:00
Agnès Toulet
3ef23a5e3e
Scenes: Add modal ref to custom tabs ( #85602 )
2024-04-05 09:28:10 +02:00
Kyle Cunningham
0a7abe4445
Transformations: Update transformation disabled UI presentation ( #85566 )
...
* Update transformation UI presentation
* codeincarnate/transformation-disable/ lint
* Update opacity
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com >
2024-04-05 04:57:57 +07:00
Isabel Matwawana
6fb1da42bf
Docs: add xychart to panel config docs ( #85615 )
...
* Added xy chart to panel config docs
* Fixed typo
2024-04-04 17:06:20 -04:00
Nick Richmond
559fab9dc6
Prometheus: Fuzzy search for metric names in Code Mode ( #85396 )
...
* perf: limit metric names in Code Mode suggestions
* feat: configurable metric names limit
* feat: code mode autocomplete info/disclaimer
* chore: put new functionality behind new feature toggle
* refactor: avoid type assertions
* refactor: avoid explicit `any`
refactor: type guards
* refactor: type guards
* chore: add testdata results
* fix: add missing feature toggle guard
* perf: prefer array access to `Array.prototype.at`
* test: add missing config override
* test: refactor for brevity & clarity
* perf: avoid unnecessary mapping
* chore: undo testdata changes
* fix: use correct limit; perf optimizations
* refactor: avoid unnecessary `async`s
* types: simplify
* test: add missing tests
* fix: avoid hardcoding
* test: update mock path
* docs: fix typo
style: remove formatting artifact
style: remove formatting artifact
style: remove formatting artifact
* fix: event scope regression
* style: refactor for clarity
* refactor: prefer `useCallback` to in-effect handler
* refactor: simplify & broaden `filter`
* refactor: rename file to keep with conventions
* chore: mirror Prometheus package changes in app
* refactor: prefer no `@ts-ignore`
* chore: update betterer results
* docs: use type in TSDoc `@link` without `@ts-ignore`
* test: add missing provider
* test: fix jest mock path
* fix: display disclaimer in empty input case
2024-04-04 23:38:23 +03:00
Isabel Matwawana
0d7834c7f7
Docs: Add xy chart docs ( #81980 )
...
* Added xy chart page and added link to main visualizations page
* Added options
* Updated Axis options section and added doc ref links
* Added new shared files for tooltip and legend options and added them to xy chart
* Added Other visualization options section, docs refs, and updated Cloud links
* Fixed links
* Added option descriptions, hero image, content notes, and removed placeholder heading
* Apply suggestions from code review
* Added collapsible sections for series mapping modes
* Added Cloud links and fixed link text
* Added notes
* Updated series mapping descriptions
* Updated Auto series mapping options
* Updated manual section and restructured page
* Copy edits
* copy edits
* Added description
* Clarifying supported data info
* Copy edits from review
* Fixed typo
* Copy edits
* Fixed links
2024-04-04 16:30:14 -04:00
Ihor Yeromin
5a53041c49
Canvas: Fix SVG element border clipped ( #85590 )
...
fix(canvas): canvas svg element border clipped
2024-04-04 20:08:24 +02:00
Isabel Matwawana
8957fd2b3b
Docs: Fix canvas G11 updates ( #85024 )
...
* Removed features not yet completed
* additional doc updates
* Fixed codespell error
* Fixed video embed link
* Fixed punctuation
* updated to do note
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2024-04-04 13:59:33 -04:00
Drew Slobodnjak
d91dbbbef5
Canvas: Render selected connection last ( #85492 )
2024-04-04 10:30:54 -07:00
Alexander Weaver
623ee3a2be
Alerting: Only append /alertmanager when sending alerts to mimir targets if not already present ( #85543 )
...
Don't append alertmanager if not present
2024-04-04 11:58:41 -05:00
Dave Henderson
5687243d0b
Feature Flags: use FeatureToggles interface where possible ( #85131 )
...
* Feature Flags: use FeatureToggles interface where possible
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
* Replace TestFeatureToggles with existing WithFeatures
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
---------
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-04-04 12:22:31 -04:00
Kyle Cunningham
67045aa90c
Table Panel: Update background colors to respect transparency ( #85565 )
...
* Update background colors to respect alpha
* codeincarnate/fix-table-background/ lint
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com >
2024-04-04 22:55:37 +07:00
Konrad Lalik
9b4f88c6f6
Alerting: Improve template preview ( #84798 )
...
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-04-04 18:37:24 +03:00
Alex Khomenko
b08285962d
Saga-icons: Add svgs ( #85522 )
...
* Add svgs
* Fix output dir
2024-04-04 17:57:22 +03:00
Gilles De Mey
d3ee3c0a24
Alerting: Evaluation quick buttons ( #85010 )
...
Co-authored-by: Tom Ratcliffe <tomratcliffe@users.noreply.github.com >
2024-04-04 16:24:35 +02:00
kay delaney
b5c33c540c
Dashboards: Removes descending z-index assignment for grid items ( #85563 )
2024-04-04 14:49:42 +01:00
Isabella Siu
ba3acf83bf
CloudWatch: Clarify match exact tooltip and docs ( #85095 )
...
* CloudWatch: Clarify match exact tooltip
* Update docs
* fix typo
* ida comment and removing a couple "you"s
* present tense
2024-04-04 09:48:48 -04:00
Dominik Prokop
44376f8039
PanelEditor: Fix runtime error caused by panels not installed in Grafana instance ( #85592 )
...
FIx runtime error casued by panels non installed in Grafana instance
2024-04-04 15:45:27 +02:00
Laura Fernández
2e8fb1aa56
Betterer: Track deprecated layout components usage ( #85574 )
2024-04-04 15:40:52 +02:00
antonio
ad5ade71bb
telegram url fix ( #85583 )
...
* alerging-get-started: update
* fixed url issues
* pretty
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-telegram.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-04-04 15:14:22 +02:00
Serge Zaitsev
faa1244518
Chore: Replace sqlstore with db interface ( #85366 )
...
* replace sqlstore with db interface in a few packages
* remove from stats
* remove sqlstore in admin test
* remove sqlstore from api plugin tests
* fix another createUser
* remove sqlstore in publicdashboards
* remove sqlstore from orgs
* clean up orguser test
* more clean up in sso
* clean up service accounts
* further cleanup
* more cleanup in accesscontrol
* last cleanup in accesscontrol
* clean up teams
* more removals
* split cfg from db in testenv
* few remaining fixes
* fix test with bus
* pass cfg for testing inside db as an option
* set query retries when no opts provided
* revert golden test data
* rebase and rollback
2024-04-04 15:04:47 +02:00
Gilles De Mey
c41b0a71cf
Alerting: Add state history polling interval ( #84837 )
2024-04-04 14:06:15 +02:00
Arati R
2232fe033b
Storage: Add mode-specific dual writers ( #85551 )
...
* Set up skeleton dual writers for each mode
* Add Create functionality to each of the mode-specific DualWriters
* Add switch for selecting DualWriter
2024-04-04 14:02:51 +02:00
Dominik Prokop
32b6ef9d15
Feature toggle to add filter and group by variables to all new dashboards by default ( #85531 )
...
* Add feature toggle
* Add filters and group by variables by default to all new dashboards
* Nits
* Tests
* Rename feature toggle to newDashboardWithFiltersAndGroupBy
2024-04-04 13:25:21 +02:00
Eunice Kim
4e60f44d98
Chore: Fix trailing spaces in prometheus min step ( #85507 )
...
Fix trailing spaces in prometheus min step
2024-04-04 13:14:49 +02:00
Tobias Skarhed
f387cff836
Accessibility: Default Icon to aria-hidden ( #84362 )
...
* Icon: aria hide icon, unless a label is set
* Update doc
* Remove weird auto import
* Fix fialing tests
* Add recommendation for Tooltip
* Consider more aria attributes to support Tooltip
* Handle tabIndex and aria-hidden case
* Add comment about aria-label
2024-04-04 12:07:50 +02:00
Leonor Oliveira
01afca9d99
Add setup and spies for the dual writer ( #85568 )
...
* Add setup and spy client for dual writer
* Get rid of reset method
2024-04-04 11:46:16 +02:00
kay delaney
9537de26a5
Scenes: Fix issue where annotations with same name wouldn't render properly ( #85489 )
...
Closes #85457
2024-04-04 10:45:24 +01:00
Leon Sorokin
130d561924
Chore: Restore some removed UI components to reduce BC surface area ( #85546 )
2024-04-04 04:31:28 -05:00
ismail simsek
9c0f9f6ba4
Fix sending maxDataPoints as string ( #85561 )
...
* make sure maxDataPoints is a number
* add migration for maxDataPoints
* remove migration
2024-04-04 11:11:18 +02:00
Giordano Ricci
6ffc08f429
Explore: Set X-Cache-Skip to true for query requests ( #85460 )
...
Explore: set X-Cache-Skip to true for query requests
2024-04-04 09:44:06 +01:00
renovate[bot]
6fd8c4afcf
Update dependency @grafana/scenes to v4.3.0 ( #85569 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-04 11:32:07 +03:00
Karl Persson
504870f10a
Auth: Decouple client and hook registration ( #85084 )
2024-04-04 09:33:00 +02:00
Marcus Efraimsson
bdc492b96c
Chore: Upgrade grafana-plugin-sdk-go ( #85562 )
2024-04-04 08:07:29 +03:00
github-actions[bot]
801d19d816
I18n: Download translations from Crowdin ( #85553 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-04 04:52:30 +00:00
Todd Treece
c01531dc79
K8s: Use tracing handler from component-base ( #85560 )
2024-04-04 00:39:09 +03:00
Tristan
77133ac9c1
CloudWatch: Fix SageMaker MBP namespace typo ( #85557 )
2024-04-03 15:50:09 -04:00
Kyle Cunningham
075976bea6
Transformations: Add applicability function to group to nested table ( #85501 )
...
* Add applicability function to group to nested table
* codeincarnate/group-to-nested-cond/ run linter
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com >
2024-04-04 02:44:52 +07:00
Michael Mandrus
ddf5fbe591
CMS: Update permissions required to use endpoints ( #85555 )
...
* try different perms
* fix compile issue
* remove ac dependency
* remove dependency
2024-04-03 22:43:48 +03:00
Josh Hunt
aad79c9400
E2C: Start connecting on-prem to real apis ( #85527 )
...
* E2C: Start connecting on-prem to real apis
* actually run the migration
* show resources
* basic dashboards resources
* show dashboard title
* remove console logs
* cleanup 1
* i18n
* disconnect
* i18n
* restore type
* use fixed format
* fix
2024-04-03 13:47:02 -04:00
Tom Ratcliffe
0ec48cfdbd
Add success toast for rule update back in
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
d585a5bc88
Rename tag for combined alert rules
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
1fcb264c87
Add InfoPausedRule back to alert detail view
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
20a1955026
Reuse StateTag for Paused state
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
0e87adbc97
Remove await from dispatch
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
ff8203a6cf
Forward ref to StateTag so it can work with Tooltip
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
fb40c09eaf
Reuse existing mock user method
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
2ca5e43a65
Remove superfluous alert from pause text
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
30471c340a
Use verbose mutation from RTKQ for better IDE experience
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
28572102cf
Use produce for pause payload generation and return early
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
12eeda5b7d
Hide alert update success toast
2024-04-03 18:38:49 +01:00
Gilles De Mey
fbe43100aa
add paused badge
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
30699dabec
Move repeated Paused message into component
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
31fb80b29a
Move MenuItemPaused to components folder
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
1e54899c6d
Remove unneeded type
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
b037236b9c
Add tag invalidation to updateRule mutation
...
...so the alert detail view updates appropriately
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
9ca2f7bece
Add pause/resume logic to menu items on Alert detail view
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
7d80373b5e
Move repeated menu item logic for pausing rules into separate component
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
b84962ef3f
Update tests to use existing mock server approach
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
5fbca0962e
Fix import/export messing with Policy tests
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
bd06607a51
Fix typing check for paused rules in table
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
820f4f0ef5
Remove console logs, fix aggregate errors and add missing endpoint
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
8c313add00
Add test for resuming a paused alert rule
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
fef481efc3
Add mock data for paused rules
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
5505b72998
Add first pass of basic mock server for alerting usage
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
72a3142c3b
Add pause/resume button with mutation for saving alert rule changes
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
9a416b8241
Fix potential display of "0" on rule details tab
...
When looking at the details tab of an alert rule, the last evaluation could potentially display as `0` due to falsy checks on React rendering
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
a94c3d63cc
Update utils for determining paused state of a rule
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
7fd9cbbfb5
Export alerts limit for reuse when re-fetching rules list
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
1a5d227e05
Hide "firing for time" if a rule is paused
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
93fd11fe86
Update alert state tag to display Paused as its own "state"
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
a881e7e404
Display info message on rule detail view when a rule is paused
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
31be1231cf
Move max width from rule editor parent
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
d0dcb72683
Display info message on rule form when a rule is paused
2024-04-03 18:38:49 +01:00
Tom Ratcliffe
e5a6dff801
Add mutation method to update a rule
2024-04-03 18:38:49 +01:00
William Wernert
cad8190a91
Alerting/Annotations: Return nothing from historian store if filtering by tags and matchAny is false ( #85488 )
...
* Return nothing from historian store if filtering by tag
2024-04-03 13:01:13 -04:00
Leonard Gram
a457ab3192
Cloudmigration: decode json data ( #85548 )
...
* decode get
* decode bytes
* response
* .
* linter
* quick fixes
---------
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com >
2024-04-03 18:47:49 +02:00
Ihor Yeromin
e4c92483dc
Canvas: Fix ellipse migration ( #85482 )
...
* fix(canvas): ellips migration
2024-04-03 19:29:17 +03:00
Tim Levett
a5707788ba
Transformations - make substring and not substring transformer case insensitive. ( #84699 )
...
* make substring and not substring transformer case insensitive
* timlevett/case-insensitive/ run linter
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com >
2024-04-03 11:11:09 -05:00
Jean-Philippe Quéméner
7cfd470c91
fix(alerting): only expose metrics if executing alerts ( #85512 )
2024-04-03 17:18:02 +02:00
kay delaney
85127464a3
Scenes: Fix issue where unsaved changes prompt is shown when quickly adding panel to new dashboard ( #85518 )
...
Closes #84577
2024-04-03 15:39:01 +01:00
Señor Performo - Leandro Melendez
f6a94837c5
Docs: add YouTube video link and description ( #85484 )
...
* Update index.md Adding YouTube video link and description
Added a short description about the video and added the video to the page.
* Update docs/sources/panels-visualizations/visualizations/logs/index.md
Some edits went in. All nice :)
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* Removed repetition
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-04-03 10:33:50 -04:00
Pepe Cano
a56a842d5f
Alerting docs: fix docs/shared API to render the current version ( #85526 )
2024-04-03 16:04:58 +02:00
Fabrizio
027329d4b6
CI: Skip analysis steps if not needed ( #85532 )
2024-04-03 17:00:13 +03:00
Simon Podlipsky
61e4cfac65
Docker: Fix missing go dependencies ( #85441 )
...
ci: fix missing go dependencies
```
> [go-builder 11/25] RUN go mod download:
0.303 go: cannot load module pkg/build/wire listed in go.work file: open pkg/build/wire/go.mod: no such file or directory
------
Dockerfile:64
--------------------
62 | COPY pkg/promlib/go.* pkg/promlib/
63 |
64 | >>> RUN go mod download
65 | RUN if [[ "$BINGO" = "true" ]]; then \
66 | go install github.com/bwplotka/bingo@latest && \
```
2024-04-03 14:01:09 +01:00
brendamuir
847d2b01b6
Alerting docs: note on images in notifications for cloud ( #85529 )
2024-04-03 14:32:56 +02:00
antonio
561838a87d
convert telegram blog post to doc ( #85231 )
...
* convert telegram blog post to doc
* pretty
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-slack.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/alerting/configure-notifications/manage-contact-points/integrations/configure-telegram.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* applied suggested changes
* fixed typo
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
2024-04-03 14:28:50 +02:00
Simon Podlipsky
708ee9f9ee
Docker: Do not run apk on non-alpine distros ( #83361 )
2024-04-03 13:21:27 +01:00
Josh Hunt
e08b5bd456
E2C: Fix Swagger spec for createMigration post body ( #85525 )
...
* E2C: Fix Swagger spec for CreateCloudMigration post body
* actually, don't rename that type
2024-04-03 11:59:50 +00:00
idafurjes
b885da09da
CloudMigrations: Implement migrations API ( #85348 )
...
* Implement run migration endpoint
* Refactor RunMigration method into separate methods
* Save migration runs fix lint
* Minor changes
* Refactor how to use cms endpoint
* fix interface
* complete merge
* add individual items
* adds tracing to getMigration
* linter
* updated swagger definition with the latest changes
* CloudMigrations: Implement core API handlers for cloud migrations and migration runs (#85407 )
* implement delete
* add auth token encryption
* implement token validation
* call token validation during migration creation
* implement get migration status
* implement list migration runs
* fix bug
* finish parse domain func
* fix urls
* fix typo
* fix encoding and decoding
* remove double decryption
* add missing slash
* fix id returned by create function
* inject missing services
* finish implementing (as far as I can tell right now) data migration and response handling
* comment out broken test, needs a rewrite
* add a few final touches
* get dashboard migration to work properly
* changed runMigration to a POST
* swagger
* swagger
* swagger
---------
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com >
Co-authored-by: Leonard Gram <leo@xlson.com >
Co-authored-by: Michael Mandrus <41969079+mmandrus@users.noreply.github.com >
2024-04-03 13:36:13 +02:00
Ivan Ortega Alba
89638238e5
DashboardScene: Detect changes when live is enabled from settings ( #85409 )
...
* Adapt the code to the new live timer API
* Update scenes
2024-04-03 14:22:10 +03:00
Laura Fernández
4845b1e3c6
ServiceAccount : use InteractiveTable ( #85203 )
2024-04-03 13:12:23 +02:00
Ieva
beb15d938b
RBAC: Fix access checks for interactions with RBAC roles in hosted Grafana ( #85485 )
...
* don't check global permissions for cloud instances
* linting
2024-04-03 11:44:16 +01:00
Ivan Ortega Alba
eb3d088645
DashboardScene: Implement autofit panels ( #85221 )
2024-04-03 13:36:29 +03:00
Sonia Aguilar
034931f9e1
Alerting: Set mimir implementation in jsonData by default when creating a new a… ( #85513 )
...
Set mimir implementation in jsonData by default when creating a new alert manager data source
2024-04-03 12:31:49 +02:00
Dominik Prokop
b4dc79401b
DashboardScene: Fix explore to dashboard flow ( #85140 )
...
* DashboardScene: Fix explore to dashboard flow
* Tests
* Make sure dashboard is in edit mode when adding from explore
* Allow discarding changes when coming from explore
* Tests
2024-04-03 12:06:38 +02:00
github-actions[bot]
80b8b86c00
I18n: Download translations from Crowdin ( #85515 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-03 12:18:42 +03:00
Gábor Farkas
8159e1db3a
Revert "Postgres: Switch the datasource plugin from lib/pq to pgx (#8… ( #85509 )
...
Revert "Postgres: Switch the datasource plugin from lib/pq to pgx (#83768 )"
This reverts commit ecd6de826a .
2024-04-03 11:02:22 +02:00
Josh Hunt
ffb5d23a13
E2C: Hook Cloud Receiver-side up to real CreateCloudMigrationToken API ( #85490 )
...
E2C: Hook Cloud Reciever-side up to real CreateCloudMigrationToken API
2024-04-03 08:55:38 +00:00
Giordano Ricci
ff39067605
Explore: Make Explore breadcrumb clickable ( #85437 )
...
* Explore: make Explore breadcrumb a link to an empty Explore page
* update tests
2024-04-03 09:24:04 +01:00
antonio
826fa2f2db
alerging-get-started: update ( #85434 )
...
* alerging-get-started: update
* Update index.md
* Update index.md
2024-04-03 10:18:25 +02:00
Andres Martinez Gotor
9c7237891c
Plugins: Expose ExternalService in request config ( #85187 )
2024-04-03 09:22:34 +02:00
Leon Sorokin
1522499c4a
VizTooltips: Remove remaining old bits ( #85500 )
...
Co-authored-by: Adela Almasan <adela.almasan@grafana.com >
2024-04-02 19:32:01 -05:00
Leon Sorokin
d601acac3a
VizTooltips: Remove old tooltips and annotations ( #84420 )
...
Co-authored-by: Adela Almasan <adela.almasan@grafana.com >
2024-04-02 15:32:46 -05:00
Marcus Efraimsson
c9ab4e3a9e
DS apiserver: Fix resource path ( #85494 )
2024-04-02 20:09:18 +02:00
Nathan Marrs
b47f8b429e
Canvas: Hide background image size editor options for SVG based elements ( #85419 )
2024-04-02 09:04:36 -07:00
renovate[bot]
a360cf0c85
Update dependency @types/node to v20.12.2 ( #85480 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-02 18:47:56 +03:00
Jo
5340a6e548
Auth: Extended JWT client for OBO and Service Authentication ( #83814 )
...
* reenable ext-jwt-client
* fixup settings struct
* add user and service auth
* lint up
* add user auth to grafana ext
* fixes
* Populate token permissions
Co-authored-by: jguer <joao.guerreiro@grafana.com >
* fix tests
* fix lint
* small prealloc
* small prealloc
* use special namespace for access policies
* fix access policy auth
* fix tests
* fix uncalled settings expander
* add feature toggle
* small feedback fixes
* rename entitlements to permissions
* add authlibn
* allow viewing the signed in user info for non user namespace
* fix invalid namespacedID
* use authlib as verifier for tokens
* Update pkg/services/authn/clients/ext_jwt.go
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* Update pkg/services/authn/clients/ext_jwt_test.go
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
* fix parameter names
* change asserts to normal package
* add rule for assert
* fix ownerships
* Local diff
* test and lint
* Fix test
* Fix ac test
* Fix pluginproxy test
* Revert testdata changes
* Force revert on test data
---------
Co-authored-by: gamab <gabriel.mabille@grafana.com >
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2024-04-02 17:45:15 +02:00
renovate[bot]
ac6e51c94a
Update dependency @types/react to v18.2.74
2024-04-02 15:27:41 +00:00
Josh Hunt
33dd204466
E2C: Generate RTK Query API slice from swagger spec ( #85463 )
...
* add deps and script
* add codegen rtk api clise for cloud migration
* rename all the mock exports to mock
* Reset changes to package.json and yarn.lock
* codeowners
2024-04-02 18:01:33 +03:00
Will Browne
257cc98062
Datasources: Remove unused functions ( #85473 )
...
* cleanup unused funcs
* remove more stuff
2024-04-02 16:19:52 +02:00
Oscar Kilhed
9ba9cbf300
Bump scenes to 4.1.2 ( #85470 )
...
* Bump scenes to 4.1.2
* Fix tests after fixing the sorting in rows
---------
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com >
2024-04-02 16:15:53 +02:00
wissy
4205491788
Docs: Fix wrong word for tempo example config ( #85046 )
...
Update configure-tempo-data-source.md
Replace traceToProfiles with tracesToProfiles
2024-04-02 15:37:20 +02:00
linoman
147154d2ea
Remove AuthConfigUIAdminAccess ( #85452 )
...
* Remove AuthConfigUIAdminAccess
2024-04-02 15:02:28 +02:00
renovate[bot]
22bae345d6
Update dependency react-zoom-pan-pinch to v3.4.4
2024-04-02 12:38:39 +00:00
renovate[bot]
4fa6754b42
Update dependency i18next-browser-languagedetector to v7.2.1
2024-04-02 11:59:40 +00:00
Leonard Gram
4e89267603
Cloudmigration: swagger for the cloudmigration api ( #85255 )
...
* swagger for create token
* tried to fix errors
* update swagger annotations
* update swagger annotations
* update api GetMigrationList to return the *Response directly
* clean up previous commit
---------
Co-authored-by: joshhunt <josh@trtr.co >
2024-04-02 13:57:42 +02:00
renovate[bot]
bc77745da6
Update dependency glob to v10.3.12
2024-04-02 11:06:51 +00:00
renovate[bot]
09d4b814f4
Update dependency @types/react-dom to v18.2.23
2024-04-02 10:48:52 +00:00
ismail simsek
64236a3923
InfluxDB: Fix measurement interpolation on visual query builder ( #85423 )
...
* fix measurement interpolation
* fix unit test
* fix unit test 2
2024-04-02 12:29:49 +02:00
renovate[bot]
b0aa575643
Update dependency @types/eslint to v8.56.7
2024-04-02 10:24:48 +00:00
Bogdan Matei
582b252488
Add optional queries parameter to DataSourceGetTagValuesOptions ( #85436 )
...
Add optional `queries` parameter to `getTagKeysOptions`
2024-04-02 13:22:37 +03:00
renovate[bot]
06a22005e8
Update dependency @grafana/plugin-e2e to v0.25.1 ( #85451 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-02 12:43:31 +03:00
Tobias Skarhed
c75bc5a6cf
Keybindings: Replace mod+h as help shortcut with ? ( #85449 )
...
HelpModal: Remove cmd+h as help shortcut
2024-04-02 11:41:46 +02:00
renovate[bot]
5a416731f4
Update Yarn to v4.1.1 ( #85350 )
...
* Update Yarn to v4.1.1
* add new yarn version
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-04-02 10:25:30 +01:00
Andres Martinez Gotor
d2ca95d304
Update plugin SDK to v0.219.0 ( #85438 )
2024-04-02 10:22:24 +02:00
imalasong
81fd8f4126
Makefile: refactoring .PHONY ( #85440 )
2024-04-01 18:09:17 +03:00
Haris Rozajac
f8275b52aa
Explore: Add padding to query content in query inspector ( #85309 )
...
Add padding
2024-03-31 17:41:44 -06:00
Dominik Prokop
fa9e139123
DashboardScene: Fix issues with dashboard empty state ( #85406 )
...
Fix
Tests
Make sure edit mode is on when adding panel/library panel
Co-authored-by: kay delaney <kay@grafana.com >
2024-03-30 18:34:26 +01:00
Nathan Marrs
368fec9b97
Canvas: Fix ellipse datalink example in gdev dashboard ( #85398 )
2024-03-29 23:53:27 -07:00
Drew Slobodnjak
3703196e24
Canvas: Add flowchart example to gdev ( #85417 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2024-03-29 23:00:33 +02:00
Will Browne
22fe7b067c
Plugins: Set correct PDC config values for proxy requests ( #85412 )
...
pass appropriate values
2024-03-29 20:17:05 +02:00
Ryan McKinley
dd6c8732b3
Scopes: Add basic integration tests ( #85351 )
...
Co-authored-by: Kyle Brandt <kyle@grafana.com >
2024-03-29 16:12:28 +02:00
Ihor Yeromin
20eac8d264
Canvas: Fix styles applying glitch on element type changing ( #85184 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2024-03-29 08:10:44 +02:00
Leonard Gram
383ebb2bc4
Cloudmigration: create migration ( #85386 )
...
* Cloudmigration: create migration
* fix drone build
* lint fix
* fix unit test
---------
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com >
2024-03-29 01:55:27 +01:00
Leon Sorokin
db6b51cb88
OptionsPicker: Allow storing raw input even when matches exist ( #84790 )
2024-03-29 01:18:02 +02:00
Ihor Yeromin
726a666059
Canvas: Fix SVG items background glitch ( #85078 )
2024-03-29 00:26:59 +02:00
Fredrik Ekre
e9969e3542
Auth: add Dex example to generic OAuth2 documentation ( #84744 )
...
This patch adds an example configuration for setting up generic OAuth2
authentication using [Dex IdP](https://dexidp.io/ ).
2024-03-28 15:36:00 -05:00
Tristan
58b583f0c5
AWS DataSource: Fix namespaces in sagemaker metrics ( #85357 )
2024-03-28 22:11:11 +02:00
Michael Mandrus
5a5f76ae0a
CloudMigrations: Add instance metadata to auth token ( #85381 )
...
* update how tokens are passed around
* rename structs
2024-03-28 15:02:54 -04:00
Charandas
0f1151964c
K8s: standalone authenticator that allows a type of downstream forwarding ( #85130 )
2024-03-28 20:52:28 +02:00
Brendan O'Handley
3c28a3d494
Graphite: second function as another function argument parsing error fix ( #85224 )
...
* update language around query editor parsing issues
* add special handling for second function arguments in divideSeriesLists
* additional check for first argument as series(string) and not a function
2024-03-28 12:22:54 -05:00
Carl Bergquist
a71dfe806a
Scopes: Create binding per relationship ( #85332 )
...
scopes: create binding per relationship
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-03-28 13:22:21 -04:00
linoman
e4250a72db
JWT: Find login and email claims with JMESPATH ( #85305 )
...
* add function to static function to static service
* find email and login claims with jmespath
* rename configuration files
* Replace JWTClaims struct for map
* check for subclaims error
2024-03-28 17:25:26 +01:00
Darren Janeczek
18f3c7188b
datatrails: handle "single" layout when switching to "all" labels ( #85373 )
...
* fix: handle "single" layout when switching to "all" labels
2024-03-28 18:13:43 +02:00
Dominik Prokop
63a941472e
DashboardScene: Fix access to dashboard settings views ( #85289 )
...
* DashboardScene: Fix access to dashboard settings views
* Review
2024-03-28 16:40:39 +01:00
Ivan Ortega Alba
233f119037
Panel: Description display event is reported multiple times ( #85283 )
2024-03-28 16:39:18 +01:00
Haris Rozajac
649c456eab
Explore: Nested Content Outline ( #80688 )
...
* indentation levels
* Highlight parent section when child is selected
* Fix context, add rotation to toggle button
* Merge single child logic; fix styling
* Fix collapsed logic, make elipsis work, reorganize for better readability;
* Add connector
* Tooltip placement
* Update tests so they test components the same way users would interact with them
* Clean up indendation levels
* Support collapsing logic for multiple section; highlight all items in a section of an active child - parent is active only when section is collapsed and child inside of it is active
* Simplify making ellipsis work
* Show tooltip if the text overflows in expanded mode
* The whole button container should have same background when section is expanded in mini view
* Fix a bug where root items were not being sorted by document position
* Update query order when query rows are changed through dragging and dropping
* Fix the issue where chaning the title of a query row would remove the query
2024-03-28 09:06:52 -06:00
Karl Persson
73e426b081
User: email verification completion ( #85259 )
...
* TempUser: Include InvitedById in TempUserDTO
* Extract email verfication completion flow to service
2024-03-28 16:05:33 +01:00
Marie Cruz
4a3140a0aa
docs: update histogram visualization ( #85125 )
...
* docs: update histogram visualization docs
* docs: updates to histogram visualization
* Apply suggestions from code review
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* Fixed typo I introduced
* docs: add youtube video
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-03-28 10:45:45 -04:00
Victor Marin
30c9307539
Scenes: Fix row crash when removing a panel from it ( #85339 )
...
* Fix row crash when removing a panel from it
* fix tests
* fix tests
2024-03-28 16:45:33 +02:00
Andreas Christou
697a18737d
Azure/GCM: Update filterQuery methods to carry out migrations ( #85355 )
...
Update filterQuery methods to carry out migrations
2024-03-28 14:40:27 +00:00
Dominik Prokop
ae9a4b6467
DashboardScene: Fix constant variable not being hidden after creation ( #85196 )
2024-03-28 15:29:48 +01:00
Galen Kistler
0c78d80ef1
Loki: Fix test flake ( #85356 )
...
attempt to fix flake
2024-03-28 15:22:44 +01:00
Darren Janeczek
137061d1d5
datatrails: fix stability issues between conflict between browser history, URL sync, and trail history ( #85134 )
...
* fix: conflict between browser history and trail history
- ensure the back button or url changes don't generate trail steps
- ensure label breakdown TextLinks which appear on the summary tab work in embedded mode
2024-03-28 09:59:16 -04:00
butkovv
b039995a4e
BrowseDashboards: Add subpath to URLs on Browse Dashboards page ( #84992 )
...
* BrowseDashboards: Add subpath to URLs on Browse Dashboards page
* comment
* use existing config
* comment
---------
Co-authored-by: joshhunt <josh@trtr.co >
2024-03-28 15:15:05 +02:00
Leonor Oliveira
29c76b98d4
Revert "Update ephemeral instances workflow to get version from package.json" ( #85347 )
...
Revert "Update ephemeral instances workflow to get version from package.json …"
This reverts commit dda1531952 .
2024-03-28 13:56:48 +01:00
Kim Nylander
fe802f6d88
[DOC] Clarify compatible log stores for traces to logs ( #85314 )
...
* Clarify compatible log stores for traces to logs
* Fixes from prettier
2024-03-28 07:37:27 -05:00
renovate[bot]
b155bc11a1
Update dependency @swc/helpers to v0.5.8 ( #85327 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-28 12:34:29 +00:00
Isabel Matwawana
5f38455f31
Docs: fix availability note ( #85315 )
...
Fixed availability note
2024-03-28 08:33:38 -04:00
Torkel Ödegaard
e90b87589f
ModalsContext: Unify modals context and manager ( #84916 )
...
* ModalsContext: Unify modals context and manager
* Clear on location change
* fixes
* Update
* use generics to avoid anys
---------
Co-authored-by: joshhunt <josh@trtr.co >
2024-03-28 13:26:57 +01:00
Santiago
ce57ce4125
Docs: Add capture_timeout option ( #85340 )
2024-03-28 13:19:08 +01:00
lean.dev
5b147d0847
CloudMigration: Add service to list all migrations ( #85308 )
2024-03-28 08:50:31 -03:00
Tobias Skarhed
a44aa342a7
Templating: Link label to input ( #85329 )
...
Pass id to VariableInput
2024-03-28 12:45:43 +01:00
renovate[bot]
40c88596d8
Update dependency yaml to v2.4.1 ( #85335 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-28 13:36:15 +02:00
github-actions[bot]
97c3c51e52
I18n: Download translations from Crowdin ( #85257 )
...
New Crowdin translations by GitHub Action
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-03-28 13:28:07 +02:00
renovate[bot]
f5cd840dd0
Update dependency webpack-assets-manifest to v5.2.1 ( #85331 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-28 11:18:45 +00:00
Ryan McKinley
45d1766524
K8s/Frontend: Add generic resource server and use it for playlists ( #83339 )
...
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com >
2024-03-28 14:01:24 +03:00
antonio
85a646b4dc
fix internal url in tutorials ( #85273 )
...
* fix internal url in tutorials
* prettyfied
* fix: update broken links
---------
Co-authored-by: mdcruz <marie.descruz@gmail.com >
2024-03-28 10:51:55 +00:00
renovate[bot]
d227621217
Update dependency eslint-plugin-jsdoc to v48.2.2
2024-03-28 10:49:11 +00:00
renovate[bot]
4854f10ee2
Update dependency @grafana/aws-sdk to v0.3.3 ( #85326 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-28 10:03:38 +00:00
renovate[bot]
ad1b60e651
Update dependency stylelint-config-sass-guidelines to v11.1.0 ( #85291 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-28 09:52:23 +00:00
Joey
8c770a283e
Tempo: Show <1ms when durationMs not in response ( #85267 )
...
* Show <1ms when durationMs not in response
* Update tests
2024-03-28 09:47:49 +00:00
renovate[bot]
50a57bb88c
Update dependency webpack to v5.91.0 ( #85302 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-28 09:38:15 +00:00
Joey
df39fc54a6
Tempo: Check for liveEnabled before trying to stream ( #85173 )
...
* Check for liveEnabled before attempting to stream
* Add tests
* Range const
* Update test text
2024-03-28 09:19:21 +00:00
Karl Persson
5dd98a0fd5
RBAC: handle partially resolved scopes ( #85323 )
...
* RBAC: handle partially resolved scopes
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2024-03-28 10:08:07 +01:00
Jack Westbrook
c6a489cfd8
Chore: Bump Nx to 18.1.x ( #85185 )
...
* chore: bump nx to latest version
* build(plugin-configs): reduce wonky webpack output when logged via nx
* revert(plugin-configs): remove infrastructureLogging property
2024-03-28 09:36:35 +01:00
Torkel Ödegaard
d290aaff46
DashboardScene: Support time region migrations ( #84147 )
...
* DashboardScene: Support time region migrations
* Update
* Update
* Update
* fix
* Fix lock
* fix tests
* Fix migrations test
---------
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com >
2024-03-28 07:39:26 +01:00
Adela Almasan
e5d1cd8ea5
AngularMigration: Allow dashboard by dashboard migration ( #84100 )
2024-03-27 16:24:24 -05:00
Leon Sorokin
1ffeb7c365
StateTimeline: Fix data links causing unrendering of string fields ( #85260 )
2024-03-27 13:19:13 -05:00
Dave Henderson
08d603e660
ci: Stop running ephemeral instances workflow when not needed ( #85306 )
...
Signed-off-by: Dave Henderson <dave.henderson@grafana.com >
2024-03-27 14:17:31 -04:00
renovate[bot]
39e91e2984
Update dependency msw to v2.2.13
2024-03-27 17:36:20 +00:00
Will Browne
1a0ac381eb
Plugins: Send PDC file paths and contents for backwards compatibility ( #85287 )
...
* send paths and contents
* go work sync
2024-03-27 18:19:11 +01:00
renovate[bot]
2f18148da2
Update dependency @types/react to v18.2.73
2024-03-27 17:15:47 +00:00
Brendan O'Handley
d4a68d6662
Prometheus: Use correct logic for frontend package feature flag ( #85294 )
...
use correct logic for frontend package feature flag
2024-03-27 11:57:00 -05:00
Darren Janeczek
f850b00a92
datatrails: avoid double scrollbar with new viz tooltips ( #85197 )
...
fix: avoid double scrollbar
2024-03-27 12:50:02 -04:00
Kyle Brandt
136f8e6f0c
Scopes: Add Filtering for ScopeDashoardBinding and Update Prometheus for ScopeFilterOperator Changes ( #85284 )
2024-03-27 11:39:55 -04:00
renovate[bot]
7e1cd4397a
Update dependency stylelint to v16.3.1 ( #85286 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-27 15:38:44 +00:00
renovate[bot]
a6fcbd1eb2
Update dependency react-zoom-pan-pinch to v3.4.3 ( #85263 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-27 15:37:39 +00:00
kay delaney
618cf8e5a1
Dashboards: Fix issue where long ad-hoc values broke UI ( #85073 )
...
Closes #69285
2024-03-27 15:11:59 +00:00
renovate[bot]
7febba947e
Update dependency @grafana/scenes to v4.0.4
2024-03-27 14:51:02 +00:00
Dan Cech
ef26fe95dc
Storage: GuaranteedUpdate fix & other improvements ( #85206 )
...
make GuaranteedUpdate work when ignoring not found errors, increase poll frequency, fix Delete
2024-03-27 10:38:49 -04:00
Darren Janeczek
2ecc1bb646
datatrails: hide "add to filter" button when there is no label value to add to filter ( #85270 )
...
fix: hide add to filters button when it won't work
2024-03-27 16:33:21 +02:00
Señor Performo - Leandro Melendez
d4953f4a1f
Added YouTube video to index.md on Time Series ( #85188 )
...
* Added YouTube video to index.md on Time Series
Added a brief description and the YouTube link for the Time Series video.
* Update index.md
Did quick fix
* Update index.md
Found double space, removed, hope PR goes through
* Update docs/sources/panels-visualizations/visualizations/time-series/index.md
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-03-27 10:32:56 -04:00
renovate[bot]
986b078d79
Update dependency sass to v1.72.0 ( #85272 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-27 14:32:02 +00:00
Karl Persson
152cb47692
AuthN: Add IsAuthenticatedBy to identity interface and replace checks ( #85262 )
...
Add IsAuthenticatedBy to identity interface and replace checks
2024-03-27 15:22:13 +01:00
Will Browne
cd912367b3
Plugins: Pass PDC info as file paths ( #85239 )
...
* pass filepaths
* fix test
2024-03-27 15:21:05 +01:00
Torkel Ödegaard
61e67423ff
LLMApp: Skip 404 requests to know if the plugin exists ( #85226 )
...
---------
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com >
2024-03-27 14:55:48 +01:00
Kyle Brandt
fe209fdf7c
Revert "Scopes: Add more BE filtering (field selectors) ( #85169 )" ( #85264 )
...
This reverts commit 222f93794d .
2024-03-27 15:47:48 +02:00
renovate[bot]
3049acd7d7
Update dependency react-hook-form to v7.51.2 ( #85249 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-27 13:29:42 +00:00
renovate[bot]
e4a265f60c
Update dependency jest-date-mock to v1.0.9
2024-03-27 13:25:09 +00:00
Andrej Ocenas
20e70838e3
NodeGraph: Fix possible metadata mismatch between nodes in graph ( #85254 )
2024-03-27 14:23:04 +01:00
Kyle Brandt
222f93794d
Scopes: Add more BE filtering (field selectors) ( #85169 )
2024-03-27 13:10:49 +00:00
Kyle Brandt
d71266b8af
QueryLibrary: Use default variable values in render ( #84678 )
2024-03-27 08:48:08 -04:00
Ashley Harrison
7ad2ec9665
EmptyState: use not-found empty state variant everywhere in core ( #85007 )
...
* use EmptyState component everywhere in core
* remove GrotNotFound core component
* update unit tests
* search -> not-found
* fix 3 more
2024-03-27 12:15:12 +00:00
Gilles De Mey
a574db6f64
Alerting: Fix removing nested policy ( #85242 )
2024-03-27 13:58:59 +02:00
Eve Meelan
cec25113f6
correct a url ( #85245 )
2024-03-27 04:58:07 -07:00
renovate[bot]
7640922d76
Update dependency diff to v5.2.0 ( #85244 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-27 11:51:55 +00:00
renovate[bot]
c7b4427151
Update dependency date-fns to v3.6.0 ( #85243 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-27 11:51:19 +00:00
Joao Silva
951d5b4e9f
Storybook: Fix link to Saga ( #85179 )
2024-03-27 11:50:36 +00:00
Oscar Kilhed
b7156ef2c2
Dashboard scenes: Export isExpressionReference to be accessible from scenes ( #85228 )
...
Export isExpressionRef to be accessible from scenes
2024-03-27 12:35:06 +01:00
Tobias Skarhed
6248bdda48
Pa11y: Decrease error thresholds for PRs ( #85178 )
...
* Pa11y-pr: lower error thresholds
* Increase threshold for alerting
2024-03-27 12:29:54 +01:00
renovate[bot]
4cf0c8dfb2
Update dependency @grafana/plugin-e2e to ^0.25.0 ( #85236 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-27 10:26:52 +00:00
renovate[bot]
176709683a
Update dependency @grafana/faro-web-sdk to v1.5.0 ( #85235 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-27 10:25:40 +00:00
renovate[bot]
9787f19dc3
Update dependency @grafana/faro-web-sdk to v1.5.0 ( #85234 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-27 12:05:00 +02:00
renovate[bot]
e28fc1a4a5
Update dependency msw to v2.2.12
2024-03-27 09:58:56 +00:00
renovate[bot]
869a7c8e15
Update dependency xss to v1.0.15 ( #85215 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-27 11:47:13 +02:00
renovate[bot]
7df1f84c63
Update dependency nanoid to v5.0.6 ( #85205 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-27 09:29:32 +00:00
Gilles De Mey
90a1e8a82f
Alerting: Make hovercard accessible ( #85195 )
2024-03-27 10:05:30 +01:00
Pablo
ace1cd6301
CloudWatch : Add missing AWS/ES metrics ( #85210 )
...
Adding missing ES metrics
2024-03-26 16:37:07 -04:00
Sven Grossmann
e284812796
Applinks: Adds grafana-lokiexplore-app to Explore -> Logs section ( #85200 )
2024-03-26 22:18:17 +02:00
renovate[bot]
e184520c61
Update dependency @types/react to v18.2.72
2024-03-26 20:04:28 +00:00
Kyle Cunningham
c9f9e94a6c
Table Panel: Fix issue causing incorrect background coloring ( #85121 )
...
Fix color bug
2024-03-27 03:02:31 +07:00
renovate[bot]
6ed5e36fe5
Update dependency msw to v2.2.11
2024-03-26 18:56:59 +00:00
melGL
ac9523bcad
Clarify AWS Auth instructions for Grafana Cloud users ( #84312 )
...
* Clarify "Grafana Assume Role" feature instructions for Grafana Cloud users
Following the recommendations provided in Support escalation https://github.com/grafana/support-escalations/issues/8277
* Update docs/sources/datasources/aws-cloudwatch/aws-authentication/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
* Update docs/sources/datasources/aws-cloudwatch/aws-authentication/index.md
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
---------
Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com >
Co-authored-by: Jack Baldry <jack.baldry@grafana.com >
2024-03-26 11:54:57 -07:00
renovate[bot]
98eec74483
Update dependency eslint-scope to v8.0.1
2024-03-26 17:28:14 +00:00
renovate[bot]
a256c064df
Update dependency @types/react to v18.2.71
2024-03-26 17:26:50 +00:00
ismail simsek
fec7765111
Chore: InfluxQL stream parser improvements ( #85041 )
...
* don't iterate over first column as it is a time column already
* don't iterate over first column as it was handled earlier
* add more flexibility to run the commands
* Update pkg/tsdb/influxdb/influxql/converter/converter.go
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
---------
Co-authored-by: Nick Richmond <5732000+NWRichmond@users.noreply.github.com >
2024-03-26 19:25:03 +02:00
Sven Grossmann
c80b31a0d4
Loki: Remove API restrictions on resource calls ( #85191 )
...
Loki: Remove API restrictions
2024-03-26 18:15:35 +01:00
renovate[bot]
1513b0cab1
Update dependency @kusto/monaco-kusto to v10.0.18
2024-03-26 17:02:35 +00:00
renovate[bot]
1df15a3a4c
Update dependency @floating-ui/react to v0.26.10 ( #85181 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-26 16:39:24 +00:00
renovate[bot]
af3e453068
Update dependency @glideapps/glide-data-grid to v6.0.3 ( #85189 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-26 16:36:20 +00:00
Benoit Tigeot
6f38ac6615
Alerting: Reduce set of fields that could trigger alert state change ( #83496 )
...
We want to avoid too much change of alert state based on change on
alert's fields. For that we ignore some fields from the diff.
2024-03-26 12:35:30 -04:00
Julien Duchesne
2188516a21
Alerting: Fix receiver inheritance when provisioning a notification policy ( #82007 )
...
Terraform Issue: grafana/terraform-provider-grafana#1007
Nested routes should be allowed to inherit the contact point from the root (or direct parent) route but this fails in the provisioning API (it works in the UI)
2024-03-26 12:31:59 -04:00
Jo
da40158fed
Auth: Improve org role sync debugging ( #85146 )
...
add login to the context of the logger
2024-03-26 17:22:10 +01:00
renovate[bot]
5146896264
Update dependency @kusto/monaco-kusto to v10 ( #81382 )
...
* Update dependency @kusto/monaco-kusto to v10
* match types + update mocks
* Add missing esModule
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
Co-authored-by: Andreas Christou <andreas.christou@grafana.com >
2024-03-26 16:10:06 +00:00
kay delaney
08ef6e1a42
Scenes: Fix crash when searching panel options ( #85180 )
...
Closes #81883
2024-03-26 14:55:54 +00:00
Carl Bergquist
b214b07695
Scopes: Name relationship objects *binding ( #84955 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
Co-authored-by: Bogdan Matei <bogdan.matei@grafana.com >
2024-03-26 15:52:12 +01:00
Karl Persson
c39b9b2cbe
EmailVerification: Generate emails after rename ( #85175 )
2024-03-26 15:50:11 +01:00
renovate[bot]
96c626d3d3
Update dependency @msagl/parser to v1.1.18 ( #85138 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-26 16:46:35 +02:00
grafana-delivery-bot[bot]
ee4ac983b2
Changelog: Updated changelog for 10.2.6 ( #85171 )
...
* Changelog: Updated changelog for 10.2.6
* run prettier
---------
Co-authored-by: grafanabot <bot@grafana.com >
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com >
2024-03-26 14:07:40 +00:00
Eve Meelan
54270dff36
Get started with alerting fixes for publish ( #85158 )
...
* Rename alerting-get-started.md to index.md
* edits
* edits
* prettier
* Update docs/sources/tutorials/alerting-get-started/index.md
Co-authored-by: tonypowa <45235678+tonypowa@users.noreply.github.com >
---------
Co-authored-by: tonypowa <tonypowa@gmail.com >
Co-authored-by: tonypowa <45235678+tonypowa@users.noreply.github.com >
2024-03-26 06:59:01 -07:00
linoman
4e5bff0ada
Auth Drawer: Use redux store to load settings ( #85110 )
...
* use actions instead of importing the backend service
* Replace the test render for redux-rtl
2024-03-26 14:56:31 +01:00
grafana-delivery-bot[bot]
da1ef0e1fa
Changelog: Updated changelog for 10.1.9 ( #85167 )
...
Co-authored-by: grafanabot <bot@grafana.com >
2024-03-26 13:39:48 +00:00
Ryan McKinley
e5cf863973
Prometheus: Create jsonschema spec ( #85077 )
2024-03-26 16:36:39 +03:00
grafana-delivery-bot[bot]
b47dc7e8ac
Changelog: Updated changelog for 10.0.13 ( #85163 )
...
Co-authored-by: grafanabot <bot@grafana.com >
2024-03-26 13:09:53 +00:00
Mihai Doarna
6ddced7ba8
SSO: add the missing fields to the okta provider ( #85152 )
...
* add the missing allowSignUp field to okta provider
* add autoLogin to okta
2024-03-26 14:45:45 +02:00
Andrej Ocenas
aba65747c9
Nodegraph: Fix issue with rendering single node ( #84930 )
...
Fix for single node graph case
2024-03-26 13:43:43 +01:00
grafana-delivery-bot[bot]
dd93d9958d
Changelog: Updated changelog for 9.5.18 ( #85159 )
...
Co-authored-by: grafanabot <bot@grafana.com >
2024-03-26 12:37:21 +00:00
Alex Khomenko
d105323f15
SaveDashboardForm: Remove deprecated Form usage ( #84172 )
...
* SaveDashboardForm: Remove deprecated Form usage
* Update
2024-03-26 14:14:17 +02:00
Alex Khomenko
0f6858709b
Saga-icons: Switch to ESM ( #84875 )
2024-03-26 13:58:25 +02:00
Chris Bedwell
b4ed72f1b6
Tooltip / Toggletip content link styling: Remove global a element selector inside tooltips ( #84353 )
...
* fix: remove global a tag styles inside tooltips
* corret inside / outside button references in toggletip test
* Remove code and pre styling rules from tooltipUtils
2024-03-26 11:47:12 +00:00
Andreas Christou
19159a89a2
SQLEngine: Use debug method instead of custom implementation ( #85118 )
...
Use debug method instead of custom implementation
2024-03-26 11:27:07 +00:00
Sven Grossmann
9a8ae3c932
Loki: Support custom X-Query-Tags header ( #85123 )
...
* Loki: Support custom `X-Query-Tags` header
* add comment
2024-03-26 13:08:09 +02:00
Alexander Zobnin
02606be3ed
Access control: Improve annotation delete performance ( #85068 )
...
* Access control: Improve annotation delete performance
* simplify query string
* Refactor
* remove unnecessary join
2024-03-26 11:50:51 +01:00
Karl Persson
2f5e3023c2
IDFowrarding: ignore logging context canceled errors ( #85141 )
2024-03-26 11:36:44 +01:00
Sofia Papagiannaki
5ebf2d08f6
Provisioning: Fix regression when dashboardProvisioner is accessed before being initialised ( #85011 )
...
* Provisioning: Fix regression when dashboardProvisioner is accessed before being initialized
* Set dashboard provisioner in the provider
2024-03-26 12:32:56 +02:00
Torkel Ödegaard
d039a0a485
DataTrails: Fixes home page background issue to make Cards work better ( #85055 )
...
* DataTrails: Fixes home page background issue to make Cards work better
* Update DataTrailsHome.tsx
2024-03-26 10:39:56 +01:00
Dafydd
dda1531952
Update ephemeral instances workflow to get version from package.json ( #85088 )
...
* use the same value for GRAFANA_VERSION and HOSTED_GRAFANA_IMAGE_TAG
* update codeowners for these files
2024-03-26 09:24:48 +00:00
Gábor Farkas
3b7ee3a56b
MySQL: snapshot tests ( #84846 )
...
mysql: add snapshot tests
2024-03-26 10:24:33 +01:00
Gábor Farkas
c835022861
postgres: improved tests ( #84677 )
...
* postgres: tests: better test aligning time-series results
* postgres: add snapshot test for a backward-compat code
2024-03-26 10:22:58 +01:00
Erik Sundell
28ecd83987
Datasources: Add fixed width to name field in config editor ( #84970 )
...
add fixed width to name field
2024-03-26 10:13:09 +01:00
renovate[bot]
d608faa9c1
Update dependency @grafana/scenes to v4.0.3
2024-03-26 08:53:45 +00:00
renovate[bot]
4b11877337
Update dependency rudder-sdk-js to v2.48.6
2024-03-26 08:26:04 +00:00
Jo
7649d93d17
AuthProxy: Fix missing session for ldap auth proxy users ( #85090 )
...
fix missing session for ldap auth proxy users
2024-03-26 09:24:24 +01:00
Darren Janeczek
5d477d711a
datatrails: do not show the "le" label ( #85114 )
...
fix: do not show the "le" label
2024-03-26 09:00:25 +01:00
Ryan McKinley
4cda34ff7d
Expressions: Create json schema for query types ( #84032 )
2024-03-26 06:58:56 +02:00
Darren Janeczek
2e06677240
datatrails: throttle the resetting of yaxis ( #85117 )
...
fix: throttle the resetting of yaxis
2024-03-25 19:33:57 -04:00
Darren Janeczek
7c03cc83c6
Datatrails: hide empty breakdown panels, improve loading status ( #85028 )
...
feat: hide empty breakdown panels, improve loading status
2024-03-25 18:56:03 -04:00
Todd Treece
d4e6b325bf
Chore: Add github action to check go module updates ( #84936 )
2024-03-25 18:47:34 -04:00
Kyle Cunningham
154868e624
Table Panel: Fix image disappearing when datalinks applied ( #84625 )
...
* Fix link image disappearing
* Prettier
* i18n
* Fix offset to compensate for padding
* Prettier
---------
Co-authored-by: nmarrs <nathanielmarrs@gmail.com >
2024-03-26 04:13:24 +07:00
Todd Treece
dfe61db7a5
Scopes: Add type filter ( #84866 )
...
Co-authored-by: Kyle Brandt <kyle@grafana.com >
2024-03-25 16:45:32 -04:00
grafana-delivery-bot[bot]
99b5671fbe
Release: Bump version to 11.1.0-pre ( #85115 )
...
"Release: Updated versions in package to 11.1.0-pre"
Co-authored-by: grafana-delivery-bot[bot] <132647405+grafana-delivery-bot[bot]@users.noreply.github.com>
2024-03-25 21:44:28 +02:00
Juan Cabanas
bb5c5f38db
Scenes: Add reporting tab in share modal ( #85086 )
2024-03-25 16:37:00 -03:00
Gabriel MABILLE
5e48804364
RBAC: Fix slow user permission search query on MySQL ( #85058 )
...
* Bench testing search user perm
* Add BenchmarkSearchUsersPermissions_1K_1K
* Clarify benchmark searches by action prefix
* Make MySQL more efficient
* Move all filter options
* Expand after assignments union
* update comments
2024-03-25 19:11:17 +01:00
Ashley Harrison
4974a89316
Chore: update go version used in bump-version so it works with the new format ( #85111 )
...
update go version used in bump-version
2024-03-25 20:06:57 +02:00
Ieva
df40e13333
Public dashboards: fix public dashboard permissions so that annotations are displayed ( #85091 )
...
* fix public dashboard anonymous user permissions so they include the new annotation permissions
* test fix
2024-03-25 17:42:40 +00:00
Ashley Harrison
fb01ef749f
Chore: fix go.mod format ( #85108 )
...
fix go.mod format
2024-03-25 19:19:12 +02:00
Josh Hunt
a61cac9d51
Chore: Update glob-stream ( #85107 )
2024-03-25 17:15:57 +00:00
Todd Treece
9684a9e39a
Chore: Add depgaurd rules for sub-modules ( #84084 )
2024-03-25 17:15:36 +00:00
Charandas
dd7d4e2656
K8s: replace a noop certKey content func with actual if available ( #84524 )
2024-03-25 10:12:55 -07:00
Mihai Doarna
fad6dc4db1
SSO: fix reloading settings when a provider contains empty settings ( #85102 )
...
* fix reloading settings when a provider contains empty settings
* do not increment reloadFailures if settings are empty
2024-03-25 19:12:19 +02:00
Todd Treece
71c5070240
Chore: Run backend lint in PRs if .golangci.toml changes ( #85106 )
...
Chore: Run lint backend if .golangci.toml changes
2024-03-25 18:53:54 +02:00
ismail simsek
92f5a0305c
Chore: Define promlib depguard rules ( #85082 )
...
* define promlib depguard rules
* add comment
* test: break linting on purpose
* fix linting
* simple change to trigger backend linting/build in CI pipeline
2024-03-25 17:32:56 +01:00
Marie Cruz
15dca45514
docs: update status history panel ( #84939 )
...
* docs: updates to status history panel documentation
* docs: updates to status history panel documentation
* Apply suggestions from code review
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* fix: linting issues
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-03-25 12:20:10 -04:00
Marie Cruz
34195ba854
docs: updates to stat panel documentation ( #84814 )
...
* docs: updates to stat panel documentation
* Apply suggestions from code review
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
* Made formatting and wording edit
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com >
2024-03-25 12:14:46 -04:00
Marie Cruz
44ae127a6e
docs: update text panel documentation ( #84884 )
...
* docs: update text panel
* Apply suggestions from code review
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
---------
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com >
2024-03-25 12:13:56 -04:00
Bruno
a2e21eac8c
Cloud migrations: create endpoint to create an access token ( #84690 )
...
* fix merge conflicts
* make token expiration configurable
2024-03-25 12:43:28 -03:00
Charandas
e237b89fe7
K8s: skip invalid items in GetList when not invoked as part of SendInitialEvents ( #85050 )
2024-03-25 07:50:14 -07:00
Marcus Efraimsson
8f12fb94f9
Plugins: Factory for instantiating core plugin ( #85047 )
2024-03-25 15:41:26 +01:00
ismail simsek
6137c4e0a6
Chore: Bump golangci-lint v1.57.1 ( #84998 )
...
* bump golangci-lint v1.57.1
* update setting
* remove goconst
* fix linting issues
* prettier
* fix G601
* go mod tidy
go work sync
2024-03-25 15:28:24 +01:00
Ryan McKinley
e6fa367d02
k8s/query+ds: catch query errors, fix datasourceProvider and expose prometheus ( #85071 )
2024-03-25 17:22:34 +03:00
Karl Persson
2f3a01f79f
OAuth: Make sub claim required for generic oauth behind feature toggle ( #85065 )
...
* Add feature toggle for sub claims requirement
* OAuth: require valid auth id
* Fix feature toggle description
2024-03-25 14:22:24 +01:00
idafurjes
e2f155f9f7
Grafana: define the api for the grafana cloudmigration api (not the csm api) ( #84430 )
...
* Add cloud migration endpoints
* Built auth into creating a migration.
* Added more detail to the migration result model
* goimports
* Update pkg/services/cloudmigration/api/api.go
Co-authored-by: lean.dev <34773040+leandro-deveikis@users.noreply.github.com >
* Update pkg/services/cloudmigration/api/api.go
Co-authored-by: lean.dev <34773040+leandro-deveikis@users.noreply.github.com >
---------
Co-authored-by: Leonard Gram <leo@xlson.com >
Co-authored-by: lean.dev <34773040+leandro-deveikis@users.noreply.github.com >
2024-03-25 13:30:47 +01:00
tonypowa
4be5eaa14f
alerting: get started tutorial ( #84669 )
...
* first commit
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
* second commit
* updated headings
* Update alerting-get-started.md
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* third commit
* Update alerting-get-started.md
* Update alerting-get-started.md
* Update alerting-get-started.md
* edited contact point - summary
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* Update docs/sources/tutorials/alerting-get-started/alerting-get-started.md
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
* elaboration, formatting
* minor changes
* pretty
---------
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com >
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com >
2024-03-25 05:27:23 -07:00
Adam Bannach
d7f739c8e5
Fix InteractiveTable: React, less hooks rendered than previous render ( #85043 )
...
fix: react-hooks error if data length switches from above or below pageSize
2024-03-25 13:53:45 +02:00
Tom Ratcliffe
40e73f389f
Add jest watch plugins for better experience filtering tests
2024-03-25 11:36:45 +00:00
Tom Ratcliffe
ebd191394a
Add jest-watch-typeahead dev dependency
...
https://www.npmjs.com/package/jest-watch-typeahead
2024-03-25 11:36:45 +00:00
github-actions[bot]
82b82675f7
I18n: Download translations from Crowdin ( #85006 )
2024-03-25 10:59:46 +00:00
Serge Zaitsev
4d4c06b480
Chore: Vendor wire into pkg/build ( #84637 )
...
* vendor latest wire into pkg/build
* use vendored wire in builds
* fix wire import path
* remove wire from bingo
* also support google/wire import
* make prettier happy
* change package in tess
* add debug walk for drone
* add wire_gen in tests
* remove debug walk
* restore imports
2024-03-25 11:23:27 +01:00
Ashley Harrison
36ee1571b6
EmptyState: Rename "search" variant to "not-found" ( #85062 )
...
* rename "search" variant to "not-found"
* run i18n:extract
2024-03-25 09:55:48 +00:00
linoman
fc205db466
samlsettings: api integration ( #84300 )
...
* add strategy and tests
* use settings provider service and remove multiple providers strategy
* Move SAML strategy to ssosettings service
* Update codeowners file
* reload from settings provider
* add saml as configurable provider
* Add new SAML strategy
* rename old saml settings interface
* update saml string references
* use OSS license
* validate saml provider depends on license for List
* add tests for list rendering including saml
* change the licensing validation to service init
* replace service struct for provider
2024-03-25 10:54:45 +01:00
Karl Persson
c33bc819bc
SigningKeys: Add added_at when creating new signing key ( #85060 )
2024-03-25 09:58:40 +01:00
Charandas
2f5be54252
Makefile: fix test-go to run all ( #85048 )
2024-03-25 10:49:36 +03:00
Oscar Kilhed
6c6b93d8e0
Dashboards: Fix an issue where the dashboard would unmount and then mount again causing requests to cancel under some circumstances ( #85003 )
...
* Fix issue where dashboard unmounts and mounts again causing requests to be canceled
* Fix tests, add test
2024-03-25 09:28:36 +02:00
Ryan McKinley
713970d00a
SQLStore: Cleanup migrationLocking ( #85054 )
2024-03-25 10:09:15 +03:00
Charandas
3c42a2efd2
K8s: file storage - add sync around resource version (RV) management ( #84694 )
2024-03-23 23:58:48 -07:00
Brendan O'Handley
d084595211
Prometheus: Use frontend package in Prometheus DS with a feature toggle ( #84397 )
...
* add feature toggle usePrometheusFrontendPackage
* add feature toggle logic to Prometheus module
* use config editor with package and remove configOverhaul feature toggle
* update betterer because we will be removing other files as we replace with files from @grafana/prometheus
* fix exemplar ds picker selector
* add more description to ts-ignore
* remove go.work.sum change
* copy go.work.sum from main
* update go.work.sum after talking with ismail
* put back the promlib entry
---------
Co-authored-by: ismail simsek <ismailsimsek09@gmail.com >
2024-03-22 19:47:53 -05:00
Nathan Marrs
cdb64cb7eb
Canvas: Address connection vertex bug ( #85026 )
2024-03-23 01:54:10 +02:00
Khushi Jain
076dd53a40
Chore: Remove gf-form from InfluxDB Annotation Query Editor ( #84809 )
...
Chore: Remove gf-form from Annotation Query Editor - Influx DB
2024-03-23 00:52:40 +01:00
Matthew Jacobson
0c3c5c5607
Alerting: Stop persisting silences and nflog to disk ( #84706 )
...
With this change, we no longer need to persist silence/nflog states to disk in addition to the kvstore
2024-03-23 00:37:33 +02:00
Yuri Tseretyan
48de8657c9
Alerting: Editor role can access all provisioning API ( #85022 )
2024-03-23 00:14:15 +02:00
George Robinson
87548968e9
Alerting: Update grafana/alerting to a4bb859 ( #84815 )
2024-03-22 22:03:13 +00:00
Lars Stegman
188aed05f9
Transformer: Config from Query: set threshold colours ( #83366 )
...
* Fix typo
* Create handler arguments
* Create handler arguments editor
* Create link in editor
* Add labels to arguments editor fields
* Create unit tests
* Hide "Additional settings" header when no additional settings possible
* Remove div
* Fix invalid DOM
---------
Co-authored-by: jev forsberg <jev.forsberg@grafana.com >
2024-03-22 15:39:01 -06:00
Adela Almasan
5b0b8cb4bf
DashboardAI: UX improvements ( #84934 )
2024-03-22 15:39:26 -05:00
Nathan Marrs
26473a0074
Canvas: Add "infinite" pan / zoom functionality ( #84968 )
...
* attempt at solving issue and resetting bounds to match panel content
* cleanup failed experiments
* add toggle for infinite pan - dont love naming but open to suggestions; clean up scene transform function
* add ability to "infinite" zoom (i.e. render more canvas via zooming out)
* slight refactor
* revert refactor as it broke things
2024-03-22 21:38:45 +01:00