Skip to content

Commit 589e8a8

Browse files
fix: addressing review comments
1 parent a39e502 commit 589e8a8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

projects/distributed-tracing/src/shared/components/span-detail/log-events/span-log-events.dashboard.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { TableMode, TableStyle } from '@hypertrace/components';
2-
import { ObservabilityTableCellType } from '../../../../../../observability/src/shared/components/table/observability-table-cell-type';
2+
import { ObservabilityTableCellType } from '@hypertrace/observability';
33

44
export const spanLogEventsDashboard = {
55
location: 'SPAN_LOG_EVENTS',

projects/distributed-tracing/src/shared/components/span-detail/span-detail.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ import { SpanDetailLayoutStyle } from './span-detail-layout-style';
4949
<ht-tab *ngIf="this.showLogEventstab" label="Logs" [badge]="this.totalLogEvents">
5050
<ht-span-log-events
5151
[logEvents]="this.spanData?.logEvents"
52-
[startTime]="this.spanData?.startTime"
52+
[startTime]="this.spanData?.traceStartTime"
5353
></ht-span-log-events>
5454
</ht-tab>
5555
</ht-tab-group>

projects/distributed-tracing/src/shared/dashboard/data/graphql/table/log-events/log-events-data-source.model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class LogEventsDataSourceModel extends GraphQlDataSourceModel<TableDataSo
3131

3232
private tableDataResponse(logEventData: LogEvent[]): TableDataResponse<TableRow> {
3333
return {
34-
data: logEventData.map((logEvent: LogEvent) => ({ ...logEvent, spanStartTime: this.startTime })) as TableRow[],
34+
data: logEventData.map((logEvent: LogEvent) => ({ ...logEvent, traceStartTime: this.startTime })) as TableRow[],
3535
totalCount: logEventData.length
3636
};
3737
}

0 commit comments

Comments
 (0)