This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import os | |
GITHUB_TOKEN = 'YOUR_GITHUB_TOKEN' | |
ASANA_TOKEN = 'YOUR_ASANA_TOKEN' | |
ASANA_PROJECT_ID = 'YOUR_ASANA_PROJECT_ID' | |
GITHUB_REPOS = ["user/repo1", "user/repo2", ...] # List your repos here | |
HEADERS_GITHUB = { | |
'Authorization': f'token {GITHUB_TOKEN}', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module “my_service_alert” { | |
source = “./datadog-log-alert-module" | |
seim_search = “index=my_service type=audit_log” | |
existence_check_timespan = “15m” | |
existence_check_alert_mechanism = “page-devops@mycompany.com” | |
latency_check_age_of_newest_event = “<5m” | |
latency_check_age_of_oldest_event = “<60m” |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module “my_service_alert” { | |
source = “./datadog-log-alert-module | |
seim_search = “index=my_service type=audit_log” | |
existence_check_timespan = “15m” | |
existence_check_alert_mechanism = “page-devops@mycompany.com” | |
latency_check_age_of_newest_event = “<5m” | |
latency_check_age_of_oldest_event = “<60m” |