mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Grafana/Loki: Adds support for new Loki endpoints and metrics (#20158)
* Grafana/Loki: Adds support for new Loki endpoints and metrics * Adds `/loki/` prefix to new loki endpoints and updates response interfaces * Improved legacy support * Removed changes related to plugin.json and added Loki-specific hacks * Fixes live streaming for legacy loki datasources
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
export let store: any;
|
||||
import { StoreState } from 'app/types';
|
||||
import { Store } from 'redux';
|
||||
|
||||
export function setStore(newStore: any) {
|
||||
export let store: Store<StoreState>;
|
||||
|
||||
export function setStore(newStore: Store<StoreState>) {
|
||||
store = newStore;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user