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
68f14888
Commit
68f14888
authored
May 31, 2016
by
bergquist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(alerting): add alert info at log page
parent
7c3dbe2a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
51 additions
and
2 deletions
+51
-2
public/app/features/alerts/partials/alert_log.html
+49
-0
public/app/plugins/panel/graph/alert_tab_ctrl.ts
+2
-2
No files found.
public/app/features/alerts/partials/alert_log.html
View file @
68f14888
...
@@ -6,6 +6,55 @@
...
@@ -6,6 +6,55 @@
<h1>
Alert history for {{ctrl.alert.title}}
</h1>
<h1>
Alert history for {{ctrl.alert.title}}
</h1>
</div>
</div>
<div
class=
"gf-form-group section"
>
<h5
class=
"section-heading"
>
Thresholds
</h5>
<div
class=
"gf-form"
>
<span
class=
"gf-form-label width-9"
>
<i
class=
"icon-gf icon-gf-warn alert-icon-warn"
></i>
Warn level
</span>
<div
class=
"gf-form-label max-width-10"
>
{{ctrl.alert.warnOperator}}
</div>
<div
class=
"gf-form-label max-width-10"
>
{{ctrl.alert.warnLevel}}
</div>
</div>
<div
class=
"gf-form"
>
<span
class=
"gf-form-label width-9"
>
<i
class=
"icon-gf icon-gf-critical alert-icon-critical"
></i>
Critical level
</span>
<div
class=
"gf-form-label max-width-10"
>
{{ctrl.alert.critOperator}}
</div>
<div
class=
"gf-form-label max-width-10"
>
{{ctrl.alert.critLevel}}
</div>
</div>
</div>
<div
class=
"gf-form-group section"
>
<h5
class=
"section-heading"
>
Aggregators
</h5>
<div
class=
"gf-form"
>
<span
class=
"gf-form-label width-12"
>
Aggregator
</span>
<div
class=
"gf-form-label max-width-10"
>
{{ctrl.alert.aggregator}}
</div>
</div>
<div
class=
"gf-form"
>
<span
class=
"gf-form-label width-12"
>
Query range (seconds)
</span>
<span
class=
"gf-form-label width-10"
>
{{ctrl.alert.queryRange}}
</span>
</div>
<div
class=
"gf-form"
>
<span
class=
"gf-form-label width-12"
>
Frequency (seconds)
</span>
<span
class=
"gf-form-label width-10"
>
{{ctrl.alert.frequency}}
</span>
</div>
</div>
<table
class=
"filter-table"
>
<table
class=
"filter-table"
>
<thead>
<thead>
<th
style=
"width: 68px"
>
Status
</th>
<th
style=
"width: 68px"
>
Status
</th>
...
...
public/app/plugins/panel/graph/alert_tab_ctrl.ts
View file @
68f14888
...
@@ -14,8 +14,8 @@ export class AlertTabCtrl {
...
@@ -14,8 +14,8 @@ export class AlertTabCtrl {
defaultValues
=
{
defaultValues
=
{
aggregator
:
'avg'
,
aggregator
:
'avg'
,
interval
:
'60s'
,
frequency
:
10
,
queryRange
:
'10m'
,
queryRange
:
3600
,
warnOperator
:
'>'
,
warnOperator
:
'>'
,
critOperator
:
'>'
,
critOperator
:
'>'
,
queryRef
:
'- select query -'
queryRef
:
'- select query -'
...
...
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