Commit Graph

40 Commits

Author SHA1 Message Date
stuart nelson 1e34f29532 Filter alerts (#633)
* Vendor dependencies.

This updates several old dependencies, removes
some that are no longer needed, and adds
`pkg/labels` from prometheus `dev-2.0` branch.

* Add metrics selector parsing code

This is a temporary simplified re-implementation
of promQL's metric selector parsing.

* Add alerts filtering

Filter alerts through `?filter=` query string.

* Add silences filtering

Filter silences through `?filter=` query string.

* Move `parse` to `pkg/parse`
2017-03-16 11:16:10 +01:00
Fabian Reinartz a2666e6b31 vendoring: update 2016-12-01 13:49:28 +01:00
Fabian Reinartz e7252270fe Update vendoring (#564)
* vendor: update prometheus/common packages

* vendor: add missing x/sys dependency

* vendor: sync with remote repos
2016-11-22 15:18:51 +01:00
Fabian Reinartz 481b6fb0bd vendor: remove dangling sqlite3 dependency 2016-09-09 13:40:13 +02:00
Fabian Reinartz b2461bb2d4 *: remove go-kit logging 2016-09-06 11:56:57 +02:00
Fabian Reinartz 50057906d0 vendor: update client lib and common 2016-09-06 11:50:13 +02:00
Fabian Reinartz b40703a584 vendor: add github.com/go-kit/kit/log 2016-08-16 16:33:17 +02:00
Fabian Reinartz 36b2e89f27 vendor: add testify package and dependencies 2016-08-16 11:11:48 +02:00
Fabian Reinartz cbdcf0a983 vendor: add protobuf related dependencies 2016-08-16 11:11:48 +02:00
Fabian Reinartz 5c12950576 vendor: remove unused dependencies 2016-08-11 11:35:46 +02:00
Fabian Reinartz 24ebd7d89d vendor: remove unused dependencies 2016-08-09 12:01:31 +02:00
Fabian Reinartz 951345f686 vendor: update protobuf vendoring 2016-08-09 12:01:31 +02:00
Fabian Reinartz c308b616c1 vendor: add weaveworks/mesh 2016-08-09 11:59:35 +02:00
Fabian Reinartz 2d0444cac1 vendor: add github.com/satori/go.uuid 2016-08-09 11:48:38 +02:00
Steve Durrheimer c740007c37
Make version informations consistent between prometheus components 2016-05-15 12:04:15 +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 feff6f074a Update go-sqlite3 vendoring 2016-03-03 20:07:19 +01:00
Fabian Reinartz 943faa704f Update common/* package vendoring 2016-01-26 11:37:43 +01:00
Fabian Reinartz 7ca744f62a Update common/log vendoring
Fixes #227
2016-01-20 12:47:51 +01:00
Fabian Reinartz f10e5cb703 Vendor new version of common/model 2015-12-09 21:45:07 +01:00
Fabian Reinartz 219fd1a293 Vendor go-sqlite3 library 2015-12-08 12:16:48 +01:00
Fabian Reinartz a50171cf39 Remove old providers and dependencies 2015-12-08 12:16:48 +01:00
Fabian Reinartz b3865015ad Update common/log vendoring 2015-10-26 15:26:04 +01:00
Fabian Reinartz c8e0343660 Vendor backoff library 2015-10-09 09:39:04 +02:00
Fabian Reinartz 41849f9497 Add missing transitive dependencies 2015-10-08 10:58:00 +02:00
Fabian Reinartz 4f67dbc9d2 Add SQL vendoring 2015-10-08 10:51:22 +02:00
Fabian Reinartz fb093ca0f5 Update common/model vendoring 2015-10-06 11:45:47 +02:00
Fabian Reinartz 1ff41b3864 Use alertmanager client package for alert pushing 2015-10-02 12:45:52 +02:00
Fabian Reinartz e0a003337e Fix .gitignore and include alertmanager API package 2015-10-02 12:41:41 +02:00
Fabian Reinartz 38b324eab2 Implement silencing for acceptance tests, use api package 2015-10-01 20:58:46 +02:00
Fabian Reinartz c3b8b85363 Include JSON unmarshaling fix 2015-10-01 18:07:44 +02:00
Fabian Reinartz a31b79cb91 Include common/model with silence type 2015-10-01 17:44:47 +02:00
Fabian Reinartz 0600d6b47b Integrate new model types, separate internal and external types better 2015-10-01 15:46:10 +02:00
Fabian Reinartz 70f1be20da Update vendoring for alert type 2015-10-01 15:22:27 +02:00
Fabian Reinartz 0b4d58fbdb Switch to model.Alert 2015-10-01 14:53:49 +02:00
Fabian Reinartz bb057872a7 Update vendoring 2015-09-30 17:00:25 +02:00
Fabian Reinartz 67f5e89816 Switch to common/log package 2015-09-28 12:12:27 +02:00
Fabian Reinartz 34527f510e Update vendoring, update .gitignore 2015-09-24 18:34:58 +02:00
Fabian Reinartz 803c68306c Add vendoring with https://github.com/kardianos/govendor 2015-08-26 12:13:44 +02:00