* Move log's typings into grafana/ui * Update the way context is retrieved for Loki Major changes: 1. getLogRowContext expects row to be of LogRowModel type 2. getLogRowContext accepts generic options object, specific to a datasource of interest. limit option has been removed, and now it's a part of Loki's context query options (see below) 3. LogRowContextProvider performs two queries now. Before, it was Loki ds that performed queries in both directions when getLogRowContext. 4. Loki's getLogRowContext accepts options object of a type: interface LokiContextQueryOptions { direction?: 'BACKWARD' | 'FORWARD'; limit?: number; } This will enable querying in either direction independently and also slightly simplifies the way query errors are handled. LogRowContextProvider maps the results to a Loki specific context types, basically string[][], as raw log lines are displayed in first version.
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
CancelablePromise.ts | Loading commit data... | |
ConfigProvider.tsx | Loading commit data... | |
acl.ts | Loading commit data... | |
colors.ts | Loading commit data... | |
connectWithReduxStore.tsx | Loading commit data... | |
css_loader.ts | Loading commit data... | |
dag.test.ts | Loading commit data... | |
dag.ts | Loading commit data... | |
emitter.ts | Loading commit data... | |
errors.test.ts | Loading commit data... | |
errors.ts | Loading commit data... | |
explore.test.ts | Loading commit data... | |
explore.ts | Loading commit data... | |
factors.ts | Loading commit data... | |
file_export.ts | Loading commit data... | |
flatten.ts | Loading commit data... | |
kbn.ts | Loading commit data... | |
location_util.ts | Loading commit data... | |
model_utils.ts | Loading commit data... | |
outline.ts | Loading commit data... | |
query.test.ts | Loading commit data... | |
query.ts | Loading commit data... | |
react2angular.ts | Loading commit data... | |
reselect.ts | Loading commit data... | |
scrollbar.ts | Loading commit data... | |
sort_by_keys.ts | Loading commit data... | |
tags.ts | Loading commit data... | |
text.test.ts | Loading commit data... | |
text.ts | Loading commit data... | |
ticks.ts | Loading commit data... | |
url.ts | Loading commit data... | |
version.ts | Loading commit data... |