Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify temporality (aggregation vs measurement) #184

Closed
bogdandrutu opened this issue Jul 29, 2020 · 2 comments · Fixed by #192
Closed

Clarify temporality (aggregation vs measurement) #184

bogdandrutu opened this issue Jul 29, 2020 · 2 comments · Fixed by #192
Labels
release:required-for-ga Must be resolved before GA release, or nice to have before GA spec:metrics

Comments

@bogdandrutu
Copy link
Member

From @jmacd:

I realize now the source of confusion for me w.r.t. Temporality is that it sometimes applies to the individual Metric (i.e., is this a change in a sum or a total sum?) and it sometimes applies to the collection strategy (i.e., am I returning all "active" Metrics since the beginning of the process or since the last report).

I think we should find a way to distinguish these two ideas with terminology. A practical way to probe this issue is that I might like to encode the following things:

  1. A Histogram of deltas from the start of the process (dimensionally reduced or not)
  2. A Histogram of cumulatives from the start of the process (probably dimensionally reduced otherwise just one value)
  3. A Histogram of deltas from a recent interval (dimensionally reduced or not)
  4. A Histogram of cumulatives at the end of a recent interval (probably dimensionally reduced otherwise just one value)
    There's a question as to whether (2) and (4) are any different, probably they are not, but you can imagine different interpretations because in (2) you can't forget any timeseries, and in (4) you can omit timeseries that hvaen't been "active" in the latest window.

So, two ways to interpret Cumulative.

OTOH, I think we're having trouble distinguishing (1) and (2).

@jmacd
Copy link
Contributor

jmacd commented Jul 30, 2020

I think we can close this issue, it only becomes relevant when considering raw values (#188).

@james-bebbington
Copy link
Member

I think we said today that we are leaving raw values (from "exact" aggregations) out for now (will come back to this later) and also that we are only considering aggregation temporality rather than data temporality (unclear if the latter is needed yet).

Does that mean we should go ahead and remove instantaneous for the time being (and add that concept back in if needed when we have a clearer plan for how to express raw values), or does it still represent something meaningful outside of those two things?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:required-for-ga Must be resolved before GA release, or nice to have before GA spec:metrics
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants