A couple of our longest running queries exceed 10,000 characters, but cannot be analysed through the pghero interface because they have been truncated to around 9980 characters.
I had a look through the code but couldn't see any limitations being imposed.
Is this limit derived from the postgresql track_activity_query_size value, perhaps?