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

V2 Distributed Tracing Showing Long Response Times when Extended Sessions is enabled #2749

Open
nathan-roe-adesa opened this issue Feb 21, 2024 Discussed in #2747 · 3 comments

Comments

@nathan-roe-adesa
Copy link

Discussed in #2747

I'm moving this to an issue because disabling distributed tracing made the issue with slow executions go away. It seems like enabling tracing causes the application to execute differently than with the tracing off.

Originally posted by nathan-roe-adesa February 20, 2024
I enabled V2 distributed tracing in one of my applications and I'm seeing long response times being logged that don't seem to make sense because the functions themselves are executing in 10's of milliseconds. See the screenshot below:

image

Any idea why this is happening?

@nathan-roe-adesa
Copy link
Author

nathan-roe-adesa commented Feb 21, 2024

Interesting graph from the function metrics in Azure Portal

image

This is a graph from 8 AM to 5 PM EST on 2/21/24. I deployed the change to turn on distributed tracing around 11:30 AM and I turned it off around 3:30 PM. You can see a distinct difference in the graph when it is on versus off. With tracing on it seems that a few of the instances are handling most of the requests whereas when it's off the load is balanced across all the instances.

@nathan-roe-adesa
Copy link
Author

Turning off extended sessions seems to have resolved the issue for me. It's not clear to me what the link is between extended sessions and distributed tracing, but there was definitely a major regression to my application when they were both enabled at the same time.

@lilyjma
Copy link
Contributor

lilyjma commented Feb 23, 2024

@bachuv - FYI

@bachuv bachuv changed the title V2 Distributed Tracing Showing Long Response Times V2 Distributed Tracing Showing Long Response Times when Extended Sessions is enabled Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants