mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
SSE: Add constant for data source name (#48443)
* add property for expressions datasource name * remove console log
This commit is contained in:
parent
bde368be55
commit
69ee917c89
@ -34,6 +34,7 @@ import { BackendDataSourceResponse, toDataQueryResponse } from './queryResponse'
|
|||||||
export const ExpressionDatasourceRef = Object.freeze({
|
export const ExpressionDatasourceRef = Object.freeze({
|
||||||
type: '__expr__',
|
type: '__expr__',
|
||||||
uid: '__expr__',
|
uid: '__expr__',
|
||||||
|
name: 'Expression',
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -69,7 +69,7 @@ export const ExpressionDatasourceUID = '-100';
|
|||||||
export const instanceSettings: DataSourceInstanceSettings = {
|
export const instanceSettings: DataSourceInstanceSettings = {
|
||||||
id: -100,
|
id: -100,
|
||||||
uid: ExpressionDatasourceUID,
|
uid: ExpressionDatasourceUID,
|
||||||
name: ExpressionDatasourceRef.type,
|
name: ExpressionDatasourceRef.name,
|
||||||
type: ExpressionDatasourceRef.type,
|
type: ExpressionDatasourceRef.type,
|
||||||
access: 'proxy',
|
access: 'proxy',
|
||||||
meta: {
|
meta: {
|
||||||
|
Loading…
Reference in New Issue
Block a user