Skip to content

Commit

Permalink
rename ops to reliability (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
daabr authored Jan 12, 2025
1 parent c4f2133 commit b906219
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ demonstrate basic system features, integration APIs, and best practices.
| [Hacker News Alerts in Slack ](./hackernews/) | Track Hacker News articles by topic and send updates to Slack | slack |
| [JIRA Assignee From Google Calendar Workflow](./jira_google_calendar/assignee_from_schedule/) | Set Assignee in Jira ticket to the person currently on-call | jira, calendar |
| [Create calendar due date event for Jira ticket](./jira_google_calendar/deadline_to_event/) | When a new Jira issue is created, the workflow automatically generates a Google Calendar event with a deadline | calendar, jira |
| [Alert on missing Jira events](./ops/alert_on_missing_events/) | Send Slack alerts when AutoKitteh doesn't receive certain Jira events in time | Jira, Slack |
| [Alert on session errors](./ops/alert_on_session_errors/) | Send Slack alerts when AutoKitteh sessions end due to errors | Slack |
| [Pull Request Review Reminder (Purrr)](./purrr/) | Streamline code reviews and cut down turnaround time to merge pull requests | GitHub, Google Sheets, Slack |
| [Quickstart](./quickstart/) | Sample for quickstart | http |
| [Alert on missing Jira events](./reliability/alert_on_missing_events/) | Send Slack alerts when AutoKitteh doesn't receive certain Jira events in time | Jira, Slack |
| [Alert on session errors](./reliability/alert_on_session_errors/) | Send Slack alerts when AutoKitteh sessions end due to errors | Slack |
| [Monitor PR until completion in Slack](./reviewkitteh/) | Create a Slack channel for each PR, update team leads until completion | slack, github, sheets |
| [Ad-hoc room reservation via Slack](./room_reservation/) | Ad-hoc room reservation via Slack slash commands | slack, calendar |
| [Jira](./samples/atlassian/jira/) | Samples using Jira APIs | jira |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Alert on missing Jira events
description: Send Slack alerts when AutoKitteh doesn't receive certain Jira events in time
integrations: ["Jira", "Slack"]
categories: ["Ops"]
categories: ["Reliability"]
---

# Alert on Missing Events
Expand Down Expand Up @@ -50,7 +50,7 @@ events, and resends reminder alerts at a shorter interval.
(default = `24` hours)
- `PING_HOURS`: while an incident is ongoing, re-check at a shorter interval
(default = `1` hour)
- `SLACK_CHANNEL`: send incident alerts to this Slack channel name/ID
- `SLACK_CHANNEL_NAME_OR_ID`: send alert messages to this Slack channel
(default = `autokitteh-alerts`)

5. Deploy the project
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This YAML file is a declarative manifest that describes the
# setup of an AutoKitteh project that sends Slack alerts when
# AutoKitteh doesn't receive certain Jira events in time.
# This YAML file is a declarative manifest that describes the setup
# of an AutoKitteh project that sends Slack alerts when AutoKitteh
# doesn't receive certain Jira events in time.

version: v1

Expand All @@ -22,7 +22,7 @@ project:
value: 24
- name: PING_HOURS
value: 1
- name: SLACK_CHANNEL
- name: SLACK_CHANNEL_NAME_OR_ID
value: autokitteh-alerts

connections:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
TIMEOUT_HOURS = int(os.getenv("TIMEOUT_HOURS", "24"))
PING_HOURS = int(os.getenv("PING_HOURS", "1"))

SLACK_CHANNEL = os.getenv("SLACK_CHANNEL", "")
SLACK_CHANNEL = os.getenv("SLACK_CHANNEL_NAME_OR_ID", "")


def on_monitor_trigger(event):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Alert on session errors
description: Send Slack alerts when AutoKitteh sessions end due to errors
integrations: ["Slack"]
categories: ["Ops"]
categories: ["Reliability"]
---

# Alert on Session Errors
Expand Down Expand Up @@ -36,7 +36,7 @@ to look for sessions that ended with an error status in the previous minute.
- `AUTOKITTEH_UI_BASE_URL` (default = `https://app.autokitteh.cloud`,
use `http://localhost:9982` for self-hosted servers)
- `AUTOKITTEH_AUTH_TOKEN`: the API auth token generated in step 1 above
- `SLACK_CHANNEL`: send alert messages to this Slack channel name/ID
- `SLACK_CHANNEL_NAME_OR_ID`: send alert messages to this Slack channel
(default = `autokitteh-alerts`)

5. Deploy the project
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ project:

vars:
- name: AUTOKITTEH_API_BASE_URL
value: "https://api.autokitteh.cloud"
value: https://api.autokitteh.cloud
- name: AUTOKITTEH_UI_BASE_URL
value: "https://app.autokitteh.cloud"
value: https://app.autokitteh.cloud
- name: AUTOKITTEH_AUTH_TOKEN
value: ""
- name: SLACK_CHANNEL
- name: SLACK_CHANNEL_NAME_OR_ID
value: autokitteh-alerts

connections:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
API_BASE_URL = os.getenv("AUTOKITTEH_API_BASE_URL", "")
UI_BASE_URL = os.getenv("AUTOKITTEH_UI_BASE_URL", "")
JWT = os.getenv("AUTOKITTEH_AUTH_TOKEN", "")
SLACK_CHANNEL = os.getenv("SLACK_CHANNEL", "")
SLACK_CHANNEL = os.getenv("SLACK_CHANNEL_NAME_OR_ID", "")

slack = slack_client("slack_conn")

Expand Down

0 comments on commit b906219

Please sign in to comment.