Torkel Ödegaard
837a621502
Merge pull request #14410 from grafana/davkal/explore-logging-dedup-description
...
Explore: Logging dedup tooltips
2018-12-09 17:44:45 +01:00
David Kaltschmidt
61924e9130
Explore: dont pass all rows to all rows, fixes profiler
...
- react profiler seems to evaluate all props of all components down the tree
- this becomes slow when 1000 rows are passed to 1000 rows and their labels
- use getter function instead to ask for rows on demand
2018-12-09 13:23:44 +01:00
David Kaltschmidt
487de2b832
Explore: Logging dedup tooltips
...
- use title attribute of toggle button group
- add descriptions for all dedup options
2018-12-09 13:06:34 +01:00
David Kaltschmidt
60ee4499e7
Explore: Fix timepicker inputs for absolute dates
...
- Timepicker needs to keep from and to internally as strings
for the fully controlled inputs
- make sure from and to are strings when time is reset
2018-12-09 07:05:27 +01:00
Torkel Ödegaard
efede26eea
Merge pull request #14382 from grafana/davkal/remove-explore-tab
...
Remove Explore > "New tab" from sidebar
2018-12-07 20:24:13 +01:00
Torkel Ödegaard
30c2cc4b5c
allow sidemenu sections without children still have a hover menu/header
2018-12-07 11:14:32 -08:00
Daniel Lee
687cf013bd
Merge pull request #14385 from grafana/davkal/fix-explore-date-parsing
...
Explore: Parse initial dates
2018-12-07 14:10:36 +01:00
Torkel Ödegaard
619b4b4872
Merge pull request #14336 from grafana/davkal/explore-line-parsing
...
Explore: Logging line parsing and field stats
2018-12-07 13:24:43 +01:00
Torkel Ödegaard
ef08b9cd2b
graphInterval needs to update after query execution, fixes #14364
2018-12-07 13:07:08 +01:00
David Kaltschmidt
a990b69baa
Explore: Parse initial dates
...
- parse dates passed from URL
- keep everything local time for now
2018-12-07 12:41:47 +01:00
Torkel Ödegaard
7cb456ea23
Aligned styling of stats popover/box with rest of grafana & minor css refactoring
2018-12-07 11:28:22 +01:00
David Kaltschmidt
c0c06e4dd8
Prometheus: Make result transformer more robust for empty responses
...
- some prometheus-compatible backends may return `null` instead of empty lists
- test for lists before iterating
- added tests for empty responses
2018-12-07 11:22:55 +01:00
David Kaltschmidt
fb4925a8c2
Rebase fixes
2018-12-07 10:22:52 +01:00
David Kaltschmidt
acd52e6a93
Explore: Logging line parsing and field stats
...
Lazily parse lines and display stats for field when clicked on.
- log line parsers for JSON (basic), and logfmt
- delayed parsing in case user moves to other line
- reuse label stats for field stats
2018-12-07 09:59:55 +01:00
Torkel Ödegaard
9cc4e05205
Merge pull request #14366 from grafana/14341-wide-picker-no-button
...
Pickers with min-width instead of width
2018-12-07 09:05:22 +01:00
Torkel Ödegaard
ef77748a1b
Merge pull request #14368 from grafana/explore-logs-styling-alt2
...
Explore logs styling
2018-12-06 22:30:06 +01:00
Torkel Ödegaard
e7fe0bd668
fixed unit tests
2018-12-06 12:29:55 -08:00
David
be2d9edd1f
Merge pull request #14353 from grafana/14249-multi-button-group
...
Multi button group
2018-12-06 21:27:34 +01:00
Torkel Ödegaard
9ac3821454
made unknown color theme aware and sync with graph color, some minor cleanup
2018-12-06 11:55:01 -08:00
Torkel Ödegaard
940dda6c30
Merge pull request #14369 from grafana/davkal/explore-error-handling
...
Explore: improve error handling
2018-12-06 20:26:47 +01:00
Marcus Efraimsson
093c9425e9
Merge pull request #14313 from dhenneke/postgres-use-table-not-schema-constraint
...
Improve PostgreSQL Query Editor if using different Schemas
2018-12-06 17:21:48 +01:00
Carl Bergquist
985576b482
Merge pull request #14365 from bergquist/loki_error_message
...
more detailed error message for loki
2018-12-06 17:17:19 +01:00
David Kaltschmidt
15eb3bb2f8
Explore: improve error handling
2018-12-06 16:47:36 +01:00
Erik Sundell
b74c099773
use render props instead of cloneElement
2018-12-06 16:38:50 +01:00
Erik Sundell
6f8293af4e
sort of a hacky way to figure if the small variation should be used for the label
...
improve light theme look
use new toggle button group in logs
stop propagation on click event
clean up styles
improve support for small when a label is present
refactoring - move toggle button to the group file. turn it into a stateless component
improve support for light theme
rename dedupe to dedup
use radius variable
2018-12-06 16:37:23 +01:00
Erik Sundell
0d7b09b0f6
add basic button group component, using the the same label style as is
...
remove not used code
cleanup
2018-12-06 16:37:09 +01:00
Torkel Ödegaard
9a06fad24d
Merge pull request #14352 from grafana/explore-logs-css-refactor
...
Explore logs css refactor
2018-12-06 15:52:25 +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
Johannes Schill
02b14d33a6
If user login equals user email, only show the email once #14341
2018-12-06 13:46:04 +01:00
Johannes Schill
114a264da4
UserPicker and TeamPicker should use min-width instead of fixed widths to avoid overflowing form buttons. #14341
2018-12-06 13:46:04 +01:00
Torkel Ödegaard
2e6690428f
fixed logs to time series calculation issue, increased bucket size, fixes #14248
2018-12-06 12:12:43 +01:00
Torkel Ödegaard
afd7580598
explore logs css refactoring, step1
2018-12-06 10:53:01 +01:00
Torkel Ödegaard
c7d701c8fa
explore logs styling poc, WIP
2018-12-06 10:53:01 +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
Torkel Ödegaard
825b819270
Merge pull request #14316 from grafana/embedding-fix
...
fix for panel height when embedding
2018-12-05 10:32:48 +01:00
Torkel Ödegaard
757cada4a5
fix for panel-initialized event not being called
2018-12-05 09:23:47 +01:00
Torkel Ödegaard
e31490ac68
fix for panel embedding. Solo panel height was not correctly set. Made panel--solo into panel-solo class. in develop branch we have remove the need for the panel class
2018-12-04 12:36:43 -08:00
Torkel Ödegaard
6c46a1c8ea
Merge pull request #13873 from grafana/davkal/babel-7
...
JS tooling: upgrade to babel 7
2018-12-04 21:16:35 +01:00
Dominik Henneke
b450b778cb
Use buildTableConstraint instead of buildSchemaConstraint to find the datatype of a column if using a table from a different database schema
2018-12-04 19:26:12 +01:00
David Kaltschmidt
6980d2e142
Explore: Display duplicate row count as number
...
- the pips were hard to see
- make it really clear which rows are duplicates by allocating a column to show number
2018-12-04 16:21:27 +01:00
David Kaltschmidt
6ee7459f22
Explore: Logging query live preview of matches
...
A logging query has a selector part and a regexp. The regexp matches are highlighted when results return.
This change adds live preview to matches when modifying the regexp in a search field.
- delegate retrieval of match query to datasource
- datasource returns search expressions to be used to highlight a live preview of matches
- logs row now takes preview highlights
- logs row renders preview highlights with dotted line to distinguish from query run matches (solid line)
- fix react-highlight-words version to ensure custom chunk matcher
- custom chunk matcher can now also take incomplete regexps, eg, `(level` without inifinte looping
- perf: debounce of live preview to 500ms
- perf: only top 100 rows get the live preview
- preview is only supported with one query row (multiple rows semantic makes this tricky: regexp for row n should only filter results for query n)
2018-12-04 15:47:51 +01:00
David
34b8c5bb61
Merge pull request #14278 from grafana/14272-scan-old-logs
...
only make it possible to scan for older logs if there is at least one…
2018-12-04 15:44:55 +01:00
Torkel Ödegaard
6cb639baaa
Merge pull request #14283 from grafana/explore-styling-fixes
...
Misc styling fixes to explore
2018-12-04 15:17:10 +01:00
Torkel Ödegaard
401b470ebb
added max-widths to explore start pages boxes
2018-12-04 15:06:30 +01:00
Erik Sundell
27c4db06fc
improve comments
2018-12-04 15:00:24 +01:00
Torkel Ödegaard
1fddb6144d
fixed promql and loggging syntax so all punctuation chars are treated the same, remove hover move
2018-12-04 14:57:01 +01:00
Erik Sundell
9c8bd34787
remove all query empty related code. root cause of the problem was to fix hasNonEmptyQuery
2018-12-04 14:55:56 +01:00
Erik Sundell
8b3bb95007
remove redudant spread
2018-12-04 14:01:32 +01:00
Erik Sundell
4e591653bd
Set query empty condition in render function. Also clear query transactions when no valid query is present
2018-12-04 13:26:26 +01:00