Welcome to Robusta

Robusta is the Swiss Army Knife of Kubernetes troubleshooting and automation. You can use Robusta to:

  1. Manually troubleshoot errors (debug pods, run profilers, etc)

  2. Add missing context to alerts (logs, etc)

  3. Remediate alerts by clicking a single button in Slack

  4. Complement Prometheus with monitoring of discrete events like crashing pods

We recommend you start with Robusta.dev, do a 60-second install, and then read the docs for advanced features.


Most of these can be installed pre-configured, but we show the configuration anyway to illustrate concepts.

When a pod crashes, fetch the logs and send a message to Slack.

  - on_prometheus_alert:
      alert_name: KubePodCrashLooping
  - logs_enricher: {}
  - slack

See Restart loop reporter for more details

Show application updates in Grafana

  - on_deployment_update: {}
  - add_deployment_lines_to_grafana:
      grafana_url: <grafana_url>
      grafana_api_key: <grafana_api_key>
      grafana_dashboard_uid: <which_grafana_dashboard_to_update>

See Add deployment lines to grafana for more details

Increase the number of replicas from Slack.

- on_horizontalpodautoscaler_update: {}
- alert_on_hpa_reached_limit: {}

Attach a Python debugger to a running pod:

robusta playbooks trigger python_debugger name=podname namespace=default

See Python debugger for more details

How it works

Robusta automates everything that happens after you deploy your application.

It is somewhat like Zapier/IFTTT for devops, with an emphasis on 50+ prebuilt automations and not just "build your own".

You configure automations in a three-part yaml:


When to run (on alerts, logs, changes, etc)


What to do (over 50 builtin actions)


Where to send the result (Slack, etc)

Automations run via webhook so if they fail it wont bring down your environment.

Robusta is configured in YAML and extended in Python.

What's in the Box

Robusta has several components:

A Python framework for writing better webhooks and automations

Robusta handles the plumbing so you can focus on the logic.

50+ prebuilt webhooks and automations for common actions

No need to write code. Just enable these with YAML.

An opinionated Prometheus configuration (optional)

Don't configure anything. It just works. Better alerts + insights.

A better frontend for AlertManager (optional)

We put your existing alerts on a timeline and let you slice and dice them. You gain visibility into Kubernetes changes that occurred before an alert fired. And more.

Writing your own automations

Many automations are included, but you can also write your own in Python.

View example action (Python)
# this runs on Prometheus alerts you specify in the YAML
def my_enricher(event: PrometheusKubernetesAlert):
    # we have full access to the pod on which the alert fired
    pod = event.get_pod()
    pod_name = pod.metadata.name
    pod_logs = pod.get_logs()
    pod_processes = pod.exec("ps aux")

    # this is how you send data to slack or other destinations
        MarkdownBlock("*Oh no!* An alert occurred on " + pod_name)
        FileBlock("crashing-pod.log", pod_logs)


How is this different from webhooks

This is powered by webhooks! The advantage is configuring prebuilt webhooks using YAML instead of writing them from scratch as code.

We also let you re-use the same webhook action with multiple triggers: e.g. AlertManager, the APIServer, and more.

Lastly, if you do want to write a webhook action from scratch, we make it easier with our Python API.


Robusta can be used as

A complete Kubernetes monitoring stack

Robusta will install a bundled Prometheus stack. Includes:

  • Robusta automations engine + builtin automations

  • Prometheus Operator, AlertManager, and Grafana

  • Out of the box alerts fine-tuned for Kubernetes

An automations engine for your existing stack

Robusta will integrate with external tools like your existing Prometheus, Datadog, or Elasticsearch. Includes:

  • Robusta automations engine + builtin automations

Next Steps

Ready to install Robusta? Get started!

Want a better frontend for AlertManager? Try the Robusta UI. It shows alerts, changes to your cluster, and data from Robusta. See everything on a single timeline and slice/dice by cluster, microservice, and alert type.

Star us on Github to receive updates.