@splunk/otel
Version:
The Splunk distribution of OpenTelemetry Node Instrumentation provides a Node agent that automatically instruments your Node application to capture and report distributed traces to Splunk APM.
13 lines • 868 B
TypeScript
import { MetricReader } from '@opentelemetry/sdk-metrics';
import { OTLPMetricExporter as OTLPHttpProtoMetricExporter } from '@opentelemetry/exporter-metrics-otlp-proto';
import type * as OtlpGrpc from '@opentelemetry/exporter-metrics-otlp-grpc';
import type { MetricsOptions, StartMetricsOptions } from './types';
export type { MetricsOptions, StartMetricsOptions };
export declare function createOtlpExporter(options: MetricsOptions): OtlpGrpc.OTLPMetricExporter | OTLPHttpProtoMetricExporter;
export declare function defaultMetricReaderFactory(options: MetricsOptions): MetricReader[];
export declare const allowedMetricsOptions: string[];
export declare function startMetrics(options: MetricsOptions): {
stop: () => Promise<void>;
};
export declare function _setDefaultOptions(options?: StartMetricsOptions): MetricsOptions;
//# sourceMappingURL=index.d.ts.map