Commit Graph

55351 Commits

Author SHA1 Message Date
Matthew Thorning
6e13d1c3b3
Docs: Update frontend.md (#96816)
* Update frontend.md

removed incorrect lines which describe the type of case (camelCase, PascalCase, etc.) should be used.

* Update contribute/style-guides/frontend.md

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>

* Update contribute/style-guides/frontend.md

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>

* Update contribute/style-guides/frontend.md

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>

---------

Co-authored-by: Agnès Toulet <35176601+AgnesToulet@users.noreply.github.com>
2024-11-25 09:32:27 +01:00
Matheus Macabu
1bf35c97e5
CloudMigrations: fix flaky test on snapshot status (#96827)
* cloudmigration: uncomment flaky test

* cloudmigration: refactor test snapshot status
2024-11-25 09:28:00 +01:00
dependabot[bot]
97fc5abb85
Bump gocloud.dev from 0.39.0 to 0.40.0 (#95900)
* Bump gocloud.dev from 0.39.0 to 0.40.0

Bumps [gocloud.dev](https://github.com/google/go-cloud) from 0.39.0 to 0.40.0.
- [Release notes](https://github.com/google/go-cloud/releases)
- [Commits](https://github.com/google/go-cloud/compare/v0.39.0...v0.40.0)

---
updated-dependencies:
- dependency-name: gocloud.dev
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* update workspace

* skip flakey test

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Grot <grot@grafana.com>
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2024-11-25 11:04:34 +03:00
grafana-pr-automation[bot]
7ac3e7f6c4
I18n: Download translations from Crowdin (#96911)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-25 07:44:16 +02:00
Isabel Matwawana
dc97e60323
Add example to Extract fields RegExp option (#96946)
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-11-23 00:15:20 +02:00
Sriram
ea3bc8f253
MySQL: Datasource health check error message improvements (#96906)
* updated mysql health check error messages

* fix betterer error

* fix lint errors

* renamed moreDetailsLink to errorDetailsLink

* update

* added i18n locale files
2024-11-22 21:58:35 +00:00
Ryan McKinley
94262fd095
Search: expose search on dashboard apiserver (v0alpha1) (#96907) 2024-11-22 22:26:56 +02:00
Nick Richmond
8a006dd4b6
ExploreMetrics: Prefer underscores for events (#96938)
refactor: event casing
2024-11-22 22:18:27 +02:00
Andreas Christou
4ea15f2f2c
Bump Plugin SDK version (#96933)
* Bump Plugin SDK version

* Rerun update-workspace
2024-11-22 20:43:13 +02:00
Sven Grossmann
b3b339d5bb
Explore Metrics: Remove disabled state from exploration button (#96910) 2024-11-22 18:39:38 +01:00
Karl Persson
c2cd08ee84
AdminUserTable: Add some basic render tests (#96927)
* Add some basic render tests
2024-11-22 17:11:27 +01:00
Leonor Oliveira
2a74778776
Support delete endpoint for folders (#96573)
* Support delete endpoint for folders

* Include authorizer

* Add test for delete verb

* Add delete command to delete options

* Pass query string to context to admission

* Dont support nested folder deletion for now

* Skip test if feature flag is present

* Add test case

* Remove comment

* Only rely on the storage type config to run alerting tests

* Dont change legacy subpath

* Remove unised function

* Add test case when an editor can delete alert rules

* Lint
2024-11-22 16:51:53 +01:00
Gabriel MABILLE
3c876f0208
AuthZ: Introduce cloud mode (#96922)
* AuthZ: Introduce cloud mode

* Update readme
2024-11-22 16:19:53 +01:00
Ryan McKinley
c6848d4b68
UnifiedSearch: Introduce a ResourceIndex interface and bleve implementation (#96826)
Co-authored-by: Scott Lepper <scott.lepper@gmail.com>
2024-11-22 16:44:06 +03:00
maicon
bbae396db4
Unistore: Add GetFolders endpoint backed by UnifiedStorage (#96399)
* Unistore: Add GetFolders endpoint backed by UnifiedStorage

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

---------

Signed-off-by: Maicon Costa <maiconscosta@gmail.com>
Co-authored-by: Arati R. <33031346+suntala@users.noreply.github.com>
2024-11-22 10:38:00 -03:00
Pepe Cano
706300e9b7
Alerting: notification template group (#96447)
Co-authored-by: brendamuir <100768211+brendamuir@users.noreply.github.com>
Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2024-11-22 14:40:20 +02:00
Bogdan Matei
451b226644
Scopes: Change icon for suggested dashboards (#96902) 2024-11-22 14:30:14 +02:00
Alex Khomenko
d981c67a69
UserTable: Fix translations in tooltip (#96909) 2024-11-22 14:03:47 +02:00
Matias Chomicki
03b323cb61
DataSourceWithSupplementaryQueriesSupport: remove @internal (#96901)
* DataSourceWithSupplementaryQueriesSupport: no longer internal

* Loki: update comments
2024-11-22 12:12:59 +01:00
Sonia Aguilar
977184b878
Alerting: Simplify notification step (#96430)
* Move evaluation outside folder section, and move labels in instead

* rename file

* update translations

* refactor

* rename file and component

* refactor

* fix test

* refactor

* rename files and components

* update translations

* fix style

* update translations

* Add feature toggle for simplified mode in notifications step

* WIP

* Use useAppNotification for toasts

* update label when group can not be selected yet

* update translations

* WIP

* update some texts and add comment

* update translations

* remove duplicated code

* fix typo

* update translations

* update styles and remove label

* update simplified_notifications_section name according BE changes

* remove FolderWithoutGroup

* remove commented code

* prettier

* remove SIMPLIFIED_NOTIFICATION_STEP_KEY and use MANUAL_ROUTING_KEY instead

* styles cleanup

* Update docs/sources/setup-grafana/configure-grafana/feature-toggles/index.md

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>

* merge main and prettier doc

---------

Co-authored-by: Gilles De Mey <gilles.de.mey@gmail.com>
2024-11-22 13:07:45 +02:00
Ryan McKinley
68c61514b0
Chore: Remove experimental Storage UI (#96887) 2024-11-22 12:38:02 +02:00
Andre Pereira
6a0fd05a9e
Datasources: Allow clearing trace to logs, metrics and profiles datasource pickers (#96554)
Allow clearing trace to logs, metrics and profiles datasource pickers
2024-11-22 09:54:41 +00:00
Sergej-Vlasov
446895ce3f
TransformationFilter: Implement RefID multi picker (#96841)
* implement refID multi picker for transformation filter

* regexp-foo

* reword comment

* lint

---------

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2024-11-22 09:24:59 +00:00
Ryan McKinley
53245e2742
Provisioning: Add feature toggle (#96891) 2024-11-22 11:03:50 +02:00
Ryan McKinley
c63305a700
Chore: Remove unreachable dashboards from datasource code (#96886) 2024-11-22 11:47:51 +03:00
Larissa Wandzura
26be86ee15
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>
2024-11-21 13:37:03 -06:00
Leon Sorokin
3e79ead240
TraceQL: Speed up autocomplete tag processing by 100x (#96862) 2024-11-21 18:52:58 +00:00
Kristina
f9eb013334
Transformations: Preserve base threshold when using Config from query results (#96781)
* Merge in default threshold base if exists

* Fix tests to not expect default threshold

* Add config from query example to gdev

* Add a test around the merging of thresholds

* Revert "Add config from query example to gdev"

This reverts commit a239224ebb.

* update gdev

* Add note about keeping the base threshold

* Update public/app/features/transformers/docs/content.ts

Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>

* Merge in generated code

---------

Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
Co-authored-by: Isabel Matwawana <76437239+imatwawana@users.noreply.github.com>
2024-11-21 12:46:29 -06:00
lean.dev
e9fae5bd7f
CloudMigration: Create authapi service (#96581) 2024-11-21 20:46:06 +02:00
Kat Yang
c8bc1f8637
Test: Add unit tests for the homepage (#95912)
* test: add skeleton for initial unit tests

* test: add basic tests for DataTrailsHome

* test-wip: add tests for recent metrics functionality, but need to move from DataTrailsHome.test to DataTrailsRecentMetrics.test

* wip: tests for DataTrailBookmarks

* test: add tests for recent metrics; refactor: make DataTrailsRecentMetrics accept onSelect as prop rather than whole trail; test: add tests for DataTrailCard (WIP)

* test: add test for truncates long list of labels after 3 lines in recent explorations

* refactor: make DataTrailBookmarks take in onSelect and onDelete as props rather than a whole trail and onDelete; test: add tests for bookmarks (WIP)

* remove deprecated style

* fix import issues

* fix getTrailForBookmark tests by returning a trail, clean up tests

* chore: delete notes to self

---------

Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com>
2024-11-21 12:36:45 -05:00
Matias Chomicki
30b3fd2864
Shard query splitting: don't shard metric queries (#96848) 2024-11-21 19:20:48 +02:00
Kristina
d5a5edf5a8
NodeGraph: Use target if in link (#95733)
* Add target to items, use item target for link

* let defined false mean self, only use default in explore if one is not defined
2024-11-21 10:15:27 -06:00
Adela Almasan
d152770b6a
Table: Update background in nested table (#96754) 2024-11-21 09:32:50 -06:00
Joao Silva
3ceaa42d20
Bookmarks: Do not show on navigation or button for unauthed users (#96836) 2024-11-21 15:32:38 +00:00
Carl Bergquist
35d1274919
Logging: Enables unified error logging by default (#96512)
enables unified error logging by default

Signed-off-by: bergquist <carl.bergquist@gmail.com>
2024-11-21 17:12:00 +02:00
Kevin Minehart
2400483d6c
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>
2024-11-21 17:08:02 +02:00
grafana-pr-automation[bot]
3984756ccc
I18n: Download translations from Crowdin (#96835)
New Crowdin translations by GitHub Action

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-21 16:18:36 +02:00
brendamuir
b392a44737
Alerting docs: fix data source link (#96819)
* Alerting docs: fix data source link

* updates

* corrects menu path

* correct pattern destination
2024-11-21 15:03:03 +01:00
Misi
d0d62fc518
Chore: Use the correct value in log (#96840) 2024-11-21 16:02:37 +02:00
Victor Marin
d5f404d082
Dashboards: Add possibility to lock multi value variables option list (#95949)
* add new option for multi variables to lock value list wip

* WIP - lock option list

* tests

* fix

* fixes + canary scenes

* wip

* wip

* fix snapshot

* bump scenes

* Dashboards: Add possibility to lock adhoc variables options list (#96077)

* Lock list of options flag for ad hoc

* refactor

* fix snapshot
2024-11-21 16:01:54 +02:00
Marc M.
d567be2f10
Tempo: Add ellipsis to span name in the span details view (#96719) 2024-11-21 13:57:42 +00:00
Misi
1061e4712f
OAuth: Refactor OAuthToken service to make it easier to use the new external sessions (#96667)
* Refactor OAuthToken service

* introduce user.SessionAwareIdentityRequester

* replace login.UserAuth parameters with user.SessionAwareIdentityRequester

* Add nosec G101 to fake ID tokens

* Opt 2, min changes

* Revert a change to the current version
2024-11-21 15:36:28 +02:00
jackyin
afb4f6c0ce
Org Selection: Show correct selected org when select is open (#96601)
* Org: select default is incorrect

* optimize

* Update public/app/core/components/AppChrome/OrganizationSwitcher/OrganizationSelect.tsx

Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>

* optimize

* optimize

---------

Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
2024-11-21 15:20:22 +02:00
Prem Saraswat
ca2c874161
authn: grpcutils: Mark ID Tokens optional in cloud mode in gRPC Authenticator (#96824)
This patch marks ID tokens as not required when initalising a gRPC
Authenticator to be used in `cloud` mode. ID Tokens are still enabled in
`cloud` mode, but the `Required` option is set to `false`.

This is needed for MT services like Cloud API Server to authenticate
against gRPC services like Resource Store with only an Access Token.

Signed-off-by: Prem Kumar <prem.saraswat@grafana.com>
2024-11-21 18:41:49 +05:30
Ashley Harrison
c2e1a405b9
Chore: Mark up some content for translations (#96716)
* translate some of core

* more

* translate admin

* fix count translations

* update unit tests
2024-11-21 12:59:14 +00:00
Georges Chaudy
4f8ab73a8c
unistore: Add support for verify-full in postgres (#96825)
Add support for verify-full in postgres
2024-11-21 12:31:33 +00:00
Josh Hunt
f6b6935563
Chore: Make ResizeObserver test mock only emit if an element is being observed (#96770)
* Chore: Make ResizeObserver test mock only emit if an element is being observed

* update test that relied on old mock behaviour
2024-11-21 10:39:19 +00:00
Andrej Ocenas
58e9f22c1b
Sidecar: Specify where it can be opened and when it automatically closes (#96683) 2024-11-21 11:27:01 +01:00
Tobias Skarhed
fd3ecacd05
Angular: Remove unused admin pages (#96526)
* Remove unused Angular admin pages

* Update betterer
2024-11-21 11:23:35 +01:00
Georges Chaudy
8bb59c64f0
unistore: handle auth when fallback is used (#96772)
* handle auth when fallback is used

* handle auth when fallback is used

* add traces
2024-11-21 12:21:22 +02:00