promptflow
promptflow copied to clipboard
Deployed Endpoint App Insights Not Capturing Full Data [BUG]
Describe the bug The application insights for PromptFlow as a deployed endpoint cuts off the full data.
When the content provided to the prompt is too long it cuts it off and does not provide the full data payload.
How To Reproduce the bug Steps to reproduce the behavior, how frequent can you experience the bug:
- Deploy a PromptFlow endpoint
- Add an input argument which requires 24611 characters (or a large number)
Expected behavior Would expect all the content used in the PromptFlow would be included in application insights, but these fields are cut off.
Additional context I understand that there may be size/cost issues with retaining all data. But there should be some kind of notice like TRUNCATED DUE TO SIZE so it does not appear that there was an error in processing.
Hi @adampolak-vertex , thanks for reaching us. Promptflow will not limit data size, I guess the data size was limited by Azure App Insights. I found some reference about this limitation: https://learn.microsoft.com/en-us/answers/questions/543396/how-to-increase-the-size-of-messages-logged-in-app https://learn.microsoft.com/en-us/azure/azure-monitor/app/api-custom-events-metrics#limits
We will update this limitation to our docs. + MS learn deployment doc owner: @likebupt
Hi, we're sending this friendly reminder because we haven't heard back from you in 30 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 7 days of this comment, the issue will be automatically closed. Thank you!
Hi, we're sending this friendly reminder because we haven't heard back from you in 30 days. We need more information about this issue to help address it. Please be sure to give us your input. If we don't hear back from you within 7 days of this comment, the issue will be automatically closed. Thank you!