{"id":20433889,"url":"https://github.com/flashbots/prometheus-sns-lambda-slack","last_synced_at":"2026-05-09T05:34:23.735Z","repository":{"id":210218923,"uuid":"726034166","full_name":"flashbots/prometheus-sns-lambda-slack","owner":"flashbots","description":"Receive prometheus alerts via AWS SNS and publish then to slack channel","archived":false,"fork":false,"pushed_at":"2024-02-28T08:24:02.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-11-15T00:05:40.181Z","etag":null,"topics":["alertmanager","aws","lambda","prometheus","slack","sns"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flashbots.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-01T11:50:26.000Z","updated_at":"2024-08-17T09:41:30.000Z","dependencies_parsed_at":"2024-02-28T09:41:38.585Z","dependency_job_id":null,"html_url":"https://github.com/flashbots/prometheus-sns-lambda-slack","commit_stats":null,"previous_names":["flashbots/prometheus-sns-lambda-slack"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/flashbots/prometheus-sns-lambda-slack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flashbots%2Fprometheus-sns-lambda-slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flashbots%2Fprometheus-sns-lambda-slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flashbots%2Fprometheus-sns-lambda-slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flashbots%2Fprometheus-sns-lambda-slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flashbots","download_url":"https://codeload.github.com/flashbots/prometheus-sns-lambda-slack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flashbots%2Fprometheus-sns-lambda-slack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32808534,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alertmanager","aws","lambda","prometheus","slack","sns"],"created_at":"2024-11-15T08:22:11.146Z","updated_at":"2026-05-09T05:34:23.709Z","avatar_url":"https://github.com/flashbots.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# prometheus-sns-lambda-slack\n\nReceive prometheus alerts via AWS SNS and publish then to slack channel.\n\n## TL;DR\n\nAt the time of writing, Amazon-managed Prometheus does not support\nsending alerts to Slack.\n\nThe \"official\" way of integration is Prometheus-\u003eSNS-\u003eLambda-\u003eSlack\n[`[1]`](https://aws.amazon.com/blogs/mt/how-to-integrate-amazon-managed-service-for-prometheus-with-slack/).\n\nThis repo is one of many possible implementations of this idea.\n\n```shell\nexport SLACK_TOKEN=XXXX-NNNNNNNNNNNNN-NNNNNNNNNNNNN\n\n./prometheus-sns-lambda-slack lambda \\\n  --dynamo-db-name slack-alerts \\\n  --slack-channel incidents \\\n  --slack-channel-id XXXXXXXXXXX\n```\n\n## Features\n\n- Groups messages into threads (based on message labels).\n- Deduplicates the messages (AWS managed grafana seems to be 3 instances\n  in HA setup, which means that each alert sent by grafana comes as a\n  triplet).\n- Can filter-out alerts based on their kind.\n- Flags alerts that got resolved with green check-box emoji reaction.\n\n---\n\n`[1]` https://aws.amazon.com/blogs/mt/how-to-integrate-amazon-managed-service-for-prometheus-with-slack/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflashbots%2Fprometheus-sns-lambda-slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflashbots%2Fprometheus-sns-lambda-slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflashbots%2Fprometheus-sns-lambda-slack/lists"}