Type aliases
ApplicationInsightsClientTrackResponse
Application
InsightsClientTrackResponse: TrackResponse & { _response: coreHttp.HttpResponse & { bodyAsText: string; parsedBody: TrackResponse } }
AvailabilityData
Availability
Data: MonitorDomain & { duration: string; id: string; measurements?: undefined | {}; message?: undefined | string; name: string; properties?: undefined | {}; runLocation?: undefined | string; success: boolean }
ConnectionString
ConnectionString: {}
ConnectionStringKey
ConnectionStringKey: "authorization" | "instrumentationkey" | "ingestionendpoint" | "liveendpoint" | "location" | "endpointsuffix"
ContextTagKeys
ContextTagKeys: "ai.application.ver" | "ai.device.id" | "ai.device.locale" | "ai.device.model" | "ai.device.oemName" | "ai.device.osVersion" | "ai.device.type" | "ai.location.ip" | "ai.location.country" | "ai.location.province" | "ai.location.city" | "ai.operation.id" | "ai.operation.name" | "ai.operation.parentId" | "ai.operation.syntheticSource" | "ai.operation.correlationVector" | "ai.session.id" | "ai.session.isFirst" | "ai.user.accountId" | "ai.user.id" | "ai.user.authUserId" | "ai.cloud.role" | "ai.cloud.roleVer" | "ai.cloud.roleInstance" | "ai.cloud.location" | "ai.internal.sdkVersion" | "ai.internal.agentVersion" | "ai.internal.nodeName" | string
DataPointType
DataPointType: "Measurement" | "Aggregation" | string
Measurements
Measurements: {}
MessageData
Message
Data: MonitorDomain & { measurements?: undefined | {}; message: string; properties?: undefined | {}; severityLevel?: SeverityLevel }
PackageJson
PackageJson: { version: string }
PageViewData
Page
ViewData: MonitorDomain & { duration?: undefined | string; id: string; measurements?: undefined | {}; name: string; properties?: undefined | {}; referredUri?: undefined | string; url?: undefined | string }
PageViewPerfData
Page
ViewPerfData: MonitorDomain & { domProcessing?: undefined | string; duration?: undefined | string; id: string; measurements?: undefined | {}; name: string; networkConnect?: undefined | string; perfTotal?: undefined | string; properties?: undefined | {}; receivedResponse?: undefined | string; sentRequest?: undefined | string; url?: undefined | string }
Properties
Properties: {}
PropertyType
Property
Type: string | number | boolean | object | Array<PropertyType>
QuickPulseDocumentType
QuickPulseDocumentType: "Event" | "Exception" | "Trace" | "Metric" | "Request" | "RemoteDependency" | "Availability"
QuickPulseType
QuickPulseType: "EventTelemetryDocument" | "ExceptionTelemetryDocument" | "TraceTelemetryDocument" | "MetricTelemetryDocument" | "RequestTelemetryDocument" | "DependencyTelemetryDocument" | "AvailabilityTelemetryDocument"
RemoteDependencyData
Remote
DependencyData: MonitorDomain & { data?: undefined | string; duration: string; id?: undefined | string; measurements?: undefined | {}; name: string; properties?: undefined | {}; resultCode?: undefined | string; success?: undefined | false | true; target?: undefined | string; type?: undefined | string }
RequestData
Request
Data: MonitorDomain & { duration: string; id: string; measurements?: undefined | {}; name?: undefined | string; properties?: undefined | {}; responseCode: string; source?: undefined | string; success: boolean; url?: undefined | string }
SenderResult
SenderResult: { result: string; statusCode: number }
Type declaration
-
result: string
-
statusCode: number
SeverityLevel
SeverityLevel: "Verbose" | "Information" | "Warning" | "Error" | "Critical" | string
TelemetryEventData
Telemetry
EventData: MonitorDomain & { measurements?: undefined | {}; name: string; properties?: undefined | {} }
TelemetryProcessor
TelemetryProcessor: (envelope: Envelope) => boolean | void
Type declaration
-
- (envelope: Envelope): boolean | void
-
Parameters
Returns boolean | void
Variables
Const AI_OPERATION_ID
AI_OPERATION_ID: "ai.operation.id" = "ai.operation.id"
Const AI_OPERATION_NAME
AI_OPERATION_NAME: "ai.operation.name" = "ai.operation.name"
Const AI_OPERATION_PARENT_ID
AI_OPERATION_PARENT_ID: "ai.operation.parentId" = "ai.operation.parentId"
Const AzNamespace
AzNamespace: "az.namespace" = "az.namespace"
DB_INSTANCE
DB_INSTANCE: any
DB_STATEMENT
DB_STATEMENT: any
Const DEFAULT_BREEZE_ENDPOINT
DEFAULT_BREEZE_ENDPOINT: "https://dc.services.visualstudio.com" = "https://dc.services.visualstudio.com"
Const DEFAULT_LIVEMETRICS_ENDPOINT
DEFAULT_LIVEMETRICS_ENDPOINT: "https://rt.services.visualstudio.com" = "https://rt.services.visualstudio.com"
Const DEFAULT_LIVEMETRICS_HOST
DEFAULT_LIVEMETRICS_HOST: "rt.services.visualstudio.com" = "rt.services.visualstudio.com"
Const ENQUEUED_TIME
ENQUEUED_TIME: "enqueuedTime" = "enqueuedTime"
Const ENV_CONNECTION_STRING
ENV_CONNECTION_STRING: "APPLICATIONINSIGHTS_CONNECTION_STRING" = "APPLICATIONINSIGHTS_CONNECTION_STRING"
Const ENV_INSTRUMENTATION_KEY
ENV_INSTRUMENTATION_KEY: "APPINSIGHTS_INSTRUMENTATIONKEY" = "APPINSIGHTS_INSTRUMENTATIONKEY"
GRPC_ERROR_MESSAGE
GRPC_ERROR_MESSAGE: any
GRPC_ERROR_NAME
GRPC_ERROR_NAME: any
GRPC_METHOD
GRPC_METHOD: any
GRPC_STATUS_CODE
GRPC_STATUS_CODE: any
HTTP_METHOD
HTTP_METHOD: any
HTTP_ROUTE
HTTP_ROUTE: any
HTTP_STATUS_CODE
HTTP_STATUS_CODE: any
Const INPROC
INPROC: "InProc" = "InProc"
Const MS_LINKS
MS_LINKS: "_MS.links" = "_MS.links"
Const MessageBusDestination
MessageBusDestination: "message_bus.destination" = "message_bus.destination"
Const MicrosoftEventHub
MicrosoftEventHub: "Microsoft.EventHub" = "Microsoft.EventHub"
Const PEER_ADDRESS
PEER_ADDRESS: any = conventions.GeneralAttribute.NET_PEER_ADDRESS
Const PEER_HOSTNAME
PEER_HOSTNAME: any = conventions.GeneralAttribute.NET_PEER_HOSTNAME
Const PEER_IPV4
PEER_IPV4: any = conventions.GeneralAttribute.NET_PEER_IPV4
Const PEER_IPV6
PEER_IPV6: any = conventions.GeneralAttribute.NET_PEER_IPV6
Const PEER_PORT
PEER_PORT: any = conventions.GeneralAttribute.NET_PEER_PORT
Const PEER_SERVICE
PEER_SERVICE: any = conventions.GeneralAttribute.NET_PEER_SERVICE
Const TIME_SINCE_ENQUEUED
TIME_SINCE_ENQUEUED: "timeSinceEnqueued" = "timeSinceEnqueued"
Const lstatAsync
lstatAsync: any = promisify(fs.lstat)
Const mkdirAsync
mkdirAsync: any = promisify(fs.mkdir)
Const packageName
packageName: "@azure/monitor-opentelemetry-exporter" = "@azure/monitor-opentelemetry-exporter"
Const packageVersion
packageVersion: "1.0.0-preview.6" = "1.0.0-preview.6"
Const readFileAsync
readFileAsync: any = promisify(fs.readFile)
Const readdirAsync
readdirAsync: any = promisify(fs.readdir)
Const serializer
serializer: any = new coreHttp.Serializer(Mappers, /* isXml */ false)
Const statAsync
statAsync: any = promisify(fs.stat)
Const unlinkAsync
unlinkAsync: any = promisify(fs.unlink)
Const writeFileAsync
writeFileAsync: any = promisify(fs.writeFile)
Contains response data for the track operation.