Commit Graph

39792 Commits

Author SHA1 Message Date
ismail simsek
76e822af39
Prometheus: Fix exemplar popover overflow (#60189)
Add popover modifiers to fix overflow issue
2022-12-23 10:14:46 +01:00
Yuri Tseretyan
33e4a93e36
Revert "Chore: Add static UID to test datasource to devenv provisioning file" (#60714)
Revert "Chore: Add static UID to test datasource to devenv provisioning file (#60707)"

This reverts commit 4e2bd63572.
2022-12-23 07:58:47 +01:00
Santiago
05c9af5110
Extract custom template functions (#60695)
extract custom template functions and export the FuncMap
2022-12-22 17:31:40 -03:00
Yuri Tseretyan
4e2bd63572
Chore: Add static UID to test datasource to devenv provisioning file (#60707) 2022-12-22 14:57:01 -05:00
Andres Martinez Gotor
eb757ee15e
Azure Monitor: Fix behavior for nested template variables (#60697) 2022-12-22 17:31:05 +01:00
Andreas Christou
c34aa05548
grafana/e2e: Add ability to customise scenario config (#60646)
* Add ability to retry e2e test scenarios

* Add wait and remove retries

* Revert retry logic and elaborate on 15s wait time

* No need to update datasource name now
2022-12-22 11:07:49 -05:00
juanicabanas
9c3ddda99b
PublicDashboards: Revert Time range setting added (#60698)
Revert "PublicDashboards: Time range setting added (#60487)"

This reverts commit 6f609dbced.
2022-12-22 12:31:54 -03:00
Gilles De Mey
e9fe9baf66
Alerting: Improve threshold displays (#60046) 2022-12-22 16:28:17 +01:00
Kristina
58716de073
Fix Explore URL generator (#60653) 2022-12-22 16:23:30 +01:00
Ivana Huckova
c289cd136c
Elasticsearch: Fix adding of adhoc filters when jumping to explore (#60691)
* Elasticsearch: Fix adding of adhoc filters when jumping to explore

* Change NOT operator to - as it is preffered solution
2022-12-22 16:06:30 +01:00
Sven Grossmann
9f9bf4650d
Loki: Fix missing parameters on Query Builder operations (#60677)
* add missing mandatory params

* improve naming

* change let to const
2022-12-22 15:31:41 +01:00
Yuri Tseretyan
f990be58cb
Alerting: Use all notifiers from alerting repository (#60655) 2022-12-22 09:27:18 -05:00
Kristin Laemmert
542cccaecc
flapflapflapflap - "organization not found" is really annoying (#60628)
flapflapflapflap
2022-12-22 09:14:09 -05:00
Ivana Huckova
a1ef3d77f2
Elasticsearch: Use constants for default values and types (#60673) 2022-12-22 15:08:15 +01:00
Dimitris Sotirakis
658414a025
CI: Update grabpl to v3.0.20 (#60670)
Update grabpl to v3.0.20
2022-12-22 14:51:43 +01:00
Sven Grossmann
01c4783c0b
Logs: Fix height of logs component when used with topnav (#60669)
fix height for topNav
2022-12-22 14:43:02 +01:00
Sonia Aguilar
22ad487c4b
Use queryFn instead of query to be able to catch errors in onCall req… (#60685)
Use queryFn instead of query to be able to catch errors in onCall request
2022-12-22 14:30:27 +01:00
Elthariel
9ce1cd9ddf
Docs: Add implementation key in data source table (#59494)
* Add `implementation` key in data source table

The implementation field that seems to be used by the alertmanager data source config wasn't documentated

* Align | of table

Co-authored-by: Armand Grillet <2117580+armandgrillet@users.noreply.github.com>
2022-12-22 07:41:32 -05:00
Andres Martinez Gotor
f8cc45f5bd
Azure Monitor: Fix metric metadata retrieval based on template variables (#60674) 2022-12-22 13:33:54 +01:00
sam boyer
b8253ac3b9
deps: Update thema, use CUE fork (#60496)
* deps: Update thema, use CUE fork

* Remove superfluous openapi-codegen output

* Update thema again to catch cuetsy changes

* Rerun codegen with latest

* Latest thema, removes cuetsy update

* Latest of cuetsy

* Update type usage

* One last cuetsy rollback

* Update playlist summary tests

* More lint fixes

* Remove TS veneer changes for VariableHide

Co-authored-by: Clarity-89 <homes89@ukr.net>
2022-12-22 07:20:02 -05:00
Andres Martinez Gotor
9d64e7cedc
Docs: Update Azure Monitor config parameters (#60577) 2022-12-22 11:56:14 +01:00
Dimitris Sotirakis
21a017e185
Lint: Fix lint-frontend step error (#60671)
yarn run prettier:write
2022-12-22 10:50:20 +00:00
Giedrius Statkevičius
0485cf34cd
Plugins: Pass through dashboard/contextual HTTP headers to plugins/datasources (#60301)
`X-Dashboard-Uid`, `X-Datasource-Uid`, `X-Grafana-Org-Id`, `X-Panel-Id` are very useful headers set
by Grafana front-end that we would like to see on the data source as
well. This is so that it would be possible to pinpoint from where slow
queries are coming in Mimir/Thanos/Cortex/etc., for example. Relevant
Mimir code lines:
0a94f26203/pkg/frontend/transport/handler.go (L182-L184)

Tested manually that with these changes the headers are visible.
2022-12-22 11:15:00 +01:00
sam boyer
b28a208926
kindsys: Move code ownership of CustomStructured to apps platform team (#60497)
kindsys: Separate code ownership of CustomStructured
2022-12-22 10:20:25 +02:00
Torkel Ödegaard
c6db57c7d0
Scene: Exploring typed scene panels (#58168)
* Scene: Exploring typed scene panels

* Updated

* minor rename
2022-12-22 08:19:43 +01:00
Eve Meelan
c7671b6d1d
Add copyright notice (#60658)
* Create copyright

* add copyright notice
2022-12-21 14:21:13 -08:00
Yuri Tseretyan
03cd7f0295
Chore: Add mysqld exporter to devenv (#55773)
Co-authored-by: Marcus Efraimsson <marcus.efraimsson@gmail.com>
2022-12-21 16:10:55 -05:00
Kevin Minehart
dc00f6dbe3
CI: add log for branch deletion (#60647)
* add log for branch deletion
* return an err when branch deletion fails
2022-12-21 19:27:49 +00:00
Ashley Harrison
a16ca209fb
Segment: Individual segments are now keyboard accessible (#60555)
use <button> for keyboard accessibility
2022-12-21 17:26:18 +00:00
Andreas Christou
0367036108
AzureMonitor: E2E update (#60624)
* Wait for locations call to complete

* Update drone to run cloud suite on tests update
2022-12-21 16:42:24 +00:00
Andreas Christou
2e4bc200f5
AzureMonitor: Correctly set filter values in portal URL (#60627)
* Correctly set filter values in portal URL

* Refactor to include dimensions as a part of AzureMonitor query

* Correctly set splitting value in URL

- Add type for dimension filters object

* Update tests

* Don't test dimensions
2022-12-21 16:30:17 +00:00
Gilles De Mey
cb1ca92419
Alerting: re-enable recording rule editor test (#60639) 2022-12-21 13:12:44 -03:00
Andreas Christou
f3f043e097
AzureMonitor: Set Logs portal URL from resource URI (#60583)
Set URL based off of resource URI
2022-12-21 15:46:31 +00:00
Gilles De Mey
16c6f223ba
TimeSeriesPanel: Allow threshold indicators without change handler (#60575) 2022-12-21 16:18:35 +01:00
Ashley Harrison
44232569a8
ToolbarButtonRow: Overflow button now toggles visibility correctly (#60635)
* only close the overlay if we're interacting with something other than the overflow button/the overlay itself

* use a ref instead of a test id
2022-12-21 15:01:39 +00:00
Giordano Ricci
e723021e13
Explore: Re-initialize graph when number of series to show changes (#60499) 2022-12-21 15:01:26 +01:00
Giordano Ricci
838cbf22da
Chore: remove various type assertions in Explore (#60501) 2022-12-21 15:01:03 +01:00
Sonia Aguilar
e219e2a834
Alerting: Recognise & change UI for OnCall notification policy + contact point (#60259)
* Identify and show onCall contact points with a badge in case the plugin is installed

* Add onCall logo for onCall contact points Badge

* Refactor and make Grafana App Receiver type more generic, not only for onCall type

* Show onCall notification policy in the specific routing table with special onCall badge

* Fix tests

* Move onCall badge to the type column in contact points view table

* Fix typos and remove onCallIntegrations from tagTypes in alertingApi

* Fetch only local plugins instead of all (external are not needed) and don't fetch plugin details

* Use directly useGetOnCallIntegrationsQuery and more PR review suggestions

* Move onCall contact point to the top in the drop-down,  in the notification policy view

* Add PR review requested changes
2022-12-21 14:46:55 +01:00
Matias Chomicki
c537d3699c
Logs A11y: Support keyboard interactions with log lines (#60561)
* Logs A11y: Support keyboard interactions with log lines

* LogRowMessage: specify text align

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

Co-authored-by: Sven Grossmann <sven.grossmann@grafana.com>
2022-12-21 13:45:47 +00:00
Kristin Laemmert
c90756eef5
feat(grafana-cli): allow configuring admin ID for reset-admin-password (#60603)
* feat(grafana-cli): add a flag to control the admin user's ID for reset-admin-password

Since this is now more permissive, I've also added validation that the requested user is an admin.

* slight refactor to support testing
2022-12-21 08:24:33 -05:00
Joao Silva
bf541ee3d1
DatasourceList: Fixes using sub path on datasources URL (#59597) 2022-12-21 14:21:04 +01:00
Dominik Prokop
70dd5b42ce
DataLinks: Allow providing a dynamic data link builder (#60452) 2022-12-21 05:09:31 -08:00
Kristina
0adb00b692
Explore: Use new icons for split pane resizing (#60391)
* Add icons, use them for split pane resizing

* Change icons

* Apply scale to child div

* Use fancier logic for displaying icon

* Remove color fill on icon

* Change icons, remove scale

* Change icons and logic
2022-12-21 07:07:05 -06:00
Ashley Harrison
78e12b140e
TimePicker accessibility: remove stopPropagation from everywhere (#60404)
* remove stopPropagation from everywhere

* improve keyboard a11y in DateTimePicker
2022-12-21 13:04:47 +00:00
Sergey Kostrukov
96b7fb15de
Plugins: Fix parsing of Azure settings for plugins (#60611)
Fix parsing of Azure settings for plugins
2022-12-21 13:37:33 +01:00
Marcus Efraimsson
c35c689a96
Plugins: Automatically forward plugin request HTTP headers in outgoing HTTP requests (#60417)
Automatically forward core plugin request HTTP headers in outgoing HTTP requests. 
Core datasource plugin authors don't have to specifically handle forwarding of HTTP 
headers, e.g. do not have to "hardcode" the header-names in the datasource plugin, 
if not having custom needs.

Fixes #57065
2022-12-21 13:25:58 +01:00
Armand Grillet
aaab477594
Use new link for templating docs (#60615) 2022-12-21 13:10:08 +01:00
Andres Martinez Gotor
733dbe0163
Azure Monitor: Remove references to Germany cloud (#60588) 2022-12-21 11:51:57 +01:00
renovate[bot]
2533b44cb6
Update dependency eslint to v8.30.0 (#60606)
* Update dependency eslint to v8.30.0

* update eslint sdk

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2022-12-21 10:51:38 +00:00
George Robinson
1a442de094
Docs: Rephrase opening sentence for Customize notifications (#60560) 2022-12-21 10:51:02 +00:00