@@ -14775,7 +15147,9 @@ Object {
>
+ >
+ Select metric for service map display
+
@@ -14858,37 +15232,66 @@ Object {
class="euiHorizontalRule euiHorizontalRule--full euiHorizontalRule--marginMedium"
/>
@@ -15938,7 +16341,9 @@ Object {
>
+ >
+ Select metric for service map display
+
-
-
+
+
diff --git a/public/components/trace_analytics/components/services/service_view.tsx b/public/components/trace_analytics/components/services/service_view.tsx
index 8a2d9273b..215f51621 100644
--- a/public/components/trace_analytics/components/services/service_view.tsx
+++ b/public/components/trace_analytics/components/services/service_view.tsx
@@ -532,6 +532,8 @@ export function ServiceView(props: ServiceViewProps) {
currService={props.serviceName}
page="serviceView"
filterByCurrService={true}
+ mode={mode}
+ hideSearchBar={page === 'serviceFlyout'}
/>
>
) : (
diff --git a/public/components/trace_analytics/components/services/services_content.tsx b/public/components/trace_analytics/components/services/services_content.tsx
index d1bf6edf0..20bfddfb6 100644
--- a/public/components/trace_analytics/components/services/services_content.tsx
+++ b/public/components/trace_analytics/components/services/services_content.tsx
@@ -242,6 +242,7 @@ export function ServicesContent(props: ServicesProps) {
currService={filteredService}
page={page}
setCurrentSelectedService={setCurrentSelectedService}
+ mode={mode}
/>
) : (
diff --git a/test/constants.ts b/test/constants.ts
index 7140688aa..fe399e08b 100644
--- a/test/constants.ts
+++ b/test/constants.ts
@@ -209,8 +209,11 @@ export const TEST_SERVICE_MAP_GRAPH = {
label: 'order',
size: 15,
title: 'order\n\n Average duration: 90.1ms \n Error rate: 4.17% \n Request rate: 48',
- borderWidth: 0,
- color: 'rgba(158, 134, 192, 1)',
+ borderWidth: 3,
+ color: {
+ background: 'rgba(158, 134, 192, 1)',
+ border: '#4A4A4A',
+ },
font: {
color: 'rgba(72, 122, 180, 1)',
},
@@ -224,8 +227,11 @@ export const TEST_SERVICE_MAP_GRAPH = {
size: 15,
title:
'analytics-service\n\n Average duration: 12.99ms \n Error rate: 0% \n Request rate: 37',
- borderWidth: 0,
- color: 'rgba(210, 202, 224, 1)',
+ borderWidth: 3,
+ color: {
+ background: 'rgba(210, 202, 224, 1)',
+ border: '#4A4A4A',
+ },
font: {
color: 'rgba(72, 122, 180, 1)',
},
@@ -238,8 +244,11 @@ export const TEST_SERVICE_MAP_GRAPH = {
label: 'database',
size: 15,
title: 'database\n\n Average duration: 49.54ms \n Error rate: 3.77% \n Request rate: 53',
- borderWidth: 0,
- color: 'rgba(187, 171, 212, 1)',
+ borderWidth: 3,
+ color: {
+ background: 'rgba(187, 171, 212, 1)',
+ border: '#4A4A4A',
+ },
font: {
color: 'rgba(72, 122, 180, 1)',
},
@@ -253,8 +262,11 @@ export const TEST_SERVICE_MAP_GRAPH = {
size: 15,
title:
'frontend-client\n\n Average duration: 207.71ms \n Error rate: 7.41% \n Request rate: 27',
- borderWidth: 0,
- color: 'rgba(78, 42, 122, 1)',
+ borderWidth: 3,
+ color: {
+ background: 'rgba(78, 42, 122, 1)',
+ border: '#4A4A4A',
+ },
font: {
color: 'rgba(72, 122, 180, 1)',
},
@@ -267,8 +279,11 @@ export const TEST_SERVICE_MAP_GRAPH = {
label: 'inventory',
size: 15,
title: 'inventory\n\n Average duration: 183.52ms \n Error rate: 3.23% \n Request rate: 31',
- borderWidth: 0,
- color: 'rgba(95, 61, 138, 1)',
+ borderWidth: 3,
+ color: {
+ background: 'rgba(95, 61, 138, 1)',
+ border: '#4A4A4A',
+ },
font: {
color: 'rgba(72, 122, 180, 1)',
},
@@ -282,8 +297,11 @@ export const TEST_SERVICE_MAP_GRAPH = {
size: 15,
title:
'authentication\n\n Average duration: 139.09ms \n Error rate: 8.33% \n Request rate: 12',
- borderWidth: 0,
- color: 'rgba(125, 95, 166, 1)',
+ borderWidth: 3,
+ color: {
+ background: 'rgba(125, 95, 166, 1)',
+ border: '#4A4A4A',
+ },
font: {
color: 'rgba(72, 122, 180, 1)',
},
@@ -296,8 +314,11 @@ export const TEST_SERVICE_MAP_GRAPH = {
label: 'payment',
size: 15,
title: 'payment\n\n Average duration: 134.36ms \n Error rate: 9.09% \n Request rate: 11',
- borderWidth: 0,
- color: 'rgba(129, 99, 169, 1)',
+ borderWidth: 3,
+ color: {
+ background: 'rgba(129, 99, 169, 1)',
+ border: '#4A4A4A',
+ },
font: {
color: 'rgba(72, 122, 180, 1)',
},
@@ -311,8 +332,11 @@ export const TEST_SERVICE_MAP_GRAPH = {
size: 15,
title:
'recommendation\n\n Average duration: 176.97ms \n Error rate: 6.25% \n Request rate: 16',
- borderWidth: 0,
- color: 'rgba(100, 66, 143, 1)',
+ borderWidth: 3,
+ color: {
+ background: 'rgba(100, 66, 143, 1)',
+ border: '#4A4A4A',
+ },
font: {
color: 'rgba(72, 122, 180, 1)',
},
@@ -390,6 +414,7 @@ export const TEST_SERVICE_MAP_GRAPH = {
],
},
};
+
export const TEST_SERVICE_MAP = {
order: {
serviceName: 'order',