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

Add support for low memory metric temporality setting #5558

Merged
merged 3 commits into from
Jun 27, 2023

Conversation

tylerbenson
Copy link
Member

otel.exporter.otlp.metrics.temporality.preference and OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE now support LOWMEMORY or LowMemory settings.

For more information, see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk_exporters/otlp.md#additional-configuration.

@tylerbenson tylerbenson force-pushed the tyler/low-memory branch 4 times, most recently from fce1272 to 83dd5be Compare June 20, 2023 21:58
`otel.exporter.otlp.metrics.temporality.preference` and `OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE` now support `LOWMEMORY` or `LowMemory` settings.

For more information, see https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/metrics/sdk_exporters/otlp.md#additional-configuration.
@codecov
Copy link

codecov bot commented Jun 20, 2023

Codecov Report

Patch coverage: 75.00% and project coverage change: -0.02 ⚠️

Comparison is base (93eac25) 91.39% compared to head (2352273) 91.38%.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #5558      +/-   ##
============================================
- Coverage     91.39%   91.38%   -0.02%     
- Complexity     4963     4967       +4     
============================================
  Files           550      550              
  Lines         14569    14574       +5     
  Branches       1358     1358              
============================================
+ Hits          13316    13319       +3     
- Misses          866      868       +2     
  Partials        387      387              
Impacted Files Coverage Δ
...lemetry/exporter/otlp/internal/OtlpConfigUtil.java 87.59% <62.50%> (-2.25%) ⬇️
...metrics/export/AggregationTemporalitySelector.java 100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@tylerbenson tylerbenson marked this pull request as ready for review June 20, 2023 22:32
@tylerbenson tylerbenson requested a review from a team June 20, 2023 22:32
@jack-berg jack-berg merged commit 655b77f into open-telemetry:main Jun 27, 2023
@tylerbenson tylerbenson deleted the tyler/low-memory branch June 28, 2023 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants