-
Notifications
You must be signed in to change notification settings - Fork 356
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
Bump app insights dependencies #2906
Conversation
@mathewc By any chance, can you have a look at this one? |
Looks good to me - @brettsam see any issues here? I notice that even the Functions Host hasn't pulled in this new version yet - it's still on 2.20. |
I swear there was a reason we had to abandon updates to this package -- maybe a dependency could cause v3 to break if we took it due to some major bump? Let me try to figure it out... |
That doesn't seem to be it -- we may have just started doing these changes directly in azure-functions-host for convenience. That meant we didn't have to do a release, etc, just to bump to a newer version. @ilmax -- I assume the end-goal for these versions to be in Functions production? |
n/m -- appears to be a WebJobs requirement based on the linked issue. Right now, customers should be able to directly reference the required App Insights nuget packages in their WebJobs app; nothing should be preventing that... Unfortunately, our release flow for these packages is slow due to the dependency in Functions production. So once this is in, the flow needs to be:
|
/azp run |
Azure Pipelines could not run because the pipeline triggers exclude this branch/path. |
The build fails here b/c of some test dependencies. Let me pull this and fix it up. |
So we just need to reference the right version of AppInsights to fix the issue? I'd like still to update AppInsight package here to do the right thing by default, since the old ServiceBus library is deprecated and the new one isn't supported properly by the referenced version of the AppInsights library |
Any direct reference in your project will override what we reference here and should get you running with the latest; this shouldn't be blocking anyone. It's not required that we update (although it's a nicer experience). That being said, I've created a new PR to update b/c it was easier to manage from testing, etc. I'm going to close this one in favor of that: #2916 |
Is this true for the Isolated worker? I was under the impression that users couldn't influence the dependencies used there. |
I updated my webjobs and referenced the 2.21 version of application insights, but still the issue is not resolved, within application insights I still don't have end to end tracing of service bus messages. @brettsam Any updates on #2916? This is causing real issues to customers. Any ETA on when the PR one can be merged an a new version of the WebJob SDK be released? |
@ilmax -- to be clear, you are running a WebJobs app, not a Functions app? You may need to explain what you're trying to do. WebJobs and Functions don't do much with SB tracing so if updating to 2.21.0 didn't work, we may need to follow up with SB and App Insights teams. Next release of Functions will include 2.21.0 -- Azure/azure-functions-host#8838 |
Correct. In order to get it working I had to add to every project an additional reference (Microsoft.ApplicationInsights.DependencyCollector v 2.21.0) that's actually where the code for dealing with dependency is. So it can be worked around, it just takes times, it would be much easier to reference the correct AI version in the sdk. |
Thanks for confirming you were able to get it working. The commit is in, but it takes a while (a month maybe) before it can be released to nuget.org as it needs to be released globally in Functions production first. |
Fixes #2900
I've updated all the application insights dependencies to 2.21 and the SnapshotCollector to the latest stable 1.4.3, anything else that needs to be done here @JoshLove-msft ?