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:
kay delaney
2019-11-15 15:38:25 +00:00
committed by David
parent 1248457fee
commit e0a2d4beac
32 changed files with 1541 additions and 493 deletions

View File

@@ -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;
}