Commit Graph

45777 Commits

Author SHA1 Message Date
Ricky Whitaker
6842cc63ec
Adding .github/workflows/create-security-patch-from-security-mirror.yml (#75850)
* Adding .github/workflows/create-security-patch-from-security-mirror.yml

* Added .github/workflows/create-security-patch-from-security-mirror.yml to CODEOWNERS
2023-10-04 15:26:12 -05:00
Kyle Cunningham
d673862853
Transformations: Rename "Transform" tab to "Transform data" (#75757)
* Rename transform tab to transform data
2023-10-04 14:24:21 -05:00
Todd Treece
d9160553f9
K8s: Remove /k8s/ prefix (#75959) 2023-10-04 14:05:50 -04:00
Yuri Tseretyan
5be52dfe21
Alerting: Fix store's GetNamespaceByUID (#75976) 2023-10-04 13:13:31 -04:00
Guilherme Caulada
55781b486c
CI: Add nightly prerelease builds (#74119)
* Add nightly prerelease builds

* Fix duplicated pipeline names

* Fix misnamed dependencies

* Fix misnamed dependencies

* Fix string formatting

* Add option to specify bucket to RGM pipeline

* Fix trigger?

* Comment out cron triggers

* Fix windows bucket for nightly

* Fix versioning for windows and verify pipelines

* Use grafana/grafana-build:dev-209553c

* Fix version on windows steps

* Fix version on windows steps

* Fix windows .zip path

* Fix windows .zip path

* Remove windows builds from nightly for now

* Remove verify release pipeline from nightly

* Add docstring to rgm_release

* Revert changes to get_windows_steps

* Simplify changes to rgm.star

* Use grafana/grafana-build:dev-f5a15d4

* Add rgm copy step

* Use grafana/grafana-build:dev-d88be0f

* Fix destination variable

* Escape copy destination environment variable

* Add -r flag to rgm copy command

* Add dependency to rgm-copy step

* Add dist volume

* Use absolute path for dist volume

* Move dist folder to drone workspace

* Delegate drone workspace path to grafana-build

* Use grafana/grafana-build:dev-66149b8

* Lower folder depth

* Use grafana/grafana-build:dev-7355791

* Add rgm-nightly-publish pipeline

* Merge imports on rgm.star

* Fix rgm_copy to allow copying to local destination

* Use grafana/grafana-build:dev-36ec1e2

* Use grafana/grafana-build:dev-634d8dc

* Use grafana/grafana-build:dev-7a93728

* Use grafana/grafana-build:dev-5e36725

* Use grafana/grafana-build:dev-f5ebe1f

* Fix copy source for nightly builds

* Fix drone build number on rgm-copy step

* Use grafana/grafana-build:dev-637583f

* Use grafana/grafana-build:dev-f2cc524

* Allow tag trigger on grafana/grafana for testing

* Use grafana/grafana-build:dev-c71d4b7

* Use grafana/grafana-build:dev-63beac8

* Use grafana/grafana-build:dev-224a0dd

* Add environment variables for package publishing

* Revert unintentional change to dataquery.cue

* Add package publish step to nightly pipeline

* Use GCS path for package publish

* Pre-evaluate drone workspace on packages path

* Use hardcoded drone workspace path

* Remove unused env from publish packages step

* Use grafana/grafana-build:dev-657ea6a

* Use grafana/grafana-build:dev-1a9beec

* Use grafana/grafana-build:dev-f0053c8

* Use grafana/grafana-build:main

* Use grafana/grafana-build:dev-ae5182f

* Use grafana/grafana-build:dev-ec3ec36

* Use grafana/grafana-build:dev-5e160d8

* Use grafana/grafana-build:dev-142d2dc

* Use grafana/grafana-build:dev-db6bff1

* Use grafana/grafana-build:main

* Change nightly trigger to cron
2023-10-04 13:55:43 -03:00
Heitor Tashiro Sergent
1b4c2fc948
docs: what's new, add traces and k6 integration (#75401)
* docs: what's new, add traces and k6 integration

* Add exception for Heitor's name

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

* Update index.md

Wei Li feedback

* docs: remove on-prem comment

* docs: add a couple options

* docs: update k6 whats new update

* Apply suggestions from code review

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

* docs: update based on feedback

---------

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-04 12:04:48 -04:00
Gabriel MABILLE
13a10b9bf0
Chore: Clean up the context handler (#75864)
* Chore: Clean up the context handler

Co-authored-by: Kalle Persson <kalle.persson@grafana.com>

* Better comment

Co-authored-by: Kalle Persson <kalle.persson@grafana.com>

---------

Co-authored-by: Kalle Persson <kalle.persson@grafana.com>
2023-10-04 17:56:51 +02:00
Misi
e1aad9c9bf
Docs: Update RBAC documentation (#75869)
* Align docs to current permissions in code

* Update permissions list

* Add example responses, fix link

* Apply suggestions from code review

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

* Update based on reviews

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-10-04 17:53:26 +02:00
Jo
69b2442a0d
Anon: Use xorm for anon service (#75964)
use xorm for anon service
2023-10-04 17:19:56 +02:00
ismail simsek
a12788a4e7
InfluxDB: Interpolate variables based on their type (#75653)
* Rename the mock function

* Move tests

* Refactor existing tests

* add influxql_metadata_query tests

* move to root

* remove unnecessary file

* adhoc test

* Remove unused parameter

* tests for future

* fix mocks

* betterer

* interpolate variables based on their types

* prettier
2023-10-04 17:02:46 +02:00
ismail simsek
2d603bed22
InfluxDB SQL: Add time filter automatically (#75953)
* Use double quotes instead of backticks

* render time field as datetime

* add @react-awesome-query-builder/core

* Add time range filtering

* Update test

* Update macro test
2023-10-04 17:00:24 +02:00
Gabriel MABILLE
193ec8de2b
AuthN: Move oauthserver to extsvcauth (#75972)
* AuthN: Move oauthserver to extsvcauth

* Codeowners
2023-10-04 16:53:17 +02:00
Oscar Kilhed
40cdb30336
Transformations: Add support for dashboard variable in limit, sort by, filter by value, heatmap and histogram (#75372)
* variables for filterforvalue

* use datalinkinput for basic matcher

* fix user select issue

* heatmap transformation variable interpolation

* clean code

* interpolate sort by

* add options interpolation in histogram transformation

* interpolation for limit

* Add suggestions UI to Filter by data value Transformation

Co-authored-by: oscarkilhed <oscar.kilhed@grafana.com>

* add validation for number/variable fields

* Add variables to add field from calculation

* Add validator to limit transformation

* Refactor validator

* Refactor suggestionInput styles

* Add variable support in heatmap calculate options to be in sync with tranform

* Refactor SuggestionsInput

* Fix histogram, limit and filter by value matchers

* clean up weird state ref

* Only interpolate when the feature toggle is set

* Add feature toggle to ui

* Fix number of variable test

* Fix issue with characters typed after opening suggestions still remains after selecting a suggestion

* Clean up from review

* Add more tests for numberOrVariableValidator

---------

Co-authored-by: Victor Marin <victor.marin@grafana.com>
2023-10-04 17:28:46 +03:00
Esteban Beltran
027028d9a0
Sandbox: Make jquery available to plugins in the global scope (#75960) 2023-10-04 16:25:47 +02:00
Andrew Hackmann
3ea6d1f7cc
AzureMonitor: Remove dependencies on Grafana frontend (#75595)
* remove local graf templateSrv and use @grafana/runtime

* tests broken still 0.0

* wip

* moving around tests and fixing

* template var test using mocking and stuff

* AM ds tests fixed

* fix filter tests

* all tests work

* remove comment

* Update azure_log_analytics_datasource.ts

* remove deferred util - not used

* mock instead of spying

* not calling getTemplateSrv each time

* pass range down to filter instead of doing werid stuff

* use default time range if no time range

* prettierer

* remove note
2023-10-04 09:25:05 -05:00
Karl Persson
09e638cd9d
IDForwarding: Use feature toggle not generate a key if feature is not enabled (#75961)
* Use feature toggle not generate a key if feature is not enabled

* Fix check
2023-10-04 16:06:24 +02:00
Josh Hunt
3b51acf44d
GrafanaUI: Pass rest of Text props through to element (#75948)
* spread rest of html props to text element

* prevent style prop from overriding styles
2023-10-04 13:49:49 +00:00
ismail simsek
c64e73540d
InfluxDB SQL: Use double quotes instead of backticks (#75443)
Use double quotes instead of backticks
2023-10-04 15:47:54 +02:00
Andreas Christou
d00ea685e6
CloudMonitoring: Use Field instead of InlineField (#75829)
* Use Field instead of InlineField

* Prettify
2023-10-04 15:45:26 +02:00
Andreas Christou
3ef3dee751
AzureMonitor: Use Field instead of InlineField (#75837)
Use Field instead of InlineField

- Update labels
2023-10-04 15:44:59 +02:00
Jo
d494f69660
SigningKeys: Use xorm for signing_key store (#75957)
use xorm form signing_key store
2023-10-04 15:28:12 +02:00
Andre Pereira
607a664ef4
Trace View: Span list visual update (#75238)
* Show color of row as a border under the row. Hide service name for sequential spans

* Increase default span name column width. Smaller font for service and span names in span list

* New background color on spans. Fixed hover of indent markers

* Service name and span name style tweaks

* Collapse hidden levels

* Fixed test

* Small tweak to Buffer size to make sure tests pass

* Trigger runs

* Update betterer results

* Address comment

* Style tweaks

* Remove duplicated code

* Rollback change to join <span> since they are needed for the tests
2023-10-04 14:00:40 +01:00
harshabaddam
65fa94b16b
Loki: Support X-ray as internal link in derived fields (#75756)
Update Loki datasource to support X-ray as internal link in derived fields
2023-10-04 07:59:46 -05:00
Horst Gutmann
9813d17e93
Expose enterprise-commit in server version output (#75897)
* Expose enterprise-commit in server version output

* Define a DefaultCommitValue constant
2023-10-04 14:51:35 +02:00
Eric Leijonmarck
6274e5b45e
Service accounts: Apply None role by default for creating SA (#75949)
* none role by default

* tests
2023-10-04 13:37:27 +01:00
Levente Balogh
e7c1e5e4c9
Plugins: Display custom deprecation message if available (#75942)
* feat: display the deprecation context for a plugin if it is available

* Update public/app/features/plugins/admin/components/PluginDetailsDeprecatedWarning.tsx

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>

* feat: only extend the basic message with custom context

---------

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2023-10-04 14:30:03 +02:00
Ashley Harrison
9350e8bee5
Renovate: Add yarn dedupe strategy (#75945)
add dedupe strategy
2023-10-04 13:29:10 +01:00
renovate[bot]
711a2795f6
Update dependency postcss to v8.4.31 [SECURITY] (#75908)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-04 14:25:00 +02:00
Domas
aaaef71337
Alerting: Make shareable alert rule link work if rule name contains forward slashes (#75362) 2023-10-04 13:48:55 +02:00
Gilles De Mey
d0592fce2f
Alerting: Fix incorrect field description (#75947) 2023-10-04 13:36:53 +02:00
Giordano Ricci
61fbcce683
Explore: Improve series disclaimer UI (#75936) 2023-10-04 12:25:45 +01:00
Torkel Ödegaard
5bba89fc86
Scenes: Backward compatability with new template variable system for functions that don't pass scopedVars (#75937)
* Use __grafanaScene in templateSrv

* Update

* fix
2023-10-04 13:21:01 +02:00
Torkel Ödegaard
963049e2b7
Loki: Fixes chained template variable queries for scene apps (#75880)
* Loki: Fixes chained template variable queries for scene apps

* Remove bit
2023-10-04 12:47:25 +02:00
Simen Bekkhus
3749c17556
chore: replace Sinon usage with Jest (#75940) 2023-10-04 11:12:30 +01:00
Simen Bekkhus
8ba7a73278
chore: run yarn dedupe (#75944) 2023-10-04 10:52:24 +01:00
Dominik Prokop
1a5d5c2820
DashboardScene serialization: Handle transformations and queries (#75907)
* Serialization: Handle transformations and queries

* Betterer
2023-10-04 02:31:16 -07:00
Josh Hunt
40a41113aa
BrowseDashboards: Add (skipped) basic e2e tests to prepare for GA (#75917)
Add e2e tests for new Browse Dashboards UI
2023-10-04 09:08:43 +00:00
Jo
44fa0697ce
Auth: Signing Key persistence (#75487)
* signing key wip

use db keyset storage

add signing_key table

add testing for key storage

add ES256 key tests

Remove caching and implement UpdateOrCreate

Stabilize interfaces

* Encrypt private keys

* Fixup signer

* Fixup ext_jwt

* Add GetOrCreatePrivate with automatic key rotation

* use GetOrCreate for ext_jwt

* use GetOrCreate in id

* catch invalid block type

* fix broken test

* remove key generator

* reduce public interface of signing service
2023-10-04 10:37:27 +02:00
Sofia Papagiannaki
0eac9aff7f
Nested Folders: Fix fetching a folder by title (#74725)
Modify folder store Get() to consider folder parent
2023-10-04 11:19:22 +03:00
Giordano Ricci
40aed585c8
Explore: decouple ExploreGraph and GraphContainer series limit implementation (#75806)
* Explore: decouple ExploreGraph and GraphContainer series limit implementation

* slice data up
2023-10-04 08:48:44 +01:00
Marcus Andersson
cfd3e552df
Chore: Resolved circular dependency warnings in grafana/ui (#74908)
* Resolved circual dependency warnings.

* Fixed circular dependencies only 21 more to go.

* Fixed the align issue.

* fix betterer merge error

* Update betterer results

* Fix failing test

* reverted changes for Table

* removed utils updates.

* fixed some more 'easy' circular dependencies issues.

* Fixed incorrect imports.

---------

Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
2023-10-04 09:05:58 +02:00
Linghao Su
549acf09b1
Canvas: Fix button element size not being applied correctly (#75387)
Co-authored-by: Nathan Marrs <nathanielmarrs@gmail.com>
2023-10-03 21:32:58 -07:00
Ivan Ortega Alba
c88d5d7b40
Auto-generate: Hide the button when LLM plugin is not enabled (#75878)
* Auto-generate: Hide the button when LLM plugin is not enabled

* Performance: Reduce time to receive the first character of OpenAI
2023-10-03 23:36:45 +02:00
Nathan Marrs
7875dbc6eb
Geomap: Fix tooltip field name regression (#75511) 2023-10-03 23:43:12 +03:00
Sarah Zinger
ad851ea952
Cloudwatch: Add Documentation on Temporary Credentials (#75178)
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
2023-10-03 16:15:50 -04:00
Isabel
39747c808e
Docs: update Grafana Play InfluxDB templated dashboard link (#75919)
Updated grafana play link
2023-10-03 15:07:43 -04:00
Carl Bergquist
0fc403d116
Instrumentation: Enable native histograms for HTTP requests (#75731)
Signed-off-by: bergquist <carl.bergquist@gmail.com>
2023-10-03 20:23:55 +02:00
Nathan Marrs
35b48066ca
Stat: Disable wide layout (#75556)
update stat panel to disable the wide layout
2023-10-03 11:10:51 -07:00
Priyanshu Raj
0ba5dad316
Docs: Fix link to Developing plugins guide (#75795) 2023-10-03 13:03:15 -05:00
Priyanshu Raj
949164232e
Docs: Update grafana configuration documentation (#75717)
* docs: Update grafana configuration documentation

* Update sentence

* convert to multiline
2023-10-03 12:05:19 -05:00