AzureMonitorExporterOptions interface
Provides configuration options for AzureMonitorTraceExporter.
Properties
| api |
Azure service API version. |
| connection |
Azure Monitor Connection String, if not provided the exporter will try to use environment variable APPLICATIONINSIGHTS_CONNECTION_STRING Ex: "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://dc.services.visualstudio.com" |
| credential | Token Credential |
| disable |
Disable offline storage when telemetry cannot be exported. |
| storage |
Directory to store retriable telemetry when it fails to export. |
Inherited Properties
| additional |
Additional policies to include in the HTTP pipeline. |
| agent | Options for configuring Agent instance for outgoing requests |
| allow |
Set to true if the request is sent over HTTP instead of HTTPS |
| base |
If specified, this is the base URI that requests will be made against for this ServiceClient. If it is not specified, then all OperationSpecs must contain a baseUrl property. |
| base |
Base url for the client |
| credentials | Credentials information |
| credential |
If specified, will be used to build the BearerTokenAuthenticationPolicy. |
| endpoint | Overrides client endpoint. |
| host | Breeze endpoint: https://dc.services.visualstudio.com |
| http |
The HttpClient that will be used to send HTTP requests. |
| logging |
Options to configure request/response logging. |
| pipeline | A customized pipeline to use, otherwise a default one will be created. |
| proxy |
Options to configure a proxy for outgoing requests. |
| redirect |
Options for how redirect responses are handled. |
| request |
The default request content type for the service. Used if no requestContentType is present on an OperationSpec. |
| retry |
Options that control how to retry failed requests. |
| telemetry |
Options for setting common telemetry and tracing info to outgoing requests. |
| tls |
Options for configuring TLS authentication |
| user |
Options for adding user agent details to outgoing requests. |
Property Details
apiVersion
connectionString
Azure Monitor Connection String, if not provided the exporter will try to use environment variable APPLICATIONINSIGHTS_CONNECTION_STRING Ex: "InstrumentationKey=00000000-0000-0000-0000-000000000000;IngestionEndpoint=https://dc.services.visualstudio.com"
connectionString?: string
Property Value
string
credential
disableOfflineStorage
Disable offline storage when telemetry cannot be exported.
disableOfflineStorage?: boolean
Property Value
boolean
storageDirectory
Directory to store retriable telemetry when it fails to export.
storageDirectory?: string
Property Value
string
Inherited Property Details
additionalPolicies
Additional policies to include in the HTTP pipeline.
additionalPolicies?: AdditionalPolicyConfig[]
Property Value
Inherited From ApplicationInsightsClientOptionalParams.additionalPolicies
agent
Options for configuring Agent instance for outgoing requests
agent?: Agent
Property Value
Inherited From ApplicationInsightsClientOptionalParams.agent
allowInsecureConnection
Set to true if the request is sent over HTTP instead of HTTPS
allowInsecureConnection?: boolean
Property Value
boolean
Inherited From ApplicationInsightsClientOptionalParams.allowInsecureConnection
baseUri
Warning
This API is now deprecated.
This property is deprecated and will be removed soon, please use endpoint instead
If specified, this is the base URI that requests will be made against for this ServiceClient. If it is not specified, then all OperationSpecs must contain a baseUrl property.
baseUri?: string
Property Value
string
Inherited From ApplicationInsightsClientOptionalParams.baseUri
baseUrl
Warning
This API is now deprecated.
This property is deprecated and will be removed soon, please use endpoint instead
Base url for the client
baseUrl?: string
Property Value
string
Inherited From ApplicationInsightsClientOptionalParams.baseUrl
credentials
Credentials information
credentials?: { apiKeyHeaderName?: string, scopes?: string[] }
Property Value
{ apiKeyHeaderName?: string, scopes?: string[] }
Inherited From ApplicationInsightsClientOptionalParams.credentials
credentialScopes
If specified, will be used to build the BearerTokenAuthenticationPolicy.
credentialScopes?: string | string[]
Property Value
string | string[]
Inherited From ApplicationInsightsClientOptionalParams.credentialScopes
endpoint
Overrides client endpoint.
endpoint?: string
Property Value
string
Inherited From ApplicationInsightsClientOptionalParams.endpoint
host
Breeze endpoint: https://dc.services.visualstudio.com
host?: string
Property Value
string
Inherited From ApplicationInsightsClientOptionalParams.host
httpClient
The HttpClient that will be used to send HTTP requests.
httpClient?: HttpClient
Property Value
Inherited From ApplicationInsightsClientOptionalParams.httpClient
loggingOptions
Options to configure request/response logging.
loggingOptions?: LogPolicyOptions
Property Value
Inherited From ApplicationInsightsClientOptionalParams.loggingOptions
pipeline
A customized pipeline to use, otherwise a default one will be created.
pipeline?: Pipeline
Property Value
Inherited From ApplicationInsightsClientOptionalParams.pipeline
proxyOptions
Options to configure a proxy for outgoing requests.
proxyOptions?: ProxySettings
Property Value
Inherited From ApplicationInsightsClientOptionalParams.proxyOptions
redirectOptions
Options for how redirect responses are handled.
redirectOptions?: RedirectPolicyOptions
Property Value
Inherited From ApplicationInsightsClientOptionalParams.redirectOptions
requestContentType
The default request content type for the service. Used if no requestContentType is present on an OperationSpec.
requestContentType?: string
Property Value
string
Inherited From ApplicationInsightsClientOptionalParams.requestContentType
retryOptions
Options that control how to retry failed requests.
retryOptions?: PipelineRetryOptions
Property Value
Inherited From ApplicationInsightsClientOptionalParams.retryOptions
telemetryOptions
Options for setting common telemetry and tracing info to outgoing requests.
telemetryOptions?: TelemetryOptions
Property Value
Inherited From ApplicationInsightsClientOptionalParams.telemetryOptions
tlsOptions
Options for configuring TLS authentication
tlsOptions?: TlsSettings
Property Value
Inherited From ApplicationInsightsClientOptionalParams.tlsOptions
userAgentOptions
Options for adding user agent details to outgoing requests.
userAgentOptions?: UserAgentPolicyOptions
Property Value
Inherited From ApplicationInsightsClientOptionalParams.userAgentOptions