You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Gauge. Change Metric type to be a more detailed structure with details about the aggregation and temporality. (#182)
* Change Metric type to be a more detailed structure with details about the aggregation and temporality.
This PR 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):
* open-telemetry/opentelemetry-specification#725
* Histogram/Summary sum - monotonicity?
* Previous aggregation measurements: raw measurements or "derived" measurements (results of another aggregation).
* Support for RawMeasurements (recorded via the Sync Instruments)
* Decide if support for INSTANTANEOUS temporality is still needed.
IMPORTANT:
* This PR is not equivalent with #168 or #181, this is inspired by these PRs but makes some changes that are not compatible with that PR.
* This PR is an incremental update, without any significant semantic changes (except adding the notion of GAUGE), from the current state, more changes will be added in the future to resolve the TODOs.
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Address feedback, added more TODOs and created issues
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Update opentelemetry/proto/metrics/v1/metrics.proto
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
* Update opentelemetry/proto/metrics/v1/metrics.proto
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update opentelemetry/proto/metrics/v1/metrics.proto
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update opentelemetry/proto/metrics/v1/metrics.proto
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update opentelemetry/proto/metrics/v1/metrics.proto
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Update opentelemetry/proto/metrics/v1/metrics.proto
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
* Fix indentation and comment for Type
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
0 commit comments