File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
projects/observability/src/shared/dashboard/data/graphql/entity Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change 1- import { ModelProperty , NUMBER_PROPERTY } from '@hypertrace/hyperdash' ;
1+ import { BOOLEAN_PROPERTY , ModelProperty , NUMBER_PROPERTY } from '@hypertrace/hyperdash' ;
22import { Observable } from 'rxjs' ;
33import { map } from 'rxjs/operators' ;
44import { EntityType } from '../../../../graphql/model/schema/entity' ;
@@ -16,6 +16,12 @@ export abstract class EntitiesValuesDataSourceModel extends GraphQlDataSourceMod
1616 protected abstract specification : Specification ;
1717 protected abstract entityType : EntityType ;
1818
19+ @ModelProperty ( {
20+ key : 'includeInactive' ,
21+ type : BOOLEAN_PROPERTY . type
22+ } )
23+ public includeInactive : boolean = false ;
24+
1925 @ModelProperty ( {
2026 key : 'limit' ,
2127 type : NUMBER_PROPERTY . type
@@ -38,7 +44,8 @@ export abstract class EntitiesValuesDataSourceModel extends GraphQlDataSourceMod
3844 limit : this . limit ,
3945 properties : [ specification ] ,
4046 timeRange : this . getTimeRangeOrThrow ( ) ,
41- filters : inheritedFilters
47+ filters : inheritedFilters ,
48+ includeInactive : this . includeInactive
4249 } ;
4350 }
4451}
You can’t perform that action at this time.
0 commit comments