-
Notifications
You must be signed in to change notification settings - Fork 782
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
Batch export vs periodic exporting with OLTP exporter #2767
Comments
This is admittedly a little confusing at the moment.
So, that's to say that There's some works in progress exploring some different concepts for making the exporter's configuration more intuitive. (#2717 and #2721). Ideally, |
Thanks for explaining! Would it make sense if I send a PR to update the XML docs with this info? (trace vs metric) |
You might wait just a bit. We'll settle on an approach in one of the PRs in progress soon. What we do there may influence how to best document things. I agree we need to make this more clear. |
Sounds good to me and thanks for the help. Will close the issue for now. |
Question
Describe your environment.
We are using the OTLP exporter with the default settings:
What are you trying to achieve?
We are using the OTLP exporter and want to understand what the interval is in which metrics will be flushed.
However, I'm not sure how
options.BatchExportProcessorOptions.ScheduledDelayMilliseconds
&options.PeriodicExportingMetricReaderOptions.ExportIntervalMilliseconds
relate with each other.I had the impression that one or the other is being used, but based on the default values they should both be used. (based on reading the code):
opentelemetry-dotnet/src/OpenTelemetry.Exporter.OpenTelemetryProtocol/OtlpExporterOptions.cs
Lines 115 to 130 in 1191a2a
Additional Context
N/A
The text was updated successfully, but these errors were encountered: