mirror of
https://github.com/grafana/grafana.git
synced 2025-01-13 09:32:12 -06:00
Pyroscope: Add Span ID to options collapsed info (#79981)
* Pyroscope: Add Span ID to options collapsed info * Update for multiple * Update public/app/plugins/datasource/grafana-pyroscope-datasource/QueryEditor/QueryOptions.tsx Co-authored-by: Fabrizio <135109076+fabrizio-grafana@users.noreply.github.com> --------- Co-authored-by: Fabrizio <135109076+fabrizio-grafana@users.noreply.github.com>
This commit is contained in:
parent
78ae795e06
commit
f0cb88e3b5
@ -48,6 +48,9 @@ export function QueryOptions({ query, onQueryChange, app, labels }: Props) {
|
||||
if (query.groupBy?.length) {
|
||||
collapsedInfo.push(`Group by: ${query.groupBy.join(', ')}`);
|
||||
}
|
||||
if (query.spanSelector?.length) {
|
||||
collapsedInfo.push(`Span ID: ${query.spanSelector.join(', ')}`);
|
||||
}
|
||||
if (query.maxNodes) {
|
||||
collapsedInfo.push(`Max nodes: ${query.maxNodes}`);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user