Skip to content

[Metrics] Investigate remaining ~1-2s ManualSendMessage spans #95584

Description

@cristipaval

Context

After cancelling the skeleton-blocked spans, we still see many ManualSendMessage spans in the ~1-2s range. This issue tracks the investigation into which real scenarios are the slowest, so we can target them next.

Ideas to check

1. Concierge chats

Look closer at Concierge chats, or chats that include Concierge responses. Some sessions took longer when the Concierge right panel was used to send messages, or when the user chatted with Concierge directly. Worth checking Concierge-related chats on both mobile and web.

2. Big account, big report, single expense

Found a user who sent 11 messages, each 2-3s. Worth checking a large account that opens "Spend", then opens a big report with many expenses, then opens a single expense from that list (right side panel) and sends a message there. Many components re-render because of the report + report_action updates.

3. Add attributes for the send path

Add attributes that tell us from which path a message was sent. So far the focus was mostly on chat from the inbox. Knowing the path would help us spot the worst scenario faster, and likely unblocks ideas 1 and 2.

Parent

Part of #77176

Issue OwnerCurrent Issue Owner: @LukasMod

Metadata

Metadata

Labels

Type

No type

Projects

Status
SUBISSUE

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions