Commit Graph

491 Commits

Author SHA1 Message Date
Fabian Reinartz
4a9d4de80c Improve default subject template 2015-11-23 17:20:02 +01:00
Fabian Reinartz
a94c0f4e82 Merge pull request #147 from prometheus/new-email
First-pass at improving template system.
2015-11-18 17:08:52 +01:00
Brian Brazil
faa88831f4 First-pass at improving template system.
- Cut back to bare minimum to make the rest simpler
- Consistency in config naming
- Have one data strucutre that's the same for all templates
- Pass in common labels to templates
- Support templates almost everywhere
- Support multiple SMTP recipients
- Support non-ASCII SMTP headers
- Handle colour logic via templates
- Make $subjects have consistent output, go maps aren't sorted.
- Make tests pass when v6 is disabled
2015-11-18 14:59:05 +00:00
Brian Brazil
4b6e0f4134 Ensure data directory exists 2015-11-18 14:58:36 +00:00
Fabian Reinartz
5770d3ec60 Make silences editable in UI 2015-11-16 21:45:28 +01:00
Fabian Reinartz
c5d77252e6 Improve button visibility in UI 2015-11-16 14:47:03 +01:00
Fabian Reinartz
0c27b08a05 Add example config file 2015-11-12 15:15:12 +01:00
Fabian Reinartz
d80fd26902 Add Dockerfile and target, change flag 2015-11-12 15:03:09 +01:00
Fabian Reinartz
d6611651c4 Fix unused import 2015-11-12 15:02:33 +01:00
Fabian Reinartz
0d8ee0b3ec Fix golint issues in notify/ 2015-11-12 13:18:36 +01:00
Fabian Reinartz
3e685642c7 Fix golint issues in config/ 2015-11-12 12:57:20 +01:00
Fabian Reinartz
16bc5356aa Vendor static assets 2015-11-11 18:03:56 +01:00
Fabian Reinartz
d945c872d8 Style fix, remove debug prints 2015-11-11 17:53:18 +01:00
Fabian Reinartz
c157b78a04 Do not expose groups with 0 alerts 2015-11-11 17:05:22 +01:00
Fabian Reinartz
75c57ffd00 Add version print and flag 2015-11-11 16:50:54 +01:00
Fabian Reinartz
78c6784672 Change Makefile target order 2015-11-11 15:50:19 +01:00
Fabian Reinartz
034ab0da0c Statically compile assets into binary 2015-11-11 15:34:36 +01:00
Fabian Reinartz
f188f3357d Format alert filtering section 2015-11-11 13:33:33 +01:00
Fabian Reinartz
f1a6f8892f Make collapsible detail sections more visible 2015-11-10 14:55:57 +01:00
Fabian Reinartz
ede4b63a91 Implement deterministic alert group order, cleanup 2015-11-10 14:52:04 +01:00
Fabian Reinartz
dc656a44ea Adjust config fields to 'receiver' 2015-11-10 14:08:20 +01:00
Fabian Reinartz
6a99dfaa90 Merge branch 'dev' of github.com:prometheus/alertmanager into dev 2015-11-10 13:56:40 +01:00
Fabian Reinartz
e4e594d826 Unify receiver naming 2015-11-10 13:47:04 +01:00
Fabian Reinartz
a1c7c49a91 Remove resolved issues 2015-11-10 11:26:42 +01:00
Fabian Reinartz
5fb30e1a0e Do not include resolved alerts in API response 2015-11-10 11:25:11 +01:00
Fabian Reinartz
91db91ef4a Separate elapsed and active silences 2015-11-10 11:19:04 +01:00
Fabian Reinartz
3cdc3c5359 Add HTML title 2015-11-09 19:08:40 +01:00
Fabian Reinartz
9e7255a850 Vendor angular-sanitize 2015-11-09 18:30:51 +01:00
Fabian Reinartz
f915a61d16 Filter entire groups of non-selected destionations 2015-11-09 16:42:52 +01:00
Fabian Reinartz
fa64b7d1b9 link and highlight silence in UI 2015-11-09 15:30:02 +01:00
Fabian Reinartz
5f46042dd5 Add toggling for silence form 2015-11-09 15:19:22 +01:00
Fabian Reinartz
83c4d596bc mark inhibition and silencing in UI 2015-11-09 14:41:06 +01:00
Fabian Reinartz
d4e2bdc36f Track and expose silenced/inhibited status of alerts 2015-11-09 14:34:57 +01:00
Fabian Reinartz
b2351ef76c Auto-convert links in annotations 2015-11-09 13:32:41 +01:00
Fabian Reinartz
1918379668 Remove dead code, make silence immutable 2015-11-09 12:34:31 +01:00
Fabian Reinartz
09bcb8c71a More readable styling 2015-11-09 12:33:14 +01:00
Fabian Reinartz
5b3621948b Show firing duration 2015-11-09 12:03:36 +01:00
Fabian Reinartz
152df94088 Simplify alert UI 2015-11-09 11:09:32 +01:00
Fabian Reinartz
8f2aaff1db Implement flat alert group API endpoint 2015-11-07 14:30:21 +01:00
Fabian Reinartz
23b8cde4b6 Switch routing tree to flat alerting groups 2015-11-07 14:29:54 +01:00
Fabian Reinartz
73e6fcfbcd Toggle details by click to reduce noise 2015-11-06 18:17:41 +01:00
Fabian Reinartz
7be65952e3 UI silencing on alert items fixed 2015-11-06 17:35:37 +01:00
Fabian Reinartz
a3dc8fb36e Adjust alert UI to silence UI 2015-11-06 17:26:06 +01:00
Fabian Reinartz
896449efac Improve silence UI 2015-11-06 17:07:55 +01:00
Fabian Reinartz
8f937a3d05 Move silence to own partial, style fixes 2015-11-06 15:27:28 +01:00
Fabian Reinartz
8b327b1d8e Improve silence form 2015-11-06 14:14:46 +01:00
Fabian Reinartz
e681d8619d Remove bass.css 2015-11-06 14:14:11 +01:00
Fabian Reinartz
8d2bbc348b Simplify and rename notification info struct.
The delivered field was previously unused and is removed by this commit.
Only successful notifications are stored. The type was renamed to NotifyInfo.
2015-11-06 10:09:39 +01:00
Fabian Reinartz
14001ebfa5 Fix golint warnings 2015-11-05 10:49:32 +01:00
Fabian Reinartz
5ce39632f8 Fix go vet warnings 2015-11-05 10:25:25 +01:00