grafana-flamegraph: Improve prompt for open assistant to analyze flamegraph (#113071)

* feat: Improve prompt for open assistant

Existing prompt is not specific enough and uses a new visual tool, which will result in taking a screenshot to analyze the flame graph.

* Apply suggestion from @cyriltovena

less instructions for now.

---------

Co-authored-by: Cyril Tovena <cyril.tovena@gmail.com>
This commit is contained in:
Christian Simon
2025-10-28 10:39:00 +00:00
committed by GitHub
co-authored by Cyril Tovena
parent 7a7fd45bdd
commit 74a9a288e2
@@ -90,7 +90,11 @@ const FlameGraphHeader = ({
<div className={styles.rightContainer}>
{!!assistantContext?.length && (
<div className={styles.buttonSpacing}>
<OpenAssistantButton origin="grafana/flame-graph" prompt="Analyze Flame Graph" context={assistantContext} />
<OpenAssistantButton
origin="grafana/flame-graph"
prompt="Analyze this flamegraph by querying the current datasource"
context={assistantContext}
/>
</div>
)}
{showResetButton && (