Skip to content

Commit cd1fbc7

Browse files
authored
Fix publisher key bug (#53)
1 parent da4f4cc commit cd1fbc7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ ignore_missing_imports = true
44

55
[tool.poetry]
66
name = "pyth-observer"
7-
version = "0.1.7"
7+
version = "0.1.8"
88
description = "Alerts and stuff"
99
authors = []
1010
readme = "README.md"

pyth_observer/event.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async def send(self):
4343
if self.check.__class__.__bases__ == (PublisherCheck,):
4444
# Add publisher key to the aggregation key to separate different faulty publishers
4545
# An example would be: PublisherPriceCheck-Crypto.AAVE/USD-9TvAYCUkGajRXs....
46-
aggregation_key += "-" + self.check.state().public_key
46+
aggregation_key += "-" + self.check.state().public_key.key
4747

4848
event = DatadogAPIEvent(
4949
aggregation_key=aggregation_key,

0 commit comments

Comments
 (0)