Max Leonard Inden
08be6a4149
Expire pending silence and move to expired state
...
Instead of setting endsAt to startsAt we can set both to now. Thereby
the Silence will get the expired state by default.
2017-05-29 18:44:58 +02:00
Fabian Reinartz
f53974d5e6
silence: fix and test expiration behavior
2017-05-22 09:27:57 +02:00
Fabian Reinartz
d73a655bf4
Simplify silence modifications, add update endpoint ( #796 )
...
* Simplify silence modifications, add update endpoint
* vendor: add pkg/errors
* ui: Handle upserting of silences
.
* Regenerate bindata
2017-05-16 16:48:25 +02:00
Fabian Reinartz
b1486ca546
silence: move to gogoproto
...
This generates the protobuf Go code with gogoproto and switches to
standard library time types.
2017-04-18 12:47:42 +02:00
Fabian Reinartz
7517453c68
silence: add metrics
2016-09-29 09:54:34 +02:00
Frederic Branczyk
e72e45c8f1
silence: add cache for silence matchers
...
compiling regex silence matchers on every query is expensive, therefore
caching them as soon as they are gossiped through the mesh
2016-09-09 11:41:39 +02:00
Fabian Reinartz
a4e8703567
*: integrate new silence package
2016-08-30 12:15:23 +02:00
Fabian Reinartz
ed3fdc747d
silence: add protobuf-based silence package.
...
This commit adds an implementation of a silence storage that can
share store and modify silences, share state via a mesh network,
write and load snapshots, and be dynamically queried.
All data formats are based on protocol buffers.
2016-08-24 17:48:31 +02:00