-
Notifications
You must be signed in to change notification settings - Fork 775
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 MetricReaderType to OtlpExporterOptions #2674
Add MetricReaderType to OtlpExporterOptions #2674
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Codecov Report
@@ Coverage Diff @@
## main #2674 +/- ##
==========================================
- Coverage 82.94% 82.87% -0.07%
==========================================
Files 249 249
Lines 8688 8691 +3
==========================================
- Hits 7206 7203 -3
- Misses 1482 1488 +6
|
@@ -68,7 +68,8 @@ internal static object Run(MetricsOptions options) | |||
providerBuilder | |||
.AddOtlpExporter(o => | |||
{ | |||
o.MetricExportIntervalMilliseconds = options.DefaultCollectionPeriodMilliseconds; | |||
o.MetricReaderType = MetricReaderType.Periodic; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is not required, right? its the default already...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay to leave it to make it obvious in the examples.
Follow on from #2648