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 BSP configuration option #2165

Merged
merged 2 commits into from
Mar 10, 2022
Merged

Add BSP configuration option #2165

merged 2 commits into from
Mar 10, 2022

Conversation

trask
Copy link
Member

@trask trask commented Mar 9, 2022

No description provided.

return BatchSpanProcessor.builder(currExporter).setMaxExportBatchSize(1).build();
BatchSpanProcessorBuilder builder = BatchSpanProcessor.builder(currExporter);

String delayMillisStr = System.getenv("APPLICATIONINSIGHTS_PREVIEW_BSP_DELAY_MILLIS");
Copy link
Contributor

Choose a reason for hiding this comment

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

can we not use acronym? it will be long but will be clearer.

Copy link
Contributor

Choose a reason for hiding this comment

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

do we want to make this public on azure doc? I know it will be experimental at first.

Copy link
Member Author

Choose a reason for hiding this comment

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

I renamed it to APPLICATIONINSIGHTS_PREVIEW_BSP_SCHEDULE_DELAY to align with otel naming of the same property:

/~https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/sdk-environment-variables.md#batch-span-processor

Though I'm hoping this is only for testing and we can find a one-size-fits-all option and remove this config knob.

@heyams heyams merged commit 1cd5b15 into main Mar 10, 2022
@heyams heyams deleted the add-bsp-configuration-option branch March 10, 2022 20:58
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.

2 participants