-
Notifications
You must be signed in to change notification settings - Fork 890
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 configuring aggregations with MetricReaders #2643
Comments
@jsuereth hi, thank you for taking a look at this issue. But I'm not sure what the label "triaged-accepted" means -- as there aren't any resolutions settled yet for this issue. |
It means this is an issue and should get worked on. We started a spec-triaging meeting Fridays to help get through the backlog of Specification issues. The result is either:
Hope that helps! |
It (generally) should not be visible. The naive implementation of this specification would lead to a per-reader "in memory storage" of metrics. If SDKs can optimise metric storage to "share" between readers, that's up to them. However, practically, with these changes I'd almost think we're (mostly) forced into per-metric-reader storage. @reyang had a design that allowed sharing of partial-aggregated data between metric readers however I think, in practice, this is at odds with the real goal of #2404 - Minimizing the amount of memory consumed based on who is using the metric, and letting the "best" knowledgeable component make that decision (the exporter). In more succinct terms:
@reyang can confirm, but I think the intention here was always this order:
So to me that leaves two open AIs if you agree:
|
See also #2288 |
Discussed in Specificaiton SiG: Action Items:
|
@jmacd I believe this action item is still applicable and distinct to this issue. |
#2404 updated the requirements to construct a metric reader:
It stated that a MetricReader can be constructed with a function to select aggregations for an instrument kind. However, the spec also says that aggregation is configured via the view APIs:
AFAICT, aggregations configured with views are visible to all metric readers. There are two problems with configuring aggregation with MetricReaders:
The text was updated successfully, but these errors were encountered: