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 @@ -79,7 +79,7 @@ describe('API Trace detail data source model', () => {
expect.objectContaining({
requestType: TRACE_GQL_REQUEST,
traceId: 'test',
spanLimit: 0,
spanLimit: 1000,
timestamp: undefined,
traceProperties: expect.arrayContaining([
expect.objectContaining({ name: 'tags' }),
Expand All @@ -99,7 +99,7 @@ describe('API Trace detail data source model', () => {
expect.objectContaining({
requestType: TRACE_GQL_REQUEST,
traceId: 'test',
spanLimit: 0,
spanLimit: 1000,
timestamp: undefined,
traceProperties: expect.arrayContaining([
expect.objectContaining({ name: 'tags' }),
Expand All @@ -119,7 +119,7 @@ describe('API Trace detail data source model', () => {
expect.objectContaining({
requestType: TRACE_GQL_REQUEST,
traceId: 'test',
spanLimit: 0,
spanLimit: 1000,
timestamp: new Date(1568907645141),
traceProperties: expect.arrayContaining([
expect.objectContaining({ name: 'tags' }),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ describe('API Trace detail data source model', () => {
expect.objectContaining({
requestType: TRACE_GQL_REQUEST,
traceId: 'test',
spanLimit: 0,
spanLimit: 1000,
timestamp: undefined,
traceProperties: expect.arrayContaining([
expect.objectContaining({ name: 'tags' }),
Expand All @@ -94,7 +94,7 @@ describe('API Trace detail data source model', () => {
expect.objectContaining({
requestType: TRACE_GQL_REQUEST,
traceId: 'test',
spanLimit: 0,
spanLimit: 1000,
timestamp: new Date(1576364117792),
traceProperties: expect.arrayContaining([
expect.objectContaining({ name: 'tags' }),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class TraceDetailDataSourceModel extends GraphQlDataSourceModel<TraceDeta
requestType: TRACE_GQL_REQUEST,
traceType: this.trace[traceTypeKey],
traceId: this.trace[traceIdKey],
spanLimit: 0,
spanLimit: 1000,
timestamp: this.dateCoercer.coerce(this.startTime ?? this.trace.startTime),
traceProperties: this.getTraceAttributes().map(attribute =>
this.attributeSpecBuilder.attributeSpecificationForKey(attribute)
Expand Down