diff --git a/libs/hooks/open-telemetry/src/lib/metrics/metrics-hook.spec.ts b/libs/hooks/open-telemetry/src/lib/metrics/metrics-hook.spec.ts index 27b29b419..a75b29903 100644 --- a/libs/hooks/open-telemetry/src/lib/metrics/metrics-hook.spec.ts +++ b/libs/hooks/open-telemetry/src/lib/metrics/metrics-hook.spec.ts @@ -1,15 +1,13 @@ import { BeforeHookContext, EvaluationDetails, HookContext, StandardResolutionReasons } from '@openfeature/js-sdk'; +import opentelemetry from '@opentelemetry/api'; import { - AggregationTemporality, DataPoint, - InMemoryMetricExporter, MeterProvider, MetricReader, - ScopeMetrics, + ScopeMetrics } from '@opentelemetry/sdk-metrics'; +import { ACTIVE_COUNT_NAME, ERROR_TOTAL_NAME, REQUESTS_TOTAL_NAME, SUCCESS_TOTAL_NAME } from '../constants'; import { MetricsHook } from './metrics-hook'; -import opentelemetry from '@opentelemetry/api'; -import { ACTIVE_COUNT_NAME, ERROR_TOTAL_NAME, FEATURE_FLAG, REQUESTS_TOTAL_NAME, SUCCESS_TOTAL_NAME } from '../constants'; // no-op "in-memory" reader class InMemoryMetricReader extends MetricReader {