Go to file
Julius Volz b49b7bba6f Change Suppressor from channel-based to mutex-based, add tests.
Start with the simplest possible locking scheme: lock the object-global
mutex at the beginning of each user-facing method. This is equivalent to
implicit locking provided by the reactor.

The reasoning behind this change is the incredible overhead of the
previous reactor request/response code:

Overhead for current model for every user-facing method:

- 2 struct type definitions (req/resp)
- 1 channel
  - 1 struct member definition site
  - 1 channel init site
  - 1 struct population site
  - 1 struct servicing site
  - 1 struct closing site
- 1 actual execution method

New lock-based code:

Per object: 1 lock
Per method:
- 1 taking the lock
- 1 actual execution method
2013-07-22 18:32:45 +02:00
manager Change Suppressor from channel-based to mutex-based, add tests. 2013-07-22 18:32:45 +02:00
web Show actual alerts in UI and add no-op silence dialog. 2013-07-22 11:12:25 +02:00
LICENSE Add LICENSE file. 2013-07-16 17:10:34 +02:00
main.go Change Suppressor from channel-based to mutex-based, add tests. 2013-07-22 18:32:45 +02:00
README.md Create README.md 2013-07-16 17:09:56 +02:00

alert_manager

Prometheus Alert Manager