We are adding observability operations for the Attribution API that measure a lot of the technical operations in the handler and its business logic. A complementary data aspect is to add a more feature oriented measurements for the API operation through more specific prometheus monitoring.
This will also allow us to make dedicated alerts for specifics related to the Attribution API beyond the general REST module monitoring.
This ticket is a placeholder as we decide what type of monitoring we need and whether that requires more robust in-code monitoring or whether things exist already.
Attribution specific alerts:
- Latency: Enterprise requires total response latency to be below 500ms. We can therefore assume that Attribution responses must remain below ???400ms??? for a p90 value. If we break that p90 value (or are trending in that direction), an alarm should fire.
- TBD if we will start throwing gateway timeouts with recommended retry if this limit is exceeded, vs allowing the request to hang.