Skip to content

Commit 21720a4

Browse files
committed
refactor: fixing interval specification
1 parent db67f98 commit 21720a4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

projects/observability/src/shared/dashboard/data/graphql/table/explore/explore-table-data-source.model.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export class ExploreTableDataSourceModel extends TableDataSourceModel {
8080
interval: this.interval?.getDuration(),
8181
limit: request.position.limit * 2, // Prefetch 2 pages
8282
offset: request.position.startIndex,
83+
includeTotal: true,
8384
orderBy: request.sort && [
8485
{
8586
direction: request.sort.direction,

projects/observability/src/shared/graphql/request/builders/specification/explore/explore-specification-builder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export class ExploreSpecificationBuilder {
2424
type: AttributeMetadataType.Timestamp
2525
}),
2626
asGraphQlOrderByFragment: () => ({
27-
key: INTERVAL_START_QUERY_KEY
27+
key: 'intervalStart'
2828
})
2929
};
3030
}

0 commit comments

Comments
 (0)