exometer_core
exometer_core copied to clipboard
exometer_report:unsubscribe doesn't work
Ack. The retry_failed_metrics value really shouldn't have been part of the key in the first place. Since it is, I guess the unsubscribe_() function will need to use ets:select() with wildcards rather than ets:lookup().
Or the option could be moved from the key to the subscriber record, in which case the lookup would remain reasonable.