promptflow icon indicating copy to clipboard operation
promptflow copied to clipboard

Deployed Endpoint App Insights Not Capturing Full Data [BUG]

Open adampolak-vertex opened this issue 1 year ago • 1 comments

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:

  1. Deploy a PromptFlow endpoint
  2. 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.

adampolak-vertex avatar Jul 21 '24 15:07 adampolak-vertex

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

brynn-code avatar Jul 22 '24 03:07 brynn-code

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!

github-actions[bot] avatar Aug 21 '24 21:08 github-actions[bot]

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!

github-actions[bot] avatar Sep 21 '24 21:09 github-actions[bot]