Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ask Holmes Button Not Working in Mattermost #1671

Open
yudeye opened this issue Jan 2, 2025 · 7 comments
Open

Ask Holmes Button Not Working in Mattermost #1671

yudeye opened this issue Jan 2, 2025 · 7 comments

Comments

@yudeye
Copy link

yudeye commented Jan 2, 2025

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:
image
Slack:
image

  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!

Copy link

github-actions bot commented Jan 2, 2025

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!

  • 💬 Slack Community: Join Robusta team and other contributors on Slack here.
  • 📖 Docs: Find our documentation here.
  • 🎥 YouTube Channel: Watch our videos here.

@cooper-car
Copy link

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.

CleanShot 2025-01-05 at 18 03 35@2x

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

@arikalon1
Copy link
Contributor

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?

@arikalon1
Copy link
Contributor

Hey @yudeye

The Ask Holmes functionality, is based on Callbacks, which is currently supported only on Slack.

@cooper-car
Copy link

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?

  1. no error in robusta-holmes pod
  2. robusta-runner has 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'

@arikalon1
Copy link
Contributor

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

@yudeye
Copy link
Author

yudeye commented Jan 6, 2025

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.

CleanShot 2025-01-05 at 18 03 35@2x

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants