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
167a18f1
Commit
167a18f1
authored
Feb 21, 2019
by
Dominik Prokop
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into tooling/npm-scripts
parents
10916d91
5054e841
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
docs/sources/project/building_from_source.md
+1
-1
public/app/plugins/datasource/prometheus/datasource.ts
+4
-0
No files found.
docs/sources/project/building_from_source.md
View file @
167a18f1
...
@@ -83,7 +83,7 @@ go get github.com/Unknwon/bra
...
@@ -83,7 +83,7 @@ go get github.com/Unknwon/bra
bra run
bra run
```
```
You'll also need to run
`yarn
watch
`
to watch for changes to the front-end (typescript, html, sass)
You'll also need to run
`yarn
start
`
to watch for changes to the front-end (typescript, html, sass)
### Running tests
### Running tests
...
...
public/app/plugins/datasource/prometheus/datasource.ts
View file @
167a18f1
...
@@ -396,6 +396,10 @@ export class PrometheusDatasource implements DataSourceApi<PromQuery> {
...
@@ -396,6 +396,10 @@ export class PrometheusDatasource implements DataSourceApi<PromQuery> {
const
expandedQueries
=
queries
.
map
(
query
=>
({
const
expandedQueries
=
queries
.
map
(
query
=>
({
...
query
,
...
query
,
expr
:
this
.
templateSrv
.
replace
(
query
.
expr
,
{},
this
.
interpolateQueryExpr
),
expr
:
this
.
templateSrv
.
replace
(
query
.
expr
,
{},
this
.
interpolateQueryExpr
),
// null out values we don't support in Explore yet
legendFormat
:
null
,
step
:
null
,
}));
}));
state
=
{
state
=
{
...
state
,
...
state
,
...
...
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