Emil Tullstedt
bf574e98c8
Chore: Upgrade Go to 1.19.4 ( #60794 )
2022-12-29 13:03:56 +01:00
Joan López de la Franca Beltran
329fedb55d
Codegen: Fix mudball gen ( #60812 )
...
* Codegen: Fix mudball gen
* Fix Go build tags annotations
2022-12-29 12:48:27 +01:00
Dominik Prokop
370aa9f6ea
Runtime: Expose panel plugin import utils ( #60799 )
...
* Runtime: Expose plugin import utils
* Review
* Fix
2022-12-29 00:45:50 -08:00
Ivan Ortega Alba
7de81ca673
test: Fix Jest reporter ( #60810 )
2022-12-29 03:14:09 -05:00
ying-jeanne
a3a0c01301
[xorm] Remove some unused functions && mssql related logics ( #60788 )
...
* remove some unused functions
* more
* put back the pakcage replace
2022-12-28 22:23:25 -05:00
Torkel Ödegaard
497ce81867
Table: Refactoring state handling for expanded rows ( #60791 )
...
* Table: Refactoring state handling for expanded rows
* Simplify row expander
* remove console.log
* review fixes
* Simplify hook name
* fixed test
2022-12-28 19:37:17 +01:00
Torkel Ödegaard
14c2209b33
TopNav: Fixes the invite user page navId / missing section nav and design of user list page ( #60701 )
2022-12-28 19:29:42 +01:00
Dominik Prokop
78d7f11b8e
grafana/data: Move data frames processing functions from core ( #60795 )
2022-12-28 07:59:45 -08:00
Dominik Prokop
aa0936127d
Runtime: Expose runRequest function ( #60793 )
2022-12-28 06:28:12 -08:00
Kristin Laemmert
b356526ebe
chore(dashboard version service): remove user table join from store implementations ( #60779 )
...
chore (dashboardversion service): remove (one) join from store implementations
We return the userID from the dashboardservice store; the service (or api) layer can use that to get the user's login when needed.
2022-12-28 07:59:10 -05:00
Kristin Laemmert
6e9419ea80
chore(dashboard version service): make method sigs more consistent ( #60736 )
...
The DashboardVersion struct is the database object; the DashboardVersionDTO is the object that should be sent to the API layer.
In the future I'd like to move DashboardVersion to dashverimpl and un-export it, but there are a few places that Insert directly into that table, not all of which are test fixtures, so that should wait until we clean up at least the DashboardService's use of it.
2022-12-27 11:17:24 -05:00
ying-jeanne
29276581d2
[xorm] Remove cache from xorm ( #60770 )
...
[xorm] remove cache from xorm
2022-12-27 10:48:49 -05:00
Emil Tullstedt
88323a30b7
Logging: Fix running tests multiple times ( #60559 )
...
- Create new ctxLogProviders for each scenario to support
go test -count=n for n>1. Currently, it just kept adding providers for
every new run, which would make it add way more key-value pairs to
the provider than necessary.
- Adding a helper method to the scenario to make it easier to set up tests
for logging and easier to read the tests. I also flattened the test file, to
reduce the complexity of each test function.
2022-12-27 16:42:03 +01:00
Dominik Prokop
9b7418ec17
Revert "Chore: Update typescript to 4.9.3 ( #60538 )" ( #60774 )
...
This reverts commit 51f5334748
.
2022-12-27 06:30:52 -08:00
Ivan Ortega Alba
0d65063d0b
Jest: Add logger to print test results in Loki friendly format ( #59672 )
2022-12-27 12:06:06 +01:00
Torkel Ödegaard
591c86e31d
Scene: Consolidate layout props on a layout prop (formerly named size) ( #60437 )
...
* Initial prop rename changes
* Updates
* Rename layout to placement
* Fix
* Fixed test
Co-authored-by: Dominik Prokop <dominik.prokop@grafana.com>
2022-12-27 09:05:06 +01:00
ying-jeanne
12c292fd44
[Bug] Fix annotations update/patch ( #60385 )
...
* fix annotations update/patch
* verify that when update doesn't contain data, we will not update data
2022-12-26 09:53:52 -05:00
ying-jeanne
746c7839dc
[xorm] Remove some unused functionalities from engine ( #60763 )
...
remove some unused functionalities from engine
2022-12-26 22:39:21 +08:00
ying-jeanne
77b3520b47
[xorm] remove mssql as driver ( #60760 )
...
* Remove mssql driver
* reput the go.mod
* add back xorm and remove mssql
2022-12-26 06:01:51 -05:00
ying-jeanne
33dbbbad6b
[xorm] Rmove engine group ( #60761 )
2022-12-26 05:32:51 -05:00
ying-jeanne
572e5a76ef
[xorm] add xorm as package into grafana ( #60678 )
...
* add xorm and xorm/core as package
* remove mssql and oracle as driver
* fix some typo
* remove unittest
* remove some cache
* restore the removed part
* remove logfile
2022-12-26 17:45:21 +08:00
Dan Cech
9c4051bfa1
Switch grafana server command to use urfave/cli/v2 ( #60684 )
...
* switch grafana server to use urfave/cli/v2
* autocomplete support
* lint fix
2022-12-24 22:33:18 -05:00
Victor Marin
9bd6e471e4
BarChart: Clear tooltip when cursor exits bar ( #60617 )
2022-12-23 13:00:52 -06:00
Leon Sorokin
b439fd56d8
Heatmap: Fix bottom bucket range in tooltip ( #60562 )
...
Co-authored-by: nmarrs <nathanielmarrs@gmail.com>
2022-12-23 12:56:07 -06:00
Nathan Marrs
8b200d74b9
Geomap: Fix datalink UX regression ( #60739 )
2022-12-23 10:48:01 -08:00
Nathan Marrs
283cdc184e
Barchart: Fix tooltip erroneous header ( #60741 )
2022-12-23 13:42:53 -05:00
Andres Martinez Gotor
7a679db08b
Azure Monitor: Add current value to editor options ( #60726 )
2022-12-23 18:43:43 +01:00
yusuf-multhan
bb5ac924ae
Folder: Folder name update redirects to desired location, for grafana served with subpath ( #60721 )
2022-12-23 17:29:41 +01:00
Gilles De Mey
f72cbc16ad
Alerting: Warn about missing contact-point in notification policy ( #60728 )
...
* initial simplistic version
still need to figure out what to do with child policies
* adds test
2022-12-23 14:54:57 +01:00
Serge Zaitsev
1d12dda7db
Chore: Update CODEOWNERS ( #60724 )
...
* Chore: Update CODEOWNERS
* remove comment
2022-12-23 08:46:17 -05:00
Andreas Christou
f319a5f740
CloudMonitor: Add adoption metrics ( #60706 )
...
* Add adoption metrics for Cloud Monitoring
- Add metrics to track each query type (MQL/Time Series Query, Builder/Time Series Filter, SLO, Annotation)
* Remove hidden fields and account for pre 9.4 queries
* Simplify object
2022-12-23 07:01:29 -05:00
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