Mattermost Pagerduty Bot charm for k8s

Hello,

I’ve been working on a kubernetes charm of a bot, dedicated to our alerting.

The principle is simple : the bot receives PagerDuty alerts and displays information on a dedicated MatterMost channel.

In return, the people in this channel can use various commands to interact with the bot and trigger actions on those alerts, like acknowledge, resolve, etc …

This bot leverages https://github.com/attzonko/mmpy_bot with some customization that prevents open-sourcing of the application code for now.

The charm is available on the charmstone https://jaas.ai/u/mm-pd-bot-charmers/mm-pd-bot and the code is available at Git : Code : charm-k8s-mm-pd-bot.

Any feedback on the charm itself and its code would be appreciated and any bug can be reported at Bugs : charm-k8s-mm-pd-bot.

The bot has been running in production since September 16th and processes all the alerts received by the IS team at Canonical and has already processed over 1500 alerts.

I would like to work toward releasing the code of the application itself to the public in the future and do a better integration with the k8s secrets within the charm.

Thanks to John Lenton and John Meinel for their feedback and help during the development of this charm.

2 Likes