grosser / kennel

Datadog monitors/dashboards/slos as code, avoid chaotic management via UI
129 stars 41 forks source link

extract optional validation #286

Closed grosser closed 1 year ago

grosser commented 1 year ago

filter + ignore responsibility should live in optional_validations, not inside the record so extracting calls and making the methods static results in 1 less state being kept on records

~includes https://github.com/grosser/kennel/pull/284~ (edit: I changed the base branch)

/cc @zdrve