Marcus Efraimsson
38a52c2489
mssql: update tests
2018-07-30 13:50:52 +02:00
Marcus Efraimsson
e32cf75c2d
fix usage of metric column types so that you don't need to specify metric alias
2018-07-30 13:50:18 +02:00
Tobias Skarhed
3d4a346c66
Begin conversion
2018-07-30 13:02:08 +02:00
Marcus Efraimsson
e4983cba2f
changelog: update
...
[skip ci]
2018-07-30 10:21:22 +02:00
Marcus Efraimsson
13a7b638bc
changelog: add notes about closing #12747
...
[skip ci]
2018-07-30 10:19:51 +02:00
Jan Garaj
e37e8cb38c
Add missing tls_skip_verify_insecure ( #12748 )
2018-07-30 00:02:16 -07:00
Marcus Efraimsson
20b2b344f6
mssql: add logo
2018-07-28 11:31:30 +02:00
Sven Klemm
3aa4790979
add tests for metric column prefix to mssql
2018-07-27 18:13:19 +02:00
Sven Klemm
e487fabcd5
add metric column prefix test for mysql
2018-07-27 17:59:59 +02:00
Sven Klemm
036647ae35
document metric column prefix in query editor
2018-07-27 17:18:45 +02:00
Marcus Efraimsson
8188679951
Merge pull request #12745 from dehrax/12224-heatmap-ctrl
...
Karma to Jest: heatmap_ctrl
2018-07-27 17:18:15 +02:00
Marcus Efraimsson
710566e146
Merge pull request #12742 from dehrax/12224-backend-srv
...
Karma to Jest: backend_srv
2018-07-27 17:17:54 +02:00
Marcus Efraimsson
86d75a64c1
Merge pull request #12737 from dehrax/12224-singlestat
...
Karma to Jest: singlestat
2018-07-27 17:17:09 +02:00
Sven Klemm
bc9b6ddefe
document metric column prefix for mysql and mssql
2018-07-27 17:14:27 +02:00
Tobias Skarhed
805dc3542f
Remove extra mock
2018-07-27 16:46:41 +02:00
Tobias Skarhed
26f709e87e
Karm to Jest
2018-07-27 16:45:03 +02:00
Worty
895b4b40ee
correct volume unit
2018-07-27 16:26:04 +02:00
Tobias Skarhed
c11d0f5cc6
Remove lo
2018-07-27 15:52:22 +02:00
Tobias Skarhed
2f6b302375
Test passing. Remove Karma
2018-07-27 15:51:56 +02:00
Sven Klemm
7905c29875
adjust metric prefix code to sql engine refactor
2018-07-27 15:34:04 +02:00
Sven Klemm
f9d6c88a55
add testcase for metric column as prefix
2018-07-27 15:32:54 +02:00
Sven Klemm
b28a362635
Use metric column as prefix
...
If multiple value columns are returned and a metric column is
returned aswell the metric column will be used as prefix for
the series name
2018-07-27 15:32:53 +02:00
Tobias Skarhed
766c23a1eb
Fix emit errors
2018-07-27 15:16:19 +02:00
Tobias Skarhed
2db4a54f75
Fix test
2018-07-27 14:40:56 +02:00
Tobias Skarhed
4e6168f3a3
Add async/await
2018-07-27 14:22:48 +02:00
Marcus Efraimsson
715c82b67b
Merge pull request #12740 from grafana/unused-class-from-deletebutton
...
removed unused class from the deletebutton pr
2018-07-27 14:13:41 +02:00
Marcus Efraimsson
02ba467bf1
Merge pull request #12730 from marefr/sql_refactor
...
SQL datasources - backend refactor
2018-07-27 14:13:19 +02:00
Patrick O'Carroll
971e52ecc9
removed unused class from the deletebutton pr
2018-07-27 13:48:14 +02:00
Patrick O'Carroll
1bb5a57036
frontend part with mock-team-list
2018-07-27 13:45:16 +02:00
Tobias Skarhed
55111c801f
Update test for local time
2018-07-27 13:41:07 +02:00
Marcus Efraimsson
b4ac3f2379
update devenv datasources and dashboards for sql datasources
2018-07-27 13:33:50 +02:00
Tobias Skarhed
67c613a45a
Begin conversion
2018-07-27 13:29:57 +02:00
Marcus Efraimsson
e43feb7bfa
use const for rowlimit in sql engine
2018-07-27 13:21:40 +02:00
Marcus Efraimsson
0550ec6de1
Merge pull request #12665 from grafana/9863-animated-delete-button
...
built a component for delete button in tables
2018-07-27 12:37:53 +02:00
Tobias Skarhed
bff7a29356
Cleanup
2018-07-27 11:34:14 +02:00
Tobias Skarhed
3d21e42aac
Remove Karma file
2018-07-27 11:30:37 +02:00
Tobias Skarhed
47da3e3ae8
All tests passing
2018-07-27 11:28:16 +02:00
Tobias Skarhed
675a031b6c
All except one passing
2018-07-27 11:04:01 +02:00
Marcus Efraimsson
48e5e65c73
changelog: add notes about closing #12731
...
[skip ci]
2018-07-27 10:33:06 +02:00
Marcus Efraimsson
13fa3a8378
Merge pull request #12734 from grafana/12731_fix_index_pattern
...
elasticsearch: fix index patterns
2018-07-27 10:22:02 +02:00
Marcus Efraimsson
ab8fa0de74
elasticsearch: support reversed index patterns
...
Now both [index-]pattern and pattern[-index] are supported
2018-07-26 21:39:02 +02:00
Marcus Efraimsson
318b8c5a23
update devenv datasources and dashboards for sql datasources
...
Removed dashboards from docker blocks
2018-07-26 18:12:00 +02:00
Marcus Efraimsson
4f7882cda2
mssql: use new sql engine
2018-07-26 18:11:10 +02:00
Marcus Efraimsson
27db454012
mysql: use new sql engine
2018-07-26 18:10:45 +02:00
Marcus Efraimsson
2f3851b915
postgres: use new sql engine
2018-07-26 18:10:17 +02:00
Marcus Efraimsson
d42cea5d42
refactor sql engine to make it hold all common code for sql datasources
2018-07-26 18:09:42 +02:00
Tobias Skarhed
fc06f8bfe7
Pass more tests
2018-07-26 17:22:15 +02:00
David
7699451d94
Refactor Explore query field ( #12643 )
...
* Refactor Explore query field
- extract typeahead field that only contains logic for the typeahead
mechanics
- renamed QueryField to PromQueryField, a wrapper around TypeaheadField
that deals with Prometheus-specific concepts
- PromQueryField creates a promql typeahead by providing the handlers
for producing suggestions, and for applying suggestions
- The `refresher` promise is needed to trigger a render once an async
action in the wrapper returns.
This is prep work for a composable query field to be used by Explore, as
well as editors in datasource plugins.
* Added typeahead handling tests
- extracted context-to-suggestion logic to make it testable
- kept DOM-dependent parts in main onTypeahead funtion
* simplified error handling in explore query field
* Refactor query suggestions
- use monaco's suggestion types (roughly), see
https://github.com/Microsoft/monaco-editor/blob/f6fb545/monaco.d.ts#L4208
- suggest functions and metrics in empty field (ctrl+space)
- copy and expand prometheus function docs from prometheus datasource
(will be migrated back to the datasource in the future)
* Added prop and state types, removed unused cwrp
* Split up suggestion processing for code readability
2018-07-26 15:04:12 +03:00
Tobias Skarhed
88e91b3f51
Begin conversion
2018-07-26 10:44:40 +02:00
David
1db2e869c5
Merge pull request #12718 from grafana/davkal/ts-options
...
Add tslib to TS compiler
2018-07-26 10:41:14 +02:00