{"id":28378072,"url":"https://github.com/robusta-dev/prometheus-remediation","last_synced_at":"2026-02-28T19:01:26.720Z","repository":{"id":211637767,"uuid":"729631201","full_name":"robusta-dev/prometheus-remediation","owner":"robusta-dev","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-14T10:29:53.000Z","size":175,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-09-16T11:05:12.732Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/robusta-dev.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}},"created_at":"2023-12-09T20:52:41.000Z","updated_at":"2025-05-14T10:29:57.000Z","dependencies_parsed_at":"2023-12-24T04:27:04.978Z","dependency_job_id":"8ae3c0b3-ef9c-401e-a7e2-9a11a58776aa","html_url":"https://github.com/robusta-dev/prometheus-remediation","commit_stats":null,"previous_names":["robusta-dev/prometheus-remediation"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robusta-dev/prometheus-remediation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robusta-dev%2Fprometheus-remediation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robusta-dev%2Fprometheus-remediation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robusta-dev%2Fprometheus-remediation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robusta-dev%2Fprometheus-remediation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robusta-dev","download_url":"https://codeload.github.com/robusta-dev/prometheus-remediation/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robusta-dev%2Fprometheus-remediation/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29948228,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T18:42:55.706Z","status":"ssl_error","status_checked_at":"2026-02-28T18:42:48.811Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2025-05-30T01:35:34.189Z","updated_at":"2026-02-28T19:01:26.704Z","avatar_url":"https://github.com/robusta-dev.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\nRemediate Prometheus alerts by taking action. Built for people using Prometheus and Kubernetes.\n\nSupports kube-prometheus-stack and other common Prometheus distributions.\n\n# Supported Actions\n\n* Run a Kubernetes Job\n* ...more coming soon\n\n# Setup\n1. [Install Robusta with Helm](https://docs.robusta.dev/master/installation.html)\n2. Load the alert remediation playbooks. Add the following to `generated_values.yaml`: \n```\nplaybookRepos:\n  alert_remediation:\n    url: \"https://github.com/robusta-dev/prometheus-remediation.git\"\n\ncustomPlaybooks:\n# Change the following line according to your needs\n- triggers:\n  - on_prometheus_alert:\n      alert_name: TestAlert\n  actions:\n  - run_job_from_alert:\n      # you can access information from the alert by environment variables\n      command:\n      - sh\n      - -c\n      - \"$ALERT_NAME fired... Now dumping all available environment variables, which include alert metadata and labales\" \u0026\u0026 env \u0026\u0026 sleep 60\"\n      image: busybox\n      notify: true\n      wait_for_completion: true\n      completion_timeout: 100\n      # you can also inject secrets from the Robusta pod itself into the remediation Job's Pod\n      env_vars:\n      - name: GITHUB_SECRET\n        valueFrom:\n          secretKeyRef:\n            name: robusta-github-key\n            key: githubapikey\n```\n\n3. Do a Helm upgrade to apply the new values: `helm upgrade robusta robusta/robusta --values=generated_values.yaml --set clusterName=\u003cYOUR_CLUSTER_NAME\u003e`\n\n4. [Send your Prometheus alerts to Robusta](https://docs.robusta.dev/master/user-guide/alert-manager.html). Alternatively, just use Robusta's bundled Prometheus stack.\n\nInstead of waiting around for a Prometheus alert, lets cause one.\n\n```\nrobusta demo-alert --alert=TestAlert --labels=label1=123,label2=abc\n```\n\nIf running multiple times in a row, change a label value each time so that AlertManager doesn't supress retransmissions.\n\n# Sample Alerts\n\n![DemoImage](./images/demoimage.png)\n\n# Community\n[Ask questions and request features on our Slack.](https://home.robusta.dev/slack)\n                                                                                                                                                  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobusta-dev%2Fprometheus-remediation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobusta-dev%2Fprometheus-remediation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobusta-dev%2Fprometheus-remediation/lists"}