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
88bf0cdb
Commit
88bf0cdb
authored
Apr 12, 2015
by
Masaori Koshiba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix styles around 'function'
parent
a2b75197
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
public/app/plugins/datasource/kairosdb/datasource.js
+5
-5
No files found.
public/app/plugins/datasource/kairosdb/datasource.js
View file @
88bf0cdb
...
...
@@ -149,18 +149,18 @@ function (angular, _, kbn) {
function
handleKairosDBQueryResponse
(
plotParams
,
results
)
{
var
output
=
[];
var
index
=
0
;
_
.
each
(
results
.
data
.
queries
,
function
(
series
)
{
_
.
each
(
results
.
data
.
queries
,
function
(
series
)
{
var
sample_size
=
series
.
sample_size
;
console
.
log
(
"sample_size:"
+
sample_size
+
" samples"
);
_
.
each
(
series
.
results
,
function
(
result
)
{
_
.
each
(
series
.
results
,
function
(
result
)
{
//var target = result.name;
var
target
=
plotParams
[
index
].
alias
;
var
details
=
" ( "
;
_
.
each
(
result
.
group_by
,
function
(
element
)
{
_
.
each
(
result
.
group_by
,
function
(
element
)
{
if
(
element
.
name
===
"tag"
)
{
_
.
each
(
element
.
group
,
function
(
value
,
key
)
{
_
.
each
(
element
.
group
,
function
(
value
,
key
)
{
details
+=
key
+
"="
+
value
+
" "
;
});
}
...
...
@@ -213,7 +213,7 @@ function (angular, _, kbn) {
});
}
if
(
target
.
horizontalAggregators
)
{
_
.
each
(
target
.
horizontalAggregators
,
function
(
chosenAggregator
)
{
_
.
each
(
target
.
horizontalAggregators
,
function
(
chosenAggregator
)
{
var
returnedAggregator
=
{
name
:
chosenAggregator
.
name
};
...
...
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