{"id":19373935,"url":"https://github.com/vitalvas/alertmanager-gateway","last_synced_at":"2026-03-02T19:11:47.563Z","repository":{"id":237438022,"uuid":"766631953","full_name":"vitalvas/alertmanager-gateway","owner":"vitalvas","description":null,"archived":false,"fork":false,"pushed_at":"2025-10-20T01:19:56.000Z","size":326,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-20T05:20:58.569Z","etag":null,"topics":["alertmanager","alertmanager-webhook","alertmanager-webhook-receiver","prometheus"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vitalvas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-03-03T19:39:10.000Z","updated_at":"2025-10-20T01:19:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"e05e8b8e-bd6a-4a9f-a0c7-ed853167c3b9","html_url":"https://github.com/vitalvas/alertmanager-gateway","commit_stats":null,"previous_names":["vitalvas/alertmanager-gateway"],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/vitalvas/alertmanager-gateway","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalvas%2Falertmanager-gateway","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalvas%2Falertmanager-gateway/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalvas%2Falertmanager-gateway/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalvas%2Falertmanager-gateway/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vitalvas","download_url":"https://codeload.github.com/vitalvas/alertmanager-gateway/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitalvas%2Falertmanager-gateway/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30016508,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T17:00:27.440Z","status":"ssl_error","status_checked_at":"2026-03-02T17:00:03.402Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","alertmanager-webhook","alertmanager-webhook-receiver","prometheus"],"created_at":"2024-11-10T08:33:15.758Z","updated_at":"2026-03-02T19:11:47.553Z","avatar_url":"https://github.com/vitalvas.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alertmanager Gateway\n\nUniversal adapter for Prometheus Alertmanager webhooks that transforms and routes alerts to various third-party notification systems.\n\n## Features\n\n- Receives webhooks from Prometheus Alertmanager\n- Transforms alerts using Go templates or jq\n- Routes to multiple destinations based on path\n- Supports various output formats (JSON, Form, Query params)\n- Split grouped alerts for individual processing\n- Built-in authentication and security\n- Prometheus metrics for monitoring\n- Batch processing with parallel requests\n\n## Quick Start\n\n1. Create a configuration file `config.yaml`:\n\n```yaml\nserver:\n  address: \":8080\"\n\ndestinations:\n  - name: \"slack\"\n    url: \"https://hooks.slack.com/services/YOUR/WEBHOOK/URL\"\n    method: \"POST\"\n    format: \"json\"\n    engine: \"go-template\"\n    template: |\n      {\n        \"text\": \"{{if eq .Status \\\"firing\\\"}}Alert Firing{{else}}Alert Resolved{{end}}: {{.GroupLabels.alertname}}\",\n        \"attachments\": [{\n          \"color\": \"{{if eq .Status \\\"firing\\\"}}danger{{else}}good{{end}}\",\n          \"title\": \"{{.GroupLabels.alertname}}\",\n          \"text\": \"{{.CommonAnnotations.summary}}\",\n          \"fields\": [{\n            \"title\": \"Status\",\n            \"value\": \"{{.Status}}\",\n            \"short\": true\n          }, {\n            \"title\": \"Severity\",\n            \"value\": \"{{index .CommonLabels \\\"severity\\\" | default \\\"unknown\\\"}}\",\n            \"short\": true\n          }]\n        }]\n      }\n    enabled: true\n```\n\n2. Run the gateway:\n\n```bash\ngo run .\n```\n\n3. Configure Alertmanager:\n\n```yaml\nreceivers:\n  - name: 'slack'\n    webhook_configs:\n      - url: 'http://localhost:8080/webhook/slack'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitalvas%2Falertmanager-gateway","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitalvas%2Falertmanager-gateway","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitalvas%2Falertmanager-gateway/lists"}