MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.09k stars 21.14k forks source link

Monitoring a prompt-flow model in production with system-assigned instance #116370

Open fraddddd opened 8 months ago

fraddddd commented 8 months ago

Hello! Following this guide, I created an endpoint for my prompt flow, by using a System Assigned Identity, then I tested the enpoint and used it in production. Now, I want to explore the monitoring functionality as discribed in page "Model monitoring for generative AI applications (preview)". but it is failing because the data assets are empty. I see now that probably I should have used a User-assigned identity.

Can you confirm that it is possible to use the "Monitoring" functionality only with a User-assigned identity? If so, can you please specify it in this page? As far as I see here, the only difference between the two types of identities in usage is that the User-assigned identity is recommended if you need to create multiple endpoints (that was not my use case).

If it should be possible to monitor the model with a system-assigned identity, can you please help me to figure out the possible reasons for which the data assets of input and output are created but are empty?

Thanks in advance!


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ManoharLakkoju-MSFT commented 8 months ago

@fraddddd Thanks for your feedback! We will investigate and update as appropriate.

Naveenommi-MSFT commented 8 months ago

@likebupt Could you please review add comments on this, update as appropriate.

Naveenommi-MSFT commented 8 months ago

@fraddddd Thank you for bringing this to our attention. I've delegated this to content author @likebupt, who will review it and offer their insightful opinions.

imatiach-msft commented 4 months ago

"Can you confirm that it is possible to use the "Monitoring" functionality only with a User-assigned identity?" Hi @fraddddd , sorry for the late response. I think it should be possible to use a system-assigned identity. Could you please send the output logs to us so we can take a look? Please send to email on my github profile.

likebupt commented 3 months ago

Hi @fraddddd , Thanks for your feedback. My understanding is that your endpoint works well, but you set up monitoring failed due to the dataset is empty. I think this might be related to the model data collector issue. Could you please share your workspace region, endpoint name and deployment name so that we can investigate? Thanks.