Commit Graph

1752 Commits

Author SHA1 Message Date
Łukasz Mierzwa
3a905b748e feat(api): consume Alertmanager cluster id in the UI 2018-12-01 09:57:59 +00:00
Łukasz Mierzwa
0d68ea4c3c feat(api): store silences per cluster in the API response 2018-12-01 09:53:47 +00:00
Łukasz Mierzwa
d668a64ffb chore(ci): drop gocyclo
Code needs refactoring but right now it would make it worse
2018-12-01 00:13:43 +00:00
Łukasz Mierzwa
93617b3b18 fix(api): ensure that cluster members are always sorted 2018-11-30 23:59:58 +00:00
Łukasz Mierzwa
ffa446e8f6 chore(ui): update UI to consume cluster list as a dict 2018-11-30 23:59:58 +00:00
Łukasz Mierzwa
8b5862d44b chore(api): store cluster as a dict
This will allow silences to be grouped by cluster rather than by alertmanager instance
2018-11-30 23:59:58 +00:00
Łukasz Mierzwa
d2d1bce747 Merge pull request #278 from prymitive/ha
fix(ui): don't show @alertmanager labels on HA setup
2018-11-30 20:14:06 +00:00
Łukasz Mierzwa
4babccbf0e fix(tests): add clusters to tests 2018-11-30 19:41:13 +00:00
Łukasz Mierzwa
0ec81e8427 fix(ui): don't show @alertmanager labels on HA setup
Only show @alertmanager labels when we have more than one cluster present
2018-11-30 19:27:12 +00:00
Łukasz Mierzwa
764f89e1d8 feat(api): expose all known Alertmanager clusters 2018-11-30 18:57:52 +00:00
Łukasz Mierzwa
fd2e852050 feat(ui): consumer Alertmanager version and cluster members 2018-11-30 18:35:34 +00:00
Łukasz Mierzwa
76dd51bb92 feat(api): expose Alertmanager instance version and cluster members
Store and expose via API the version of each Alertmanager instance and the list of instances in the same cluster
2018-11-30 18:35:34 +00:00
Łukasz Mierzwa
6c40d7aa66 chore(git): git ignore TODO.md 2018-11-30 18:35:34 +00:00
Łukasz Mierzwa
6b6eaad7d2 chore(demo): run 2 instances of alertmanager (HA mode) in demo mode 2018-11-30 18:35:34 +00:00
Łukasz Mierzwa
0a77bbae1b feat(demo): add a run-demo make target
This allows to run demo locally with a single command
2018-11-30 18:35:33 +00:00
Łukasz Mierzwa
8e39e4342c fix(docker): remove old dir from dockerignore file 2018-11-30 18:35:33 +00:00
Łukasz Mierzwa
b699dc5049 Merge pull request #277 from prymitive/dependabot/dep/gopkg.in/yaml.v2-2.2.2
build(deps): bump gopkg.in/yaml.v2 from 2.2.1 to 2.2.2
2018-11-30 12:30:10 +00:00
dependabot[bot]
338b0f9518 build(deps): bump gopkg.in/yaml.v2 from 2.2.1 to 2.2.2
Bumps [gopkg.in/yaml.v2](https://github.com/go-yaml/yaml) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/go-yaml/yaml/releases)
- [Commits](https://github.com/go-yaml/yaml/compare/v2.2.1...v2.2.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-30 11:55:45 +00:00
Łukasz Mierzwa
c19c161db1 Merge pull request #276 from prymitive/dependabot/dep/github.com/getsentry/raven-go-0.2.0
build(deps): bump github.com/getsentry/raven-go from 0.1.1 to 0.2.0
2018-11-30 11:51:07 +00:00
dependabot[bot]
640d368ec2 build(deps): bump github.com/getsentry/raven-go from 0.1.1 to 0.2.0
Bumps [github.com/getsentry/raven-go](https://github.com/getsentry/raven-go) from 0.1.1 to 0.2.0.
- [Release notes](https://github.com/getsentry/raven-go/releases)
- [Commits](https://github.com/getsentry/raven-go/compare/v0.1.1...v0.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-30 11:17:13 +00:00
Łukasz Mierzwa
c185197ac2 Merge pull request #274 from prymitive/dependabot/npm_and_yarn/ui/@sentry/browser-4.4.1
build(deps): bump @sentry/browser from 4.4.0 to 4.4.1 in /ui
v0.17
2018-11-29 19:47:37 +00:00
dependabot[bot]
e9cdbeb70c build(deps): bump @sentry/browser from 4.4.0 to 4.4.1 in /ui
Bumps [@sentry/browser](https://github.com/getsentry/raven-js) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/getsentry/raven-js/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/raven-js/compare/4.4.0...4.4.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-29 19:06:17 +00:00
Łukasz Mierzwa
6579c0b7b3 Merge pull request #273 from prymitive/dependabot/npm_and_yarn/ui/jest-fetch-mock-2.0.1
build(deps-dev): bump jest-fetch-mock from 2.0.0 to 2.0.1 in /ui
2018-11-29 18:59:15 +00:00
dependabot[bot]
f15d1fd58e build(deps-dev): bump jest-fetch-mock from 2.0.0 to 2.0.1 in /ui
Bumps [jest-fetch-mock](https://github.com/jefflau/jest-fetch-mock) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/jefflau/jest-fetch-mock/releases)
- [Commits](https://github.com/jefflau/jest-fetch-mock/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-29 17:32:19 +00:00
Łukasz Mierzwa
39ebd4568c Merge pull request #272 from prymitive/dependabot/dep/github.com/getsentry/raven-go-0.1.1
build(deps): bump github.com/getsentry/raven-go from 0.1.0 to 0.1.1
2018-11-29 11:54:26 +00:00
dependabot[bot]
f82e9da345 build(deps): bump github.com/getsentry/raven-go from 0.1.0 to 0.1.1
Bumps [github.com/getsentry/raven-go](https://github.com/getsentry/raven-go) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/getsentry/raven-go/releases)
- [Commits](https://github.com/getsentry/raven-go/compare/v0.1.0...v0.1.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-29 11:16:42 +00:00
Łukasz Mierzwa
3f9f6293e7 Merge pull request #269 from prymitive/nodejs-10.14.0
build(deps): update nodejs to 10.14.0
2018-11-28 19:41:02 +00:00
Łukasz Mierzwa
854d05b379 build(deps): update nodejs to 10.14.0 2018-11-28 19:09:30 +00:00
Łukasz Mierzwa
79a3d8e446 Merge pull request #268 from prymitive/dependabot/npm_and_yarn/ui/@sentry/browser-4.4.0
build(deps): bump @sentry/browser from 4.3.4 to 4.4.0 in /ui
2018-11-27 23:46:15 +00:00
dependabot[bot]
27a76b34e9 build(deps): bump @sentry/browser from 4.3.4 to 4.4.0 in /ui
Bumps [@sentry/browser](https://github.com/getsentry/raven-js) from 4.3.4 to 4.4.0.
- [Release notes](https://github.com/getsentry/raven-js/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](https://github.com/getsentry/raven-js/compare/4.3.4...4.4.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-27 15:47:04 +00:00
Łukasz Mierzwa
6a23022291 Merge pull request #267 from prymitive/dependabot/npm_and_yarn/ui/jest-fetch-mock-2.0.0
build(deps-dev): bump jest-fetch-mock from 1.7.5 to 2.0.0 in /ui
2018-11-26 23:38:34 +00:00
dependabot[bot]
895583a0b2 build(deps-dev): bump jest-fetch-mock from 1.7.5 to 2.0.0 in /ui
Bumps [jest-fetch-mock](https://github.com/jefflau/jest-fetch-mock) from 1.7.5 to 2.0.0.
- [Release notes](https://github.com/jefflau/jest-fetch-mock/releases)
- [Commits](https://github.com/jefflau/jest-fetch-mock/commits/2.0.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-26 23:04:27 +00:00
Łukasz Mierzwa
1742d00ac7 Merge pull request #266 from prymitive/dependabot/npm_and_yarn/ui/qs-6.6.0
build(deps): bump qs from 6.5.2 to 6.6.0 in /ui
2018-11-25 09:38:02 +00:00
dependabot[bot]
53999a9ce1 build(deps): bump qs from 6.5.2 to 6.6.0 in /ui
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.6.0.
- [Release notes](https://github.com/ljharb/qs/releases)
- [Changelog](https://github.com/ljharb/qs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ljharb/qs/compare/v6.5.2...v6.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-25 06:52:00 +00:00
Łukasz Mierzwa
e2913bdf0f Merge pull request #265 from prymitive/dependabot/npm_and_yarn/ui/body-scroll-lock-2.6.1
build(deps): bump body-scroll-lock from 2.6.0 to 2.6.1 in /ui
2018-11-24 07:51:44 +00:00
dependabot[bot]
07e3aba773 build(deps): bump body-scroll-lock from 2.6.0 to 2.6.1 in /ui
Bumps [body-scroll-lock](https://github.com/willmcpo/body-scroll-lock) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/willmcpo/body-scroll-lock/releases)
- [Commits](https://github.com/willmcpo/body-scroll-lock/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-24 04:17:59 +00:00
Łukasz Mierzwa
2db4b20de8 Merge pull request #264 from prymitive/demo-pr
chore(demo): build demo only for internal PRs
2018-11-23 23:59:18 +00:00
Łukasz Mierzwa
5d333fed1a chore(demo): build demo only for internal PRs 2018-11-23 23:28:19 +00:00
Łukasz Mierzwa
20dae37662 Merge pull request #262 from prymitive/fix-config-fallback
fix(config): default to 'karma.yaml' config file
2018-11-22 23:43:29 +00:00
Łukasz Mierzwa
13dfae617c fix(config): default to 'karma.yaml' config file
If config.file is not set try loading 'karma.yaml' from current directory. This is the documented behaviour and it used to work before, got broken when config.file was modified to accept a full path instead of just the file name

Fixes #261
2018-11-22 22:46:26 +00:00
Łukasz Mierzwa
ed25cdbde6 Merge pull request #260 from prymitive/dependabot/npm_and_yarn/ui/react-resize-detector-3.2.1
build(deps): bump react-resize-detector from 3.2.0 to 3.2.1 in /ui
2018-11-22 13:52:24 +00:00
dependabot[bot]
b32072c8de build(deps): bump react-resize-detector from 3.2.0 to 3.2.1 in /ui
Bumps [react-resize-detector](https://github.com/maslianok/react-resize-detector) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/maslianok/react-resize-detector/releases)
- [Commits](https://github.com/maslianok/react-resize-detector/compare/v3.2.0...v3.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-22 13:00:26 +00:00
Łukasz Mierzwa
daf6787ba1 Merge pull request #258 from prymitive/dependabot/npm_and_yarn/ui/jest-date-mock-1.0.6
build(deps-dev): bump jest-date-mock from 1.0.5 to 1.0.6 in /ui
2018-11-22 12:04:58 +00:00
dependabot[bot]
2fb3e312bd build(deps-dev): bump jest-date-mock from 1.0.5 to 1.0.6 in /ui
Bumps [jest-date-mock](https://github.com/hustcc/jest-date-mock) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/hustcc/jest-date-mock/releases)
- [Commits](https://github.com/hustcc/jest-date-mock/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-22 10:44:14 +00:00
Łukasz Mierzwa
7ad93ec607 Merge pull request #259 from prymitive/dependabot/npm_and_yarn/ui/react-select-2.1.2
build(deps): bump react-select from 2.1.1 to 2.1.2 in /ui
2018-11-22 08:35:11 +00:00
dependabot[bot]
e8a4da0538 build(deps): bump react-select from 2.1.1 to 2.1.2 in /ui
Bumps [react-select](https://github.com/JedWatson/react-select) from 2.1.1 to 2.1.2.
- [Release notes](https://github.com/JedWatson/react-select/releases)
- [Changelog](https://github.com/JedWatson/react-select/blob/master/.sweet-changelogs.js)
- [Commits](https://github.com/JedWatson/react-select/compare/v2.1.1...v2.1.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-22 08:01:24 +00:00
Łukasz Mierzwa
24f4c359f3 Merge pull request #257 from prymitive/dependabot/npm_and_yarn/ui/body-scroll-lock-2.6.0
build(deps): bump body-scroll-lock from 2.5.10 to 2.6.0 in /ui
2018-11-21 23:01:27 +00:00
Łukasz Mierzwa
bfb509c0e7 chore(ui): use modal reference instead of class query 2018-11-21 21:54:49 +00:00
dependabot[bot]
5b753a3cd1 build(deps): bump body-scroll-lock from 2.5.10 to 2.6.0 in /ui
Bumps [body-scroll-lock](https://github.com/willmcpo/body-scroll-lock) from 2.5.10 to 2.6.0.
- [Release notes](https://github.com/willmcpo/body-scroll-lock/releases)
- [Commits](https://github.com/willmcpo/body-scroll-lock/compare/v2.5.10...v2.6.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2018-11-21 21:35:29 +00:00
Łukasz Mierzwa
8bf7bac903 Merge pull request #256 from prymitive/dependabot/npm_and_yarn/ui/jest-fetch-mock-1.7.5
build(deps-dev): bump jest-fetch-mock from 1.7.4 to 1.7.5 in /ui
2018-11-21 15:28:42 +00:00