Commit Graph

134 Commits (1da185244e64b3c68b63f9e3cb412d9a87aa7233)

Author SHA1 Message Date
Bryan Boreham 5710ddf24f
[ENHANCEMENT] Alerts: remove metrics for removed Alertmanagers (#13909)
2 months ago
Nathan Baulch 50cd453c8f
chore: Fix typos (#14868)
3 months ago
Julien 481d718539
Merge pull request #14661 from prymitive/TestHangingNotifier
3 months ago
Arve Knudsen 250aa5031d Remove empty line
3 months ago
Arve Knudsen 3a78e76282 Upgrade golangci-lint to v1.60.1
4 months ago
Lukasz Mierzwa 7694c89497 Increase TestHangingNotifier timeout
4 months ago
Charles Korn 2dd07fbb1b
notifier: optionally drain queued notifications before shutting down (#14290)
5 months ago
Arve Knudsen d902116b41 Fix various linting errors
5 months ago
machine424 70beda092a fix(notifier): take alertmanagerSet.mtx before checking alertmanagerSet.ams in sendAll
6 months ago
machine424 690de487e2 chore(notifier): Split 'Run()' into two goroutines: one to receive target updates and trigger reloads and the other one to send notifications.
6 months ago
machine424 94d28cd6cf chore(notifier): add a reproducer for https://github.com/prometheus/prometheus/issues/13676
6 months ago
Oleksandr Redko f10c3454e9 Enable perfsprint linter and fix up code
7 months ago
Bryan Boreham e1dd8e72df
Merge branch 'main' into merge-2.51.2-into-main
8 months ago
Matthieu MOREL d496687c8e golangci-lint: enable usestdlibvars linter
8 months ago
Simon Pasquier 8bd6ae1b20 Notifier: fix deadlock when zero alerts
8 months ago
Bryan Boreham 8c4e4b72a8 Notifier: pass parameters to goroutine explicitly
9 months ago
Bryan Boreham 57c799132b Notifier: don't reuse payload after relabeling
9 months ago
darshanime 61ce18950f Fix pipeline golangci-lint error
9 months ago
Julien 88622cfa2c
Merge pull request #12551 from nabokihms/alertmanager-relabeling-config
9 months ago
Matthieu MOREL 9c4782f1cc
golangci-lint: enable testifylint linter (#13254)
1 year ago
TJ Hoplock 26b78da281 ci: use go1.21.0 fmt to make ci happy
1 year ago
TJ Hoplock 51d1d2cd96 feat: add AWS sigv4 support to alertmanager endpoints
1 year ago
m.nabokikh 9d8463339d Fixes according to the code review
1 year ago
m.nabokikh 39d008f94f Route different alerts to different alertmanagers
1 year ago
Bryan Boreham 3711339a7d Alerts: more efficient relabel on Send
2 years ago
Bryan Boreham c3f267d862 Alerts: more efficient generation of target labels
2 years ago
Bryan Boreham b987afa7ef labels: simplify call to get Labels from Builder
2 years ago
Bryan Boreham b3ca791bfd Update package notifier for new labels.Labels type
2 years ago
Bryan Boreham 9619d3fd3b notifier: remove unused code
2 years ago
Bryan Boreham ac02cfcb79 notifier: in tests use labels.FromStrings
2 years ago
Cosrider bef6556ca5
delete redundant alias (#11180)
2 years ago
Bryan Boreham 8b863c42dd
Optimise relabeling by re-using memory (#11147)
2 years ago
Julien Pivotto 2479fb42f0
Improve notifier queue test to reduce flakiness (#10984)
2 years ago
Julien Pivotto 02f3297719
Split notifier select in 2 to ensure newer targets are used. (#10948)
2 years ago
Matthieu MOREL 80fbe1de96
refactor (package model): move from github.com/pkg/errors to 'errors' and 'fmt' packages (#10748)
2 years ago
Matthieu MOREL e2ede285a2
refactor: move from io/ioutil to io and os packages (#10528)
3 years ago
beorn7 c954cd9d1d Move packages out of deprecated pkg directory
3 years ago
Mateusz Gozdek 1a6c2283a3 Format Go source files using 'gofumpt -w -s -extra'
3 years ago
DrAuYueng 69e309d202
Expose TargetsFromGroup/AlertmanagerFromGroup func and reuse this for (#9343)
3 years ago
Julien Pivotto 63b3e4e5ec
Enable HTTP2 again (#9398)
3 years ago
Paweł Szulik f5563bfe95
tests: Move from t.Errorf and others. (Part 2) (#9309)
3 years ago
Julius Volz 179b2155d1
Fix: Use json.Unmarshal() instead of json.Decoder (#9033)
3 years ago
Levi Harrison b5f6f8fb36 Switched to go-kit/log
4 years ago
Marco Pracucci 4da5c25ea4
Upgrade prometheus/common to v0.21.0
4 years ago
Julien Pivotto 49016994ac Switch to alertmanager api v2
4 years ago
Julien Pivotto 6c56a1faaa
Testify: move to require (#8122)
4 years ago
Julien Pivotto 1282d1b39c
Refactor test assertions (#8110)
4 years ago
Julien Pivotto 4e5b1722b3
Move away from testutil, refactor imports (#8087)
4 years ago
Andy Bursavich 4e6a94a27d
Invert service discovery dependencies (#7701)
4 years ago
Javier Palomo Almena b58a613443
Replace sync/atomic with uber-go/atomic (#7683)
4 years ago