- Added dedicated API endpoint for silence previews.
- Use uber-go/automaxprocs
to automatically adjust
GOMAXPROCS
to match Linux container CPU quota. Runtime value ofGOMAXPROCS
is now exported as ago_max_procs
metric. - API will now return only first 40 alert groups by default, the rest can
be loaded when user clicks on the
Load more
button.grid:groupLimit
config option was added to customise how many groups are returned and displayed in the UI by default.
- Automatic grid label selection logic was tweaked to avoid splitting alert groups.
- Added support for alertmanager
v0.22.0
negative matchers when creating/editing silences and in ACL rules. - Silence ACL rules no longer default
isRegex
to befalse
for filters and matchers, see ACL rules for updated docs.
- Updated bootstrap to v5
- History queries were always failing due to wrong Prometheus API usage.
- URI handling for silence requests when proxy is used #3060.
- Ability to rewrite source URIs for alert history via
history:rewrite
config section #3064.
- Added
grid:auto
config section for fine tuning automatic label selection for multi-grid, when multi-grid is configured toAutomatic selection
in the UI or whenui:multiGridLabel
config section is set to@auto
. - Added alert history estimation, see README.md and docs/CONFIGURATION.md for details.
- karma will no longer fail to start if config file contains multiple alertmanager instances with different name but identical URI #3024.
- Minor UI tweaks.
- Added a new option on the list of labels used for multi-grid.
When set in the UI to
Automatic selection
selection or@auto
inui:multiGridLabel
config option karma will try to select the best grid label based on current alerts.
- Header values are now sanitised before logging when
log:config
is enabled #2930. - Fixed a deadlock issue that could cause karma to hang #2944 (@jonaz).
listen:timeout:read
andlisten:timeout:write
config options for setting HTTP server request read and response write timeouts.annotations:enableInsecureHTML
config option #2886.
- Fixed a deadlock issue that could cause karma to hang #2888.
annotations:actions
option allowing to move some annotations to alert dropdown menu #2596.proxy_url
alertmanager option to use when a proxy sever needs to be used for requests from karma to alertmanager API #2903 (@mhrabovcin).
- Multi-grid label dropdown will only show label names from visible alerts.
- Add
/robots.txt
to block search engine crawlers. - Easily change multi-grid source label via quick access dropdown on the grid header.
- Reworked how notifications are displayed.
- Not all labels were stripped when using
lables:keep
orlabels:strip
option #2585.
healthcheck:visible
alertmanager option to control if healtcheck alerts should be visible in the UI #2614.
- Don't reset regex toggle when adding new silence labels #2520
-
Added support for DeadMansSwitch alerts via
healtcheck:alerts
option on alertmanager upstream configuration #2512. Example:-
Setup always on alert in each Prometheus server (prom1 and prom2):
- alert: DeadMansSwitch expr: vector(1)
-
Add healtcheck configuration to karma:
alertmanager: servers: - name: am uri: https://alertmanager.example.com healthcheck: filters: prom1: - alertname=DeadMansSwitch - instance=prom1 prom2: - alertname=DeadMansSwitch - instance=prom2
If any of these alerts is missing from alertmanager karma will show a warning in the UI.
-
- Docker images reported version as
dev
#2479.
- Alert groups will be rendered with fewer details when idle.
- Fixed release builds using Github Actions
- Fixed auth bypass for
/health
and/metrics
endpoints. Those endpoints should be always excluded from authentication but that was broken inv0.73
#2465.
listen:tls:cert
andlisten:tls:key
config options for listening on HTTPS port
- ghcr.io/prymitive/karma is now used as the primary repository for docker images instead of Docker Hub
alertAcknowledgement:commentPrefix
config option was replaced byalertAcknowledgement:comment
that can be used to customise the entire comment.