PMM should set some reasonable limits of the query lengths as it takes queries from external data source. Currently I for MySQL using slow query log this:
Storing 500K fingerprint is impractical, for example from standpoint of showing it in UI
We already truncate example.... if anything there is more harm truncating example as it makes EXPLAIN non functional.
This data is from MySQL/Slow Query Log. Some data sources like Performance Schema enforce their own max length of stored query and do truncation
- use the same max length of fingerprint as for query example.