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
55f558cb
Commit
55f558cb
authored
Dec 18, 2018
by
Erik Sundell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename directive
parent
843e9fb4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
public/app/plugins/datasource/stackdriver/partials/query.aggregation.html
+6
-6
public/app/plugins/datasource/stackdriver/partials/query.filter.html
+4
-4
public/app/plugins/datasource/stackdriver/query_ctrl.ts
+1
-1
No files found.
public/app/plugins/datasource/stackdriver/partials/query.aggregation.html
View file @
55f558cb
...
...
@@ -2,14 +2,14 @@
<div
class=
"gf-form"
>
<label
class=
"gf-form-label query-keyword width-9"
>
Aggregation
</label>
<div
class=
"gf-form-select-wrapper gf-form-select-wrapper--caret-indent"
>
<
option
-picker
<
stackdriver
-picker
onChange=
"ctrl.handleAggregationChange"
selected=
"ctrl.target.aggregation.crossSeriesReducer"
options=
"ctrl.aggOptions"
searchable=
"true"
placeholder=
"'Select Aggregation'"
className=
"'width-15'"
></
option-group
-picker>
></
stackdriver
-picker>
</div>
</div>
<div
class=
"gf-form gf-form--grow"
>
...
...
@@ -25,14 +25,14 @@
<div
class=
"gf-form offset-width-9"
>
<label
class=
"gf-form-label query-keyword width-12"
>
Aligner
</label>
<div
class=
"gf-form-select-wrapper gf-form-select-wrapper--caret-indent"
>
<
option
-picker
<
stackdriver
-picker
onChange=
"ctrl.handleAlignmentChange"
selected=
"ctrl.target.aggregation.perSeriesAligner"
options=
"ctrl.alignOptions"
searchable=
"true"
placeholder=
"'Select Alignment'"
className=
"'width-15'"
></
option
-picker>
></
stackdriver
-picker>
</div>
<div
class=
"gf-form gf-form--grow"
><div
class=
"gf-form-label gf-form-label--grow"
></div></div>
...
...
@@ -42,14 +42,14 @@
<div
class=
"gf-form"
>
<label
class=
"gf-form-label query-keyword width-9"
>
Alignment Period
</label>
<div
class=
"gf-form-select-wrapper gf-form-select-wrapper--caret-indent"
>
<
option
-picker
<
stackdriver
-picker
onChange=
"ctrl.handleAlignmentPeriodChange"
selected=
"ctrl.target.aggregation.alignmentPeriod"
options=
"ctrl.alignmentPeriods"
searchable=
"true"
placeholder=
"'Select Alignment'"
className=
"'width-15'"
></
option
-picker>
></
stackdriver
-picker>
</div>
</div>
...
...
public/app/plugins/datasource/stackdriver/partials/query.filter.html
View file @
55f558cb
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form"
>
<span
class=
"gf-form-label width-9 query-keyword"
>
Service
</span>
<
option
-picker
<
stackdriver
-picker
onChange=
"ctrl.handleServiceChange"
selected=
"ctrl.target.service"
options=
"ctrl.services"
searchable=
"false"
placeholder=
"'Select Services'"
className=
"'width-15'"
></
option
-picker>
></
stackdriver
-picker>
</div>
<div
class=
"gf-form gf-form--grow"
><div
class=
"gf-form-label gf-form-label--grow"
></div></div>
</div>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form"
>
<span
class=
"gf-form-label width-9 query-keyword"
>
Metric
</span>
<
option
-picker
<
stackdriver
-picker
onChange=
"ctrl.handleMetricTypeChange"
selected=
"ctrl.target.metricType"
options=
"ctrl.getMetricGroups()"
searchable=
"true"
placeholder=
"'Select Metric'"
className=
"'width-15'"
></
option
-picker>
></
stackdriver
-picker>
</div>
<div
class=
"gf-form gf-form--grow"
><div
class=
"gf-form-label gf-form-label--grow"
></div></div>
</div>
...
...
public/app/plugins/datasource/stackdriver/query_ctrl.ts
View file @
55f558cb
...
...
@@ -63,7 +63,7 @@ export class StackdriverQueryCtrl extends QueryCtrl {
_
.
defaultsDeep
(
this
.
target
,
this
.
defaults
);
this
.
panelCtrl
.
events
.
on
(
'data-received'
,
this
.
onDataReceived
.
bind
(
this
),
$scope
);
this
.
panelCtrl
.
events
.
on
(
'data-error'
,
this
.
onDataError
.
bind
(
this
),
$scope
);
react2AngularDirective
(
'
option
Picker'
,
StackdriverPicker
,
[
react2AngularDirective
(
'
stackdriver
Picker'
,
StackdriverPicker
,
[
'options'
,
'onChange'
,
'selected'
,
...
...
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