Commit Graph

86 Commits

Author SHA1 Message Date
Tobias Schmidt
697c704076 Fix missing button on embedded silence form 2016-09-01 17:12:24 -04:00
Tobias Schmidt
7385ac95fa Simplify inconsistent silence update behavior
The old silence update behavior resulted in duplicated silences after
e.g. updating a typo in a silence comment. I have to admit that I don't
understand the idea behind the old logic, but I couldn't see a use case
for creating a second silence when clicking on "Edit". The new behavior
is very simple and will simply always delete an existing silence and
replace it with the updated behavior.

Fixes #188.
2016-09-01 16:15:38 -04:00
Tobias Schmidt
9729d2db16 Fix broken regex checkbox in silence form
The introduction of the silence pagination included a bug which rendered
the regex checkbox broken.

Fixes #482 and #436.
2016-09-01 15:27:08 -04:00
Tobias Schmidt
230a80a089 Release v0.4.1 2016-08-31 18:25:02 -04:00
Tobias Schmidt
94c8320ba5 Reset and hide form after silence creation 2016-08-31 18:14:22 -04:00
stuart nelson
3fffc9f80e Regenerate assets 2016-08-24 17:49:12 +02:00
stuart nelson
9cf1d2554d Remove endsAt from ui (wasn't working anyway) 2016-08-24 17:46:02 +02:00
stuart nelson
d8a8b8c009 Update silences page (#471) 2016-08-24 14:52:38 +02:00
stuart nelson
f0924627f2 Correctly resolve silences query from server (#470) 2016-08-24 10:35:35 +02:00
stuart nelson
c1477c4589 Add pagination for silences (#468)
* Add pagination for silences

* Exit del loop after ID is deleted

* Use limit instead of n in API call

* Hide limit choice in client frontend

* Remove unnecessary append

* Clarify doc string for Query
2016-08-23 14:42:59 +02:00
Martín Ferrari
7095c69952 Export parsed configuration as JSON and drop js-yaml dependency.
* Export parsed configuration as JSON in /api/v1/status.
* Avoid exporting the XXX fields.
* Drop js-yaml library and use already parsed configuration.
* Go fmt + go-bindata
2016-07-13 11:53:35 +00:00
Fabian Reinartz
cc5aab6cff provider/boltmem: add alert subscription.
This commit implements the Subscribe() and GetPending()
methods for the bolt based alert provider.
2016-05-03 12:46:34 +02:00
Max Chadwick
c3198633d7 Filter silenced alerts 2016-04-27 22:53:44 -04:00
Fabian Reinartz
7a14971042 Merge pull request #294 from ben51/master
Change fallback fonts to something readable
2016-04-18 11:42:52 +02:00
Fabian Reinartz
f33c1bedb4 Hide PushOver auth information 2016-04-12 10:14:22 +02:00
stuart nelson
84acd309a6 Add routing-tree visualization (#302) 2016-04-11 16:39:57 +02:00
Benjamin Villain
c94c1ed464 Change fallback fonts to something readable
Change-Id: I5f5ce8c7113b2188083ef0ec9ef2bcc4d74f5500
2016-04-07 14:14:38 +02:00
Julius Volz
20739cc6ad Re-add full -web.external-url functionality
Fixes https://github.com/prometheus/alertmanager/issues/212
2016-03-30 23:04:19 +02:00
Fabian Reinartz
a0e4df20ef Add reload config instrumentation 2016-03-03 14:20:21 +01:00
Fabian Reinartz
124d637de0 Include generatorURL in PD and emails 2016-02-16 16:42:22 +01:00
Fabian Reinartz
3fba247d7c Run make assets for template changes 2016-02-16 12:28:16 +01:00
Fabian Reinartz
6e82fdd419 Fix vetting errors 2016-02-15 11:57:16 +01:00
Fabian Reinartz
9d8d386758 Add generatorURL to UI 2016-02-09 14:46:18 +01:00
Fabian Reinartz
e0f67dbca5 Invert navigation active/inactive color 2015-12-18 12:05:31 +01:00
Fabian Reinartz
fbd81f325b Use double quotes for label values in UI 2015-12-17 11:35:33 +01:00
Fabian Reinartz
5997b89ea2 Improve silence form validation 2015-12-16 16:40:10 +01:00
Fabian Reinartz
e29c7ab2b4 Increase highlighted silence visibility 2015-12-16 14:52:12 +01:00
Fabian Reinartz
625fc42658 Preserve activity interval on silence edit 2015-12-16 14:42:38 +01:00
Fabian Reinartz
002c9ca793 Add better mail template 2015-12-09 11:49:22 +01:00
Fabian Reinartz
7581d974ff Hide secret configuration data 2015-12-03 12:46:28 +01:00
Fabian Reinartz
1629e9d166 Statically compile default templates 2015-12-01 18:39:57 +01:00
Fabian Reinartz
12585e91c0 Sync alert filtering with URL.
This commit keeps the alert filters synchronized with URL search parameters
so they can be shared.
2015-11-25 12:43:40 +01:00
beorn7
93ffa534a5 PR with changes after code review
Now to be reverse-reveiewed.
2015-11-23 18:24:57 +01:00
Fabian Reinartz
7b6b971518 Recompile bindata 2015-11-19 08:53:53 +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
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
d80fd26902 Add Dockerfile and target, change flag 2015-11-12 15:03:09 +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
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
e4e594d826 Unify receiver naming 2015-11-10 13:47:04 +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