Hi,
I'm writing an exporter in Go and am attempting to implement the function ExportView(vd *view.Data). I'm exporting to a system that does not understand cumulative counters. I need to send the delta of values, not the total value, each time. I've noticed that each time ExportView is called for a view setup with view.Count() or view.Sum(), I'm getting the cumulative values. Is it possible to just get the delta?
I could remember and send deltas easily enough, but things get much more tricky with view.Distribution. For this, I would also want the distribution of values between calls to ExportView but I appear to get the total distribution. Is there a way to get just the distribution between calls?
Thanks!