import { Instrumentation } from "@opentelemetry/instrumentation"; import { Resource } from "@opentelemetry/resources"; import { type MetricReader } from "@opentelemetry/sdk-metrics"; import type { SpanExporter } from "@opentelemetry/sdk-trace-base"; import { InMemorySpanExporter } from "@opentelemetry/sdk-trace-base"; export declare const ignoreOutgoingUrls: Set; export declare const shouldIgnoreOutgoingUrl: (url: string) => boolean; export declare const registeredInstrumentations: Instrumentation[]; /** * A set of attributes for use when manually passing attributes to spans or metrics * _Note_: As far as I can tell, OpenTelemetry has no way to associate default attributes with all metrics, so these need to be passed explicitly to all metric creations / invocations. This is a pain -- if there's a way to convince the main MetricsProvider to create metrics with these built in, that'd be much better. */ export declare const defaultAttributes: { "service.name": string; "service.version": string; "deployment.environment": string; "host.name": any; "k8s.pod.name": string | undefined; "k8s.node.name": string | undefined; "k8s.namespace.name": string | undefined; }; export declare const resource: Resource; export declare const exporters: { traceExporter: SpanExporter | undefined; testTraceExporter: InMemorySpanExporter; metricReader: MetricReader | undefined; }; export declare function startTelemetry(): void; export declare function shutdownTelemetry(): Promise;