Valentin Agachi
425636ff70
Improve Loki logs render with ANSI colors ( #15558 )
...
* Improve Loki logs render with ANSI colors
* fixup! Improve Loki logs render with ANSI colors
* fixup! Improve Loki logs render with ANSI colors
* fixup! Improve Loki logs render with ANSI colors
2019-02-22 13:13:10 +01:00
Torkel Ödegaard
cfea8bdcae
Prettier had not been running as a precommit hook for some time so had to run in on all files again
2019-02-13 11:14:53 +01:00
Torkel Ödegaard
e75e69a709
Commented out the Loki dashboard query editor
2019-02-11 10:27:04 +01:00
Hugo Häggmark
2c255fd85a
Renamed initialQueries to queries
2019-02-05 06:19:40 +01:00
Hugo Häggmark
5e2b9e40a2
Added more typings
2019-02-04 11:25:07 +01:00
Hugo Häggmark
d9578bc485
Merge with master
2019-02-04 08:17:18 +01:00
Hugo Häggmark
2d0fd96621
More types and some refactoring
2019-02-04 07:50:17 +01:00
Hugo Häggmark
acea1d7f00
Alignment of interfaces and components
2019-02-04 07:50:17 +01:00
Torkel Ödegaard
2a4b10a5c8
minor fix
2019-02-01 13:40:46 +01:00
Torkel Ödegaard
740e1a0540
Made really good progress on loki support in dashboards
2019-02-01 13:30:15 +01:00
Torkel Ödegaard
6e0b873739
Merge branch 'master' into loki-query-editor
2019-02-01 11:17:22 +01:00
Torkel Ödegaard
0ac0588583
Merge pull request #15107 from grafana/explore-query-styles
...
Updated Explore query styles to align them to other query editors
2019-01-29 15:38:06 +01:00
Dominik Prokop
27948b1308
Make language provider cancelable in Loki and Prometheus QueryField, to avoid setting state on unmounted component
2019-01-29 12:11:48 +01:00
Torkel Ödegaard
0de861a3a8
Minor progress on react query editor support, solving updating query persisted state
2019-01-29 09:39:23 +01:00
Torkel Ödegaard
6dad4cce07
Updated Explore query styles to align them to other query editor to make them fit in better
2019-01-29 08:14:07 +01:00
Torkel Ödegaard
e4244d8bf8
Merge branch 'master' into loki-query-editor
2019-01-29 07:10:06 +01:00
Hugo Häggmark
08f5a3338a
Making sure we do not pass a long invalid queries and save to state
2019-01-28 15:27:35 +01:00
Torkel Ödegaard
6419a30377
Fixed react key warning for loki start page
2019-01-23 21:19:42 +01:00
Torkel Ödegaard
02083d71c8
Loki query editor is starting to work, had to make changes to explore query field in order to update query from the outside without unmount between
2019-01-23 17:44:22 +01:00
Hugo Häggmark
23202ab130
Refactored out LogRow to a separate file
2019-01-22 08:59:22 +01:00
Torkel Ödegaard
5d17ad1103
more typings work around data query and data source
2019-01-18 18:59:32 +01:00
Torkel Ödegaard
1d2902715f
wip: progress on adding query types
2019-01-18 18:14:27 +01:00
Torkel Ödegaard
a69f79caed
wip: more typings
2019-01-18 17:43:58 +01:00
Torkel Ödegaard
febb9e7168
Moved data source and data query types
2019-01-17 17:59:47 +01:00
Torkel Ödegaard
4fc9d794ca
Moved plugin types to @grafana/ui
2019-01-17 17:37:34 +01:00
Simon Podlipsky
c39dc1fb15
Some cleanup
2019-01-05 15:25:07 +01:00
Torkel Ödegaard
9e91d91788
Merge pull request #14689 from grafana/davkal/loki-limit
...
Loki: query limit configurable in datasource
2019-01-01 15:38:59 +01:00
David Kaltschmidt
f4b4ee3ff8
Review feedback
2018-12-31 14:10:45 +00:00
David Kaltschmidt
32438c4716
Loki: change query row to be single field again
...
- tried split selector and search for a week, and it did not feel natural
- keeping some of the original modifications in QueryField from splitting PR
- adapted CheatSheet and placeholder text
- added new label selector state: No labels found
2018-12-31 12:38:13 +00:00
David Kaltschmidt
26a5e07737
Loki: query limit configurable in datasource
...
- Loki queries must contain a limit
- this change makes this limit configurable in the datasource
- keep default at 1000, add tooltip on why inc/dec makes sense
- added tests
2018-12-31 11:25:28 +00:00
Dan Cech
b8fdacd81f
Update public/app/plugins/datasource/loki/result_transformer.ts
...
Co-Authored-By: davkal <david.kaltschmidt@gmail.com>
2018-12-22 17:28:51 +01:00
David Kaltschmidt
e694604be5
Loki: fix timestamp field
...
- timestamp was renamed to `ts` in grafana/loki#152
- renamed here in result transformer and tests
2018-12-22 17:19:58 +01:00
David
b2401e37fa
Merge pull request #14414 from grafana/davkal/explore-logging-search
...
Explore: Split logging query into selector and search
2018-12-22 17:00:57 +01:00
Torkel Ödegaard
6542bfb83e
Merge branch 'fix-misspell-issues' of https://github.com/mjtrangoni/grafana into mjtrangoni-fix-misspell-issues
2018-12-19 11:21:34 +01:00
Torkel Ödegaard
b15bb4fb95
Merge remote-tracking branch 'origin/master' into develop
2018-12-14 17:02:08 +01:00
Daniel Lee
2d2254293b
loki: updates the logo
2018-12-12 20:34:33 +01:00
David Kaltschmidt
117adbbe5d
Fix search field styles
2018-12-09 14:39:25 -08:00
David Kaltschmidt
9293ff06cd
Enable search also after editing
2018-12-09 18:53:03 +01:00
David Kaltschmidt
6b9200a606
Explore: Split logging query into selector and search
...
- add second query field to logging datasource query component
- second field manages search term, first field manages stream selectors
- improved logging cheat sheet to get started
2018-12-09 18:44:59 +01:00
Torkel Ödegaard
bfbb44af03
transparent toggle style and new button group style
2018-12-07 17:15:46 +01:00
Torkel Ödegaard
eb6d0e9f51
Merge branch 'master' into develop
2018-12-07 14:59:38 +01:00
bergquist
e230827c06
more detailed error message for loki
...
if grafana tries to access loki without promtail running
it will return an error.
2018-12-06 13:59:19 +01:00
Daniel Lee
40898e1cd6
loki: adds proper error handling for config page
...
This handles three different error cases for the
config page so that the user gets an error and not
just a blank red error box.
2018-12-06 00:42:31 +01:00
Daniel Lee
721e1d7555
renames Grafana Logging ds to Loki
2018-12-06 00:42:31 +01:00