diff --git a/projects/observability/src/shared/dashboard/data/graphql/entity/entities-values-data-source.model.ts b/projects/observability/src/shared/dashboard/data/graphql/entity/entities-values-data-source.model.ts index 418d471f6..dcd44a963 100644 --- a/projects/observability/src/shared/dashboard/data/graphql/entity/entities-values-data-source.model.ts +++ b/projects/observability/src/shared/dashboard/data/graphql/entity/entities-values-data-source.model.ts @@ -1,4 +1,4 @@ -import { ModelProperty, NUMBER_PROPERTY } from '@hypertrace/hyperdash'; +import { BOOLEAN_PROPERTY, ModelProperty, NUMBER_PROPERTY } from '@hypertrace/hyperdash'; import { Observable } from 'rxjs'; import { map } from 'rxjs/operators'; import { EntityType } from '../../../../graphql/model/schema/entity'; @@ -16,6 +16,12 @@ export abstract class EntitiesValuesDataSourceModel extends GraphQlDataSourceMod protected abstract specification: Specification; protected abstract entityType: EntityType; + @ModelProperty({ + key: 'includeInactive', + type: BOOLEAN_PROPERTY.type + }) + public includeInactive: boolean = false; + @ModelProperty({ key: 'limit', type: NUMBER_PROPERTY.type @@ -38,7 +44,8 @@ export abstract class EntitiesValuesDataSourceModel extends GraphQlDataSourceMod limit: this.limit, properties: [specification], timeRange: this.getTimeRangeOrThrow(), - filters: inheritedFilters + filters: inheritedFilters, + includeInactive: this.includeInactive }; } }