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

Change Metric type to be a more detailed structure with details about the aggregation and temporality. #179

Closed
wants to merge 1 commit into from

Conversation

bogdandrutu
Copy link
Member

@bogdandrutu bogdandrutu commented Jul 21, 2020

This is an alternative to PR #168. It takes a more descriptive approach where the Aggregation (the last applied aggregation if any) is clearly defined and Temporality is available only where it makes sense. This can help clearly identify what are the possible values and properties for different types of Aggregations.

There are some things that can be considered (TODOs left in the code):

  • Histogram/Summary sum - monotonicity?
  • Previous aggregation measurements: raw measurements or "derived" measurements (results of another aggregation).

IMPORTANT: This PR and #168 are not equivalent, this is inspired by that PR but makes some changes that are not compatible with that PR.

@bogdandrutu bogdandrutu requested review from a team July 21, 2020 22:17
@bogdandrutu bogdandrutu force-pushed the metrictype branch 6 times, most recently from 737a2e4 to 6a430bf Compare July 23, 2020 19:39
… the aggregation and temporality.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
@bogdandrutu
Copy link
Member Author

Closing this PR to have people focused on #182. Will leave it around for reference.

@bogdandrutu bogdandrutu deleted the metrictype branch July 29, 2020 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant