Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
0792c182
Commit
0792c182
authored
Oct 24, 2018
by
Erik Sundell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stackdriver: add react component for template query editor
parent
94ac5221
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
public/app/plugins/datasource/stackdriver/module.ts
+2
-0
public/app/plugins/datasource/stackdriver/templateQueryCtrl.tsx
+17
-0
No files found.
public/app/plugins/datasource/stackdriver/module.ts
View file @
0792c182
...
@@ -2,10 +2,12 @@ import StackdriverDatasource from './datasource';
...
@@ -2,10 +2,12 @@ import StackdriverDatasource from './datasource';
import
{
StackdriverQueryCtrl
}
from
'./query_ctrl'
;
import
{
StackdriverQueryCtrl
}
from
'./query_ctrl'
;
import
{
StackdriverConfigCtrl
}
from
'./config_ctrl'
;
import
{
StackdriverConfigCtrl
}
from
'./config_ctrl'
;
import
{
StackdriverAnnotationsQueryCtrl
}
from
'./annotations_query_ctrl'
;
import
{
StackdriverAnnotationsQueryCtrl
}
from
'./annotations_query_ctrl'
;
import
{
StackdriverTemplateQueryCtrl
}
from
'./templateQueryCtrl'
;
export
{
export
{
StackdriverDatasource
as
Datasource
,
StackdriverDatasource
as
Datasource
,
StackdriverQueryCtrl
as
QueryCtrl
,
StackdriverQueryCtrl
as
QueryCtrl
,
StackdriverConfigCtrl
as
ConfigCtrl
,
StackdriverConfigCtrl
as
ConfigCtrl
,
StackdriverAnnotationsQueryCtrl
as
AnnotationsQueryCtrl
,
StackdriverAnnotationsQueryCtrl
as
AnnotationsQueryCtrl
,
StackdriverTemplateQueryCtrl
as
TemplateQueryCtrl
,
};
};
public/app/plugins/datasource/stackdriver/templateQueryCtrl.tsx
0 → 100644
View file @
0792c182
import
React
,
{
PureComponent
}
from
'react'
;
interface
Props
{}
export
class
StackdriverTemplateQueryCtrl
extends
PureComponent
<
Props
>
{
constructor
(
props
)
{
super
(
props
);
}
componentDidMount
()
{
console
.
log
(
'componentDidMount'
);
}
render
()
{
return
<
h1
>
Hello Stackdriver Template Query
</
h1
>;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment