Commit Graph

809 Commits

Author SHA1 Message Date
Fabian Reinartz e6892e1063 Merge pull request #379 from prometheus/fabxc-inhibit-fix
inhibit: reduce O(n^2) complexity problem
2016-06-14 22:46:21 +02:00
Fabian Reinartz 5002dde445 Merge pull request #381 from prometheus/fabxc-patch-1
readme: update config documentation link
2016-06-14 11:05:08 +02:00
Fabian Reinartz 11b9061ffb readme: update config documentation link 2016-06-14 11:03:49 +02:00
Fabian Reinartz a5c6b238c8 inhibit: reduce O(n^2) complexity problem
This change adds a inhibition cache. New alerts are checked against all
inhibition rules' source matchers. At notification time, we only have to
check the target matchers against the notified alerts. If there are
alerts in the source cache, we only have to verify the equal labels
against these.
2016-06-13 18:27:43 +02:00
Fabian Reinartz 6db9089469 Merge pull request #376 from prometheus/move-api-endpoint
web: Move /api/-/reload endpoint to /-/reload.
2016-06-12 12:14:16 +02:00
Julius Volz 55eb9601fa web: Move /api/-/reload endpoint to /-/reload. 2016-06-12 11:27:21 +02:00
Fabian Reinartz 5843dcf673 Merge pull request #367 from mattbostock/use_localhost_for_tests
Use localhost for tests
2016-06-07 11:01:57 +02:00
Fabian Reinartz 6c1581fd00 Merge pull request #372 from ZhenyangZhao/master
Add api/-/reload endpoint #353
2016-06-06 16:57:08 +02:00
zhaozy 13fb17be37 Add api/-/reload endpoint #353 2016-06-06 21:42:16 +08:00
Brian Brazil 7b20b776ea Merge pull request #370 from mattbostock/fix_typo
Fix typo 'determins' in comment
2016-06-06 12:32:26 +01:00
Matt Bostock 0d057e2fac Fix typo 'determins' in comment 2016-06-06 12:18:55 +01:00
Matt Bostock 68a1e51ffb Use localhost for tests
Previously, the tests would listen on all available interfaces.

Instead, have the tests use localhost only; using all available
interfaces is unnecessary.

On Mac OS X with the builtin firewall enabled, it triggers annoying
prompts to allow the tests to listen on all interfaces.
2016-06-04 08:19:23 +01:00
Brian Brazil de71cfe36e Merge pull request #352 from prometheus/sdurrheimer/more-platforms
Support more cross-build platforms
2016-05-15 14:20:24 +01:00
Steve Durrheimer 4b03d26cb9
Support more cross-build platforms 2016-05-15 12:56:47 +02:00
Fabian Reinartz 5b7287094e Merge pull request #351 from prometheus/sdurrheimer/common-version
Make version informations consistent between prometheus components
2016-05-15 12:15:17 +02:00
Steve Durrheimer c740007c37
Make version informations consistent between prometheus components 2016-05-15 12:04:15 +02:00
Steve Durrheimer e1ba2ae262
Missing external dependency in vendors 2016-05-15 11:30:00 +02:00
Steve Durrheimer 06ff653631 Merge pull request #342 from sdurrheimer/fix-circleci-flanky-go-get
Fix CircleCI problems during go get promu
2016-05-15 10:55:25 +02:00
Brian Brazil 084ebbcef5 Merge pull request #349 from sdurrheimer/update-shields
Update README image shields
2016-05-13 20:56:22 +01:00
Steve Durrheimer a1ce2e3383
Update README image shields 2016-05-13 21:48:57 +02:00
Steve Durrheimer 1e61c977f8
Fix CircleCI problems during go get promu 2016-05-05 13:13:24 +02:00
Fabian Reinartz 22b4d74f7e ci: use go1.6.2 test image 2016-05-04 14:58:57 +02:00
Fabian Reinartz 38be95b0a7 Merge pull request #337 from prometheus/fabxc-prov-boltmem
Bolt intermediate storage
2016-05-03 18:36:41 +02:00
Fabian Reinartz 639a4e9dc4 provider/boltmem: add license headers 2016-05-03 18:36:25 +02:00
Fabian Reinartz 0cd725ef3a provider/boltmem: fix naming, add doc comments 2016-05-03 12:46:34 +02:00
Fabian Reinartz 3980a6904e provider/boltmem: properly compare timestamps
Depending on the environment the timestamp internal fields
are different to handle timezones.
Thus a reflect.DeepEqual comparison falsely evaluates to
false.
This commit manually compares timestamps via the time.Time.Equal
method to circumvent the issue.
2016-05-03 12:46:34 +02:00
Fabian Reinartz d8efdde515 main: Use bolt based storage 2016-05-03 12:46:34 +02: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
Fabian Reinartz 0e954e10cf provider/boltmem: Add Put/Get for BoltDB provider 2016-05-03 12:46:34 +02:00
Fabian Reinartz 667c92dc19 vendor: add godebug/pretty 2016-05-03 12:39:22 +02:00
Fabian Reinartz 11e90bbd88 vendor: add BoltDB 2016-05-03 12:39:22 +02:00
Fabian Reinartz a66ea61041 provider/boltmem: Implement Silences.Mutes()
This commits implements the Mutes() method for the boltmem silence
provider.
2016-05-03 12:39:22 +02:00
Fabian Reinartz f0cbdbec51 provider/boltmem: Implement Silences.All()
This commits adds the All() method to the Silence provider.
2016-05-03 12:39:21 +02:00
Fabian Reinartz f833fe5073 provider/boltmem: Implement silence deletion 2016-05-03 12:39:21 +02:00
Fabian Reinartz 9e4dfb32ca provider/boltmem: Implement set/del silences.
This commit implements creation and setting of silences.
They are stored as JSON objects in BoltDB and addressed by a unique
ID assigned on initial creation.
2016-05-03 12:39:21 +02:00
Fabian Reinartz 0019d4f858 provider/boltmem: Implement Notify, add dummies
This commit creates dummy implementations of the provider interfaces
for the boltmem provider.
It implements the NotifyInfo provider in BoltDB.
2016-05-03 12:39:21 +02:00
Fabian Reinartz ff182863b3 *: bump default Go version to 1.6.2 2016-05-03 12:39:21 +02:00
Fabian Reinartz e18c912307 Merge branch 'master' of github.com:prometheus/alertmanager 2016-05-02 14:51:48 +02:00
Fabian Reinartz 83724b6e69 ci: fix inconsistent indentation 2016-05-02 14:51:26 +02:00
Fabian Reinartz 514595c198 Merge pull request #338 from prometheus/fabxc-goversion
*: bump default Go version to 1.6.2
2016-05-02 14:49:02 +02:00
Fabian Reinartz 2fed70f749 *: bump default Go version to 1.6.2 2016-05-02 12:15:05 +02:00
Fabian Reinartz 6493dd5cfd Merge pull request #319 from mpchadwick/filter-silenced
Add a filter to hide silenced alerts
2016-04-28 08:25:29 +01:00
Max Chadwick c3198633d7 Filter silenced alerts 2016-04-27 22:53:44 -04:00
Fabian Reinartz 4ed3b79640 Merge pull request #326 from teemow/master
Add resolved alerts to pushover template
2016-04-27 12:03:33 +01:00
Timo Derstappen 68232da066 Add resolved alerts to pushover template
The pushover notification of resolved alerts can end up in an empty
message (only a newline). I've fixed the check for an empty message with
trimming the whitespace. But I also thought that adding the resolved
alerts to the message would be helpful.
2016-04-27 10:55:06 +02:00
Fabian Reinartz 318db91b8b Merge pull request #320 from prometheus/fabxc-quay
ci: push images to Quay
2016-04-24 13:35:47 +02:00
Fabian Reinartz c3eb8a8e49 ci: push images to Quay 2016-04-24 13:20:39 +02:00
Fabian Reinartz ac294e6449 Merge pull request #223 from sdurrheimer/master
New release process using docker, circleci and a centralized building tool
2016-04-24 10:03:17 +02:00
Fabian Reinartz 3c85d535cc Merge pull request #297 from prometheus/goversion-buildinfo
Include goversion in build_info metric
2016-04-23 15:18:17 +02:00
Steve Durrheimer 9d4dccae7c
New release process using docker, circleci and a centralized
building tool
2016-04-22 21:46:53 +02:00