UNPKG

@azure/monitor-opentelemetry-exporter

Version:

Application Insights exporter for the OpenTelemetry JavaScript (Node.js) SDK

17 lines 864 B
import * as coreClient from "@azure/core-client"; import { ApplicationInsightsClientOptionalParams, TelemetryItem, TrackOptionalParams, TrackOperationResponse } from "./models/index.js"; export declare class ApplicationInsightsClient extends coreClient.ServiceClient { host: string; /** * Initializes a new instance of the ApplicationInsightsClient class. * @param options The parameter options */ constructor(options?: ApplicationInsightsClientOptionalParams); /** * This operation sends a sequence of telemetry events that will be monitored by Azure Monitor. * @param body The list of telemetry events to track. * @param options The options parameters. */ track(body: TelemetryItem[], options?: TrackOptionalParams): Promise<TrackOperationResponse>; } //# sourceMappingURL=applicationInsightsClient.d.ts.map