3
0
mirror of https://github.com/grafana/grafana.git synced 2025-02-25 18:55:37 -06:00
Commit Graph

45473 Commits

Author SHA1 Message Date
Ashley Harrison
e82e1593d8
Chore: Remove some hardcoded waits from e2e tests ()
remove some hardcoded waits
2023-09-27 14:25:04 +01:00
Levente Balogh
163b0d182b
Connections: Make the "Add new Connection" page work without internet access ()
* fix: make the "Add new Connection" page work without internet access

* feat: update error message

* fix: update the API url in the error log
2023-09-27 15:04:23 +02:00
Ashley Harrison
b374912937
Drawer: Make content scroll by default ()
* deprecate scrollableContent prop and make it the default behaviour

* restore prop behaviour, just make it default to true

* Update packages/grafana-ui/src/components/Drawer/Drawer.tsx

Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com>

---------

Co-authored-by: Alexa V <239999+axelavargas@users.noreply.github.com>
2023-09-27 13:31:57 +01:00
Virginia Cepeda
14e94d663f
Alerting: Show panels within collapsed rows in dashboard picker ()
* Show panels within collapsed rows in dashboard picker

* Fix lint

* fix lint
2023-09-27 09:15:42 -03:00
Esteban Beltran
2bbd5521fe
Sandbox: Use resolveCache to resolve plugin's code file as systemjs does ()
* Sandbox: Use resolveCache to resolve plugin's code file as systemjs does

* Add clarifying comments
2023-09-27 13:56:35 +02:00
Josh Hunt
720543f483
Chore: Remove unreachable return in parseDataplaneLogsFrame () 2023-09-27 11:11:37 +00:00
Ashley Harrison
d8e99e2bb5
Chore: Remove more stuff from the e2e object ()
* cut down the e2e object more :)

* undo changes in grafana-e2e

* couple more things to undo in grafana-e2e
2023-09-27 11:33:00 +01:00
Andrej Ocenas
2a9ef4cce5
Flamegraph: Fix css issues when embedded outside of Grafana () 2023-09-27 11:50:42 +02:00
Karl Persson
b50f1e15a8
IDForwarding: Add service and a local signer ()
* IDForwarding: Add service for handling id token and create a local signer
---------

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2023-09-27 11:36:23 +02:00
Esteban Beltran
5983bcec86
Sandbox: Add additional e2e tests for panel editor ()
* Sandbox: Add e2e test to validate panel editors reaching out of their render space

* remove props
2023-09-27 11:34:23 +02:00
Gabriel MABILLE
0ed649b108
AuthN: Change EnableDisabledUserHook to EnableUserHook ()
* Replace the enable disable user hook by a hook that systematically enable users

* Fix tests

* Remove the skip test
2023-09-27 11:16:53 +02:00
Matias Chomicki
a3d0dfcbcc
Loki: Improve getLogQueryFromMetricsQuery ()
* Query utils: fix bug in getLogQueryFromMetricsQuery function

* Query utils: implement getLogQueryFromMetricsQueryAtPosition

* Loki autocomplete situation: use getLogQueryFromMetricsQueryAtPosition

* Fix typo

* getLogQueryFromMetricsQueryAtPosition: use find instead of filter
2023-09-27 11:39:50 +03:00
Joey
d57aef2eda
Tempo: Normalize static filter queries ()
* Only show static filter if tag is defined

* Update previosuly left out test

* Add test

* Add warning if tag is missing
2023-09-27 09:03:37 +01:00
Marcus Efraimsson
0128d0403f
Tracing: Use tracing.InitializeTracerForTest () 2023-09-27 09:51:57 +02:00
Andres Martinez Gotor
af8a46adbb
Bug Fix: Restore health check error () 2023-09-27 10:44:43 +03:00
Gilles De Mey
d24dc7f156
GrafanaUI: Adds overflow wrapper to loading bar () 2023-09-27 08:09:52 +02:00
Alex Khomenko
87ced17060
Admin: Use InteractiveTable for user and team tables ()
* Admin: Use InteractiveTable

* Admin: Fix pagination

* Admin: Use CellWrapper

* Admin: Split components

* Admin: Separate OrgUsersTable

* Admin: Remove UsersTable

* Admin: Use the new table for TeamList

* Admin: Cleanup TeamList page

* Admin: Add edit team action

* Admin: Use explicit edit action instead of a link wrapper

* Admin: Fix responsive styles

* Cleanup

* Remove redundant sort

* Add item key

* Fix icon styles

* Set loading by default

* Use separate pagination component

* Use default sorting functionality

* Fix merge conflicts

* Update betterer

* Move pagination inside OrgUsersTable.tsx

* Disable sort if results have more than 1 page

* Update betterer results

* Use CSS objects

* More style fixes

* Update betterer
2023-09-27 08:55:57 +03:00
Leon Sorokin
32ed3e8009
TimeSeries: Implement ad hoc y-zoom via Shift-drag () 2023-09-26 18:12:45 -05:00
Todd Treece
bb9e66e671
K8s: Add storage dual writer () 2023-09-26 17:15:15 -04:00
Tim Levett
ebec452f9f
Use the full commit sha ()
remove the --short from the commit sha because we had issues with our commit lookup with the short
2023-09-26 14:15:39 -05:00
Carl Bergquist
8d62ed77f0
instrumentation: set slogroup high-fast for more handlers ()
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2023-09-26 19:11:29 +02:00
Kevin Minehart
edc36d3948
CI: check /tmp/grafana-enterprise; don't fail if rev-parse fails ()
check /tmp/grafana-enterprise; don't fail if rev-parse fails
2023-09-26 20:09:18 +03:00
Yuri Tseretyan
237ce5ea82
Alerting: Extract methods for fetching rule groups with authorization ()
* extract methods for fetching rule groups with authorization and refactor the request handlers.
* add logging to delete handler
2023-09-26 12:45:22 -04:00
Dominik Prokop
918f11d81e
Revert "Dashboard: Reduce scope of contain: strict to TextPanel ()
Revert "Dashboard: Reduce scope of `contain: strict` to TextPanel ()"

This reverts commit ade0de5ae9.
2023-09-26 08:51:26 -07:00
Marcus Efraimsson
896b12d422
Contribute: Add error source section to errors documentation () 2023-09-26 17:44:36 +02:00
Dimitris Sotirakis
1867fc5cee
Arm: Exclude armv6/v7 from downstream builds only ()
* Bump grabpl

* Disable armv6 and armv7 in downstream builds
2023-09-26 18:42:06 +03:00
Matias Chomicki
edbe45efc2
Elasticsearch: HTTP settings migration ()
* Elasticsearch: migrate data source http settings

* Elasticsearch: migrate data source http settings

* Remove test code

* Update unit test

* Connection settings: add url placeholder

* Elasticsearch config editor: improve on-change handling of custom auth

* Config editor: add missing oauthPassThru option
2023-09-26 17:17:17 +02:00
brendamuir
23a873b33f
Alerting docs: fixes next and latest link errors ()
* Alerting docs: fixes next and latest link errors

* fixes bracket

* more link fixes

* fixes numbering

* prettier

* Fix build errors, a broken link, and use more appropriate destination for Grafana Cloud OnCall links

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

* fixes for jacks feedback

* fixes note

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
2023-09-26 16:15:32 +02:00
Marin N
1ff116e85c
Update set-up-for-high-availability.md ()
* Update set-up-for-high-availability.md

Added a note to Enforce the need to setup separately the Alerting HA, as some customers keep opening tickets complaining about duplicate alerts when setting up Grafana HA.

* Update set-up-for-high-availability.md

Corrected note (alerts instead of wueries)

* Update docs/sources/setup-grafana/set-up-for-high-availability.md

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

* Update docs/sources/setup-grafana/set-up-for-high-availability.md

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

* Update docs/sources/setup-grafana/set-up-for-high-availability.md

* Update docs/sources/setup-grafana/set-up-for-high-availability.md

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-09-26 10:00:42 -04:00
Domas
bd452fe904
Trace View: Remove "deployment.environment" default traces 2 logs tag ()
* Remove deployment.environment default tag

* format

* remove mentions from docs
2023-09-26 16:52:32 +03:00
Andres Martinez Gotor
c129c0cd39
Chore: Allow to compile testdata backend as a plugin () 2023-09-26 15:30:25 +02:00
Alexa V
3f39acd78a
Chore: Assign correct squad in CODEOWNERS for TransformationsEditor component () 2023-09-26 14:57:49 +02:00
Marcus Efraimsson
534e3ebf0c
Plugins: Use a Grafana specific SDK tracer implementation for core plugins () 2023-09-26 14:46:31 +02:00
Galen Kistler
af3ea54d0e
Logs Panel: Add milliseconds to download file ()
* add milliseconds to log panel txt file download
2023-09-26 07:14:40 -05:00
Josh Hunt
354c1e992e
Devenv: Create script to provision many folders ()
* user essentials mob! 🔱

* user essentials mob! 🔱

lastFile:devenv/bulk-folders/bulk-folders.sh

* user essentials mob! 🔱

lastFile:devenv/setup.sh

* user essentials mob! 🔱

lastFile:devenv/setup.sh

* user essentials mob! 🔱

* user essentials mob! 🔱

* user essentials mob! 🔱

* codeowners

---------

Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
Co-authored-by: Laura Benz <laura.benz@grafana.com>
Co-authored-by: Tobias Skarhed <tobias.skarhed@gmail.com>
2023-09-26 15:05:37 +03:00
Laura Fernández
611df82259
Grafana UI: create Grid component in the unstable package () 2023-09-26 14:02:50 +02:00
Giordano Ricci
1aa911dee6
Correlations: improve test ()
* Correlations: improve test

* re-add err check
2023-09-26 12:21:24 +01:00
renovate[bot]
3bd9bfe2be
Update dependency @grafana/scenes to v1.8.0 ()
* Update dependency @grafana/scenes to v1.8.0

* remove ts-expect-errors

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-09-26 14:02:42 +03:00
Ivan Ortega Alba
735b6493b1
Dashboards: Auto-generate dashboard title and description when saving as () 2023-09-26 12:53:08 +02:00
Selene
011f099360
Chore: Use grafana/cue repository ()
Use grafana/cue repository
2023-09-26 13:29:59 +03:00
Jack Baldry
3ab31c345e
Fix migrating alerts aliases ()
* Add comments to indicate which page I believe each alias is intending to redirect

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

* Remove difference-old-new redirect from migrating-alerts page since an alternative page exists

The alternative page is `docs/sources/alerting/difference-old-new.md`.

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

* Add comment to show intended absolute path redirect

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

* Remove `unified-alerting/difference-old-new/` redirect because it already exists in `docs/sources/alerting/difference-old-new.md`.

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

* Remove `unified-alerting/` alias since the absolute URL already redirects to `/docs/grafana/latest/alerting/`

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

* Fix `/docs/grafana/<GRAFANA VERSION>/alerting/migrating-alerts/` redirect

The following example uses `latest` as _`GRAFANA VERSION`_ for simplicity and readability.

The desire is the following redirect:

```
src: /docs/grafana/latest/alerting/migrating-alerts/
dst: /docs/grafana/latest/alerting/set-up/migrating-alerts/
```

`dst` is the Hugo pretty URL for the current page (`docs/sources/alerting/set-up/migrating-alerts/_index.md`).

When constructing Hugo aliases we are working from the page's containing directory and not the page itself.
The path element `.` represents that directory.
For example:

```
 page: /docs/grafana/latest/alerting/set-up/migrating-alerts/
alias: ./
  dst: /docs/grafana/latest/alerting/set-up/
```

The path element `..` represents the parent directory of the page's containing directory.
For example:

```
 page: /docs/grafana/latest/alerting/set-up/migrating-alerts/
alias: ../
  dst: /docs/grafana/latest/alerting/
```

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

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-09-26 11:29:29 +01:00
Jack Westbrook
8affc84d13
Fix: Provide default angular export for plugins ()
fix(plugins): provide default export of angular for old system.register plugins
2023-09-26 13:24:09 +03:00
Esteban Beltran
95889b2e25
Tests: Add basic e2e tests for frontend plugin sandbox ()
* Add initial e2e tests for sandboxing

* Add tests for sandbox on

* Add additional sandbox tests

* Move sandbox into various suite

* Test drone setup

* Move variable

* Update drone

* Update plugins path for e2e

* Revert drone changes

* use drone from main

* Use lib.star from main

* Move sandbox test to its own suite

* Expand methods to inject iframes

* Restore e2e script

* Add back change to script

* Update tests for trusted types

* Integrate custom plugins into grafana-server

* Echo for deubging

* add debugging message

* Expand message

* Add extra for ci

* fix path

* Improve start-server logic

* Remove duplicated logic

* Restore file deleted by mistake

* Restore file to main
p

* restore file

* Restore start script

* Update e2e/panels-suite/frontend-sandbox-panel.spec.ts

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

---------

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2023-09-26 10:58:47 +02:00
Gilles De Mey
5a1580c659
Alerting: Contact points v2 part 3 () 2023-09-26 11:44:18 +03:00
Todd Treece
440f9a6ffb
K8s: Register apiserver as background service, and list real playlists ()
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-09-25 15:31:58 -07:00
Sijmen
60922e5f77
Cloudwatch: Add missing AWS regions () 2023-09-25 17:13:46 -04:00
Leon Sorokin
ade0de5ae9
Dashboard: Reduce scope of contain: strict to TextPanel () 2023-09-25 23:47:38 +03:00
Isabel
be850b2cbb
Docs: Add note about rename by regex transform ()
Add note about rename by regex transform
2023-09-25 16:22:21 -04:00
Kat Yang
9532ff3799
Chore: Split OSS and Enterprise OAPI Spec Generation ()
* chore: implement sofia makefile changes from 

* chore: clean up makefile and generate specs

* docs: update command to delete old specs

* fix: regenerate specs with enterprise linked

* chore: implement review comments

* Update Makefile

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>

* chore: update make command in drone step

* chore: update bingo, fix makefile indentation error, regen specs

* fix: revert .bingo/README changes to make prettier happy

* chore: add BEP as owners of api-enterprise-spec.json

* chore: rerun drone

---------

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2023-09-25 15:34:57 -04:00
Galen Kistler
a996f3b4a7
Loki Query Builder: Throw warning in query builder when order of operations is ambiguous ()
* flag vector aggregations containing metric expressions (i.e.`(...)`) containing binary operation expressions with ambiguous error in the UI when switching between code and visual query builders.
2023-09-25 21:28:51 +03:00