Sven Grossmann
fb31daa92f
LogContext: Fix wrong width if lines are wrapped ( #56650 )
2022-10-10 16:31:14 +02:00
Sven Grossmann
62674604b4
Loki: Escape label-values in context queries ( #56614 )
2022-10-10 14:31:19 +02:00
Sven Grossmann
be68bb6b3b
LogContext: Fix wrong position of logcontext ( #56613 )
...
* fix styling issues
* remove unused class
2022-10-10 14:17:22 +02:00
Sven Grossmann and Ivana Huckova
1bcce79d4e
LogContext: Add header and close button to modal ( #56283 )
...
* added context header
* Rename to Log Context
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2022-10-10 09:33:18 +02:00
Sven Grossmann and Matias Chomicki
0d8ea2bb34
LogContext: Fix scroll position in upper context group ( #56370 )
...
* fix log row being falsely added to context
* do not add to many lines
* fix scroll position in context
* more flexible id comparison
* add original refid to context query
* added missing row comparison
* updated comment
Co-authored-by: Matias Chomicki <matyax@gmail.com >
Co-authored-by: Matias Chomicki <matyax@gmail.com >
2022-10-05 16:26:22 +02:00
Sven Grossmann
2410b88ad1
Logs: Show LogRowMenu also for long logs and wrap-lines turned off ( #56030 )
...
* show logrowmenu as new table-cell
* fix dashboard position
* added reasonable position
* fix log row message not beeing 100%
2022-10-05 16:11:08 +02:00
Sven Grossmann
0c1e4979af
add correct overscroll-behavior to context modals ( #56070 )
2022-09-30 11:25:51 +02:00
Sven Grossmann
3afa3f5e21
fix wrong context height ( #56024 )
2022-09-29 18:12:20 +02:00
Sven Grossmann
6bc09a6390
Logs: Add Download logs button to log log-browser ( #55163 )
...
* move download functions to utils
* add downloads button
* removed unused export annotations
* changed button to `ToolbarButton`
* added tests and restructured download methods
* pin `blob-polyfill`
* add missing import
* changed type
2022-09-29 16:09:40 +02:00
Sven Grossmann
c9e957a44e
Logs: Center show context modal on click ( #55989 )
...
* added center implementation
* fixed passing `scrollElement` to wrong component
* rather destructure than direct ref
* removed unnecessary `undefined`
2022-09-29 14:51:20 +02:00
Sven Grossmann
9cf1f2224c
LogsContext: Added button to load 10 more log lines ( #55923 )
...
* added load-more button
* added missing px
2022-09-29 10:44:15 +02:00
Sven Grossmann
998a368c69
Logs: Show copy button independently from context ( #55934 )
2022-09-29 10:00:01 +02:00
Sven Grossmann
7e8738e01e
LogContext: Improve text describing the loglines ( #55475 )
...
* changed messages before and after LogContext
* add comment explaining the if
* add tests
* removed unused divs
* improved if statements
2022-09-28 13:37:49 +02:00
Sven Grossmann
231de5a32f
devenv: change default elasticsearch datasources ( #55479 )
...
* devenv: change default elasticsearch datasources
* remove metrics ds
* updated datasources
2022-09-26 13:00:29 +02:00
Sven Grossmann
e55003174a
slate-suggenstions: adding moveBackward ( #55576 )
2022-09-21 19:39:54 +02:00
Sven Grossmann
95ddfe8ee1
GrafanaUI: mark all Log components deprecated ( #55404 )
2022-09-20 08:48:32 +02:00
Sven Grossmann
a3ff758874
ElasticSearch: Fix dispatching queries at a wrong time ( #55225 )
...
* Loki: Fix running queries without an `expr`
* rever previous change
* only dispatch `initQuery` if the DS is uninitialized
* moved `isUninitialized` to static var
2022-09-19 11:45:21 +02:00
Sven Grossmann
f1e8a528d1
ElasticSearch: Fix lucene formatted variables being wrongly escaped ( #54981 )
...
* fixed negative numbers are encoded
* Chore: move variableModel to TypedVariableModel
* add tests
2022-09-15 17:18:57 +02:00
Sven Grossmann
aabd626403
Devenv: Fix filebeat level labels ( #55217 )
2022-09-15 10:33:39 +02:00
Sven Grossmann
20b07fae6f
fix bug in loki's adhoc filters ( #54920 )
2022-09-09 12:04:51 +02:00
Sven Grossmann
78a3f1fcea
Chore: Upgrade @grafana/lezer-logql to 0.1.0 ( #54878 )
2022-09-08 10:29:58 +02:00
Sven Grossmann
a4b86a194d
changed lezer-logql version ( #54712 )
2022-09-05 16:25:26 +02:00
Sven Grossmann
d31f2889a2
update @grafana/lezer-logql ( #54530 )
2022-09-01 09:11:55 +02:00
Sven Grossmann
b1f355fddc
Changelog: Removed falsely added bugfix ( #52580 )
2022-07-21 10:19:12 +02:00
Sven Grossmann
6cab909132
Loki: Fix show context not working in some occasions ( #52458 )
...
* added missing `languageProvider.start` call
* moved `languageProvider.start`
2022-07-20 12:28:11 +02:00
Sven Grossmann
0531e4efc0
Elasticsearch: Added modifyQuery method to add filters in Explore ( #52313 )
2022-07-15 14:37:53 +02:00
Sven Grossmann
a2512dd1c7
Logs: Fixed incorrect highlighting on empty line filter ( #52214 )
...
* fixed hightlighting searchwords
* do not add empty searchWords
2022-07-15 14:26:15 +02:00
Sven Grossmann
63776d5a0e
Logs: Fixed LogContext being underneath the table ( #52165 )
2022-07-14 10:35:54 +02:00
Sven Grossmann
05ba08fd8b
Logs: Fixed wrapping log lines from detected fields ( #52108 )
...
* fixed wrap in detected fields
* removed cx
2022-07-13 09:25:00 +02:00
Sven Grossmann
b12998df16
upgrade @grafana/lezer-logql ( #51888 )
2022-07-07 13:35:34 +02:00
Sven Grossmann
663f3fcd2a
Loki: Fix error when changing operations with different parameters ( #51779 )
...
* copy defaultParams when changing an operation
* add type and name comparison
* removed name check
2022-07-06 16:52:58 +02:00
Sven Grossmann
b7e22c37a8
UsageStats: fixed elasticsearch version number to semver ( #49054 )
...
* UsageStats: fixed elasticsearch version number
- The version numbering was changed from plain numbers to a semver-ish approach
* added missing version assertion
* adapted tests
2022-07-04 11:08:01 +02:00
Sven Grossmann
e350cc1d7b
LogRow: Fixed background-height when hovering and label-alignment ( #51027 )
...
* fixed logline's hover-height difference
* vertically aligned log-labels
* moved labelalignment to cells
2022-06-20 11:11:29 +02:00
Sven Grossmann
d8d3a9c561
added opensearch annotations to not use default ui ( #50655 )
2022-06-13 17:07:38 +02:00
svennergr
d7139e75fb
Loki: Fix uncaught errors if labelKey contains special characters ( #49887 )
...
* added regex check of labelKeys
- labelKeys should not contain any special characters
- added encoding of labelKeys in the URL
- don't offer autocomplete if label with special characters is detected
* removed additional regex check for labels
2022-06-02 11:30:47 +02:00
svennergr
b355adac6f
Loki: Run query when pressing Enter on line-filters ( #49913 )
...
* changed `onBlur` and `onKeyDown` handling
- `onCommitChange` is only called if `onBlur` or `onKeyDown` are not set
* added `runQueryOnEnter` flag to OperationParamDef
* only run query if `runQueryOnEnter` is configured
* changed `evt.type` check to `keydown`
2022-06-01 15:16:18 +02:00
svennergr
2949ebc264
Traces: Fixed missing CopyButton on KeyValueTables and overlapping of panels ( #49271 )
...
* rewrote `CopyIcon` to an functional component
- fixed missing `CopyIcon` on `KeyValuesTable`
* added fixed height of `30px` to `KeyValuesTable` to fix overlapping
* removed unused CopyIcon snapshot
* KeyValuesTable: moved `30px` height from `tr` to `td` to fix vertical alignment
2022-05-20 20:24:33 +02:00