{"id":26951007,"url":"https://github.com/ns3777k/alertmanager-webhook-space","last_synced_at":"2025-04-02T23:35:27.144Z","repository":{"id":55470387,"uuid":"319441338","full_name":"ns3777k/alertmanager-webhook-space","owner":"ns3777k","description":"Alertmanager webhook server for JetBrains Space","archived":false,"fork":false,"pushed_at":"2024-07-07T16:01:58.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-07-08T17:30:00.894Z","etag":null,"topics":["alerting","alertmanager","alertmanager-webhook","monitoring","prometheus","space"],"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/ns3777k.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}},"created_at":"2020-12-07T20:52:38.000Z","updated_at":"2024-07-07T16:01:59.000Z","dependencies_parsed_at":"2022-08-15T01:10:12.518Z","dependency_job_id":null,"html_url":"https://github.com/ns3777k/alertmanager-webhook-space","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ns3777k%2Falertmanager-webhook-space","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ns3777k%2Falertmanager-webhook-space/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ns3777k%2Falertmanager-webhook-space/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ns3777k%2Falertmanager-webhook-space/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ns3777k","download_url":"https://codeload.github.com/ns3777k/alertmanager-webhook-space/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246911498,"owners_count":20853654,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["alerting","alertmanager","alertmanager-webhook","monitoring","prometheus","space"],"created_at":"2025-04-02T23:35:26.619Z","updated_at":"2025-04-02T23:35:27.130Z","avatar_url":"https://github.com/ns3777k.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alertmanager webhook for JetBrains Space\n\n## Getting started\n\nBefore you begin, you need multiple things to have:\n\n1. Have an account on [Space](https://www.jetbrains.com/space/)\n2. Channel to send alerts\n3. Application with `Enable client credentials flow` on (`Administration` -\u003e `Applications`).\n\n## Usage\n\n```shell\nusage: alertmanager-webhook-space \\\n\t\t--space-channel-id=SPACE-CHANNEL-ID \\\n\t\t--space-base-url=SPACE-BASE-URL \\\n\t\t--space-token=APP_TOKEN \\\n\t\t--debug \\\n\t\t[\u003cflags\u003e]\n\nalertmanager-webhook-space\n\nFlags:\n  -h, --help                   Show context-sensitive help (also try --help-long and --help-man).\n  -l, --listen=\"0.0.0.0:9091\"  Address to listen on\n      --space-channel-id=SPACE-CHANNEL-ID\n                               Channel id\n      --space-base-url=SPACE-BASE-URL\n                               Base url like https://mycompany.jetbrains.space\n      --space-token=APP_TOKEN\n                               Application token\n      --debug\n                               Debug logs\n```\n\n## Building from source\n\n```shell\n$ CGO_ENABLED=0 go build -o alertmanager-webhook-jetbrains-space ./cmd/alertmanager-webhook-space/main.go\n```\n\n## Running docker\n\n```shell\n$ docker run --rm -it ns3777k/alertmanager-webhook-space\n```\n\nBut you're better off using a specific tag.\n\n## Running without docker\n\nIf you're on linux and have systemd, here is a sample configuration:\n\n```\n[Unit]\nDescription=Alertmanager webhook jetbrains space\nAfter=network-online.target\n\n[Service]\nType=simple\nUser=myuser\nGroup=myuser\nExecStart=/usr/local/bin/alertmanager-webhook-jetbrains-space\nSyslogIdentifier=alertmanager-webhook-jetbrains-space\nRestart=always\n\n[Install]\nWantedBy=multi-user.target\n```\n\nDon't forget to put the binary on `/usr/local/bin/alertmanager-webhook-jetbrains-space`.\n\n## Sample alertmanager configuration\n\nDo not copy-paste this blindly, that's just an example:\n\n```yaml\nglobal:\n  resolve_timeout: 3m\ntemplates:\n  - '/etc/alertmanager/templates/*.tmpl'\n\nreceivers:\n  - name: webhook\n    webhook_configs:\n      - url: http://127.0.0.1:9091/api/v1/webhook\n\nroute:\n  group_by:\n    - cluster\n    - alertname\n  group_interval: 5m\n  group_wait: 30s\n  receiver: webhook\n  repeat_interval: 4h\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fns3777k%2Falertmanager-webhook-space","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fns3777k%2Falertmanager-webhook-space","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fns3777k%2Falertmanager-webhook-space/lists"}