File tree Expand file tree Collapse file tree 2 files changed +22
-1
lines changed
packages/jaeger-ui/src/components/common Expand file tree Collapse file tree 2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import { IIconProps } from '../icons/types';
1414import { InsightType } from './types' ;
1515import ClockWithTicksIcon from '../icons/ClockWithTicksIcon' ;
1616import PieChartIcon from '../icons/PieChartIcon' ;
17+ import TwoHorizontalEndpointsIcon from '../icons/TwoHorizontalEndpointsIcon' ;
1718
1819export const getInsightTypeInfo = (
1920 type : InsightType
@@ -99,7 +100,7 @@ export const getInsightTypeInfo = (
99100 label : 'Session in View Query Detected' ,
100101 } ,
101102 [ InsightType . EndpointChattyApiV2 ] : {
102- icon : SQLDatabaseIcon ,
103+ icon : TwoHorizontalEndpointsIcon ,
103104 label : 'Excessive API Calls Detected' ,
104105 } ,
105106 [ InsightType . EndpointHighNumberOfQueries ] : {
Original file line number Diff line number Diff line change 1+ import React from 'react' ;
2+ import { useIconProps } from './hooks' ;
3+ import { IIconProps } from './types' ;
4+
5+ const TwoHorizontalEndpointsIconComponent = ( props : IIconProps ) => {
6+ const { size, color } = useIconProps ( props ) ;
7+
8+ return (
9+ < svg xmlns = "http://www.w3.org/2000/svg" width = { size } height = { size } fill = "none" viewBox = "0 0 16 16" >
10+ < path
11+ fill = { color }
12+ d = "M13 9c-.929 0-1.705.64-1.929 1.5H1v1h10.071c.2235.86 1 1.5 1.929 1.5 1.103 0 2-.897 2-2s-.897-2-2-2Zm0 3c-.5515 0-1-.4485-1-1s.4485-1 1-1 1 .4485 1 1-.4485 1-1 1Zm0-9c-.929 0-1.705.64-1.929 1.5H1v1h10.071c.2235.86 1 1.5 1.929 1.5 1.103 0 2-.897 2-2s-.897-2-2-2Zm0 3c-.5515 0-1-.4485-1-1s.4485-1 1-1 1 .4485 1 1-.4485 1-1 1Z"
13+ />
14+ </ svg >
15+ ) ;
16+ } ;
17+
18+ const TwoHorizontalEndpointsIcon = React . memo ( TwoHorizontalEndpointsIconComponent ) ;
19+
20+ export default TwoHorizontalEndpointsIcon ;
You can’t perform that action at this time.
0 commit comments