David Kaltschmidt
47468fca68
Explore: Show logging errors from backend
...
- Logging datasource sends error string directly in the message body
- allowing response body to be an error when query transaction failed
- added throw in case we ever encounter unhandled errors again (forces us to fix the issue)
2018-11-30 16:09:56 +01:00
Erik Sundell
12ba314e24
change obj order when merging so that correct format is being used
2018-11-30 15:58:01 +01:00
David Kaltschmidt
11a53763e2
Explore: Fix logging query parser for regex with quantifiers
...
- ensure that selectors have to be preceded by whitespace or line beginning
- glacing over the fact that ` {0,1}` could be a valid regexp, but we're using space as query/regexp separators anyway, so I think it's fine for now
2018-11-30 15:49:54 +01:00
Minamiya_Natsuki
ecddf9d408
Update README.md
2018-11-30 22:47:57 +08:00
David
088c2e70d8
Merge pull request #14236 from grafana/davkal/explore-logging-rendeer
...
Explore: Logging render performance
2018-11-30 15:37:24 +01:00
David Kaltschmidt
a513130493
Fixed typo in function name
2018-11-30 15:19:09 +01:00
David Kaltschmidt
a61c8d23d4
Explore: Fix label and history suggestions
...
- fork promql's tokenizer (need to specify that labels context can only follow beginning of line or whitespace)
- remove unneeded syntax features
- only present history items when field is empty
2018-11-30 15:13:53 +01:00
Peter Holmberg
de9137a7c7
tidy import
2018-11-30 14:32:29 +01:00
Marcus Efraimsson
624e5e5b3d
let each sql datasource handle timeFrom and timeTo macros
2018-11-30 14:30:02 +01:00
Erik Sundell
4f38af12a8
Merge branch 'panel-edit-in-react' of https://github.com/grafana/grafana into panel-edit-in-react
2018-11-30 14:18:33 +01:00
Torkel Ödegaard
1db3885283
style changes for panel placeholder (move and resize) effect
2018-11-30 05:14:23 -08:00
Erik Sundell
3c556c4833
never load fallback query field. remove commented code
2018-11-30 13:53:39 +01:00
Erik Sundell
be85944d84
add an error alert component that will be displayed when there was an error loading ds in explore
2018-11-30 13:51:49 +01:00
Torkel Ödegaard
222f26ea80
Merge branch 'panel-edit-in-react' of github.com:grafana/grafana into panel-edit-in-react
2018-11-30 04:46:39 -08:00
Torkel Ödegaard
6c09373995
fix: minor style changes, removed hover scale increase
2018-11-30 04:45:25 -08:00
Johannes Schill
0b65558c21
react-panel: Add nullcheck to prevent error on datasources without meta options
2018-11-30 13:42:49 +01:00
Johannes Schill
e0fb89cf54
Merge branch 'panel-edit-in-react' of https://github.com/grafana/grafana into panel-edit-in-react
2018-11-30 13:39:46 +01:00
Johannes Schill
363425d55e
react-panel: Options button should always be enabled now when Time Range-options are there
2018-11-30 13:39:06 +01:00
Johannes Schill
d02839d2d1
react-panel: Move time range options to its own component and render it under the options button instead
2018-11-30 13:36:53 +01:00
Peter Holmberg
4c6897b411
created color enum
2018-11-30 13:17:17 +01:00
Torkel Ödegaard
a6c4ba4dfb
Merge pull request #14242 from grafana/various-style-fixes
...
Fixed styling issues with new checkbox style
2018-11-30 12:52:24 +01:00
Erik Sundell
e55a0cceff
Merge branch 'panel-edit-in-react' of https://github.com/grafana/grafana into panel-edit-in-react
2018-11-30 12:50:16 +01:00
Erik Sundell
c40bfb8eda
make sure target obj is not destructured so that angular copy of objected can be mutated
2018-11-30 12:49:05 +01:00
David Kaltschmidt
979f3f3e0c
Review feedback
...
- fixed typo
- moved result calculation to explore utils
- use component keys instead of componentWillReceiveProps
- require logs to have and id, to as use as Logs component key
- render delay based on row count
2018-11-30 12:26:57 +01:00
Johannes Schill
58da6e8c26
react-panel: Add test for Input with validation on blur
2018-11-30 12:26:45 +01:00
Johannes Schill
c722ea4f76
react-panel: Input validation should be optional
2018-11-30 11:04:56 +01:00
Torkel Ödegaard
cc210b11fb
Merge branch 'panel-edit-in-react' into various-style-fixes
2018-11-30 01:46:41 -08:00
Torkel Ödegaard
6cbbffffb9
Merge pull request #14198 from grafana/panel-edit-in-react-query-inspector
...
Panel edit in react query inspector
2018-11-30 10:40:11 +01:00
Johannes Schill
a8e184c025
react-panel: Clean up input validation and increase code readability
2018-11-30 10:21:55 +01:00
Johannes Schill
69ae3d2e6a
react-panel: Time range options moved to "Queries" tab
2018-11-30 10:21:54 +01:00
Johannes Schill
b7fcef3351
react-panel: Remove mock response button for now
2018-11-30 10:21:54 +01:00
Johannes Schill
a03900e6cf
react-panel: Remove comments and improve readability in render()
2018-11-30 10:21:54 +01:00
Johannes Schill
3908e64ef0
react-panel: Use correct type for children prop to avoid the use of fragments <></>
2018-11-30 10:21:54 +01:00
Johannes Schill
13d0a11798
react-panel: Remove json-formatter-js since we will continue with the "patched" version
2018-11-30 10:21:54 +01:00
Johannes Schill
23ae1c7184
react-panel: Move all query inspector logic into QueryInspector component and start with the "Mock response"
2018-11-30 10:21:54 +01:00
Johannes Schill
857bd3d8ad
react-panel: Toggle Expand/Collapse json nodes in Query Inspector
2018-11-30 10:21:54 +01:00
Johannes Schill
8254086ecb
react-panel: Add CopyToClipboard-component and separate QueryInspector to its own component from QueriesTab
2018-11-30 10:21:53 +01:00
Johannes Schill
be67801e84
react-panel: Trigger panel refresh when opening inspector. Add loading-message
2018-11-30 10:21:53 +01:00
Johannes Schill
6242379915
react-panel: Replace JSONFormatter npm package with the current monkey patched JsonExplorer
2018-11-30 10:21:53 +01:00
Johannes Schill
5cca489acd
react-panel: Clean up the JSONFormatter and make sure it updates both on mount and when props update
2018-11-30 10:21:53 +01:00
Johannes Schill
348f2e4ec4
react-panel: Get real datasource query for query inspector
2018-11-30 10:21:53 +01:00
Johannes Schill
82ce733e9e
react-panel: Create component for JSON formatting and use it on query inspector
2018-11-30 10:21:53 +01:00
Marcus Efraimsson
1052b17af8
changelog: add notes about closing #14167
2018-11-30 09:53:21 +01:00
Marcus Efraimsson
e2e66ae608
Merge pull request #14238 from mmcoltman/14167-cloudwatch_add_codebuild
...
Add AWS/CodeBuild namespace for CloudWatch datasource
2018-11-30 00:50:27 -08:00
Erik Sundell
3d45b5ba73
make getAll return array instead of object
2018-11-30 09:48:59 +01:00
Erik Sundell
df75fb0e6d
remove obsolete test
2018-11-30 09:32:36 +01:00
Minamiya_Natsuki
2db3464044
Update README.md
...
add notice to MacOS Docker user, if docker memory limit is less than 2GiB, build process may fail when run ./node_modules/.bin/grunt build
2018-11-30 12:59:10 +08:00
Matthew Coltman
bbd0ec3a8b
Add AWS/CodeBuild namespace for CloudWatch datasource
2018-11-29 21:02:44 +01:00
Torkel Ödegaard
93ac4e4717
Fixed styling issues with new checkbox style
2018-11-29 18:39:02 +01:00
Mario Trangoni
e4771a88dd
Fix other misspell issues
...
See,
$ find . -type f | xargs misspell -locale US | grep -vi -e vendor -e node_modules -e devenv -e unknwon -e destory -e yarn -e adn -e Spindel
2018-11-29 18:15:16 +01:00