Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ ignore_missing_imports = true

[tool.poetry]
name = "pyth-observer"
version = "0.3.3"
version = "0.3.4"
description = "Alerts and stuff"
authors = []
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion pyth_observer/zenduty.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@


async def send_zenduty_alert(alert_identifier, message, resolved=False, summary=""):
url = f"https://www.zenduty.com/api/events/{os.environ['ZENDUTY_INTEGRATION_KEY']}/"
url = f"https://events.zenduty.com/api/events/{os.environ['ZENDUTY_INTEGRATION_KEY']}/"
# Use a hash of the alert_identifier as a unique id for the alert.
# Take the first 32 characters due to length limit of the api.
entity_id = hashlib.sha256(alert_identifier.encode("utf-8")).hexdigest()[:32]
Expand Down
Loading