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 @@ -37,7 +37,7 @@ import { ExploreQueryEditorComponent } from '../../shared/components/explore-que
import { ObservabilityTraceType } from '../../shared/graphql/model/schema/observability-traces';
import { ExploreSpecificationBuilder } from '../../shared/graphql/request/builders/specification/explore/explore-specification-builder';
import { EntitiesGraphqlQueryBuilderService } from '../../shared/graphql/request/handlers/entities/query/entities-graphql-query-builder.service';
import { EXPLORE_GQL_REQUEST } from '../../shared/graphql/request/handlers/explore/explore-graphql-query-handler.service';
import { EXPLORE_GQL_REQUEST } from '../../shared/graphql/request/handlers/explore/explore-query';
import { ExplorerDashboardBuilder } from './explorer-dashboard-builder';
import { ExplorerComponent } from './explorer.component';
import { ExplorerModule } from './explorer.module';
Expand Down
2 changes: 2 additions & 0 deletions projects/observability/src/public-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ export * from './shared/graphql/request/handlers/entities/query/entity/entity-gr
export * from './shared/graphql/request/handlers/entities/query/interactions/interactions-graphql-query-handler.service';
export * from './shared/graphql/request/handlers/entities/query/topology/entity-topology-graphql-query-handler.service';
export * from './shared/graphql/request/handlers/explore/explore-graphql-query-handler.service';
export * from './shared/graphql/request/handlers/explore/explore-graphql-query-builder.service';
export * from './shared/graphql/request/handlers/explore/explore-query';

// Services
export * from './shared/services/entity/entity-icon-lookup.service';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ import { GraphQlGroupBy } from '../../graphql/model/schema/groupby/graphql-group
import { ObservabilityTraceType } from '../../graphql/model/schema/observability-traces';
import { ExploreSpecification } from '../../graphql/model/schema/specifications/explore-specification';
import { ExploreSpecificationBuilder } from '../../graphql/request/builders/specification/explore/explore-specification-builder';
import {
EXPLORE_GQL_REQUEST,
GraphQlExploreRequest
} from '../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
import { EXPLORE_GQL_REQUEST, GraphQlExploreRequest } from '../../graphql/request/handlers/explore/explore-query';
import { CartesianSeriesVisualizationType } from '../cartesian/chart';

@Injectable()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import { Observable } from 'rxjs';
import { map } from 'rxjs/operators';
import { ExploreSpecification } from '../../../../graphql/model/schema/specifications/explore-specification';
import { ExploreSpecificationBuilder } from '../../../../graphql/request/builders/specification/explore/explore-specification-builder';
import { ExploreGraphQlQueryHandlerService } from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
import {
ExploreGraphQlQueryHandlerService,
EXPLORE_GQL_REQUEST,
GraphQlExploreResponse
} from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
} from '../../../../graphql/request/handlers/explore/explore-query';

@Model({
type: 'api-calls-count-data-source'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import { AttributeMetadataType, MetricAggregationType, ObservedGraphQlRequest }
import { ModelApi } from '@hypertrace/hyperdash';
import { runFakeRxjs } from '@hypertrace/test-utils';
import { ExploreSpecificationBuilder } from '../../../../graphql/request/builders/specification/explore/explore-specification-builder';
import { ExploreGraphQlQueryHandlerService } from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
import {
ExploreGraphQlQueryHandlerService,
EXPLORE_GQL_REQUEST,
GraphQlExploreResponse
} from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
} from '../../../../graphql/request/handlers/explore/explore-query';
import { ApiCallsCountDataSourceModel } from './api-calls-count-data-source-model';

describe('API call count data source model', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { ExploreSpecificationBuilder } from '../../../../graphql/request/builder
import {
GQL_EXPLORE_RESULT_INTERVAL_KEY,
GraphQlExploreResponse
} from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
} from '../../../../graphql/request/handlers/explore/explore-query';
import { CartesianResult } from '../../../widgets/charts/cartesian-widget/cartesian-widget.model';
import { GraphQlGroupBy } from './../../../../graphql/model/schema/groupby/graphql-group-by';
import { ExploreCartesianDataSourceModel, ExplorerData } from './explore-cartesian-data-source.model';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ import { Series } from '../../../../components/cartesian/chart';
import { ExploreRequestState } from '../../../../components/explore-query-editor/explore-visualization-builder';
import { MetricTimeseriesInterval } from '../../../../graphql/model/metric/metric-timeseries';
import { ExploreSpecification } from '../../../../graphql/model/schema/specifications/explore-specification';
import { ExploreGraphQlQueryHandlerService } from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
import {
ExploreGraphQlQueryHandlerService,
EXPLORE_GQL_REQUEST,
GraphQlExploreRequest,
GraphQlExploreResponse
} from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
} from '../../../../graphql/request/handlers/explore/explore-query';
import { CartesianDataFetcher, CartesianResult } from '../../../widgets/charts/cartesian-widget/cartesian-widget.model';
import { ExploreResult } from './explore-result';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { AttributeMetadataType, MetricAggregationType } from '@hypertrace/distributed-tracing';
import { GQL_EXPLORE_RESULT_INTERVAL_KEY } from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
import { GQL_EXPLORE_RESULT_INTERVAL_KEY } from '../../../../graphql/request/handlers/explore/explore-query';
import { ExploreResult } from './explore-result';

describe('Explore result', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import {
GQL_EXPLORE_RESULT_INTERVAL_KEY,
GraphQlExploreResponse,
GraphQlExploreResult
} from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
} from '../../../../graphql/request/handlers/explore/explore-query';

export class ExploreResult {
private static readonly OTHER_SERVER_GROUP_NAME: string = '__Other';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
EXPLORE_GQL_REQUEST,
GQL_EXPLORE_RESULT_INTERVAL_KEY,
GraphQlExploreResponse
} from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
} from '../../../../graphql/request/handlers/explore/explore-query';
import { CartesianResult } from '../../../widgets/charts/cartesian-widget/cartesian-widget.model';
import { ExplorerData } from '../explore/explore-cartesian-data-source.model';
import { ExplorerVisualizationCartesianDataSourceModel } from './explorer-visualization-cartesian-data-source.model';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ import {
ExploreRequestState,
ExploreVisualizationRequest
} from '../../../../components/explore-query-editor/explore-visualization-builder';
import {
ExploreGraphQlQueryHandlerService,
GraphQlExploreRequest
} from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
import { ExploreGraphQlQueryHandlerService } from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
import { GraphQlExploreRequest } from '../../../../graphql/request/handlers/explore/explore-query';
import { CartesianResult } from '../../../widgets/charts/cartesian-widget/cartesian-widget.model';
import { ExploreCartesianDataSourceModel, ExplorerData } from '../explore/explore-cartesian-data-source.model';
@Model({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import {
import { ModelApi } from '@hypertrace/hyperdash';
import { runFakeRxjs } from '@hypertrace/test-utils';
import { ExploreSpecificationBuilder } from '../../../../graphql/request/builders/specification/explore/explore-specification-builder';
import { ExploreGraphQlQueryHandlerService } from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
import {
ExploreGraphQlQueryHandlerService,
EXPLORE_GQL_REQUEST,
GraphQlExploreResponse
} from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
} from '../../../../graphql/request/handlers/explore/explore-query';
import { ExploreSelectionSpecificationModel } from '../specifiers/explore-selection-specification.model';
import { MetricAggregationDataSourceModel } from './metric-aggregation-data-source.model';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import {
import { Observable } from 'rxjs';
import { map } from 'rxjs/operators';
import { ExploreSpecificationBuilder } from '../../../../graphql/request/builders/specification/explore/explore-specification-builder';
import { ExploreGraphQlQueryHandlerService } from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
import {
ExploreGraphQlQueryHandlerService,
EXPLORE_GQL_REQUEST,
GraphQlExploreResponse
} from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
} from '../../../../graphql/request/handlers/explore/explore-query';
import { ExploreSelectionSpecificationModel } from '../specifiers/explore-selection-specification.model';

@Model({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
EXPLORE_GQL_REQUEST,
GraphQlExploreRequest,
GraphQlExploreResponse
} from './../../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
} from './../../../../../graphql/request/handlers/explore/explore-query';

@Model({
type: 'explore-table-data-source'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { GraphQlFilter, GraphQlTimeRange, MetricAggregationType } from '@hypertr
import { ModelApi } from '@hypertrace/hyperdash';
import { ObservabilityTraceType } from '../../../../../graphql/model/schema/observability-traces';
import { ExploreSpecificationBuilder } from '../../../../../graphql/request/builders/specification/explore/explore-specification-builder';
import { EXPLORE_GQL_REQUEST } from '../../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
import { EXPLORE_GQL_REQUEST } from '../../../../../graphql/request/handlers/explore/explore-query';
import { TraceMetricAggregationDataSourceModel } from './trace-metric-aggregation-data-source.model';

describe('Trace metric aggregation data source model', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { ObservabilitySpecificationBuilder } from '../../../../../graphql/reques
import {
EXPLORE_GQL_REQUEST,
GraphQlExploreResponse
} from '../../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
} from '../../../../../graphql/request/handlers/explore/explore-query';
import { TraceDonutDataSourceModel } from './trace-donut-data-source.model';

describe('Donut data source model', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ import { DonutSeries, DonutSeriesResults } from '../../../../../components/donut
import { ObservabilityTraceType } from '../../../../../graphql/model/schema/observability-traces';
import { MetricAggregationSpecification } from '../../../../../graphql/model/schema/specifications/metric-aggregation-specification';
import { ExploreSpecificationBuilder } from '../../../../../graphql/request/builders/specification/explore/explore-specification-builder';
import { ExploreGraphQlQueryHandlerService } from '../../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
import {
ExploreGraphQlQueryHandlerService,
EXPLORE_GQL_REQUEST,
GraphQlExploreResponse
} from '../../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
} from '../../../../../graphql/request/handlers/explore/explore-query';
import { ExploreResult } from '../../explore/explore-result';
import { MetricAggregationSpecificationModel } from '../../specifiers/metric-aggregation-specification.model';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { GraphQlFilter, GraphQlTimeRange, MetricAggregationType } from '@hypertr
import { ModelApi } from '@hypertrace/hyperdash';
import { ObservabilityTraceType } from '../../../../../graphql/model/schema/observability-traces';
import { ExploreSpecificationBuilder } from '../../../../../graphql/request/builders/specification/explore/explore-specification-builder';
import { EXPLORE_GQL_REQUEST } from '../../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
import { EXPLORE_GQL_REQUEST } from '../../../../../graphql/request/handlers/explore/explore-query';
import { TraceMetricTimeseriesDataSourceModel } from './trace-metric-timeseries-data-source.model';

describe('Trace metric timeseries data source model', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { ExploreSpecification } from '../../../../../graphql/model/schema/specif
import {
GQL_EXPLORE_RESULT_INTERVAL_KEY,
GraphQlExploreResult
} from '../../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
} from '../../../../../graphql/request/handlers/explore/explore-query';
import { MetricSeries, MetricSeriesDataFetcher } from '../../../../widgets/charts/cartesian-widget/series.model';
import { ExploreSelectionSpecificationModel } from '../../specifiers/explore-selection-specification.model';
import { TraceSeriesValuesDataSourceModel } from '../trace-series-values-data-source.model';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import { Observable } from 'rxjs';
import { map } from 'rxjs/operators';
import { ObservabilityTraceType } from '../../../../graphql/model/schema/observability-traces';
import { ExploreSpecification } from '../../../../graphql/model/schema/specifications/explore-specification';
import { ExploreGraphQlQueryHandlerService } from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
import {
ExploreGraphQlQueryHandlerService,
EXPLORE_GQL_REQUEST,
GraphQlExploreRequest,
GraphQlExploreResult
} from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
} from '../../../../graphql/request/handlers/explore/explore-query';

export abstract class TraceSeriesValuesDataSourceModel<TData> extends GraphQlDataSourceModel<TData> {
protected abstract specification: ExploreSpecification;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import { Observable } from 'rxjs';
import { map } from 'rxjs/operators';
import { ObservabilityTraceType } from '../../../../graphql/model/schema/observability-traces';
import { ExploreSpecification } from '../../../../graphql/model/schema/specifications/explore-specification';
import { ExploreGraphQlQueryHandlerService } from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
import {
ExploreGraphQlQueryHandlerService,
EXPLORE_GQL_REQUEST,
GraphQlExploreRequest,
GraphQlExploreResultValue
} from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
} from '../../../../graphql/request/handlers/explore/explore-query';

export abstract class TraceValueDataSourceModel<TData> extends GraphQlDataSourceModel<TData> {
protected abstract specification: ExploreSpecification;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ import { ModelApi } from '@hypertrace/hyperdash';
import { mergeMap } from 'rxjs/operators';
import { ObservabilityEntityType } from '../../../../graphql/model/schema/entity';
import { ExploreSpecificationBuilder } from '../../../../graphql/request/builders/specification/explore/explore-specification-builder';
import {
EXPLORE_GQL_REQUEST,
GraphQlExploreRequest
} from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
import { EXPLORE_GQL_REQUEST, GraphQlExploreRequest } from '../../../../graphql/request/handlers/explore/explore-query';
import { TopNDataSourceModel } from './top-n-data-source.model';
import { TopNExploreSelectionSpecificationModel } from './top-n-explore-selection-specification.model';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import { map } from 'rxjs/operators';
import { Entity, entityIdKey, entityTypeKey, ObservabilityEntityType } from '../../../../graphql/model/schema/entity';
import { ExploreSpecification } from '../../../../graphql/model/schema/specifications/explore-specification';
import { ExploreSpecificationBuilder } from '../../../../graphql/request/builders/specification/explore/explore-specification-builder';
import { ExploreGraphQlQueryHandlerService } from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
import {
ExploreGraphQlQueryHandlerService,
EXPLORE_GQL_REQUEST,
GraphQlExploreResponse
} from '../../../../graphql/request/handlers/explore/explore-graphql-query-handler.service';
} from '../../../../graphql/request/handlers/explore/explore-query';
import { TopNExploreSelectionSpecificationModel } from './top-n-explore-selection-specification.model';

@Model({
Expand Down
Loading