diff --git a/packages/jaeger-ui/src/components/SearchTracePage/SearchResults/ScatterPlot.jsx b/packages/jaeger-ui/src/components/SearchTracePage/SearchResults/ScatterPlot.jsx index 779369a14e..33dd4d23b7 100644 --- a/packages/jaeger-ui/src/components/SearchTracePage/SearchResults/ScatterPlot.jsx +++ b/packages/jaeger-ui/src/components/SearchTracePage/SearchResults/ScatterPlot.jsx @@ -15,7 +15,7 @@ import React, { useRef, useState, useLayoutEffect } from 'react'; import moment from 'moment'; import PropTypes from 'prop-types'; -import { ScatterChart, XAxis, YAxis, Scatter, Tooltip, ResponsiveContainer, Cell } from 'recharts'; +import { ScatterChart, XAxis, YAxis, ZAxis, Scatter, Tooltip, ResponsiveContainer, Cell } from 'recharts'; import { FALLBACK_TRACE_NAME } from '../../../constants'; import { ONE_MILLISECOND, formatDuration } from '../../../utils/date'; @@ -79,6 +79,7 @@ export default function ScatterPlot(props) { tickCount={3} tickFormatter={t => formatDuration(t)} /> + sp.tags.some(isErrorTag)) ? 'red' : '#12939A', }))}