Commit Graph

45570 Commits

Author SHA1 Message Date
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
Josh Hunt
33ff164339
Docs: Reword default dashboard permissions explaination (#75838)
* Docs: Reword default dashboard permissions explaination

* Update docs/sources/administration/roles-and-permissions/_index.md

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

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
2023-10-03 19:00:00 +03:00
lean.dev
091f54bf20
Chore: Bump grafana-plugin-sdk-go to v0.179.0 (#75886) 2023-10-03 12:54:17 -03:00
Nathan Marrs
a417402c77
Legend: Fix desc sort so NaNs are not display first (#75685)
do not put NaNs as first in legend desc sort

Co-authored-by: Simon Podlipsky <simon@podlipsky.net>
Co-authored-by: Adela Almasan <adela.almasan@grafana.com>
2023-10-03 08:50:57 -07:00
Galen Kistler
5b63cdb5b0
Loki: Cache extracted labels (#75842)
* add simple cache to extracted label values in completion provider
2023-10-03 10:37:32 -05:00
Juan Cabanas
6cfe6d8688
Panel: omit query API call when the panel is a row (#75847) 2023-10-03 12:36:04 -03:00
Ivan Ortega Alba
6aa27607ae
DataSourcePicker: Disable autocomplete for the search input (#75898) 2023-10-03 18:06:27 +03:00
shaviz2000
2b83d7a168
Docs: Fix link to developing plugins (#75816)
* Docs: Fix link to developing plugins (#75788)

* Update docs/sources/administration/data-source-management/index.md

* Update docs/sources/administration/data-source-management/index.md

* Apply suggestions from code review

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-10-03 09:57:53 -05:00