stuart nelson
ec3bb1e8bb
Use uint in Query() interface method
...
Forces positive values
2016-08-24 22:47:13 +02:00
stuart nelson
fe9be48f24
Set default sort to EndsAt
2016-08-24 17:45:44 +02:00
stuart nelson
566046df66
Add silence sorting on server
2016-08-24 16:49:31 +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
1a93b01234
api: fix missing silence initialization
2016-06-21 16:38:35 +02:00
Julius Volz
55eb9601fa
web: Move /api/-/reload endpoint to /-/reload.
2016-06-12 11:27:21 +02:00
zhaozy
13fb17be37
Add api/-/reload endpoint #353
2016-06-06 21:42:16 +08:00
Steve Durrheimer
c740007c37
Make version informations consistent between prometheus components
2016-05-15 12:04:15 +02:00
Tobias Schmidt
a31e60bf12
Merge pull request #251 from prometheus/typo
...
Fix typo in comment
2016-02-23 14:03:19 -05:00
Fabian Reinartz
6e82fdd419
Fix vetting errors
2016-02-15 11:57:16 +01:00
Brian Brazil
8a9fd42ca3
Fix typo in comment
2016-02-14 14:40:48 +00:00
Fabian Reinartz
1f9785d248
Fix assigned reosolve timeout
2016-02-03 14:12:10 +01:00
Brian Brazil
b820b6d0d2
Make metric names consistent.
2016-01-09 12:49:25 +00:00
Fabian Reinartz
b2fb6c8ab0
Instrument received alerts
...
This instruments the number of received alerts and makes
handling of invalid alerts more graceful.
2016-01-09 13:42:02 +01:00
Fabian Reinartz
1eb64b4263
Add web handler instrumentation
2016-01-09 13:32:36 +01:00
Fabian Reinartz
001a2788da
Fix non-JSON API error
2015-12-16 16:39:37 +01:00
Fabian Reinartz
a2b8d35733
Validate API input
2015-12-09 18:21:06 +01:00
Fabian Reinartz
f286930c69
Fix API response codes
2015-12-07 13:41:18 +01:00
Fabian Reinartz
00b8a2ad03
Make resolve timeout configurable
2015-11-27 15:41:22 +01:00
Fabian Reinartz
ede4b63a91
Implement deterministic alert group order, cleanup
2015-11-10 14:52:04 +01:00
Fabian Reinartz
1918379668
Remove dead code, make silence immutable
2015-11-09 12:34:31 +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
14001ebfa5
Fix golint warnings
2015-11-05 10:49:32 +01:00
Fabian Reinartz
08948391df
Add uptime to status page
2015-11-02 20:04:37 +01:00
Fabian Reinartz
85475d4e50
Add /api/status endpoint for config and version info
2015-11-02 19:41:23 +01:00
Fabian Reinartz
524d08d567
Implement endpoint for UI routing tree representation
2015-10-21 16:34:56 +02:00
Fabian Reinartz
4b49350122
Fix potential grouping collisions, pass down group labels
2015-10-16 16:55:56 +02:00
Fabian Reinartz
a64ae57731
Add legacy alert push endpoint
2015-10-16 14:02:22 +02:00
Fabian Reinartz
8237c0c567
Implement basic /alerts endpoint
2015-10-15 12:47:15 +02:00
Fabian Reinartz
98fe623d60
Rename NewAPI to RegisterAPI
2015-10-11 17:28:09 +02:00
Fabian Reinartz
5dc2f6e9b1
Add license headers
2015-10-11 17:24:49 +02:00
Fabian Reinartz
0d8dae72f1
Assign silence creation time on insert
2015-10-06 12:10:15 +02:00
Fabian Reinartz
4e381c7e64
Store model.Silence and restore types.Silence correctly
2015-10-01 22:16:44 +02:00
Fabian Reinartz
7fb9473681
Let create/modify silence endpoints returns silence ID
2015-10-01 20:57:37 +02:00
Fabian Reinartz
46e09e2b2c
Switch to model.Silence
2015-10-01 17:50:15 +02:00
Fabian Reinartz
006939de12
Hide resolved it alert JSON if it was added via timeout
2015-09-30 14:53:05 +02:00
Fabian Reinartz
5ed89a72a5
Change to clearer alert time fields
2015-09-29 17:26:44 +02:00
Fabian Reinartz
3b401c413b
Add pending alert iterator
2015-09-29 10:45:58 +02:00
Fabian Reinartz
95b12f8c30
Add silence API endpoints
2015-09-27 14:07:04 +02:00
Fabian Reinartz
3b7f880f60
Enable alert API endpoints
2015-09-26 11:14:18 +02:00
Fabian Reinartz
89e8d82a1b
Fix compile issues
2015-09-26 11:14:18 +02:00
Fabian Reinartz
17dce696c9
Move manager package to top level
2015-09-25 13:46:49 +02:00
Fabian Reinartz
bbe679b432
initial alert routing tree
2015-07-01 17:56:53 +02:00
Fabian Reinartz
d4c90e9e28
Add silence API and memory storage
2015-07-01 13:17:08 +02:00