import type { ResourceFactory } from '../types'; import type { MetricReader, ViewOptions } from '@opentelemetry/sdk-metrics'; import type { Resource } from '@opentelemetry/resources'; export type MetricReaderFactory = (options: MetricsOptions) => MetricReader[]; export interface MetricsOptions { accessToken: string; realm?: string; serviceName: string; endpoint?: string; resource: Resource; views?: ViewOptions[]; exportIntervalMillis: number; metricReaderFactory: MetricReaderFactory; debugMetricsEnabled: boolean; runtimeMetricsEnabled: boolean; runtimeMetricsCollectionIntervalMillis: number; } export type StartMetricsOptions = Partial> & { resourceFactory?: ResourceFactory; }; //# sourceMappingURL=types.d.ts.map