Skip to content

Slack Bot Alerts for API Thresholds #12

@Rich-T-kid

Description

@Rich-T-kid

Description
Enhance the Slack bot to monitor data from an API and send alerts to a Slack channel if thresholds are exceeded. For example, if an API reading exceeds a specified value, the bot should send a notification to all members in the channel.

Tasks

  • Add functionality to read data from an API endpoint.
  • Set a threshold value for the API reading (configurable via environment variables or a config file).
  • Program the bot to send a Slack notification to the channel when the threshold is exceeded.
  • Include a mechanism to ping all channel members when an alert is sent.

Acceptance Criteria

  • The bot reads data from the specified API endpoint.
  • Notifications are sent to the Slack channel when the threshold is exceeded.
  • All channel members are pinged in the notification.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions