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

Command func azure functionapp logstream fails on new Python apps #3609

Open
ggailey777 opened this issue Feb 23, 2024 · 0 comments
Open

Command func azure functionapp logstream fails on new Python apps #3609

ggailey777 opened this issue Feb 23, 2024 · 0 comments
Assignees

Comments

@ggailey777
Copy link

Linux Consumption apps (e.g. most Python apps) require you to use the func azure functionapp logstream <APP_NAME> --browser to open a new AI Logstream window in the Azure portal because of #2138.

However, this command seems to require the deprecated APPINSIGHTS_INSTRUMENTATIONKEY setting, which was are no longer setting for new apps (because it's deprecated).

Repro: create a new Linux app on a Consumption plan and run func azure functionapp logstream <APP_NAME> --browser
Expected: Logstream opens in a new browser window.
Actual: Error is returned: Missing APPINSIGHTS_INSTRUMENTATIONKEY App Setting. Please make sure you have Application Insights configured with you function app.

The current func azure functionapp logstream experience is currently broken in the Python quickstart.

@ggailey777 ggailey777 changed the title Command func azure functionapp logstream <APP_NAME> --browser fails on new apps Command func azure functionapp logstream fails on new Python apps Feb 23, 2024
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

No branches or pull requests

2 participants