-
Notifications
You must be signed in to change notification settings - Fork 889
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
Add details for Aggregator in Metric spec #1804
Conversation
Do we intend to cover MIN and MAX? |
Some high level questions:
|
I was surprised not to see any mention of attributes/labels in here, and how an Aggregator needs to handle them. Is this something that is just so obvious that it doesn't need mentioning, or was this missed in writing up the details? |
An Currently, our OTLP protocol and Metric Points do not require MIN and/or MAX. ("Legacy" Summary Metric Point has that concept but wrapped as Quantiles). |
Handling of Attributes is indeed a central concept. I did have a few mention and examples of how to address this. But, it likely needs it's own section to clarify. In the meantime, I did add a statement regarding SDK needing to route/map measurements to aggregators. It needs to be more flushed out in spec-level details. In summary, A At the last SIG meeting, I asked where this "routing" task should reside. As part of SDK (which I currently have spec) or part of a Aggregator |
I think this is more of a style question. In the end, we need to expose the concept of an aggregation/aggregator and potentially any configuration (e.g. Monotonic and/or Cumulative/Delta and/or Bucket scaling). Enum
pro:
con:
Class/Type
pro:
con:
|
I also think it would be valuable to allow one measurement to generate multiple metrics. (i.e. a Temperature Instrument can produce a Gauge timeseries and a Histogram timeseries and a Summary timeseries. An |
| [Asynchronous Gauge](./api.md#asynchronous-gauge) | [Last Value Aggregator](#LastValueAggregator) | Non-Monotonic | Cumulative | | | ||
| [Histogram](./api.md#histogram) | [Explicit Bucket Histogram Aggregator](#ExplicitBucketHistogramAggregator) | Monotonic | Delta | Default Bucket Boundaries<sup>1</sup> | | ||
|
||
\[1\]: Default Bucket Boundaries: (-∞, 0], (0, 5.0], (5.0, 10.0], (10.0, 25.0], (25.0, 50.0], (50.0, 75.0], (75.0, 100.0], (100.0, 250.0], (250.0, 500.0], (500.0, 1000.0], (1000.0, +∞) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we want to specify a default unit of measure for this?
After discussion in SIG meeting, a new PR is created #1842 to continue with this spec. |
Add into Metric spec details for defining a Metric Aggregator.