Custom buttons generated from Loki logs

Hi, I was wondering if there is any support or plan to support buttons similar to the button that pulls up a trace in Tempo from a log line, but instead allow users to define where the button should go? For instance, I am logging the QueryID of a Snowflake query, and I think it would be really useful to have a button that brings me directly to the breakdown of that query in Snowflake.

Hi, I can provide more context if need be.