Sven Grossmann
a1ec5be730
Loki: Add timeRange to labels requests in LogContext to reduce loading times ( #79478 )
...
Loki: Add timeRange to labels requests
2023-12-14 10:14:02 +01:00
Sven Grossmann
db7fa30384
Elasticsearch: Fix modify query with backslashes ( #79430 )
...
* Elasticsearch: Fix modify query with backslashes
* add test devenv
2023-12-13 14:07:46 +01:00
Sven Grossmann
488d4870f0
Loki: Fix timeRange missing in variable requests ( #79326 )
2023-12-11 16:01:25 +01:00
Sven Grossmann
e3d14307ed
Loki: Fix values variable with unexisting label and stream selector ( #79310 )
2023-12-11 14:51:55 +02:00
Sven Grossmann and Galen
af05fdc806
Transformations: Fill array with undefined to prevent mismatching length ( #78911 )
...
* fill array with `undefined` to prevent matching length
* update unit test to include sortBy transformation
---------
Co-authored-by: Galen <galen.kistler@grafana.com >
2023-12-01 13:33:05 -06:00
Sven Grossmann
a50be7ea0a
Loki: Fix derived fields with undefined matcherType ( #78849 )
...
Loki: Fix derived fields with no `matcherType`
2023-11-29 20:55:00 +01:00
Sven Grossmann
777d119a80
Loki: Fix nil pointer in api.go ( #78727 )
2023-11-28 12:48:23 +02:00
Sven Grossmann
a73be4b963
Loki: Cancel inflight /stats requests when new requests are issued ( #78654 )
...
* add requestId to stats requests
* add `exploreId`
* change from `exploreId` to `useId`
* change ref id
* add comment
2023-11-27 19:36:53 +01:00
Sven Grossmann
177496a686
Loki: Filter by labels based on the type of label (structured, indexed, parsed) ( #78595 )
...
* add label addition based on labeltype
* add `logRowToDataFrame`
* change to single row dataframe
* add documentation
* add tests for `LogDetailsRow`
* add tests for datasource
* remove row
* update tests
* fix tests
* PR comments
* removed comment
* add comment
* remove params
* remove unused jsdoc
* move `getLabelTypeFromFrame` to `languageUtils`
* add tests
* remove `refId` and use `frame`
* fix tests
* Update public/app/plugins/datasource/loki/modifyQuery.ts
2023-11-27 14:29:00 +01:00
Sven Grossmann
762c7b6fe1
Loki: improve structured metadata in devenv ( #78587 )
2023-11-23 14:40:17 +01:00
Sven Grossmann
be157399d0
Loki: Add structured metadata keys to autocomplete ( #78584 )
...
* wip
* remove import
* scope to monaco completions for now
* use `LabelType` enum
* change strucutred metadata documentation
* fix import
* add `responseUtils` tests
* update tests
* fix completions.ts tests
* fix LabelType enum
* fix CompletionDataProvider test
2023-11-23 13:26:57 +01:00
Sven Grossmann
44586df7bf
Loki: Fix scope of labels variable being wrong ( #78417 )
...
fix scope of labels var
2023-11-21 10:14:21 +01:00
Sven Grossmann
a01f8c5b42
Loki: Add backend functionality to parse structured metadata from Loki ( #77361 )
...
* prepare backend for structured metadata
* add `lokiStructuredMetadata` feature toggle
* use `lokiStructuredMetadata` feature flag
* add field type check to `labelTypesField`
* remove fixme
* fix feature toggle
* add field in dataplane mode
* use `data.Labels` where possible
* adjust framing tests
* improve verbiage
* improve naming
* update tests to "attributes"
2023-11-16 17:06:14 +01:00
Sven Grossmann
57835c71b1
Loki: Add supportingQueryType to datasample queries ( #77482 )
...
add `supportingQueryType` to datasamples
2023-11-01 13:42:28 +01:00
Sven Grossmann
b88b206ee2
Table: fix cellProps.style.textAlign being readOnly in some cases ( #77137 )
...
`cellProps.style.textAlign` is readOnly in some cases
2023-10-25 09:38:17 -05:00
Sven Grossmann
480aa1ccca
Loki: Fix filters not being added with multiple expressions and parsers ( #75152 )
...
* determine last positions per expr
* fix lint
2023-09-20 16:54:24 +02:00
Sven Grossmann
727c83d562
Loki: Improve error logging in case statusCode is not 200 ( #75075 )
...
* improve loki logging
* fix error log
* fix logger arg
2023-09-19 11:11:27 +02:00
Sven Grossmann
9328fda8ea
Logging: Add uname to context logger for plugins ( #74929 )
...
add `uname` to context logger for plugins
2023-09-14 20:23:01 +03:00
Sven Grossmann
aaef8d3b40
Loki: Add query expression to backend logging ( #74927 )
...
add query expression to loki log
2023-09-14 17:23:02 +02:00
Sven Grossmann
e39074dcae
Loki: Fix devenv with structured metadata ( #74899 )
...
fix loki devenv with structured metadata
2023-09-14 17:22:14 +02:00
Sven Grossmann and Matias Chomicki
01755608db
LogDetails: Fix copy button visibility ( #74663 )
...
* change css classname
* remove class
* Log details row: refactor style variable and add class to copy container
* Log details row: refactor test
* Prettier
* Update test
* Use toBeVisible
* Remove unsused import
* Update public/app/features/logs/components/LogDetailsRow.test.tsx
* remove `cx`
* fix lint
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com >
2023-09-13 19:45:49 +02:00
Sven Grossmann and Ivana Huckova
d14851c877
Loki: Adjust to logging convention ( #74531 )
...
* adjust Loki to logging convention
* Fix call resource logging
* Update dataquery
* Update
* Remove redundant logging
* Fix TODO
* Rename action to stage and use variables
* `resp` might be `nil`
* `resp` might be `nil` here as well
* change to `statusCode`
* use correct logger
* also here
* add query information to logging
---------
Co-authored-by: Ivana Huckova <ivana.huckova@gmail.com >
2023-09-07 17:09:24 +02:00
Sven Grossmann
7e01dde762
Logging: Add WithContextualAttributes to pass log params based on the given context ( #74428 )
...
* suggestion to use `RegisterContextualLogProvider`
* add `pluginId`
* change to `WithContextualAttributes`
* move approach to instrumentation.go
* improve `WithContextualAttributes`
* unexport consts
* typo
* remove comment
* add `nil` check
2023-09-07 13:13:34 +02:00
Sven Grossmann
f53c0a35aa
LogContext: Remove feedback button ( #74447 )
...
remove feedback button
2023-09-06 16:46:48 +03:00
Sven Grossmann
a403027608
Loki: Add backend healthcheck ( #74330 )
...
* add loki healthcheck
* remove `testDatasource` call
* remove unused error check
* change success message
* improve error messages
2023-09-05 08:59:13 +02:00
Sven Grossmann
056c83c788
Loki: Improve backend instrumentation of CallResource calls ( #73899 )
...
* instrument call resource
* capitalize log messages
2023-09-01 15:26:25 +02:00
Sven Grossmann
124f445db0
Loki: Improve backend instrumentation of QueryData calls ( #73807 )
...
* improve loki `queryData` instrumentation
* fix lint
* use correct logger in "queryData"
* capitalize log messages
* distinguish between requests from alerting
2023-09-01 11:44:18 +02:00
Sven Grossmann and Ivana Huckova
423a451858
Loki: Fix filtering with structured metadata ( #73955 )
...
* check languageProvider to work with non-indexed metadata
* change loki devenv to work with non-indexed metadata
* trigger ci
* add forced labels after parsers
* add comment
* Update public/app/plugins/datasource/loki/modifyQuery.ts
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
---------
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2023-08-31 15:24:03 +02:00
Sven Grossmann
07eb4b1b90
Loki: Remove distinct operation ( #73938 )
...
* remove distinct
* trigger ci
* update yarn.lock
* fix import
2023-08-28 19:26:59 +02:00
Sven Grossmann
25fd8f2d59
Logs: Add datalinks to table visualisation in Explore ( #73679 )
...
add datalinks
2023-08-23 16:03:19 +02:00
Sven Grossmann
997d21f6e5
Logs: Fix log samples not present with empty first frame ( #73612 )
...
* fix log samples not present with empty first frame
* also test with empty frames
* rename test file
* remove import
2023-08-22 16:19:51 +03:00
Sven Grossmann
5e61b54fa3
Logs: Fix permalinks not scrolling into view ( #73464 )
...
* fix log line scrolling
* add scrolling tests
* fix `LogRow` tests
2023-08-18 12:54:08 +02:00
Sven Grossmann
4c9469fc9e
Elastic: Add id field to Elastic responses to allow permalinking ( #73382 )
...
* add `id` field to elasticsearch
* add comment
* slightly better perf
* only add `id` to logs frames
* only add `id` for logs responses
* concat `index` and `id`
* change snapshot generation to false
* use better loop
* fix tests
* moved up
2023-08-18 11:39:58 +02:00
Sven Grossmann
7ee13c4c8c
CI: Bump code-coverage in Explore workflow to use go v1.20.x ( #73384 )
...
bump code-coverage on explore workflow
2023-08-17 14:21:47 +02:00
Sven Grossmann
98f3b5fecb
Fix dupicated typo into duplicated ( #73351 )
...
fix typos in transformation
2023-08-17 00:04:45 +03:00
Sven Grossmann
c006ea18fb
Loki: Fix validation of step values to also allow e.g. ms values ( #73270 )
...
* use go duration validation
* add `isValidGrafanaDuration`
* use `isValidGrafanaDuration`
* improve jsdoc
2023-08-16 17:57:26 +02:00
Sven Grossmann
98b3878231
Logs: Fix scrolling with exploreScrollableLogsContainer feature ( #73272 )
...
fix scrolling with `exploreScrollableLogsContainer`
2023-08-15 13:18:19 +02:00
Sven Grossmann
1343c74362
Logs: Disable query splitting due to conflicts with transformations ( #73086 )
...
* disable query splitting for now
* change stage of `lokiQuerySplitting`
2023-08-09 13:21:38 +03:00
Sven Grossmann
533fae4c60
Logs: Fix displaying the wrong field as body ( #73025 )
...
* fix displaying the wrong field as body
* fix test
* fix `getFirstFieldOfType` with non-present type
2023-08-08 12:02:30 +02:00
Sven Grossmann
703f4be15d
Loki: Fix wrong context being passed to HTTP client ( #72991 )
...
use new context containing tracing information
2023-08-08 10:24:07 +02:00
Sven Grossmann
8a38b5ea3c
Logs: Fix table/logs header toggle ( #71485 )
...
fix table header
2023-07-13 07:52:07 +02:00
Sven Grossmann
7e4e743a42
Logs: Add experimental table visualisation in Explore ( #71120 )
...
* add table visualisation for logs
* add `logsExploreTableVisualisation` feature flag
* add feature flag to visualisation switch
* fix english
* improve state when no data is present
* improve margin
* add missing prop to test
* add tests
* fix logs table height
* fix linting
* move visualisation toggle
* add field config overrides
* update tests
* fix explore test
* fix explore test
* add missing header and revert test changes
* use timefield from logsFrame.ts
* add TODO
* move to new file
* hide fields that should be hidden
* add test to hide fields
* remove unused lines
2023-07-12 15:52:42 +02:00
Sven Grossmann
9ddba37dbc
Logs: Fix nanosecond partition in log context ( #71346 )
...
* add ts partition
* fix setting wrong loadingstate
* improve setContext
* update context and test
2023-07-11 16:20:41 +02:00
Sven Grossmann
aa115afbaa
Loki: Reset data.js after PR ( #71328 )
...
reset data.js
2023-07-11 10:52:44 +02:00
Sven Grossmann
212239aedb
LogContext: Fix a bug where multiple logs with similar nanosecond timestamps were loaded too often ( #71319 )
...
fix bug with multiple ns logs
2023-07-11 10:00:10 +02:00
Sven Grossmann
b05cc2d651
Transformations: Fix extractFields throwing Error if one value is undefined or null ( #71070 )
...
* fix extract fields with null values
* rename test
* check for null values
* revert changes
* improve position
2023-07-10 09:49:56 +02:00
Sven Grossmann
6393ef9385
Logs: Add pinning icon in log context ( #70945 )
...
add pinning icon
2023-06-30 15:33:40 +02:00
Sven Grossmann
13dd821961
Loki: Fix wrong query expression with inline comments ( #70947 )
...
fix remove comments from query
2023-06-30 11:35:43 +02:00
Sven Grossmann
48db23b32f
Logs: Add back properties to prevent unnecessary re-renders ( #70839 )
...
* add back properties
* use spread to not define all props
2023-06-28 15:45:22 +02:00
Sven Grossmann
1206cf3dfa
LogContext: Make centered row unsticky on click ( #70832 )
...
* add pinning in log context
* add tests
* move icon names
* fix type of `pinned`
2023-06-28 15:22:54 +02:00
Sven Grossmann
e0619e8aa7
LogContext: Add button to scroll to center ( #70821 )
...
add scroll to center button
2023-06-28 14:55:22 +02:00
Sven Grossmann
4c28b01975
Revert "Logs: Change permalink icon back to link" ( #70570 )
...
Revert "Logs: Change permalink icon back to `link` (#70362 )"
This reverts commit fc39dadf62 .
2023-06-23 10:58:07 +02:00
Sven Grossmann and J Stickler
cb8962403f
Docs: Add docs for log line permalinking ( #70370 )
...
* add permalink docs
* Update docs/sources/explore/logs-integration.md
Co-authored-by: J Stickler <julie.stickler@grafana.com >
---------
Co-authored-by: J Stickler <julie.stickler@grafana.com >
2023-06-23 10:39:08 +02:00
Sven Grossmann
9cf685cfda
LogContext: Fix filtering out log lines with the same entry ( #70538 )
...
* fix bug with filtering out too many log lines
* fix acts
* remove unused line
2023-06-23 10:20:07 +02:00
Sven Grossmann and Ivana Huckova
d7337e4f9c
Loki: Preserve pipeline stages in context query ( #70472 )
...
* add pipeline stages to context query
* add ui
* improve `Postion`
* add `processPipelineStagesToExpr` to logcontextprovider
* add ui toggle
* fix lokicontextui tests
* remove import
* contextually hide the toggle
* Update `SHOULD_INCLUDE_PIPELINE_OPERATIONS` name
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* add setIncludePipelineOperations to false in revert
* add prepareExpression method
* remove unused method
* fix test and add `runContextQuery`
* set correct revert state
* let let be const
* remove argument
---------
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2023-06-22 17:34:43 +02:00
Sven Grossmann
b5de806f66
Logs: Link anchored logline when opening context in split view ( #70463 )
...
* add logline link id to context opened in split
* add comment
2023-06-22 14:00:35 +02:00
Sven Grossmann
90b621be20
Logs: Add tracking for permalinking ( #70334 )
...
* add permalink tracking
* move location override to beforeAll
* add `logLevel` to tracking
2023-06-20 14:55:51 +02:00
Sven Grossmann
bdc1d666f4
Insights: Fix optional buildInfo type ( #70372 )
...
fix unnecessary optional type
2023-06-20 13:04:54 +02:00
Sven Grossmann
39a18ca6ba
Frontend: Fix frontend styleguide emotion example ( #70371 )
...
fix wrong example
2023-06-20 13:31:38 +03:00
Sven Grossmann
ae1da1a38d
Insights: Add Grafana version to rudderstack events ( #70105 )
...
add build info to rudderstack
2023-06-20 12:25:37 +02:00
Sven Grossmann
fc39dadf62
Logs: Change permalink icon back to link ( #70362 )
...
change icon to link-icon
2023-06-20 11:50:43 +03:00
Sven Grossmann
1a985c488c
Logs: Fix scrolling with exploreScrollableLogsContainer feature flag ( #70164 )
...
correct scrolling with `exploreScrollableLogsContainer`
2023-06-19 13:15:22 +02:00
Sven Grossmann and Ivana Huckova
68637059c4
Logs: Add permalink to log lines ( #69464 )
...
* create explore panel state for logs
* add props to LogRows and unify
* pass properties from explore to logs
* add css
* implement button and scrolling
* export and use `getUrlStateFromPaneState`
* make `scrollIntoView` optional
* change state handling for permalinks
* change link icon
* removed unused state
* add tests for `LogRowMessage`
* remove unused prop
* fix name
* reorg component
* add `LogRow` tests
* add test for `Logs`
* Update public/app/features/logs/components/LogRow.test.tsx
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* Update public/app/features/explore/Logs/Logs.test.tsx
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* improve types in test
* fix props export in Logs.tsx
* fix props export in LogRowMessage.tsx
* fix props export in LogRow.tsx
* fixed import
* fix theme import
* remove hidden style
* add better test names
* change to `log line` rather logline
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* fix tooltips
* remove unused css
---------
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2023-06-16 14:07:51 +02:00
Sven Grossmann
25b65cce25
Log Context: Fix component height to fit revert-button ( #70159 )
...
fix item height
2023-06-15 15:48:24 +02:00
Sven Grossmann
14c4c26215
Core: Upgrade @grafana/tsconfig to 1.3.0-rc1 ( #70149 )
...
upgrade @grafana/tsconfig to `1.3.0-rc1`
2023-06-15 14:17:31 +02:00
Sven Grossmann
87eb76947b
Revert "LogsPanel: Remove bottom margin" ( #69999 )
...
Revert "LogsPanel: Remove bottom margin (#69850 )"
This reverts commit 66851d5d87 .
2023-06-14 13:24:23 +02:00
Sven Grossmann
15d55c371c
Loki: Add feature tracking to reduce repetition ( #69900 )
...
add tracking to predefined queries
2023-06-12 13:03:47 +02:00
Sven Grossmann
66851d5d87
LogsPanel: Remove bottom margin ( #69850 )
...
drop margin-bottom
2023-06-12 11:21:18 +02:00
Sven Grossmann
a81cee1d05
Loki: Fix parsing of escaped quotes in LogQL ( #69584 )
...
* fix parsing issue
* replace escaped quotes
2023-06-06 11:07:21 +02:00
Sven Grossmann
9d2f4786c7
Log Row: Fix menu styling and dimensions ( #69569 )
...
* fix wrong logrowmenu styling
* fix imports
2023-06-05 20:24:41 +02:00
Sven Grossmann
b11c264df3
Loki: Fix e2e flakiness ( #69441 )
...
fix loki e2e test flakiness by waiting for requests to finish
2023-06-02 12:35:11 +02:00
Sven Grossmann
cb4ad588b9
Log Context: Fix split view button using the wrong query ( #69369 )
...
* fix wrong query used in split button
* refactor into one function
* don't act?
2023-06-01 20:39:13 +02:00
Sven Grossmann and Matias Chomicki
0fc9a47779
Log Context: Add feature tracking of limit change ( #67966 )
...
* add feature tracking of load more
* Update public/app/features/logs/components/log-context/LogRowContextModal.tsx
Co-authored-by: Matias Chomicki <matyax@gmail.com >
* fix condition
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com >
2023-05-08 11:53:11 +03:00
Sven Grossmann
a3d31e0420
Loki: Fix margin in Log Context ( #67299 )
...
* remove top margin
* also fix for parsed labels
2023-04-27 12:44:16 +02:00
Sven Grossmann and Ivana Huckova
f28c962dc8
Logs: Add documentation for Log Context ( #67282 )
...
* add documentation for log context
* Update docs/sources/explore/logs-integration.md
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* Update docs/sources/explore/logs-integration.md
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* Update docs/sources/explore/logs-integration.md
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
* add bold for buttons
---------
Co-authored-by: Ivana Huckova <30407135+ivanahuckova@users.noreply.github.com >
2023-04-27 12:40:38 +02:00
Sven Grossmann
d51e63520c
Loki: Fix log samples using instant queries ( #67271 )
...
change log samples queryType to always be `range`
2023-04-26 13:26:07 +02:00
Sven Grossmann
6abd75b69c
Log Context: Add wrap lines button to easier wrap lines ( #67047 )
...
* add wrap lines button
* change default to 50 lines
* fix test
* change css classes
2023-04-21 17:21:02 +02:00
Sven Grossmann
74d3d3cf4a
Log Context: Improve loading indicator ( #66979 )
...
* remove loadingplaceholder
* lint
2023-04-20 18:22:09 +03:00
Sven Grossmann
c903d1546f
Log Context: Add feature tracking ( #66912 )
...
add feature tracking
2023-04-20 15:42:44 +02:00
Sven Grossmann
bec18e390e
Log Context: Add feedback button ( #66910 )
...
* add feedback link
* add feedback button to `Modal.ButtonRow`
2023-04-20 14:36:04 +02:00
Sven Grossmann
1e53a87d76
Log Context: Add button to open the context query in a split view ( #66777 )
...
* add show context button
* improve type definition
* change to default `maxLines`
* remove context query
* add provider to tests
* add test for split view button
* improve documentation
* add tests for `getLogRowContextQuery`
* refactor LogsContainer functions
* fix spelling
* add `contextQuery` as state
* fix tests
* fix lint
* do not use callIfDefined
* make button secondary
2023-04-20 14:21:14 +02:00
Sven Grossmann
9a4c7ef758
Logs: Fix LogContext scrolling behavior ( #66654 )
...
fix logrowcontext scrolling behavior
2023-04-17 13:05:56 +02:00
Sven Grossmann and Matias Chomicki
a6a7cebbe5
Logs: Redesign and improve LogContext ( #65939 )
...
* Logs: Add new LogRowContext types to grafana/data
* use right type for `RowContextOptions`
* add missing renames
* add show context modal
* no need to call
* removed unused css
* sort properties
* rename
* use correct
* use
* add tests for
* wip
* remove add/minus buttons
* add tests
* disable processing of context results in Loki
* moved into table to align properly
* remove imports
* add highlighting of opened logline
* improve scrolling behavior
* correct style for the table
* use correct query direction
* fix text
* use LoadingBar
* use overflow auto
* rename `onToggleContext` to `onOpenContext`
* add missing import
* mock scrollIntoView
* update unused props
* remove unused import
* no need to process context dataframes
* only show `LogRowContextModal` if `getRowContext` is defined
* remove unused param
* use `userEvent` rather `fireEvent`
* change to `TimeZone`
* directly use style classes
* revert change to public_dashboard_service_mock.go
* improved styling
* add missing await in test
* fix lint
* fix lint
* remove LogRow scrolling when context is opened
* remove references to `scrollElement`
* Update public/app/features/logs/components/log-context/LogRowContextModal.tsx
Co-authored-by: Matias Chomicki <matyax@gmail.com >
* fix lint
* add comment explaining `onCloseContext`
* add comment about debounced onClose
* add comments and remove `showRowMenu`
* scroll twice to correctly center the element
* revert double scrolling
* remove unnecessary `processDataFrame`
* trigger drone
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com >
2023-04-14 17:05:43 +02:00
Sven Grossmann and Shirley Leu
8567ec92b0
Cloudwatch: Change type of ts field in log responses to time ( #66525 )
...
* make timestamp field time type
* Add test for type on handleLogEvents data frame field response
---------
Co-authored-by: Shirley Leu <4163034+fridgepoet@users.noreply.github.com >
2023-04-14 16:21:16 +02:00
Sven Grossmann
fef43fff7b
Logs: Use DataQuery from @grafana/schema ( #66403 )
...
Logs: Use `dataQuery` from schema
2023-04-13 13:35:23 +02:00
Sven Grossmann
7bc0692801
Logs: Add new LogRowContext types to @grafana/data ( #66404 )
...
* Logs: Add new LogRowContext types to grafana/data
* use right type for `RowContextOptions`
* add missing renames
2023-04-13 13:07:28 +02:00
Sven Grossmann
89f23fcbc9
Logs: Fix typo in filename of loki/LogContextProvider ( #66410 )
...
change filename to match class name
2023-04-13 09:39:55 +02:00
Sven Grossmann
e9b15eff72
Logs: Move components to dedicated directory ( #65936 )
...
* move log-context components to dedicated directory
* fix any
* add right format of lerna.json
2023-04-11 12:19:28 +02:00
Sven Grossmann
d790cb1c09
Loki: Add unpack query builder hint ( #65608 )
...
* add unpack hint
* use `hasOwnProperty`
* add unpack completion to monaco
* adjust test name
* fix tests
* fix tests
2023-03-30 15:18:02 +02:00
Sven Grossmann
07d960ac26
Logs: Position LogRowMenu sticky to be able to use it in scrollable containers ( #65502 )
...
* fix logrowmenu
* remove comment
* add comment
* get rid of absolute positions
* remove `inExplore` check
2023-03-29 15:55:28 +02:00
Sven Grossmann
b01194f81e
Loki: Fix autocomplete situations with multiple escaped quotes ( #65520 )
...
fix situations with multiple quotes
2023-03-29 15:00:42 +02:00
Sven Grossmann
3335d46c5f
Theme: Fix wrong code segment in theme.md ( #62488 )
...
* fix wrong markdown
* fix prettier
2023-03-28 12:18:50 +01:00
Sven Grossmann
68551ac9ca
Loki: Add lokiQueryChunkingOption feature flag ( #65057 )
...
* add `lokiQueryChunkingOption` feature flag
* be safe and also rely on `config.featureToggles.lokiQuerySplitting`
* renamed to `lokiQuerySplittingConfig`
* fix typo
2023-03-20 16:51:36 +01:00
Sven Grossmann
7a17a8f02d
QueryStats: Fix comparison of relative and absolute timeranges ( #65035 )
...
* add missing fix of relative timeranges
* add doc
2023-03-20 11:35:03 +01:00
Sven Grossmann
6ae373b8c7
QueryStats: Fix comparison of timeranges ( #65025 )
...
* fix timerange comparison
* remove import
2023-03-20 10:04:41 +01:00
Sven Grossmann
7261c6f7cd
DataSourceWithBackend: Add queryGroupId to find correlated/related queries ( #64587 )
...
* add `correlationId` to queries
* trace correlation id in backend
* add correlation id to loki's span
* add correlation id to query chunks
* fix test
* fix DataSourceWithBackend test
* change to `queryGroupId`
* remove empty line
* fix test in `DataSourceWithBackend`
2023-03-17 15:48:13 +01:00
Sven Grossmann
6f83a45e1b
Logs: Fix variant of Download logs button ( #64962 )
...
fix button variant
2023-03-17 16:31:32 +02:00
Sven Grossmann
15804234d6
QueryHistory: Fix filter strings being regular escaped ( #64879 )
...
* fix wrong regex escape in query history
* fix import
* disable regexescape on `RichHistoryStarredTab`
2023-03-17 10:21:58 +01:00
Sven Grossmann and Matias Chomicki
40014f1454
Loki: Add option to define chunk duration per query ( #64834 )
...
* add query option to configure chunk ranges
* remove `isValidDuration` check
* Update public/app/plugins/datasource/loki/querybuilder/components/LokiQueryBuilderOptions.tsx
Co-authored-by: Matias Chomicki <matyax@gmail.com >
* change to `chunkDuration`
added tests
* no need to call `toString`
---------
Co-authored-by: Matias Chomicki <matyax@gmail.com >
2023-03-16 16:30:12 +01:00
Sven Grossmann
652e7334c8
Loki: Remove unnecessary type extension ( #64883 )
...
remove unnecessary type extension
2023-03-16 11:28:40 +01:00