Commit Graph

52753 Commits

Author SHA1 Message Date
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