Tobias Skarhed
7361d352bf
Add comments
2018-07-12 15:38:41 +02:00
David Kaltschmidt
81e62e1051
Fix freezing browser when loading plugin
...
- broken since 4d2dd2209
- `*` was previously working as a path matcher, but freezes browser when
used with new cache-busting plugin loader
- changed matcher to be `/*`
2018-07-12 13:16:41 +02:00
Sven Klemm
a24a6624e3
handle counter overflow and resets in rate
2018-07-12 13:15:19 +02:00
Sven Klemm
0935526d23
partition by metricColumn when using increase
2018-07-12 10:13:21 +02:00
Sven Klemm
bbe7b9b908
add rate and increase special functions
2018-07-12 09:57:04 +02:00
Mitsuhiro Tanda
9b50c9038b
skip backend request if extended statistics is invalid. ( #12495 )
...
* check extended statistics pattern
* check extended statistics pattern
* Revert "check extended statistics pattern"
This reverts commit 52c7b1a972636d5f5729e64ae5e00e6fae329257.
* add test
* fix test
2018-07-11 11:23:38 -07:00
Torkel Ödegaard
c03764ff8a
Refactor team pages to react & design change ( #12574 )
...
* Rewriting team pages in react
* teams to react progress
* teams: getting team by id returns same DTO as search, needed for AvatarUrl
* teams: progress on new team pages
* fix: team test
* listing team members and removing team members now works
* teams: team member page now works
* ux: fixed adding team member issue
* refactoring TeamPicker to conform to react coding styles better
* teams: very close to being done with team page rewrite
* minor style tweak
* ux: polish to team pages
* feature: team pages in react & everything working
* fix: removed flickering when changing tabs by always rendering PageHeader
2018-07-11 11:23:07 -07:00
Mitsuhiro Tanda
18a8290c65
(prometheus) prevent error to use $__interval_ms in query ( #12533 )
...
* prevent error to use $__interval_ms in query
* add test
* prevent error to use $__interval_ms in query
2018-07-11 11:13:47 -07:00
Torkel Ödegaard
b4e0ace7a2
fix: folder picker did not notify parent that the initial folder had been changed, fixes #12543 ( #12554 )
2018-07-11 10:58:06 -07:00
Łukasz Gryglicki
24f395f986
Add support for skipping variable value in URL, fixes #12174 ( #12541 )
...
* New rebase
Signed-off-by: Lukasz Gryglicki <lukaszgryglicki@o2.pl >
* Lint
Signed-off-by: Lukasz Gryglicki <lukaszgryglicki@o2.pl >
2018-07-11 10:06:36 -07:00
Sven Klemm
2784a2df6b
Refactor value column SQL generation
2018-07-11 13:03:06 +02:00
Sven Klemm
9ba42f63f1
Refactor metric column sql generation
2018-07-11 12:33:37 +02:00
Rollulus Rouloul
2fbf2bba4e
fix: requests/sec instead of requets ( #12557 )
2018-07-11 03:33:19 -07:00
Tobias Skarhed
cfa555b569
Add folder name to dashboard title ( #12545 )
...
* Add folder name to dashboard title. No display on medium displays and below
* Compare folderId instead
* folderId bigger than 0
2018-07-11 03:31:07 -07:00
David
4d2dd22095
Fix css loading in plugins ( #12573 )
...
- allow css loader to be imported again (wasnt prefixed by plugin)
2018-07-11 03:29:19 -07:00
Sven Klemm
a86e77fc68
Refactor group by query generation
2018-07-11 12:20:24 +02:00
Sven Klemm
b9edc3c611
Refactor where clause generation
2018-07-11 11:50:02 +02:00
Sven Klemm
5dd236bf05
refactor SQL generation for value columns
2018-07-11 11:09:28 +02:00
Sven Klemm
772825ed09
Refactor time column sql generation
2018-07-11 11:00:12 +02:00
Sven Klemm
c5bde0ef45
Refactor render function on PostgresQuery
2018-07-11 10:50:49 +02:00
Sven Klemm
1d711924bc
Merge remote-tracking branch 'upstream/master' into postgres-query-builder
2018-07-11 10:21:13 +02:00
Sven Klemm
c8a11d597f
prepare sql part for special functions
2018-07-10 21:43:57 +02:00
Sven Klemm
0e610cad1b
set query gui as default handle old panels gracefully
2018-07-10 21:40:59 +02:00
Sven Klemm
9d5b4cb91d
dont throw exception for unknown types
2018-07-10 14:45:36 +02:00
Tobias Skarhed
4ee4ca99be
Prevent scroll on focus for iframe
2018-07-10 12:54:45 +02:00
Sven Klemm
e8e24f6139
add alias when adding group by
2018-07-10 11:32:23 +02:00
Dominic Smith
5578097210
Add new sequential color scales
...
* Add new sequential color scales
* Simplify inversion logic
2018-07-10 12:17:55 +03:00
Sven Klemm
6e7161f238
add aggregates when adding group by
2018-07-10 11:14:00 +02:00
David
9595f992b9
Merge pull request #12496 from dehrax/12224-prostgres-ds
...
Karma to Jest: 3 data sources
2018-07-10 11:13:44 +02:00
Sven Klemm
dc93055a10
add column alias when add aggregate function
2018-07-10 10:19:30 +02:00
Sven Klemm
5a307e80aa
fix enter in sql_part_editor
2018-07-09 22:43:50 +02:00
Sven Klemm
bfc751542c
fix editing expression parts
2018-07-09 22:38:29 +02:00
Sven Klemm
f140967423
rename inputBlur to switchToLink
2018-07-09 22:00:50 +02:00
Tobias Skarhed
e51f208a49
Cleanup and remove some jest.fn()
2018-07-09 15:42:34 +02:00
Sven Klemm
02abda7d92
fix spelling
2018-07-09 14:47:59 +02:00
Sven Klemm
2d951ba611
add current value to dropdown if its not in resultset
2018-07-09 14:27:10 +02:00
Sven Klemm
6a981d39d8
Revert "show current value in dropdown when its not part of list"
...
This reverts commit 76275cae37 .
2018-07-09 13:04:55 +02:00
Tobias Skarhed
6670acd082
Remove irrelevant tests and templateSrv stub
2018-07-09 12:52:56 +02:00
David
25bcdbcab1
Merge pull request #12284 from grafana/davkal/queryfield-refactor
...
Query field refactorings to support external plugins
2018-07-09 11:29:59 +02:00
Sven Klemm
76275cae37
show current value in dropdown when its not part of list
2018-07-09 11:22:03 +02:00
Mitsuhiro Tanda
4c59be4f5b
generate unique id when variable is multi
2018-07-09 13:11:50 +09:00
Mitsuhiro Tanda
40ed235b3b
support GetMetricData
2018-07-09 13:11:50 +09:00
Sven Klemm
5b5dcabd22
add None to metric column suggestions
2018-07-07 21:21:11 +02:00
Sven Klemm
3f4c808cc5
Merge remote-tracking branch 'upstream/master' into postgres-query-builder
2018-07-07 20:54:33 +02:00
Sven Klemm
8490ae41b6
handle pre query gui queries gracefully
2018-07-07 20:41:24 +02:00
Sven Klemm
eb170e741b
dont break on panels that dont have rawQuery set
2018-07-07 19:59:25 +02:00
Sven Klemm
b2b4860bdb
refactor transformToSegments
2018-07-07 19:43:21 +02:00
David Kaltschmidt
7ddcaf22d5
Fix datasource sorting with template variables
...
- fixes sorting when template variables are present
- simplified existing test cases
- added test to cover variable usage in datasource service
2018-07-06 15:32:08 +02:00
Marcus Efraimsson
1db067f2ad
Merge pull request #12511 from alexanderzobnin/fix-12484
...
Prometheus heatmap: fix unhandled error when some points are missing
2018-07-06 12:50:04 +02:00
Sven Klemm
e4b4b3a772
rename quoteLiteral to quoteIdentAsLiteral
2018-07-06 12:38:43 +02:00