Skip to content

Add DogStatsD event support to monitors#62

Merged
agile merged 1 commit into
mainfrom
aud-6993_support-events
Jun 22, 2026
Merged

Add DogStatsD event support to monitors#62
agile merged 1 commit into
mainfrom
aud-6993_support-events

Conversation

@agile

@agile agile commented Jun 16, 2026

Copy link
Copy Markdown
Member

AUD-6993

These changes introduce an optional event configuration to monitors. The monitor will still send a metric but now also includes the option to send an event with "rich context" as well as the metric. I think another iteration of this could split events out to support event-only configurations.

  • add optional per-monitor event configuration parsing and defaults
  • emit one Datadog event per returned SQL row alongside the configured metric
  • exclude event payload columns from metric tags
  • validate event alert type and priority during config load/startup
  • close query rows after each monitor cycle
  • document event monitor configuration and additive metric behavior

@agile agile requested a review from cjonesy as a code owner June 16, 2026 14:05

@cjonesy cjonesy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! :shipit:

[AUD-6993]
---

These changes introduce an optional event configuration to monitors. The
monitor will still send a metric but not also includes the option to
send an event with "rich context" as well as the metric. I think another
iteration of this could split events out to support event-only
configurations.

- add optional per-monitor event configuration parsing and defaults
- emit one Datadog event per returned SQL row alongside the configured metric
- exclude event payload columns from metric tags
- validate event alert type and priority during config load/startup
- close query rows after each monitor cycle
- document event monitor configuration and additive metric behavior
@agile agile force-pushed the aud-6993_support-events branch from a7fe626 to 0d3c563 Compare June 22, 2026 15:31
@agile agile merged commit 08e3831 into main Jun 22, 2026
4 checks passed
@agile agile deleted the aud-6993_support-events branch June 22, 2026 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants