Commit Graph

43566 Commits

Author SHA1 Message Date
Eve Meelan
cbf4fe9d23
formatting fix for line 72 (#70618) 2023-06-23 09:56:29 -07:00
Leon Sorokin
fe45dc9f27
XYChart: Fix axis range and scale overrides (#70605) 2023-06-23 10:50:36 -05:00
Esteban Beltran
53231cb68d
Sandbox: Fix react class components stale state (#70572) 2023-06-23 17:44:03 +02:00
Michael Mandrus
6c25342ecb
Docs: Update query and resource caching documentation to improve clarity and add additional context (#70556)
* update caching docs

* fix validation issue

* fix missing anchors

* fix up compatible data sources section

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

Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>

* change one word

* change one more word

* add a little more meat to the benefits section

* remove unnecessary alias

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

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

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

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

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

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

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

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

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

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

* add link to section

* change word

* add note on benefits of resource caching

---------

Co-authored-by: Stephanie Hingtgen <stephanie.hingtgen@grafana.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-06-23 11:41:19 -04:00
Laura Benz
d64b6264ff
GrafanaUI: Define tooltip or aria-label as required for IconButton (#69699)
* refactor: modify interfaces to make tooltip or aria-label required

* refactor: change functionality around aria-label and tooltip

* refactor: change and add information in storybook documentation

* refactor: remove default from tooltip

* refactor: IconButton to make tooltip or aria-label required

* refactor: Fix tests

* refactor: Fix tests

* refactor: Fix tests

* refactor: Fix tests

* feat: add migration guide for breaking change

* feat: add latest requirements to storybook docs

* refactor: separate iconbutton story with and without tooltip

* refactor: remove exported baseArgs

* refactor: clean up and restructure original story

* refactor: adjust styling

* refactor: enable control for tooltip

* refactor: clean up

* refactor: enable control for aria-label

* refactor: fix theme getting the wrong theme

* refactor: fix tests

* refactor: adjust story

* refactor: remove confusing story

* refactor: adjust controls for stories
2023-06-23 17:10:37 +02:00
Brendan O'Handley
8dc9fcf88b
Prometheus: Metrics explorer feature toggle default to on (#70548)
change metrics explorer feature toggle default to on
2023-06-23 09:20:23 -04:00
Leon Sorokin
0f7407dd91
XYChart: Remove some panel opts that can't logically apply (#70202) 2023-06-23 08:18:48 -05:00
grafana-delivery-bot[bot]
670bef8c35
Changelog: Updated changelog for 10.0.1 (#70601)
Co-authored-by: grafanabot <bot@grafana.com>
2023-06-23 15:48:06 +03:00
grafana-delivery-bot[bot]
373044042d
Changelog: Updated changelog for 9.5.5 (#70599)
Co-authored-by: grafanabot <bot@grafana.com>
2023-06-23 15:36:05 +03:00
Gilles De Mey
dc7e967cd4
Alerting: Fixes clone url for instances hosted on sub path (#70543) 2023-06-23 14:29:47 +02:00
Zoltán Bedi
6fbc0b9b9c
Chore: Add tracking for dashboard load (#70057)
* Chore: Add tracking for dashboard load

* Address review comments
2023-06-23 14:14:06 +02:00
grafana-delivery-bot[bot]
15e134215a
Changelog: Updated changelog for 9.4.13 (#70595)
Co-authored-by: grafanabot <bot@grafana.com>
2023-06-23 15:02:46 +03:00
Andre Pereira
08ed68e675
Tracing: Move upload trace to button (#69402)
* Tempo: Move upload trace to its own button

* Zipkin: Move upload trace to its own button

* Jaeger: Move upload trace to its own button

* Fix test

* Remove extra upload section from editor body

---------

Co-authored-by: Joey Tawadrous <joey.tawadrous@grafana.com>
2023-06-23 12:03:00 +01:00
grafana-delivery-bot[bot]
6180c77763
Changelog: Updated changelog for 9.3.16 (#70591)
Co-authored-by: grafanabot <bot@grafana.com>
2023-06-23 13:51:48 +03:00
grafana-delivery-bot[bot]
ea0cddbdf2
Changelog: Updated changelog for 8.5.27 (#70588)
Co-authored-by: grafanabot <bot@grafana.com>
2023-06-23 10:43:12 +00:00
grafana-delivery-bot[bot]
4e16503666
Changelog: Updated changelog for 9.2.20 (#70587)
Co-authored-by: grafanabot <bot@grafana.com>
2023-06-23 12:39:30 +02:00
George Robinson
7edbe72483
Alerting: Support concurrent queries for saving alert instances (#70525)
This commit adds support for concurrent queries when saving alert
instances to the database. This is an experimental feature in
response to some customers experiencing delays between rule evaluation
and sending alerts to Alertmanager, resulting in flapping. It is
disabled by default.
2023-06-23 11:36:07 +01:00
Joao Silva
cebc180e5b
Forms: Remove usage of gf-form textarea and help icons (#70561) 2023-06-23 19:07:28 +09:00
Giordano Ricci
24efcc54d2
Explore: make sure panes are initialized in order (#70519) 2023-06-23 10:50:07 +01:00
Misi
789ee2121e
Auth: Fixed CVE-2023-3128 (#70571)
Fixed CVE-2023-3128
2023-06-23 11:43:47 +02:00
Sven Grossmann
4c28b01975
Revert "Logs: Change permalink icon back to link" (#70570)
Revert "Logs: Change permalink icon back to `link` (#70362)"

This reverts commit fc39dadf62.
2023-06-23 10:58:07 +02:00
Sven Grossmann
cb8962403f
Docs: Add docs for log line permalinking (#70370)
* add permalink docs

* Update docs/sources/explore/logs-integration.md

Co-authored-by: J Stickler <julie.stickler@grafana.com>

---------

Co-authored-by: J Stickler <julie.stickler@grafana.com>
2023-06-23 10:39:08 +02:00
Ivan Ortega Alba
3bf8dc1397
DS Picker: Add missing props and improve autoheight logic (#70393)
* DS Picker: Add `inputId` and `noDefault` options

* DS Picker: Add `disabled` state

* Add tests for `disabled`

* Select default DS if `current` is not provided

* Remove `width` from style

* Move types next to components

* Only calculate height when opening
2023-06-23 10:26:18 +02:00
Sven Grossmann
9cf685cfda
LogContext: Fix filtering out log lines with the same entry (#70538)
* fix bug with filtering out too many log lines

* fix acts

* remove unused line
2023-06-23 10:20:07 +02:00
Alexa V
fbfd1c24e4
Dashboard: Fix issue where a panel with a description and a cached response displays 2 info icons (#70513) 2023-06-23 10:15:27 +02:00
Misi
0e3fbbf636
Auth: Add missing context parameter (#70565)
Add missing parameter
2023-06-23 11:04:54 +03:00
Ashley Harrison
ff429c9af5
Navigation: Fix toolbar actions flickering on mobile (#70524)
* fix flickering overflow

* set everything to hidden by default

* extend intersectionobserver mock
2023-06-23 08:50:51 +01:00
Jo
4821175d40
Auth: Add auth.azure_ad security improvements (#912)
* security improvements id_token

* add audience validation

* add allowOrganizations

* add allowOrganizations tests and documentation

* add log warn on no configuration

* anonymize tenant id

* Apply suggestions from code review

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>

* Update docs/sources/setup-grafana/configure-security/configure-authentication/azuread/index.md

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

* Update pkg/login/social/azuread_oauth_test.go

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

* Update pkg/login/social/azuread_oauth_test.go

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

* optimize key validation and add mising fields

* fix missing key_id

* lint

* Update docs/sources/setup-grafana/configure-security/configure-authentication/azuread/index.md

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>

* lint docs

---------

Co-authored-by: Misi <mgyongyosi@users.noreply.github.com>
Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
2023-06-23 09:13:38 +02:00
Vardan Torosyan
87b127e073
Add and document option for enabling email lookup (#913)
* Docs: Document option for enabling email lookup

* Add the new config in the config files

* Apply suggestions from code review

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>

* Don't capitalize identity providers

* Apply suggestions from code review

Co-authored-by: Jo <joao.guerreiro@grafana.com>

* Apply suggestions from code review

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

---------

Co-authored-by: Ieva <ieva.vasiljeva@grafana.com>
Co-authored-by: Jo <joao.guerreiro@grafana.com>
Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
2023-06-23 09:08:04 +02:00
Jo
b8a336c9d7
Auth: Remove Email Lookup from oauth integrations (#894)
Remove email lookup from oauth integrations

Co-authored-by: ievaVasiljeva <ieva.vasiljeva@grafana.com>
2023-06-23 09:08:02 +02:00
Joao Silva
0dac2b7d08
PermissionList: Fix sizing of permission column so they are all aligned (#70420) 2023-06-23 09:55:20 +09:00
Guilherme Caulada
69fc4e6bc0
Changelog: Add CVE to 9.4.13 changelog (#70558)
Add CVE to 9.4.13 changelog
2023-06-22 18:14:18 -03:00
grafana-delivery-bot[bot]
58145908f4
Changelog: Updated changelog for 9.4.13 (#70553)
Co-authored-by: grafanabot <bot@grafana.com>
2023-06-22 17:22:55 -03:00
Kevin Minehart
8ff2d96bf0
Chore: update latest.json to 10.0.1 (#70550) 2023-06-22 16:44:43 -03:00
grafana-delivery-bot[bot]
26cce5d914
Changelog: Updated changelog for 10.0.1 (#70544)
* Changelog: Updated changelog for 10.0.1

* Update changelog

---------

Co-authored-by: grafanabot <bot@grafana.com>
Co-authored-by: Kevin Minehart <kmineh0151@gmail.com>
2023-06-22 14:22:05 -05:00
Galen Kistler
7cb1f6541e
Prometheus: Add capability to filter label names by metric in template variable editor (#70452)
* Adds new text input in prometheus template variable UI that allows label names function to filter values by metric. 
Co-authored-by: Brendan O'Handley <brendan.ohandley@grafana.com>
2023-06-22 14:11:06 -05:00
Matthew Jacobson
44972d0cd5
SQLStore: Fix Postgres dialect treating "false" migrator default as true (#69353)
* SQLStore: Fix Postgres dialect treating "false" migrator default as true

Previously, when creating a migration you could choose a default value for a new 
boolean column that looked correct but would be interpreted incorrectly by the 
Postgres dialect. For example, values such as "false" or "FALSE" would be treated 
as true by the Postgres dialect.

This refactors how migration dialects determine the Default column value for boolean
type columns. Each dialect now uses the same base code to parse the Default literal 
and panics if an unknown value is encountered.

So, now AddColumnMigration and AddTableMigration will ensure that across dialects:

- The exact same Default literals will be allowed.
- The literals are converted to equivalent defaults in their DDL.
- An error will be thrown if an invalid literal is provided.
2023-06-22 15:09:36 -04:00
George Robinson
404afedc25
Alerting: Adds in-app documentation for Classic Conditions (#70540)
This commit adds in-app documentation that explains using Classic
Conditions disables multi-dimensional alerts for the rule.
2023-06-22 19:29:54 +01:00
grafana-delivery-bot[bot]
45439bea86
Changelog: Updated changelog for 9.5.5 (#70542)
Co-authored-by: grafanabot <bot@grafana.com>
2023-06-22 13:21:38 -05:00
grafana-delivery-bot[bot]
a56f063105
Changelog: Updated changelog for 9.3.16 (#70535)
* Changelog: Updated changelog for 9.3.16

* Update CHANGELOG.md

Add missing changes

---------

Co-authored-by: grafanabot <bot@grafana.com>
Co-authored-by: Horst Gutmann <horst.gutmann@grafana.com>
2023-06-22 18:42:13 +03:00
Sven Grossmann
d7337e4f9c
Loki: Preserve pipeline stages in context query (#70472)
* add pipeline stages to context query

* add ui

* improve `Postion`

* add `processPipelineStagesToExpr` to logcontextprovider

* add ui toggle

* fix lokicontextui tests

* remove import

* contextually hide the toggle

* Update `SHOULD_INCLUDE_PIPELINE_OPERATIONS` name

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

* add setIncludePipelineOperations to false in revert

* add prepareExpression method

* remove unused method

* fix test and add `runContextQuery`

* set correct revert state

* let let be const

* remove argument

---------

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2023-06-22 17:34:43 +02:00
tonypowa
8079c1456f
table panel: modified support section regarding alerts (#70421)
* modified support section

* Update docs/sources/panels-visualizations/visualizations/table/index.md

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

* Update docs/sources/panels-visualizations/visualizations/table/index.md

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

* fixing linting error

---------

Co-authored-by: Isabel <76437239+imatwawana@users.noreply.github.com>
Co-authored-by: Isabel Matwawana <isabel.matwawana@grafana.com>
2023-06-22 11:27:50 -04:00
grafana-delivery-bot[bot]
f54a0dd53a
Changelog: Updated changelog for 9.2.20 (#70526)
* Changelog: Updated changelog for 9.2.20

* Update CHANGELOG.md

Add missing entry

---------

Co-authored-by: grafanabot <bot@grafana.com>
Co-authored-by: Horst Gutmann <horst.gutmann@grafana.com>
2023-06-22 15:19:42 +00:00
grafana-delivery-bot[bot]
c0ede641e6
Changelog: Updated changelog for 8.5.27 (#70521)
* Changelog: Updated changelog for 8.5.27

* Update CHANGELOG.md

Add missing entry

---------

Co-authored-by: grafanabot <bot@grafana.com>
Co-authored-by: Horst Gutmann <horst.gutmann@grafana.com>
2023-06-22 14:32:05 +00:00
Piotr Jamróz
cb2cc591da
Explore: Clean up query subscriptions when a query is canceled (#70235)
* Ensure clean up functions are called when query subscriptions are canceled

* Fix unit tests
2023-06-22 15:00:20 +02:00
Ashley Harrison
d00f455f2d
Chore: add esbuild target for theme generation (#70511)
add esbuild target for theme generation
2023-06-22 13:25:27 +01:00
Esteban Beltran
baf83e241e
Docs: Add tested with BrowserStack to README (#70512) 2023-06-22 14:13:50 +02:00
Sarah Zinger
162be9d76c
Cloudwatch: fix typo (#70478) 2023-06-22 08:04:57 -04:00
Sven Grossmann
b5de806f66
Logs: Link anchored logline when opening context in split view (#70463)
* add logline link id to context opened in split

* add comment
2023-06-22 14:00:35 +02:00
Gareth Dawson
d6e4f2a504
Elasticsearch: Enable logs samples for metric queries (#70258)
* enable logs samples on elastic ds

* add tests for getSupplementaryQuery

* only display log samples for date_hostogram queries

* changes

* test

* Update public/app/plugins/datasource/elasticsearch/datasource.test.ts

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

* Update public/app/plugins/datasource/elasticsearch/datasource.test.ts

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

* Update public/app/plugins/datasource/elasticsearch/datasource.test.ts

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

* Update public/app/plugins/datasource/elasticsearch/datasource.test.ts

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

* Update public/app/plugins/datasource/elasticsearch/datasource.test.ts

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>

* address feedback / tests

---------

Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com>
2023-06-22 12:53:05 +01:00