Commit Graph

45355 Commits

Author SHA1 Message Date
Todd Treece
bb9e66e671
K8s: Add storage dual writer (#75403) 2023-09-26 17:15:15 -04:00
Tim Levett
ebec452f9f
Use the full commit sha (#75489)
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 (#75449)
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 (#75480)
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 (#75375)
* 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 (#75466)
Revert "Dashboard: Reduce scope of `contain: strict` to TextPanel (#75329)"

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

* Disable armv6 and armv7 in downstream builds
2023-09-26 18:42:06 +03:00
Matias Chomicki
edbe45efc2
Elasticsearch: HTTP settings migration (#72840)
* 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 (#75437)
* 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 (#75356)
* 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 (#74986)
* 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 (#75360) 2023-09-26 15:30:25 +02:00
Alexa V
3f39acd78a
Chore: Assign correct squad in CODEOWNERS for TransformationsEditor component (#75428) 2023-09-26 14:57:49 +02:00
Marcus Efraimsson
534e3ebf0c
Plugins: Use a Grafana specific SDK tracer implementation for core plugins (#75388) 2023-09-26 14:46:31 +02:00
Galen Kistler
af3ea54d0e
Logs Panel: Add milliseconds to download file (#75045)
* 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 (#75427)
* 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 (#75299) 2023-09-26 14:02:50 +02:00
Giordano Ricci
1aa911dee6
Correlations: improve test (#75370)
* 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 (#75371)
* 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 (#75246) 2023-09-26 12:53:08 +02:00
Selene
011f099360
Chore: Use grafana/cue repository (#75426)
Use grafana/cue repository
2023-09-26 13:29:59 +03:00
Jack Baldry
3ab31c345e
Fix migrating alerts aliases (#74898)
* 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 (#75424)
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 (#70759)
* 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 (#72444) 2023-09-26 11:44:18 +03:00
Todd Treece
440f9a6ffb
K8s: Register apiserver as background service, and list real playlists (#75338)
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-09-25 15:31:58 -07:00
Sijmen
60922e5f77
Cloudwatch: Add missing AWS regions (#75392) 2023-09-25 17:13:46 -04:00
Leon Sorokin
ade0de5ae9
Dashboard: Reduce scope of contain: strict to TextPanel (#75329) 2023-09-25 23:47:38 +03:00
Isabel
be850b2cbb
Docs: Add note about rename by regex transform (#75394)
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 (#75133)
* chore: implement sofia makefile changes from #62456

* 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 (#75198)
* 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
Sarah Zinger
ef441f02d0
Cloudwatch: Fix Unexpected error (#74420)
Fix unexpected error when creating a new cloudwatch datasource.

Involves a fair amount of refactoring, so if this causes unexpected issues related to region fetching we can turn this off with the cloudwatchNewRegionsHandler feature toggle, although we do not predict it will so we are enabling it to default to true and hope to remove it shortly.
2023-09-25 14:19:12 -04:00
João Calisto
7e1b45ba31
Feature Toggles API: Trigger webhook call when updating (#75254)
* Feature Toggles API: Trigger webhook call when updating

* update status code error check

* lint - handle Close() error

* Rename update webhook config

* fix tests
2023-09-25 19:11:24 +01:00
Leon Sorokin
436b0ee48a
Dashboard: Set z-index of active panel to 999 (#75382) 2023-09-25 11:58:03 -05:00
Josh Hunt
b4a6e7ac7f
Chore: Update pseudo locale (#75383) 2023-09-25 19:15:17 +03:00
Victor Marin
13db9066a3
Transformations: Show row index as percent in 'Add field from calculation' (#74322)
* show row index as percentage in add field from calc transform

* prettier

* add test + modify docs

* show quantile and add percentage unit default. add explanatory tooltip and docs

* fix test

* set unit percent only on quantile mode

* Change naming to percentile

* Rename to As Percentile

* docs mods
2023-09-25 18:34:42 +03:00
Karl Persson
d15661c726
IDForwarding: Add toggle for id forwarding (#75378)
Features: Add toogle for id forwarding
2023-09-25 18:21:28 +03:00
Kevin Minehart
f46b78ec38
CI: Remove pre from npm canary packages (#75376)
Remove pre from npm canary packages
2023-09-25 18:01:17 +03:00
Juan Luis Peña Wagner
ffb15ef363
NodeGraph: Allow to set node radius in dataframe (#74963)
Allow to set node radius in dataframe
2023-09-25 16:55:52 +02:00
Jo
40a1f8434d
Anon: Scaffold anon service (#74744)
* remove API tagging method and authed tagging

* add anonstore

move debug to after cache

change test order

fix issue where mysql trims to second

* add old device cleanup

lint

utc-ize everything

trim whitespace

* remove dangling setting

* Add delete devices

* Move anonymous authnclient to anonimpl

* Add simple post login hook

* move registration of Background Service

cleanup

* add updated_at index

* do not untag device if login err

* add delete device integration test
2023-09-25 16:25:29 +02:00
Miguel Palau
6f665b0901
add sap-hana tenant feature (#75350) 2023-09-25 10:25:11 -04:00
Isabella Siu
4cc72a22ad
OpenSearch: Add timeRange to parameters passed to getTagValues (#74952) 2023-09-25 09:57:39 -04:00
renovate[bot]
da23aef83d
Update babel monorepo (#75353)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 14:27:35 +01:00
Andreas Christou
61e3f3a059
MSSQL: ConfigEditor updates (#75275)
* Add secure json data type

* Update Azure credentials form with Field components

- Update labels
- Update widths
- Remove excess code

* Update config editor

* Fix lint
2023-09-25 14:14:41 +01:00
Leon Sorokin
6811b0ae63
Dashboard: Set descending z-index of panels in a dashboard (v2) (#75328)
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2023-09-25 06:46:11 -05:00
Andres Martinez Gotor
6b54aee4ba
Chore: Improve decoupled-plugin linter (#75285) 2023-09-25 12:15:15 +02:00
Andres Martinez Gotor
ece94b1e01
Chore: Remove plugincontext.ErrPluginNotFound (#74997) 2023-09-25 13:10:47 +03:00
Andres Martinez Gotor
1714fa598c
Chore: Refactor backend plugin errors (#74928) 2023-09-25 11:56:03 +02:00
Gabriel MABILLE
38d2357bb8
Docs: Add missing name attribute to SAML Authentication (#75355) 2023-09-25 11:29:04 +02:00