Karma¶
Karma is a Graphical User Interface (GUI) for Alertmanager which displays Prometheus alerts in a dashboard to manage them easily.
Karma displays alerts grouped preserving the group_by configuration option in Alertmanager. It allows to filter them on tags and to add or remove silences on alerts.
Note
In this tutorial, please replace the following values:
ZONE_NAME
with the name of the administrative zone (it starts withocb-
).
Karma access¶
In your administration environment, Karma service is located at this address:
https://karma.ZONE_NAME.caascad.com
Login¶
To be able to login into Karma, you first need your Keycloak credentials. For more info regarding Keycloak, please refer to Authentication page.
At first connection, you will be redirected to Keycloak authentication :
And then enter you User / Password:
Once logged in you will be landing on this page:
You are now ready to use Karma.
Description of an alert¶
In Karma, an alert show like this :
Adding a silence¶
There are several ways to add a silence on an alert in Karma. The easier way is
- Click on the drop down menu with the duration of the alert
-
Click on
Silence this alert
-
Select the filters. Add the name of who sets the silence; add a comment about this silence.
Note
If the comment starts with
ACK!
the silence will be automatically be renewed until the alert disappear. This is useful to acknowledge alerts until they disappear. Example :ACK! JIRA-1234
-
Click on
Preview
and control the impact of your silence on existing alerts -
Click on
Submit
: the silence is set. -
If you don't have the
@state=active
filter you can visualize the alert with the author of the silence and the comment :
Managing silences¶
You can manage silences by clicking on the top right strikeout bell button.
You can see the list of silences.
Click on the right arrow:
You can see more information on that silence:
You can click on Edit
to update the silence.
You can click on Delete
to remove the silence. It will show the impacted alerts:
Confirm the deletion :
User configuration of Karma¶
You can configure some parameters of Karma. Click on the top right wheel:
This parameters box will show :
This is where you can change some parameters, including:
- refresh rate
- theme
- sort order
- ...