Kubernetes and Prometheus ChatGPT Bot logo

Kubernetes and Prometheus ChatGPT Bot

Free

A ChatGPT bot for Kubernetes issues - automatically solve Prometheus alerts in Slack

FreeFree tier
Type
Open Source
Company
robusta-dev

About Kubernetes and Prometheus ChatGPT Bot

The Kubernetes ChatGPT Bot is an open-source tool that integrates with Prometheus and Slack to automatically query OpenAI (GPT-3.5 based model) whenever a Prometheus alert fires. It provides actionable, pithy explanations and potential fixes directly in Slack, helping Kubernetes operators debug alerts faster. The bot is built on Robusta, an open-source platform for Kubernetes alert response, and requires a Slack workspace, Robusta deployment with Helm, and an OpenAI API key.

Key Features

Integrates with Prometheus alerts via webhook
Sends alert context to OpenAI (text-davinci-003/GPT-3.5) for human-readable fix suggestions
Delivers responses directly in Slack with an 'Ask ChatGPT' button
Built on the Robusta platform for alert management
Open-source and free to deploy
Future plans to include pod logs and kubectl events for richer answers

Pros & Cons

Pros
  • Free and open-source
  • Tight integration with Prometheus alert lifecycle
  • Provides human-readable, action-oriented responses from AI
  • Quick setup via Helm and Robusta
Cons
  • Project is deprecated in favor of HolmesGPT
  • Requires an OpenAI API key (usage costs apply)
  • Only works with Prometheus alerts (not generic Kubernetes logs/events)
  • Dependent on Robusta for deployment and alert routing

Best For

Getting instant explanations for Prometheus alerts in KubernetesReducing alert fatigue by automating first-level troubleshootingLearning how to resolve common Kubernetes issues via AI-generated advice

FAQ

How does the Kubernetes ChatGPT bot work?
Prometheus forwards alerts to the bot via a webhook receiver. The bot sends the alert details to OpenAI (GPT-3.5) and returns an explanation or fix suggestion to Slack.
Is the bot free to use?
The bot itself is open-source and free. However, it requires an OpenAI API key, which incurs costs based on usage.
What are the prerequisites?
A Slack workspace, Robusta installed via Helm on your Kubernetes cluster, and an OpenAI API key.
Will this project be maintained?
The project is being deprecated and replaced by HolmesGPT, an advanced open-source DevOps assistant.