mirror of https://github.com/grafana/grafana
Flame Graph: Exact search (#56769)
* Use exact match * Create searchable FlameGraphPanel.tsxpull/55728/head
parent
7386f8652c
commit
8f75ec4007
@ -0,0 +1,9 @@ |
||||
import React from 'react'; |
||||
|
||||
import { CoreApp, PanelProps } from '@grafana/data'; |
||||
|
||||
import FlameGraphContainer from './components/FlameGraphContainer'; |
||||
|
||||
export const FlameGraphPanel: React.FunctionComponent<PanelProps> = (props) => { |
||||
return <FlameGraphContainer data={props.data.series[0]} app={CoreApp.Unknown} flameGraphHeight={props.height} />; |
||||
}; |
@ -1,11 +1,5 @@ |
||||
import React from 'react'; |
||||
import { PanelPlugin } from '@grafana/data'; |
||||
|
||||
import { CoreApp, PanelPlugin, PanelProps } from '@grafana/data'; |
||||
|
||||
import FlameGraphContainer from './components/FlameGraphContainer'; |
||||
|
||||
export const FlameGraphPanel: React.FunctionComponent<PanelProps> = (props) => { |
||||
return <FlameGraphContainer data={props.data.series[0]} app={CoreApp.Unknown} flameGraphHeight={props.height} />; |
||||
}; |
||||
import { FlameGraphPanel } from './FlameGraphPanel'; |
||||
|
||||
export const plugin = new PanelPlugin(FlameGraphPanel); |
||||
|
Loading…
Reference in new issue