Skip to content

Slab

By enabling this toolset, HolmesGPT will be able to consult runbooks from Slab pages.

Retrieve your Slab API token prior to configuring this toolset. Do note that Slab API is only available for Slab premium users. See here.

Configuration

First, set the environment variable:

export SLAB_API_KEY="<your Slab API key>"

Then add the following to ~/.holmes/config.yaml. Create the file if it doesn't exist:

toolsets:
    slab:
        enabled: true

After making changes to your configuration, run:

holmes toolset refresh

holmes:
    additionalEnvVars:
        - name: SLAB_API_KEY
          value: "<your Slab API key>"
    toolsets:
        slab:
            enabled: true

Update your Helm values and run a Helm upgrade:

helm upgrade robusta robusta/robusta --values=generated_values.yaml --set clusterName=<YOUR_CLUSTER_NAME>

To test, run:

holmes ask "Why is my pod failing, if it's a crashloopbackoff use the runbooks from Slab"

Capabilities

The table below describes the specific capabilities provided by this toolset. HolmesGPT can decide to invoke any of these capabilities when answering questions or investigating issues.

Tool Name Description
fetch_slab_document Fetch a document from Slab. Use this to fetch runbooks if they are present before starting your investigation.