opencensus-specs icon indicating copy to clipboard operation
opencensus-specs copied to clipboard

Metrics: Add specs on Cumulative APIs

Open mayurkale22 opened this issue 5 years ago • 2 comments

Fixes #241

mayurkale22 avatar Mar 28 '19 01:03 mayurkale22

/cc @sumeer

jkohen avatar Mar 28 '19 15:03 jkohen

Question: how do we define and deal with start time with cumulative APIs? Do we set the start time when creating a cumulative and reset it to the time when reset is called?

In a time series, cumulative metric should have the same start time (set when creating a cumulative) and increasing end times, until an event resets then the start time should also be reset and we should use new start time for the following points.

I will update the specs with this info. Thanks

mayurkale22 avatar Mar 28 '19 17:03 mayurkale22