See card: https://trello.com/c/bSqIkTvr/213-8-conflict-stats-as-a-developer-i-want-stats-gathered-on-conflicts-that-occur-such-that-i-can-get-a-better-understanding-on-pote
{quote} Just create a new counter similar Additionally, we need to here add some graphs in the sync dashboard . Such as
Every conflicts - single number gauge conflicts over time a conflict happens, increase that counter but with the labels - line chart conflicts per operation (getUser, saveUser etc.), - pie chart conflicts per operation over time - line chart conflicts per operation type (mutation/query/etc.), path (User.comments, Query.getUser(), etc.). Similar to here. - pie chart conflicts per operation type over time - line chart Doesn't make sense to add labels for user and client info as we can't query individual fields like those in Prometheus (well OK, we can, but we can't aggregate data like "number of unique clients").
BTW, once the counter is read, gotta reset it. Similar to here. {quote} |
|