Skip to content

Commit

Permalink
PMM-12091 Fix latency tooltips measurement (#1498)
Browse files Browse the repository at this point in the history
  • Loading branch information
IuriiMr authored May 9, 2023
1 parent ca4c694 commit e6878cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ const Metrics: FC<MetricsProps> = ({
const perQueryStatsColumn = (item) => {
const latencyChartProps = {
data: item.metric,
measurement: item.pipeTypes.perQueryStatsPipe,
};

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ import { getStyles } from './Latency.styles';

export const Latency = (props) => {
const styles = getStyles();
let measurement;
const width = 200;
const { className, data = [] } = props;
const { className, data = [], measurement } = props;
const [tooltip, setTooltip] = useState('');
const graphContainer = useRef(null);

Expand Down

0 comments on commit e6878cd

Please sign in to comment.