Ask Holmes Button Not Working in Mattermost
I’ve noticed that the "Ask Holmes" button currently seems to be supported only in Slack, but it doesn't appear to work in Mattermost. One of the most exciting features of Robusta for me is the ability to click the "Ask Holmes" button in Slack and receive AI-driven analysis directly in the interface. However, this button does not show up in Mattermost.
Could you please clarify if the "Ask Holmes" button is only supported in Slack? If so, is there a plan to support Mattermost in the future, or is there a configuration issue preventing it from appearing?
Here are some screenshots and helm configurations:
Mattermost:
Slack:
sinksConfig:
- mattermost_sink:
name: personal_mattermost_sink
url: https://mattermost.xxx.xxx
token: xxxxxxx
token_id: xxxxxx
channel: robusta
- slack_sink:
name: main_slack_sink
slack_channel: robusta_no_ui
api_key: xxxxxx
Robusta Application version: 0.20.0 Mattermost Version: 10.2.0
Thank you for your help!
Hi 👋, thanks for opening an issue! Please note, it may take some time for us to respond, but we'll get back to you as soon as we can!
Hi, @yudeye
Can I ask how to successfully use the "Ask Holmes" button in Slack? The "Ask Holmes" button appears, but clicking on it doesn't respond.
sinksConfig:
- slack_sink:
name: main_slack_sink
slack_channel: robusta-notifications
api_key: xxxx
enableHolmesGPT: true
holmes:
additionalEnvVars:
- name: MODEL
value: gpt-4o
- name: OPENAI_API_KEY
valueFrom:
secretKeyRef:
name: holmes-secrets
key: openAiKey
hi @cooper-car
After clicking the Ask Holmes button, do you see any error on the logs of the robusta-runner or robusta-holmes pods?
If so, can you share it?
Hey @yudeye
The Ask Holmes functionality, is based on Callbacks, which is currently supported only on Slack.
hi @cooper-car
After clicking the
Ask Holmesbutton, do you see any error on the logs of therobusta-runnerorrobusta-holmespods? If so, can you share it?
- no error in
robusta-holmespod -
robusta-runnerhas logs, see below
2025-01-05 14:26:27.029 INFO could not fetch logs from container: crashpod
2025-01-05 14:26:27.031 WARNING cannot convert block of type <class 'robusta.core.reporting.blocks.EmptyFileBlock'> to slack format block: hidden=False html_class=None metadata={'is_empty': True, 'remarks': 'Logs unavailable for container: crashpod'} filename='crashpod-6cd99d8d89-ttggt.log'
thanks @cooper-car
this doesn't look like Holmes related errors. Can you join our slack channel? (https://bit.ly/robusta-slack) I think it'll be easier to help you troubleshoot the issue
Hi, @yudeye
Can I ask how to successfully use the "Ask Holmes" button in Slack? The "Ask Holmes" button appears, but clicking on it doesn't respond.
sinksConfig: - slack_sink: name: main_slack_sink slack_channel: robusta-notifications api_key: xxxx enableHolmesGPT: true holmes: additionalEnvVars: - name: MODEL value: gpt-4o - name: OPENAI_API_KEY valueFrom: secretKeyRef: name: holmes-secrets key: openAiKey
I have the same issue with the "Ask Holmes" button. It doesn't respond when clicked, and I haven't seen any related logs.
