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

40698 Commits

Author SHA1 Message Date
Tania
3c01ae2c9e
Docs: Render map type fields in generated docs ()
* Render map type in docs

* Generate

* Clenaup rendering properties

* Minor updates

* Update maps rendering
2023-02-02 13:02:29 +01:00
Sonia Aguilar
517e614661
Alerting: Set YAML as default value for exporting alert rules ()
Set YAML as default value for exporting alert rules
2023-02-02 11:38:27 +00:00
Horst Gutmann
312ea59e6d
CI: Allow other modules to register build sub-commands ()
* Allow other modules to register build sub-commands

* CI: Fix retries on artifacts-page clone

* Fix linting errors

* Fix golint issues

* Update to grabpl 3.0.21
2023-02-02 11:35:43 +00:00
Sofia Papagiannaki
29d3e696f0
Swagger: Fix circular reference ()
* Swagger: Fix circular reference

* gitignore intermediate swagger file

* Update specs

* Do not generate specs when building the backend
2023-02-02 13:18:04 +02:00
Sofia Papagiannaki
adaf82ffb7
Nested Folder: Fix for SQLite not to overwrite the parent on restarts ()
Nested Folder: Fix for SQLite not to overwrite the arent on restarts
2023-02-02 12:06:51 +02:00
Karl Persson
d395901e80
AuthN: Expose RegisterClient and add client name for saml ()
* AuthN: add RegisterClient to service interface

* AuthN: Add client name for saml
2023-02-02 10:09:52 +01:00
Torkel Ödegaard
b8e7ef48d0
AppChrome: Unify logic for chromeless pages that should not have NavBar, CommandPalette, Search etc ()
* Keybindings: No global keybindings on chromeless pages

* simplify condition

* Refactoring

* Align name and file

* Move logic into AppChrome

* minor fix

* Update Page.tsx

* Fixing test

* Fixed tests

* More fixes

* Fixed more tests

* Fixing final test

* Fixed search in old nav
2023-02-02 09:53:06 +01:00
Timur Olzhabayev
ce50168b70
Fix: Save and test error message does not persist across datasource instance settings anymore 2023-02-02 09:50:12 +01:00
Serge Zaitsev
b1c98f7119
Chore: Remove result field from alert commands and queries ()
* remove result field from alert notification commands and queries

* fix a few more tests

* ok, linter

* remove alert result fields

* fix api calls

* et tu, linter
2023-02-02 09:41:05 +01:00
Gábor Farkas
d9fd807375
Elasticsearch: Fix consistent label order in alerting ()
elasticsearch: backend: sort label-values
2023-02-02 09:03:18 +01:00
Ivana Huckova
ccfa9a4ef0
Elasticsearch: Implement schema for query ()
* Elasticsearch: Implement schema for query

* Comment out types I am not sure how to do

* Manually fix typing for PipelineMetricAggregationWithMultipleBucketPaths and BasePipelineMetricAggregation

* Import types to types.ts to have single source of truth

* Cleanup, reorder

* Remove unnecesary Schema.

* Fix test

* Refactor
2023-02-02 09:01:02 +01:00
Ryan McKinley
4a8763d7b6
Heatmap: Support heatmap rows with non-timeseries X axis ()
Co-authored-by: Leon Sorokin <leeoniya@gmail.com>
2023-02-01 15:16:34 -08:00
Ryan McKinley
d4f4a83574
FeatureToggles: Add dev only feature toggle for apiserver () 2023-02-01 20:28:19 +00:00
Kevin Minehart
ba6500576b
CI: include ver_mode arg in the integration_test_pipeline in main. ()
include ver_mode arg in PRs
2023-02-01 15:27:57 -05:00
Alexander Weaver
fcecf4d3cb
Alerting: Refactor away a layer of indirection around the goroutine in Loki state history ()
Inline recordStreamsAsync in loki backend
2023-02-01 11:57:29 -06:00
Isabel
1225e8d6d8
docs: fix broken elasticsearch metrics play link ()
fix broken elastic search play link
2023-02-01 11:55:22 -06:00
Isabella Siu
1f09508d8c
Cloudwatch: Fix log group variable interpolation () 2023-02-01 12:26:54 -05:00
Ryan McKinley
e70d623f90
Schemas: Generate CRDs for core kinds ()
Co-authored-by: sam boyer <sdboyer@grafana.com>
2023-02-01 09:08:26 -08:00
renovate[bot]
b95eda045a
Update dependency eslint-plugin-react to v7.32.1 ()
* Update dependency eslint-plugin-react to v7.32.1

* don't mutate state

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-02-01 17:02:59 +00:00
Kevin Minehart
3cbaa58b1b
CI: Replace enterprise check ()
* Add steps in the pipeline for cloning enterprise when running PR tests.
* Removed enterprise-check from the github action workflows, and removed it from the codeowners file.
2023-02-01 16:55:49 +00:00
brendamuir
9d07b77532
Alerting docs: adds declare incident ()
* Alerting docs: adds declare incident

* adds alert detail view option
2023-02-01 16:55:40 +00:00
Joao Silva
3ea7ca0993
Search: Fix alignment of checkbox in folder view () 2023-02-01 17:36:28 +01:00
idafurjes
2c50c44d89
Chore: Move library elements models to library elements service ()
* Chore: Move library elements models to library elements service

* Fix stat import

* Fix faulty error assignment
2023-02-01 17:32:05 +01:00
Eric Leijonmarck
8ff19bd901
Auth: Add Generic oauth skip org role sync setting ()
* add: generic oauth skip org role sync

* add: docs

* add: backend login skip sync

* fix: docs typo

* add: tests

* remove public key

* fix markdown for generic oauth

* add: generic oauth to the configuration

* refactor: change debug to warn
2023-02-01 16:27:53 +00:00
Giordano Ricci
6b6b733229
Explore: Fix graph not updating when changing config ()
* Explore: Fix graph not updating when changing config

* move useStructureRev to a seprate hook and add specific tests
2023-02-01 16:23:02 +00:00
Jack Baldry
13c4ee1da0
Fix URL of docs preview ()
Latest is used for consistency with CI

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2023-02-01 16:16:26 +00:00
Andre Pereira
5e1506dea0
Tempo: Remove tempoApmTable feature flag ()
Remove tempoApmTable feature flag
2023-02-01 15:56:34 +00:00
Will Browne
317f044e70
Plugins: Ensure proxy route bodies are valid JSON ()
ensure proxy route bodies are valid JSON
2023-02-01 16:37:08 +01:00
Ashley Harrison
0a780d978e
Navigation: wrap dashboard settings actions in ToolbarButtonRow for responsiveness ()
wrap dashboard actions in toolbarbuttonrow for responsiveness
2023-02-01 15:08:09 +00:00
Gilles De Mey
26866953c1
Alerting: hide "silence" button for external AM setups () 2023-02-01 15:51:05 +01:00
Julien Duchesne
a190e03133
Remove code to publish to RPM and deb repos ()
This was replaced here: https://github.com/grafana/grafana/pull/53553 and it's no longer used
2023-02-01 09:39:33 -05:00
Timur Olzhabayev
61c2c12489
Switching app-platform-core to cloud-app-platform-squad () 2023-02-01 14:36:17 +00:00
Will Browne
2f2046eff7
Plugins: Require body is closed on test cleanup ()
require body is closed on cleanup
2023-02-01 15:28:25 +01:00
Matias Chomicki
c139768e3b
Logs Panel: Refactor style generation to improve rendering performance ()
* Log row: move level styles to its own provider

* Log row message: remove unnecessary extra param from styles

* Log rows: parse and pass styles to children

* Log row: receive parsed styles props from parent

* Log details: receive styles from parent

* Revert "Log details: receive styles from parent"

This reverts commit 8487482a6f4fdcf5e26896182c5ad3982774eea2.

* Log row message: receive styles from parent

* Chore: remove unnecessary comment

* Log level styles: move common styles out of getLogLevelStyles

* Chore: fix TimeZone deprecated import

* Log Details: inverse ternary operator for readability

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>

* Log Details: inverse ternary operator for readability

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>

* Chore: apply prettier formatting

---------

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2023-02-01 14:28:10 +00:00
Gareth Dawson
42f8f5a9ea
Loki: Fix label filter expression treating int as string ()
* fix: label filter expression treats int as string

* refactor: labelFilterRenderer

* test: add tests to labelFilterRenderer

* refactor: use backticks based on the operator not the value

* test: labelFilterRenderer uses the correct value type based on the operator

* test: use it.every rather than having multiple repetitive tests
2023-02-01 14:13:08 +00:00
Sofia Papagiannaki
f143b0a5b2
Chore: Move folder store interface, implementation and test under pkg/services/folder ()
* Chore: Move folder store into folder service package

* Split folder and dashboard store implementations
2023-02-01 15:43:21 +02:00
Sonia Aguilar
151e57df70
Alerting: Add Copy action to templates table ()
* Add duplicate action to templates table

Co-authored-by: Virginia Cepeda <virginia.cepeda@grafana.com>

* Move duplicate icon, and remove provenance when rendering TemplateForm

* Create generic generateCopiedName method to avoid duplication and use it also in the CloneRuleEditor

* Use 'Copy' for duplicating templates and cloning alert rules

* Improve updating the template content with new unique define values when copying

Co-authored-by: Konrad Lalik <konradlalik@gmail.com>

* Fix typo

---------

Co-authored-by: Virginia Cepeda <virginia.cepeda@grafana.com>
Co-authored-by: Konrad Lalik <konradlalik@gmail.com>
2023-02-01 14:14:10 +01:00
renovate[bot]
4c8c243c6e
Update dependency comlink to v4.4.0 ()
* Update dependency comlink to v4.4.0

* explicitly mark the error as unknown

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-02-01 13:04:55 +00:00
Ashley Harrison
8d7e7693f2
Command palette: section styling tweaks ()
section styling tweaks
2023-02-01 13:04:38 +00:00
Gilles De Mey
faa920437c
Alerting: Add support for "normal" as state filter in rule search () 2023-02-01 13:32:06 +01:00
Alex Moreno
53945afedf
Alerting: Allow alert rule pausing from API ()
* Add is_paused attr to the POST alert rule group endpoint

* Add is_paused to alerting API POST alert rule group

* Fixed tests

* Add is_paused to alerting gettable endpoints

* Fix integration tests

* Alerting: allow to pause existing rules ()

* Display Pause Rule switch in Editing Rule form

* add isPaused property to form interface and dto

* map isPaused prop with is_paused value from DTO

Also update test snapshots

* Append '(Paused)' text on alert list state column when appropriate

* Change Switch styles according to discussion with UX

Also adding a tooltip with info what this means

* Adjust styles

* Fix alignment and isPaused type definition

Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>

* Fix test

* Fix test

* Fix RuleList test

---------

Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>

* wip

* Fix tests and add comments to clarify AlertRuleWithOptionals

* Fix one more test

* Fix tests

* Fix typo in comment

* Fix alert rule(s) cannot be paused via API

* Add integration tests for alerting api pausing flow

* Remove duplicated integration test

---------

Co-authored-by: Virginia Cepeda <virginia.cepeda@grafana.com>
Co-authored-by: gillesdemey <gilles.de.mey@gmail.com>
Co-authored-by: George Robinson <george.robinson@grafana.com>
2023-02-01 13:15:03 +01:00
Sonia Aguilar
c0865c863d
Alerting: Show 'start typing' message in evaluation group folder in case of empty options. ()
Show start typing message in evaluation group folder in case of empty options
2023-02-01 12:20:57 +01:00
renovate[bot]
ec74e05fc5
Update dependency @rushstack/node-core-library to v3.54.0 ()
* Update dependency @rushstack/node-core-library to v3.54.0

* do we even need this anymore?

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-02-01 11:19:10 +00:00
Ashley Harrison
b6aedaa57d
Chore: improve some types ()
* improve some types

* more tidy up

* better error message handling + update tests

* undo store changes
2023-02-01 10:50:34 +00:00
Yaelle Chaudy
414bcd0a78
Annotations: Fix keyboard a11y in Annotation list ()
* Fixed keyboard a11y in Annotation list

* prettier

* removed blue
2023-02-01 11:49:13 +01:00
Ivana Huckova
b9bbb4e1fb
SplitOpen: Update API to accept multiple queries ()
* SplitOpen: Update API to accept multiple queries

* Explore: Deprecate query in SplitOpenOptions and add queries

* Use queries in log samples

* Fix test
2023-02-01 11:34:25 +01:00
Giordano Ricci
c66ab3a9e4
QueryHistory: Improve handling of mixed datasource entries ()
* QueryHistory: Improve handling of mixed datasource entries

* remove todo

* remove todo

* fix comment submit test

* disable running queries if at least one doesn't have a datasource

* remove unnecessary code

* add tests for diabled buttons state
2023-02-01 10:11:17 +00:00
Levente Balogh
f985f02584
Plugins: Track plugin install and uninstall events ()
* chore: track plugin install and uninstall events

* chore: pass the type of the plugin to the tracking as well
2023-02-01 10:58:25 +01:00
Torkel Ödegaard
533c8e4b7a
PanelChrome: Adds display mode to support transparent option ()
* PanelChrome: Add transparent displayMode

* Remove comment

* Fixes to storybook and new example

* no background on TitleItem

---------

Co-authored-by: polinaboneva <polina.boneva@grafana.com>
2023-02-01 10:57:43 +01:00
Torkel Ödegaard
2d90a01f6a
Scenes: Wrapping flex layout demo scene ()
* Scenes: Adding a demo dashboard with wrapping flex layout

* Updates

* Update version
2023-02-01 10:56:58 +01:00