Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/components/Insights/DurationInsight/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ export const DurationInsight = (props: DurationInsightProps) => {
props.onHistogramButtonClick(
props.insight.spanInfo.instrumentationLibrary,
props.insight.spanInfo.name,
props.insight.type
props.insight.type,
props.insight.spanInfo.displayName
);
};

Expand Down
3 changes: 2 additions & 1 deletion src/components/Insights/DurationInsight/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ export interface DurationInsightProps extends InsightProps {
onHistogramButtonClick: (
instrumentationLibrary: string,
name: string,
insightType: InsightType
insightType: InsightType,
displayName: string
) => void;
onLiveButtonClick: (prefixedCodeObjectId: string) => void;
onCompareButtonClick: (
Expand Down
6 changes: 4 additions & 2 deletions src/components/Insights/InsightList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,14 +245,16 @@ const renderInsightCard = (
const handleHistogramButtonClick = (
instrumentationLibrary: string,
name: string,
insightType: InsightType
insightType: InsightType,
displayName: string
) => {
window.sendMessageToDigma({
action: actions.OPEN_HISTOGRAM,
payload: {
instrumentationLibrary,
name,
insightType
insightType,
displayName
}
});
};
Expand Down
3 changes: 2 additions & 1 deletion src/components/Insights/NoScalingIssueInsight/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export const NoScalingIssueInsight = (props: NoScalingIssueInsightProps) => {
props.onHistogramButtonClick(
props.insight.spanInfo.instrumentationLibrary,
props.insight.spanInfo.name,
props.insight.type
props.insight.type,
props.insight.spanInfo.displayName
);
};

Expand Down
3 changes: 2 additions & 1 deletion src/components/Insights/NoScalingIssueInsight/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export interface NoScalingIssueInsightProps extends InsightProps {
onHistogramButtonClick: (
instrumentationLibrary: string,
name: string,
insightType: InsightType
insightType: InsightType,
displayName: string
) => void;
}
3 changes: 2 additions & 1 deletion src/components/Insights/PerformanceAtScaleInsight/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ export const PerformanceAtScaleInsight = (
props.onHistogramButtonClick(
props.insight.spanInfo.instrumentationLibrary,
props.insight.spanInfo.name,
props.insight.type
props.insight.type,
props.insight.spanInfo.displayName
);
};

Expand Down
3 changes: 2 additions & 1 deletion src/components/Insights/PerformanceAtScaleInsight/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export interface PerformanceAtScaleInsightProps extends InsightProps {
onHistogramButtonClick: (
instrumentationLibrary: string,
name: string,
insightType: InsightType
insightType: InsightType,
displayName: string
) => void;
}
3 changes: 2 additions & 1 deletion src/components/Insights/ScalingIssueInsight/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ export const ScalingIssueInsight = (props: ScalingIssueInsightProps) => {
props.onHistogramButtonClick(
props.insight.spanInfo.instrumentationLibrary,
props.insight.spanInfo.name,
props.insight.type
props.insight.type,
props.insight.spanInfo.displayName
);
};

Expand Down
3 changes: 2 additions & 1 deletion src/components/Insights/ScalingIssueInsight/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export interface ScalingIssueInsightProps extends InsightProps {
onHistogramButtonClick: (
instrumentationLibrary: string,
name: string,
insightType: InsightType
insightType: InsightType,
displayName: string
) => void;
}