Closed
Conversation
28d204a to
871759c
Compare
Codecov Report
@@ Coverage Diff @@
## main #1473 +/- ##
=======================================
- Coverage 79.2% 79.0% -0.3%
=======================================
Files 127 129 +2
Lines 6659 6768 +109
=======================================
+ Hits 5280 5350 +70
- Misses 1124 1163 +39
Partials 255 255
|
002498b to
0caf60e
Compare
…ort/metric to otel/metric
…lector in metrics processing/exporting
d8ed3a0 to
0fba138
Compare
0fba138 to
50f51a6
Compare
Added fixed bucket histogram view example using simple aggregation selector
Contributor
|
Closing as the metric's part of the specification is going through a large refactor currently and we will likely need to reevaluate the entire signal once it stabilizes, including how we want to approach views. |
|
Any news on this? Not being able to specify buckets per single metric(s) is a real blocker for a lot of scenarios. Is there a way to possible help? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
View API was discussed in the OTEP which is not merged yet (OTEP#89). Having a prototype may push this forward (optentelemetry-specification#466).
Inspired by the Python View API Prototype but the approach for the Golang SDK is a bit different.
View only works for synchronous instruments since the semantics for asynchronous instruments is undefined at the moment. So observers functionality does not change.
The uniqueness of a view is defined by a tuple of instrument, label keys and its aggregator factory. Note that an
Ungroupview is the same with defining an empty pair of label keys.Summary of changes:
Aggregator,AggregationandAggregatorSelectorinterfaces to otel/metric package to avoid concept dependency cycle. (commit)Viewtype andRegisterViewmethod as part of the Metric API. (commit)