Uses of Class
com.azure.monitor.opentelemetry.autoconfigure.AzureMonitorAutoConfigureOptions
-
Uses of AzureMonitorAutoConfigureOptions in com.azure.monitor.opentelemetry.autoconfigure
Methods in com.azure.monitor.opentelemetry.autoconfigure that return AzureMonitorAutoConfigureOptionsModifier and TypeMethodDescriptionAzureMonitorAutoConfigureOptions.addPolicy
(com.azure.core.http.policy.HttpPipelinePolicy pipelinePolicy) Adds apipeline policy
to apply on each request sent.AzureMonitorAutoConfigureOptions.clientOptions
(com.azure.core.util.ClientOptions clientOptions) Allows for setting common properties such as application ID, headers, proxy configuration, etc.AzureMonitorAutoConfigureOptions.connectionString
(String connectionString) Sets the connection string to use for exporting telemetry events to Azure Monitor.AzureMonitorAutoConfigureOptions.credential
(com.azure.core.credential.TokenCredential credential) Sets the token credential required for authentication with the ingestion endpoint service.AzureMonitorAutoConfigureOptions.httpClient
(com.azure.core.http.HttpClient httpClient) Sets theHttpClient
to use for sending and receiving requests to and from the service.AzureMonitorAutoConfigureOptions.httpLogOptions
(com.azure.core.http.policy.HttpLogOptions logOptions) Sets thelogging configuration
to use when sending and receiving requests to and from the service.AzureMonitorAutoConfigureOptions.pipeline
(com.azure.core.http.HttpPipeline pipeline) Sets theHttpPipeline
to use for the service client.AzureMonitorAutoConfigureOptions.retryOptions
(com.azure.core.http.policy.RetryOptions retryOptions) Sets theRetryOptions
for all the requests made through the client.Methods in com.azure.monitor.opentelemetry.autoconfigure with parameters of type AzureMonitorAutoConfigureOptionsModifier and TypeMethodDescriptionstatic void
AzureMonitorAutoConfigure.customize
(io.opentelemetry.sdk.autoconfigure.spi.AutoConfigurationCustomizer autoConfigurationCustomizer, AzureMonitorAutoConfigureOptions autoConfigureOptions) Customizes anAutoConfigurationCustomizer
for Azure Monitor.