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
Original file line number Diff line number Diff line change
Expand Up @@ -518,9 +518,26 @@ export class ExplorerDashboardBuilder {
protected getAttributesToExcludeFromUserDisplay(context: ExplorerGeneratedDashboardContext): Set<string> {
switch (context) {
case ObservabilityTraceType.Api:
return new Set(['protocol', 'apiName', 'statusCode', 'duration', 'startTime', 'calls']);
return new Set([
'protocol',
'serviceName',
'apiName',
'statusCode',
'apiTraceErrorSpanCount',
'duration',
'startTime',
'calls'
]);
case SPAN_SCOPE:
return new Set(['protocolName', 'displaySpanName', 'statusCode', 'duration', 'startTime']);
return new Set([
'protocolName',
'serviceName',
'displaySpanName',
'statusCode',
'errorCount',
'duration',
'startTime'
]);
default:
return assertUnreachable(context);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,12 @@ export class ExplorerComponent {
private getGroupByQueryParams(groupBy?: GraphQlGroupBy): QueryParamObject {
const key = groupBy?.keys[0];
if (key === undefined) {
return {};
return {
// Clear existing selection
[ExplorerQueryParam.Group]: undefined,
[ExplorerQueryParam.OtherGroup]: undefined,
[ExplorerQueryParam.GroupLimit]: undefined
};
}

return {
Expand Down