diff --git a/src/components/Assets/AssetList/AssetEntry/AssetEntry.stories.tsx b/src/components/Assets/AssetList/AssetEntry/AssetEntry.stories.tsx index cf94eb864..7c17934b6 100644 --- a/src/components/Assets/AssetList/AssetEntry/AssetEntry.stories.tsx +++ b/src/components/Assets/AssetList/AssetEntry/AssetEntry.stories.tsx @@ -54,7 +54,8 @@ export const Default: Story = { importance: 6 } ], - latestSpanTimestamp: "2023-02-20T14:36:03.480951Z" + latestSpanTimestamp: "2023-02-20T14:36:03.480951Z", + instrumentationLibrary: "Global" } } }; diff --git a/src/components/Assets/AssetList/AssetEntry/index.tsx b/src/components/Assets/AssetList/AssetEntry/index.tsx index 0f15b007c..f39dfbecc 100644 --- a/src/components/Assets/AssetList/AssetEntry/index.tsx +++ b/src/components/Assets/AssetList/AssetEntry/index.tsx @@ -185,6 +185,16 @@ export const AssetEntry = (props: AssetEntryProps) => { )} )} + {props.entry.instrumentationLibrary && ( + + + Scope + + {props.entry.instrumentationLibrary} + + + + )} ); diff --git a/src/components/Assets/AssetList/types.ts b/src/components/Assets/AssetList/types.ts index 0d1ca8dc9..a330223bb 100644 --- a/src/components/Assets/AssetList/types.ts +++ b/src/components/Assets/AssetList/types.ts @@ -54,6 +54,7 @@ export interface AssetEntry { p50: Duration | null; p95: Duration | null; displayName: string; + instrumentationLibrary?: string; insights: Insight[]; latestSpanTimestamp: string; impactScores?: ImpactScores;