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

Delay Adaptive Sampling #3097

Merged
merged 4 commits into from
Oct 22, 2024
Merged

Delay Adaptive Sampling #3097

merged 4 commits into from
Oct 22, 2024

Conversation

RohitRanjanMS
Copy link
Member

@RohitRanjanMS RohitRanjanMS commented Sep 24, 2024

Resolves #3100

The Functions runtime generates important telemetry during startup, but some logs are sampled out due to Adaptive sampling being enabled by default with a MaxTelemetryItemsPerSecond of 20. This results in some startup logs being lost when the sampling processor makes its decision.

The proposed change introduces a 15-second delay before Adaptive sampling begins, allowing initial telemetry to be more reliably ingested into AppInsights. The delay duration can be configured, and the feature can be disabled via host.json or appsettings override.

@RohitRanjanMS RohitRanjanMS requested a review from jviau October 18, 2024 18:11
@RohitRanjanMS RohitRanjanMS merged commit f79ea0b into dev Oct 22, 2024
7 checks passed
@RohitRanjanMS RohitRanjanMS deleted the roranjan/delayedSampling branch October 22, 2024 06:09
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.

Missing initialization logs
2 participants