[ANN] karma - an alert dashboard for Alertmanager (unsee fork)

1,113 views
Skip to first unread message

l.mi...@gmail.com

unread,
Sep 10, 2018, 9:12:27 AM9/10/18
to Prometheus Users
Hi group,

some time ago while working for Cloudflare I wrote https://github.com/cloudflare/unsee as I was missing a dashboard I could put on a wall that would show me currently firing alerts. Earlier this year I left the company, which left unsee unmaintained (last commit is pretty much me removing myself from CODEOWNERS file - https://github.com/cloudflare/unsee/commits/master) but I still need a dashboard for my alerts. That plus a few months off and the fact that I wanted to learn React caused me to fork unsee into what is now called karma. Name change was mostly to avoid confusion (https://github.com/prymitive/unsee/issues/23) but it feels justified given that karma is ~50% code written from scratch (new UI + some backend API changes).
There are docker images at https://hub.docker.com/r/lmierzwa/karma/
And a demo (with mock alerts) at http://karma-demo.herokuapp.com

I've cut a 0.10-rc2 release yesterday and unless people start reporting lots of issues I'll cut a final release soon.
Note that React comes with a lot new shiny but there's also a cost - memory usage will be higher due to the need to keep state on the client side. It should only matter if you have thousands of alerts.

Is there a page on Prometheus docs that I could drop a link on? I'm only aware of a page that tracks exporters and intergrations for Prometheus (https://prometheus.io/docs/instrumenting/exporters/) not sure if that's the correct place to put tools integrating with Alertmanager API.

Ben Kochie

unread,
Sep 12, 2018, 12:19:38 PM9/12/18
to Łukasz Mierzwa, Prometheus Users
That's pretty neat.


--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/fa0b4e5d-fac0-455f-8021-09cff7e6bb54%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Brian Brazil

unread,
Sep 12, 2018, 12:24:20 PM9/12/18
to Ben Kochie, Łukasz Mierzwa, Prometheus Users
On 12 September 2018 at 17:19, Ben Kochie <sup...@gmail.com> wrote:
That's pretty neat.



https://prometheus.io/docs/operating/integrations/ is where we would list that sort of thing. The per-project docs have the disadvantage that they're tied to specific versions.

Brian

On Mon, Sep 10, 2018 at 3:12 PM <l.mi...@gmail.com> wrote:
Hi group,

some time ago while working for Cloudflare I wrote https://github.com/cloudflare/unsee as I was missing a dashboard I could put on a wall that would show me currently firing alerts. Earlier this year I left the company, which left unsee unmaintained (last commit is pretty much me removing myself from CODEOWNERS file - https://github.com/cloudflare/unsee/commits/master) but I still need a dashboard for my alerts. That plus a few months off and the fact that I wanted to learn React caused me to fork unsee into what is now called karma. Name change was mostly to avoid confusion (https://github.com/prymitive/unsee/issues/23) but it feels justified given that karma is ~50% code written from scratch (new UI + some backend API changes).
There are docker images at https://hub.docker.com/r/lmierzwa/karma/
And a demo (with mock alerts) at http://karma-demo.herokuapp.com

I've cut a 0.10-rc2 release yesterday and unless people start reporting lots of issues I'll cut a final release soon.
Note that React comes with a lot new shiny but there's also a cost - memory usage will be higher due to the need to keep state on the client side. It should only matter if you have thousands of alerts.

Is there a page on Prometheus docs that I could drop a link on? I'm only aware of a page that tracks exporters and intergrations for Prometheus (https://prometheus.io/docs/instrumenting/exporters/) not sure if that's the correct place to put tools integrating with Alertmanager API.

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CABbyFmo-DBe4Ad11kx%3DU%3DQyRdFsX43dYNZn7qj1ApdD%2BYEMucw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.



--

Pete Leese

unread,
Sep 13, 2018, 10:51:15 AM9/13/18
to Prometheus Users
Nice dashboard but for some reason it says I have 208 active alerts which I know is not the case :) My Grafana dashboard only indicates 33 firing alerts :)

Having looked at the help, I could not see anywhere to set a default filter that filters out all the alerts I do not care about - any help would be great :)

INFO[0060] [default] Collecting alerts and silences
INFO[0060] GET http://xxxxx/api/v1/status timeout=40s
INFO[0060] [default] Remote Alertmanager version: 0.15.1
INFO[0060] GET http://xxxxapi/v1/silences timeout=40s
INFO[0060] [default] Got 54 silences(s) in 13.175593ms
INFO[0060] [default] Detecting JIRA links in silences (54)
INFO[0060] GET http://xxxx/api/v1/alerts/groups timeout=40s
INFO[0060] [default] Got 119 alert group(s) in 199.242163ms
INFO[0060] [default] Deduplicating alert groups (119)
INFO[0060] [default] Processing unique alert groups (65)
INFO[0060] [default] Merging autocomplete data (570)
INFO[0060] Pull completed

Pete Leese

unread,
Sep 13, 2018, 10:59:58 AM9/13/18
to Prometheus Users
ignore me :)

David Karlsen

unread,
Oct 4, 2018, 12:09:36 PM10/4/18
to Łukasz Mierzwa, Prometheus Users
I've added a helm-chart for it for Kubernetes for easy deployment: https://github.com/helm/charts/pull/8143
"docker run -e ALERTMANAGER_URI=https://alertmanager.example.com prymitive/karma:vX.Y.Z"

while the repo is lmierzwa

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.


--

Łukasz Mierzwa

unread,
Oct 4, 2018, 12:20:26 PM10/4/18
to da...@davidkarlsen.com, promethe...@googlegroups.com
Awesome, thanks! 
--
Łukasz Mierzwa
Reply all
Reply to author
Forward
0 new messages