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

sdk-metrics: add AggregationTemporality #541

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

iRevive
Copy link
Contributor

@iRevive iRevive commented Mar 8, 2024

Reference Link
Spec https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality
Java implementation AggregationTemporality.java

Starting shaping sdk-metrics module. There is a working prototype.

@iRevive iRevive added metrics Improvement to metrics module sdk module Features and improvements to the sdk module labels Mar 8, 2024
@iRevive iRevive force-pushed the sdk-metrics/aggregation-temporality branch 2 times, most recently from 2b526d3 to 0f0856b Compare March 9, 2024 08:00
* @see
* [[https://opentelemetry.io/docs/specs/otel/metrics/data-model/#temporality]]
*/
sealed trait AggregationTemporality
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I kind of hate the name, but I don't have a better one

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would prefer a shorter name too.
But Python, Java, JS, and proto-model use AggregationTemporality. I guess we should too :(

@iRevive iRevive force-pushed the sdk-metrics/aggregation-temporality branch from 0f0856b to 61bb1d4 Compare March 14, 2024 08:49
@iRevive iRevive merged commit 8297433 into typelevel:main Mar 14, 2024
10 checks passed
@iRevive iRevive deleted the sdk-metrics/aggregation-temporality branch March 14, 2024 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
metrics Improvement to metrics module sdk module Features and improvements to the sdk module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants