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
12230dfa
Unverified
Commit
12230dfa
authored
Oct 02, 2018
by
Marcus Efraimsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux: put connection limits under own section
parent
dd09ece8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
84 additions
and
45 deletions
+84
-45
public/app/plugins/datasource/mssql/partials/config.html
+28
-15
public/app/plugins/datasource/mysql/partials/config.html
+28
-15
public/app/plugins/datasource/postgres/partials/config.html
+28
-15
No files found.
public/app/plugins/datasource/mssql/partials/config.html
View file @
12230dfa
...
...
@@ -29,22 +29,35 @@
</div>
</div>
<b>
Connection limits
</b>
<div
class=
"gf-form-group"
>
<div
class=
"gf-form max-width-30"
>
<span
class=
"gf-form-label width-11"
>
Max open connections
</span>
<input
type=
"number"
min=
"0"
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.maxOpenConns"
placeholder=
"unlimited"
></input>
</div>
<div
class=
"gf-form max-width-30"
>
<span
class=
"gf-form-label width-11"
>
Max idle connections
</span>
<input
type=
"number"
min=
"0"
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.maxIdleConns"
placeholder=
"2"
></input>
</div>
<div
class=
"gf-form max-width-30"
>
<span
class=
"gf-form-label width-11"
>
Connection lifetime
</span>
<input
type=
"number"
min=
"0"
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.connMaxLifetime"
placeholder=
"14400"
></input>
<info-popover
mode=
"right-absolute"
>
The connection lifetime in seconds.
</info-popover>
</div>
<div
class=
"gf-form max-width-15"
>
<span
class=
"gf-form-label width-7"
>
Max open
</span>
<input
type=
"number"
min=
"0"
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.maxOpenConns"
placeholder=
"unlimited"
></input>
<info-popover
mode=
"right-absolute"
>
The maximum number of open connections to the database. If
<i>
Max idle connections
</i>
is greater than 0 and the
<i>
Max open connections
</i>
is less than
<i>
Max idle connections
</i>
, then
<i>
Max idle connections
</i>
will be
reduced to match the
<i>
Max open connections
</i>
limit. If set to 0, there is no limit on the number of open
connections.
</info-popover>
</div>
<div
class=
"gf-form max-width-15"
>
<span
class=
"gf-form-label width-7"
>
Max idle
</span>
<input
type=
"number"
min=
"0"
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.maxIdleConns"
placeholder=
"2"
></input>
<info-popover
mode=
"right-absolute"
>
The maximum number of connections in the idle connection pool. If
<i>
Max open connections
</i>
is greater than 0 but
less than the
<i>
Max idle connections
</i>
, then the
<i>
Max idle connections
</i>
will be reduced to match the
<i>
Max open connections
</i>
limit. If set to 0, no idle connections are retained.
</info-popover>
</div>
<div
class=
"gf-form max-width-15"
>
<span
class=
"gf-form-label width-7"
>
Max lifetime
</span>
<input
type=
"number"
min=
"0"
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.connMaxLifetime"
placeholder=
"14400"
></input>
<info-popover
mode=
"right-absolute"
>
The maximum amount of time in seconds a connection may be reused. If set to 0, connections are reused forever.
</info-popover>
</div>
</div>
<h3
class=
"page-heading"
>
MSSQL details
</h3>
...
...
public/app/plugins/datasource/mysql/partials/config.html
View file @
12230dfa
...
...
@@ -24,22 +24,35 @@
</div>
</div>
<b>
Connection limits
</b>
<div
class=
"gf-form-group"
>
<div
class=
"gf-form max-width-30"
>
<span
class=
"gf-form-label width-11"
>
Max open connections
</span>
<input
type=
"number"
min=
"0"
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.maxOpenConns"
placeholder=
"unlimited"
></input>
</div>
<div
class=
"gf-form max-width-30"
>
<span
class=
"gf-form-label width-11"
>
Max idle connections
</span>
<input
type=
"number"
min=
"0"
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.maxIdleConns"
placeholder=
"2"
></input>
</div>
<div
class=
"gf-form max-width-30"
>
<span
class=
"gf-form-label width-11"
>
Connection lifetime
</span>
<input
type=
"number"
min=
"0"
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.connMaxLifetime"
placeholder=
"14400"
></input>
<info-popover
mode=
"right-absolute"
>
The connection lifetime in seconds.
</info-popover>
</div>
<div
class=
"gf-form max-width-15"
>
<span
class=
"gf-form-label width-7"
>
Max open
</span>
<input
type=
"number"
min=
"0"
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.maxOpenConns"
placeholder=
"unlimited"
></input>
<info-popover
mode=
"right-absolute"
>
The maximum number of open connections to the database. If
<i>
Max idle connections
</i>
is greater than 0 and the
<i>
Max open connections
</i>
is less than
<i>
Max idle connections
</i>
, then
<i>
Max idle connections
</i>
will be
reduced to match the
<i>
Max open connections
</i>
limit. If set to 0, there is no limit on the number of open
connections.
</info-popover>
</div>
<div
class=
"gf-form max-width-15"
>
<span
class=
"gf-form-label width-7"
>
Max idle
</span>
<input
type=
"number"
min=
"0"
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.maxIdleConns"
placeholder=
"2"
></input>
<info-popover
mode=
"right-absolute"
>
The maximum number of connections in the idle connection pool. If
<i>
Max open connections
</i>
is greater than 0 but
less than the
<i>
Max idle connections
</i>
, then the
<i>
Max idle connections
</i>
will be reduced to match the
<i>
Max open connections
</i>
limit. If set to 0, no idle connections are retained.
</info-popover>
</div>
<div
class=
"gf-form max-width-15"
>
<span
class=
"gf-form-label width-7"
>
Max lifetime
</span>
<input
type=
"number"
min=
"0"
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.connMaxLifetime"
placeholder=
"14400"
></input>
<info-popover
mode=
"right-absolute"
>
The maximum amount of time in seconds a connection may be reused. If set to 0, connections are reused forever.
</info-popover>
</div>
</div>
<h3
class=
"page-heading"
>
MySQL details
</h3>
...
...
public/app/plugins/datasource/postgres/partials/config.html
View file @
12230dfa
...
...
@@ -38,22 +38,35 @@
</div>
</div>
<b>
Connection limits
</b>
<div
class=
"gf-form-group"
>
<div
class=
"gf-form max-width-30"
>
<span
class=
"gf-form-label width-11"
>
Max open connections
</span>
<input
type=
"number"
min=
"0"
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.maxOpenConns"
placeholder=
"unlimited"
></input>
</div>
<div
class=
"gf-form max-width-30"
>
<span
class=
"gf-form-label width-11"
>
Max idle connections
</span>
<input
type=
"number"
min=
"0"
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.maxIdleConns"
placeholder=
"2"
></input>
</div>
<div
class=
"gf-form max-width-30"
>
<span
class=
"gf-form-label width-11"
>
Connection lifetime
</span>
<input
type=
"number"
min=
"0"
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.connMaxLifetime"
placeholder=
"14400"
></input>
<info-popover
mode=
"right-absolute"
>
The connection lifetime in seconds.
</info-popover>
</div>
<div
class=
"gf-form max-width-15"
>
<span
class=
"gf-form-label width-7"
>
Max open
</span>
<input
type=
"number"
min=
"0"
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.maxOpenConns"
placeholder=
"unlimited"
></input>
<info-popover
mode=
"right-absolute"
>
The maximum number of open connections to the database. If
<i>
Max idle connections
</i>
is greater than 0 and the
<i>
Max open connections
</i>
is less than
<i>
Max idle connections
</i>
, then
<i>
Max idle connections
</i>
will be
reduced to match the
<i>
Max open connections
</i>
limit. If set to 0, there is no limit on the number of open
connections.
</info-popover>
</div>
<div
class=
"gf-form max-width-15"
>
<span
class=
"gf-form-label width-7"
>
Max idle
</span>
<input
type=
"number"
min=
"0"
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.maxIdleConns"
placeholder=
"2"
></input>
<info-popover
mode=
"right-absolute"
>
The maximum number of connections in the idle connection pool. If
<i>
Max open connections
</i>
is greater than 0 but
less than the
<i>
Max idle connections
</i>
, then the
<i>
Max idle connections
</i>
will be reduced to match the
<i>
Max open connections
</i>
limit. If set to 0, no idle connections are retained.
</info-popover>
</div>
<div
class=
"gf-form max-width-15"
>
<span
class=
"gf-form-label width-7"
>
Max lifetime
</span>
<input
type=
"number"
min=
"0"
class=
"gf-form-input"
ng-model=
"ctrl.current.jsonData.connMaxLifetime"
placeholder=
"14400"
></input>
<info-popover
mode=
"right-absolute"
>
The maximum amount of time in seconds a connection may be reused. If set to 0, connections are reused forever.
</info-popover>
</div>
</div>
<h3
class=
"page-heading"
>
PostgreSQL details
</h3>
...
...
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