-
Notifications
You must be signed in to change notification settings - Fork 534
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
[WebToolsE2E][Aspire] For an Azure Function app under Aspire orchestration, we don't show any metrics info even if select function resource #6482
Comments
@v-bennettyue Can you confirm what version of the |
@captainsafia I'm able to reproduce this too. The version I see in the csproj is |
@balachir Hmmm....something might have gone wrong with the scaffolding then. We don't ship a |
@captainsafia I tried this again using the latest version of Functions templates (version 4.100.0). I can still reproduce this issue that's described in the Repro Steps. It shows the Metrics tab, but when you select the function app, it says "No metrics for the selected resource". Here's my AppHost project file - this matches the versions available from the latest 9.0 Aspire build. |
@captainsafia is investigating into this further. This may require changes on the aspire repo. |
@v-bennettyue can you try the workaround that Safia mentioned in #6452 ? Does that solve this issue? |
@captainsafia @balachir This issue not repro on .net 9.0 Azure Functions + Aspire, but it still repro on .net 8.0 Azure Functions + Aspire, the latest version of the toolset is 4.101.0. |
Yes, this is expected behavior for now. Only the 9.0 templates have been updated for Functions. Once we have confidence in the quality of those, we'll make the same updates to the 8.0 templates. We'll let you know when that happens. |
@captainsafia thanks, it's great that this works for 9.0 Functions template now. I believe we don't need to track this as a blocking issue for Aspire 9.0 GA release anymore. Shall we still keep this issue active to track the 8.0 Functions template case? If you agree, you can go and update the milestone and priority as appropriate. Thanks! |
@captainsafia Let's go ahead and close this out for now. We're primarily targeting support for .NET 9 with the preview of this feature. As GA approaches, we'll do another round of testing for .NET 8. |
INSTALL STEPS
REPRO STEPS
Note: For .net 9.0 azure function, it will encounter bug #6452
ACTUAL
There is Function resource available, but there is no information on the page
EXPECTED
There is complete function information on Metrics page
The text was updated successfully, but these errors were encountered: