Commit Graph

46208 Commits

Author SHA1 Message Date
Laura Benz
a546db4b3a
Nav: Remove and refactor MegaMenu and its sub-components (#76614)
* refactor: remove hasActiveChild

* refactor: remove unused properties from MegeMenuItemText

* refactor: remove MegaMenuItemIcon

* refactor after code review
2023-10-17 10:34:44 +02:00
renovate[bot]
99c2467db3
Update dependency rc-slider to v10.3.1 (#76622)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-17 09:34:06 +01:00
Giuseppe Guerra
f5076d1868
Plugins: Add status_source label to plugin request metrics (#76236)
* Plugins: Chore: Renamed instrumentation middleware to metrics middleware

* Removed repeated logger attributes in middleware and contextual logger

* renamed loggerParams to logParams

* PR review suggestion

* Add pluginsInstrumentationStatusSource feature toggle

* Plugin error source prometheus metrics

* Add error_source to logs

* re-generate feature toggles

* fix compilation issues

* remove unwanted changes

* Removed logger middleware changes, implement error source using context

* Renamed pluginmeta to pluginrequestmeta, changed some method names

* Fix comment

* pluginrequestmeta.go -> plugin_request_meta.go

* Replaced plugin request meta with status source

* Add tests for pluginrequestmeta status source

* Fix potential nil pointer dereference in instrmentation middleware

* Add metrics middleware tests

* Sort imports in clienttest.go

* Add StatusSourceFromContext test

* Add error_source label to plugin_request_duration_seconds

* Re-generate feature flags

* lint

* Use StatusSourcePlugin by default

* re-generate feature flags
2023-10-17 10:27:45 +02:00
Joey
8ebbe06377
Tracing: Remove unused code (#76538)
Remove unused code
2023-10-17 09:19:37 +01:00
Matthew Jacobson
676877f882
Chore: Reduce flakiness of e2e tests caused by write contention in sqlite (#76659)
Reduce flakiness of e2e tests caused by write contention in sqlite

Write contention in sqlite on startup intermittently causes failed tests because
 of failed service runs. This can have various root causes, one example is
 dashboard provisioning:

Dashboard provisioning's frequent commits can cause other read transaction
 snapshots to invalidate and throw SQLITE_BUSY/SQLITE_BUSY_SNAPSHOT. If those
 failing transactions have a long length but not long enough to ensure all of
 the dashboards have finished provisioning it will run out of retries and fail
 entirely.

 This change helps indirectly reduce these write contentions by limiting the
 connection pool for e2e tests.

 As a bonus, having our e2e tests run using `max_open_conn = 2` means it acts
 as a guard against regressions that would affect certain internal instances
 that run with these settings.
2023-10-17 10:49:49 +03:00
Dimitris Sotirakis
faa22b8f20
CI: Remove 0.0.0-test tag event (#76662)
Remove 0.0.0-test tag event
2023-10-17 10:20:14 +03:00
Adela Almasan
19795f9c07
Legend: Better support for 2 y-axis (#76092) 2023-10-16 20:54:16 -06:00
Alexa V
8dfd918200
Dashboard: Use Interval variable in DashboardScene (#75836)
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2023-10-16 17:34:09 +02:00
Andres Martinez Gotor
157ea31b03
Build testdata frontend standalone (#75833) 2023-10-16 17:31:43 +02:00
Josh Hunt
8c456ec24b
Docs: Update new Browse Dashboards (#76567)
* Docs: Update new Browse Dashboards

* Apply suggestions from code review

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

* add date

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-16 15:24:22 +00:00
renovate[bot]
6d5e728d99
Update dependency rc-drawer to v6.5.2 (#76621)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 16:13:27 +01:00
Alexander Zobnin
87d697e4fe
TeamPicker: Add optional initial value support (#76353)
* TeamPicker: Add optional initial value support

* Rename value to teamId
2023-10-16 17:02:12 +02:00
Kyle Brandt
5a2a3ab596
docs/whatsnew: (10.2) Add recorded queries multiple metrics (#76554)
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-16 17:54:23 +03:00
Isabella Siu
2054c53877
CloudWatch Logs: Add pattern command to syntax (#76152) 2023-10-16 10:46:17 -04:00
Isabel
1bc3bb4a60
Docs: add alerting insights entry (#76549)
* Added alerting insights entry

* Added placeholder date field

* Added date
2023-10-16 10:40:30 -04:00
Will Browne
9d92818cae
Plugins: Update PDC pattern from latest plugin SDK changes (#76576)
* update with sdk

* do sql

* fix core plugins

* fix proxy settings

* bump SDK version

* tidy

* enable pdc for test

* add codeowners

* bump dep

* go mod tidy

* bump SDK
2023-10-16 16:40:04 +02:00
Isabel
c095ffa240
Docs: add correlations content to What's new in Cloud (#76558)
* Added correlations content

* Added dates

* Fixed linting errors
2023-10-16 10:33:26 -04:00
Daniel Li
67656ebd06
Documentation: Clean up Docker installation docs (#76164)
* docs: fix minor inaccuracies

- give content on the type of data that needs persistence
- Use more precise terminology
  - persistent storage != Docker volumes
  - filesystem changes remains in a stopped container
      and only discard when container removed
  - 'directory' is more accurate than 'folder'
- fix typo: `grafana_data` should be `grafana-storage`

* docs: fix grammar and use 'directory' consistently

* docs: replace 'sqlite3' with 'SQLite version 3'
2023-10-16 09:24:47 -05:00
Joey
7680576c6a
Docs: Whats new for multiple spansets (#76447)
* Whats new for multiple spansets

* Added date

* Updated link format

* Updated version syntax

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-16 09:53:54 -04:00
Esteban Beltran
c986029f43
Sandbox: Add e2e tests to test global variables access (#76598)
* Sandbox: Add e2e tests to test global variables access

* Trigger drone again

* Add be.visible validation to global object elements
2023-10-16 15:00:46 +02:00
Jennifer Villa
8156457867
Add Aggregate by to what's new (#76550)
* Add Aggregate by to what's new

* Update index.md

* Update index.md

* Update index.md

* Update index.md

* Add demo image

* Apply suggestions from code review

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

---------

Co-authored-by: Joey Tawadrous <joey.tawadrous@grafana.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-16 08:57:27 -04:00
Alex Khomenko
406888d9aa
Stack: Filter out undefined children (#76617) 2023-10-16 15:25:09 +03:00
renovate[bot]
db4b7a38b2
Update dependency rc-cascader to v3.18.1 (#76616)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 12:52:09 +01:00
renovate[bot]
aad68ac3ba
Update dependency msw to v1.3.2 (#76615)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 14:14:38 +03:00
Karl Persson
ae5e03034b
RBAC: generated prefixed uids for external service role (#76601)
* Replace FixedRoleUID function with a common function to generate these prefixes

* Use common function to generate prefixed uid for external service accounts

Co-authored-by: Gabriel MABILLE <gabriel.mabille@grafana.com>

---------

Co-authored-by: Gabriel MABILLE <gabriel.mabille@grafana.com>
2023-10-16 13:12:16 +02:00
Alex Khomenko
bc98f3d139
Grafana UI: Add Avatar component (#76429)
* Grafana/UI: Add Avatar component

* Use the new component

* Add docs and story

* Update type check

* Codeformat
2023-10-16 13:59:54 +03:00
Deepayan Mukherjee
c04e96b3ed
Elasticsearch: Remove LegacyForms and gf-form from DataLink (#76397)
* remove LegacyForms and gf-form references from ElasticSearch DataLink page

Signed-off-by: Deepayan Mukherjee <deepayanmukherjee1312@gmail.com>

* fix breaking tests by adding label to inline switch

Signed-off-by: Deepayan Mukherjee <deepayanmukherjee1312@gmail.com>

---------

Signed-off-by: Deepayan Mukherjee <deepayanmukherjee1312@gmail.com>
2023-10-16 13:27:42 +03:00
renovate[bot]
fb7ba57268
Update dependency i18next-browser-languagedetector to v7.1.0 (#76611)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 11:18:47 +01:00
renovate[bot]
ede77b0f8e
Update dependency eslint-plugin-react to v7.33.2 (#76610)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 11:18:19 +01:00
Laura Benz
5423e75bf3
Nav: Replace cloneDeep() in MegaMenu (#76607)
* refactor: remove deep clone of nav tree

* refactor: fix mutation issue
2023-10-16 12:03:35 +02:00
renovate[bot]
549df18adc
Update dependency eslint-plugin-jsdoc to v46.8.2 (#76606)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 10:49:47 +01:00
Joao Silva
a8b9c04cc1
Grafana/UI: Extend all layout component props to include html attributes (#76560) 2023-10-16 10:37:09 +01:00
Joao Silva
260e123b35
Transformations: Remove usage of gf-forms in FilterByValue transformation (#76570) 2023-10-16 10:36:48 +01:00
renovate[bot]
70d41d5a80
Update dependency eslint-plugin-jest to v27.4.2 (#76602)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 10:34:11 +01:00
renovate[bot]
e380daf6b9
Update dependency eslint to v8.51.0 (#76522)
* Update dependency eslint to v8.51.0

* update sdk version

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-10-16 10:23:00 +01:00
renovate[bot]
474e433a7a
Update dependency @grafana/scenes to v1.19.0 (#76507)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 10:12:48 +01:00
Shabeeb Khalid
ad15c55803
Loki: Remove legacy form classes from LokiQuerySettings (#76331)
* Remove legacy form from LokiQuerySettings

With this commit, legacy form components are remvoed from loki query
settings page. Form is now using InlineField instead.

* Fix the width of loki predefined ops input

* Fix the width of loki predefined ops input

* Fix type in loki query component input field
2023-10-16 11:05:30 +02:00
renovate[bot]
f3c4d76d15
Update dependency eslint-plugin-import to v2.28.1 (#76539)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-16 09:31:42 +01:00
Nathan Marrs
0238db42af
DashGPT: Improve save dashboard description generation (#75699)
Co-authored-by: Aaron Sanders <aaron.sanders@grafana.com>
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com>
2023-10-14 03:02:45 +03:00
Leon Sorokin
56c2d8ff40
Snapshots: Fix breakage of some panel types due to missing structureRev (#76586) 2023-10-13 18:56:51 -05:00
Adela Almasan
3ba78c45d1
Canvas: Promote Button to beta (#76582) 2023-10-14 01:59:12 +03:00
Isabel
862fd83f2d
Docs: add cloud feature release dates (#76585)
Added release dates
2023-10-13 18:04:13 -04:00
Isabel
f906bc152d
Docs: add no basic role to Cloud what's new (#76577)
Added no basic role content
2023-10-13 17:23:06 -04:00
Isabel
ae6f478c4e
Docs: add content outline to Cloud what's new (#76579)
* Added content outline to what's new

* Fixed formatting

* add docs link

* Added version syntax

* Added page anchor and removed text reference to page section

---------

Co-authored-by: harisrozajac <haris.rozajac12@gmail.com>
2023-10-13 17:18:24 -04:00
Beverly
3622120664
Docs k8smon whats new content (#76153)
* test commit

* Content additions

* Additional edits

* Added cloud metadata

* Remove "now" language

* Reordered and reformatted, added release numbers

* Addl edits

* Addl edits

* Added images

* Correct hyperlink

* Fix link to png

* Change heading for readability

* Fix doc link

* Fix doc link

* Remove doc link

* Update docs/sources/whatsnew/whats-new-next/index.md

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

* Update docs/sources/whatsnew/whats-new-next/index.md

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

* Updates to formatting, added dates

* Added shortcodes for images

* Resize images, reformat

* Updated date format

* Fixed linting errors

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
2023-10-13 15:45:47 -04:00
Sol
889576ac1d
Transforms: Add 'Format String' Transform (#73624)
* Format String Implementation

* Prettier

* Unify Every/Pascal/Camel cases

* Reformat + add new cases

* Add Trim and Substring to the transform options

* Trim/Substring tests+formatting

* refactor

* docs + feature toggle

* add category

* docs. add svg. change description

* revert weird add from merge

* readd config. change description

* docs change

* Adding experimental shortcode

* Add code formatting

* change shortcode

---------

Co-authored-by: Victor Marin <victor.marin@grafana.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-13 21:17:12 +03:00
Jo
48ef88aed7
Access: Fetch fresh permissions for target GlobalOrgID in AuthorizeInOrgMiddleware (#76569)
fetch fresh permissions for global in AuthorizeInOrgMiddleware

Update pkg/services/accesscontrol/authorize_in_org_test.go

do not load viewer permissions in global ID
2023-10-13 21:01:47 +03:00
Tobias Skarhed
335b73d9ae
Chore: remove gf-forms and LegacyForms from Graphite ConfigEditor (#76038)
* Chore: remove gf-forms and LegacyForms from Graphite ConfigEditor

* Use Field instead of InlineField

* Remove unused imports
2023-10-13 19:58:03 +02:00
Daniel Benjamin
7f89251dc9
chore: Remove gh-form and LegacyForms from InfluxFluxConfig (#76495)
* chore: replace SecretFormField with SecretInput

* chore: Remove gh-form and LegacyForms from InfluxFluxConfig
2023-10-13 19:55:37 +02:00
Isabel
5ba32e0f11
Add public dashboards GA content (#76496)
* Added public dashboards content

* Updated Loom link

* Added back old Loom embed to help troubleshoot new embed

* Add video

* Added video embed shortcode

* Fixed embed code
2023-10-13 13:37:25 -04:00