Skip to content

Commit f9a0b85

Browse files
feat(exit call breakup): adding exit calls hover breakup feature in the explorer dashboard (#779)
* feat(exit call breakup): adding exit calls hover breakup feature in the explorer dashboard
1 parent c9a5b90 commit f9a0b85

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

projects/observability/src/pages/explorer/explorer-dashboard-builder.ts

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { Observable, of, ReplaySubject, Subject } from 'rxjs';
2222
import { distinctUntilChanged, map, switchMap } from 'rxjs/operators';
2323
import { ExploreVisualizationRequest } from '../../shared/components/explore-query-editor/explore-visualization-builder';
2424
import { LegendPosition } from '../../shared/components/legend/legend.component';
25+
import { ObservabilityTableCellType } from '../../shared/components/table/observability-table-cell-type';
2526
import { ExplorerVisualizationCartesianDataSourceModel } from '../../shared/dashboard/data/graphql/explorer-visualization/explorer-visualization-cartesian-data-source.model';
2627
import { ObservabilityTraceType } from '../../shared/graphql/model/schema/observability-traces';
2728

@@ -205,10 +206,21 @@ export class ExplorerDashboardBuilder {
205206
{
206207
type: 'table-widget-column',
207208
title: 'Exit Calls',
208-
filterable: true,
209+
filterable: false,
210+
display: ObservabilityTableCellType.ExitCalls,
209211
value: {
210-
type: 'attribute-specification',
211-
attribute: 'apiExitCalls'
212+
type: 'composite-specification',
213+
specifications: [
214+
{
215+
type: 'attribute-specification',
216+
attribute: 'apiExitCalls'
217+
},
218+
{
219+
type: 'attribute-specification',
220+
attribute: 'apiCalleeNameCount'
221+
}
222+
],
223+
'order-by': 'apiExitCalls'
212224
},
213225
'click-handler': {
214226
type: 'api-trace-navigation-handler'

0 commit comments

Comments
 (0)