We have some monitoring we want to put in place to determine the number or workflows match a number of records we have in our db. We need the monitor to go off when these numbers get too out of sync and would even better if we could isolate which ones are divergent. Does temporal have anything built to do this already?
As I think about this more, I could go through my list of records in the db and query for existing workflows that match the workflow ids associated to those records.
that could be a pretty extensive query as have hundreds of thousands of workflows.
Actually I think I’ve found what I need here Observability - TypeScript SDK | Temporal Platform Documentation