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
12ace5ab
Commit
12ace5ab
authored
May 15, 2018
by
Mitsuhiro Tanda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move queryTimeout option to common setting
parent
8ddcd670
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
19 deletions
+18
-19
public/app/features/plugins/partials/ds_http_settings.html
+9
-0
public/app/plugins/datasource/prometheus/partials/config.html
+9
-19
No files found.
public/app/features/plugins/partials/ds_http_settings.html
View file @
12ace5ab
...
...
@@ -156,4 +156,13 @@
</info-popover>
</div>
</div>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form"
>
<span
class=
"gf-form-label width-10"
>
Query timeout
</span>
<input
type=
"text"
class=
"gf-form-input width-9"
ng-model=
"current.jsonData.queryTimeout"
spellcheck=
'false'
placeholder=
"60s"
></input>
<info-popover
mode=
"right-absolute"
>
Set the Query timeout.
</info-popover>
</div>
</div>
</div>
public/app/plugins/datasource/prometheus/partials/config.html
View file @
12ace5ab
...
...
@@ -2,25 +2,15 @@
</datasource-http-settings>
<div
class=
"gf-form-group"
>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form"
>
<span
class=
"gf-form-label width-8"
>
Scrape interval
</span>
<input
type=
"text"
class=
"gf-form-input width-8"
ng-model=
"ctrl.current.jsonData.timeInterval"
spellcheck=
'false'
placeholder=
"15s"
></input>
<info-popover
mode=
"right-absolute"
>
Set this to your global scrape interval defined in your Prometheus config file. This will be used as a lower limit for the
Prometheus step query parameter.
</info-popover>
</div>
</div>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form"
>
<span
class=
"gf-form-label width-8"
>
Query timeout
</span>
<input
type=
"text"
class=
"gf-form-input width-8"
ng-model=
"ctrl.current.jsonData.queryTimeout"
spellcheck=
'false'
placeholder=
"60s"
></input>
<info-popover
mode=
"right-absolute"
>
Set the Prometheus query timeout.
</info-popover>
</div>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form"
>
<span
class=
"gf-form-label width-8"
>
Scrape interval
</span>
<input
type=
"text"
class=
"gf-form-input width-8"
ng-model=
"ctrl.current.jsonData.timeInterval"
spellcheck=
'false'
placeholder=
"15s"
></input>
<info-popover
mode=
"right-absolute"
>
Set this to your global scrape interval defined in your Prometheus config file. This will be used as a lower limit for
the Prometheus step query parameter.
</info-popover>
</div>
</div>
<div
class=
"gf-form"
>
...
...
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