UNPKG

applicationinsights

Version:

Microsoft Application Insights module for Node.js

21 lines (20 loc) 770 B
import { StatusLogger } from "./diagnostics/statusLogger"; import { IDiagnosticLogger } from "./types"; import { AzureMonitorOpenTelemetryOptions } from "../types"; export declare class AgentLoader { protected _canLoad: boolean; protected _options: AzureMonitorOpenTelemetryOptions; protected _instrumentationKey: string; protected _diagnosticLogger: IDiagnosticLogger; protected _statusLogger: StatusLogger; protected _isWindows: boolean; protected _isLinux: boolean; private _aadCredential; constructor(); private _getInstrumentationKey; setLogger(logger: IDiagnosticLogger): void; initialize(): void; private _validate; private _getAuthenticationCredential; private _sdkAlreadyExists; }