azure-docs-sdk-java/legacy/docs-ref-autogen/com.azure.opentelemetry.exp...

146 строки
16 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder"
fullName: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder"
name: "AzureMonitorExporterBuilder"
nameWithType: "AzureMonitorExporterBuilder"
summary: "This class provides a fluent builder API to instantiate <xref uid=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureMonitorExporter\"></xref> that implements <xref uid=\"io.opentelemetry.sdk.trace.export.SpanExporter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SpanExporter\"></xref> interface defined by Open<wbr>Telemetry API specification."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **AzureMonitorExporterBuilder**"
constructors:
- uid: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder.AzureMonitorExporterBuilder()"
fullName: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder.AzureMonitorExporterBuilder()"
name: "AzureMonitorExporterBuilder()"
nameWithType: "AzureMonitorExporterBuilder.AzureMonitorExporterBuilder()"
summary: "Creates an instance of <xref uid=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureMonitorExporterBuilder\"></xref>."
syntax: "public AzureMonitorExporterBuilder()"
desc: "Creates an instance of <xref uid=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureMonitorExporterBuilder\"></xref>."
methods:
- uid: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder.addPolicy(com.azure.core.http.policy.HttpPipelinePolicy)"
fullName: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder.addPolicy(HttpPipelinePolicy policy)"
name: "addPolicy(HttpPipelinePolicy policy)"
nameWithType: "AzureMonitorExporterBuilder.addPolicy(HttpPipelinePolicy policy)"
summary: "Adds a policy to the set of existing policies that are executed after required policies."
parameters:
- description: "The retry policy for service requests."
name: "policy"
type: "<xref href=\"com.azure.core.http.policy.HttpPipelinePolicy?alt=com.azure.core.http.policy.HttpPipelinePolicy&text=HttpPipelinePolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AzureMonitorExporterBuilder addPolicy(HttpPipelinePolicy policy)"
desc: "Adds a policy to the set of existing policies that are executed after required policies."
returns:
description: "The updated <xref uid=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureMonitorExporterBuilder\"></xref> object."
type: "<xref href=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder?alt=com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder&text=AzureMonitorExporterBuilder\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder.buildExporter()"
fullName: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder.buildExporter()"
name: "buildExporter()"
nameWithType: "AzureMonitorExporterBuilder.buildExporter()"
summary: "Creates an <xref uid=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureMonitorExporter\"></xref> based on the options set in the builder."
syntax: "public AzureMonitorExporter buildExporter()"
desc: "Creates an <xref uid=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureMonitorExporter\"></xref> based on the options set in the builder. This exporter is an implementation of OpenTelemetry <xref uid=\"io.opentelemetry.sdk.trace.export.SpanExporter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SpanExporter\"></xref>."
returns:
description: "An instance of <xref uid=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureMonitorExporter\"></xref>."
type: "<xref href=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporter?alt=com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporter&text=AzureMonitorExporter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder.configuration(com.azure.core.util.Configuration)"
fullName: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder.configuration(Configuration configuration)"
name: "configuration(Configuration configuration)"
nameWithType: "AzureMonitorExporterBuilder.configuration(Configuration configuration)"
summary: "Sets the configuration store that is used during construction of the service client."
parameters:
- description: "The configuration store used to"
name: "configuration"
type: "<xref href=\"com.azure.core.util.Configuration?alt=com.azure.core.util.Configuration&text=Configuration\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AzureMonitorExporterBuilder configuration(Configuration configuration)"
desc: "Sets the configuration store that is used during construction of the service client.\n\nThe default configuration store is a clone of the <xref uid=\"Configuration#getGlobalConfiguration()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"global\n configuration store\"></xref>, use <xref uid=\"com.azure.core.util.Configuration.NONE\" data-throw-if-not-resolved=\"false\" data-raw-source=\"Configuration#NONE\"></xref> to bypass using configuration settings during construction."
returns:
description: "The updated <xref uid=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureMonitorExporterBuilder\"></xref> object."
type: "<xref href=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder?alt=com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder&text=AzureMonitorExporterBuilder\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder.connectionString(java.lang.String)"
fullName: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder.connectionString(String connectionString)"
name: "connectionString(String connectionString)"
nameWithType: "AzureMonitorExporterBuilder.connectionString(String connectionString)"
summary: "The connection string to use for exporting telemetry events to Azure Monitor."
parameters:
- description: "The connection string for the Azure Monitor resource."
name: "connectionString"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public AzureMonitorExporterBuilder connectionString(String connectionString)"
desc: "The connection string to use for exporting telemetry events to Azure Monitor."
returns:
description: "The updated <xref uid=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureMonitorExporterBuilder\"></xref> object."
type: "<xref href=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder?alt=com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder&text=AzureMonitorExporterBuilder\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder.httpClient(com.azure.core.http.HttpClient)"
fullName: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder.httpClient(HttpClient client)"
name: "httpClient(HttpClient client)"
nameWithType: "AzureMonitorExporterBuilder.httpClient(HttpClient client)"
summary: "Sets the HTTP client to use for sending and receiving requests to and from the service."
parameters:
- description: "The HTTP client to use for requests."
name: "client"
type: "<xref href=\"com.azure.core.http.HttpClient?alt=com.azure.core.http.HttpClient&text=HttpClient\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AzureMonitorExporterBuilder httpClient(HttpClient client)"
desc: "Sets the HTTP client to use for sending and receiving requests to and from the service."
returns:
description: "The updated <xref uid=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureMonitorExporterBuilder\"></xref> object."
type: "<xref href=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder?alt=com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder&text=AzureMonitorExporterBuilder\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder.httpLogOptions(com.azure.core.http.policy.HttpLogOptions)"
fullName: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder.httpLogOptions(HttpLogOptions logOptions)"
name: "httpLogOptions(HttpLogOptions logOptions)"
nameWithType: "AzureMonitorExporterBuilder.httpLogOptions(HttpLogOptions logOptions)"
summary: "Sets the logging configuration for HTTP requests and responses."
parameters:
- description: "The logging configuration to use when sending and receiving HTTP requests/responses."
name: "logOptions"
type: "<xref href=\"com.azure.core.http.policy.HttpLogOptions?alt=com.azure.core.http.policy.HttpLogOptions&text=HttpLogOptions\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AzureMonitorExporterBuilder httpLogOptions(HttpLogOptions logOptions)"
desc: "Sets the logging configuration for HTTP requests and responses.\n\nIf logLevel is not provided, default value of <xref uid=\"\" data-throw-if-not-resolved=\"false\" data-raw-source=\"HttpLogDetailLevel#NONE\"></xref> is set."
returns:
description: "The updated <xref uid=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureMonitorExporterBuilder\"></xref> object."
type: "<xref href=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder?alt=com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder&text=AzureMonitorExporterBuilder\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder.pipeline(com.azure.core.http.HttpPipeline)"
fullName: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder.pipeline(HttpPipeline httpPipeline)"
name: "pipeline(HttpPipeline httpPipeline)"
nameWithType: "AzureMonitorExporterBuilder.pipeline(HttpPipeline httpPipeline)"
summary: "Sets the HTTP pipeline to use for the service client."
parameters:
- description: "The HTTP pipeline to use for sending service requests and receiving responses."
name: "httpPipeline"
type: "<xref href=\"com.azure.core.http.HttpPipeline?alt=com.azure.core.http.HttpPipeline&text=HttpPipeline\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AzureMonitorExporterBuilder pipeline(HttpPipeline httpPipeline)"
desc: "Sets the HTTP pipeline to use for the service client. If `pipeline` is set, all other settings are ignored, apart from <xref uid=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder.endpoint*\" data-throw-if-not-resolved=\"false\" data-raw-source=\"endpoint\"></xref>."
returns:
description: "The updated <xref uid=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureMonitorExporterBuilder\"></xref> object."
type: "<xref href=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder?alt=com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder&text=AzureMonitorExporterBuilder\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder.retryPolicy(com.azure.core.http.policy.RetryPolicy)"
fullName: "com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder.retryPolicy(RetryPolicy retryPolicy)"
name: "retryPolicy(RetryPolicy retryPolicy)"
nameWithType: "AzureMonitorExporterBuilder.retryPolicy(RetryPolicy retryPolicy)"
summary: "Sets the <xref uid=\"com.azure.core.http.policy.RetryPolicy\" data-throw-if-not-resolved=\"false\" data-raw-source=\"RetryPolicy\"></xref> that is used when each request is sent."
parameters:
- description: "user's retry policy applied to each request."
name: "retryPolicy"
type: "<xref href=\"com.azure.core.http.policy.RetryPolicy?alt=com.azure.core.http.policy.RetryPolicy&text=RetryPolicy\" data-throw-if-not-resolved=\"False\" />"
syntax: "public AzureMonitorExporterBuilder retryPolicy(RetryPolicy retryPolicy)"
desc: "Sets the <xref uid=\"com.azure.core.http.policy.RetryPolicy\" data-throw-if-not-resolved=\"false\" data-raw-source=\"RetryPolicy\"></xref> that is used when each request is sent.\n\nThe default retry policy will be used if not provided to build <xref uid=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureMonitorExporterBuilder\"></xref> ."
returns:
description: "The updated <xref uid=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureMonitorExporterBuilder\"></xref> object."
type: "<xref href=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder?alt=com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporterBuilder&text=AzureMonitorExporterBuilder\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "This class provides a fluent builder API to instantiate <xref uid=\"com.azure.opentelemetry.exporter.azuremonitor.AzureMonitorExporter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"AzureMonitorExporter\"></xref> that implements <xref uid=\"io.opentelemetry.sdk.trace.export.SpanExporter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SpanExporter\"></xref> interface defined by OpenTelemetry API specification."
metadata: {}
package: "com.azure.opentelemetry.exporter.azuremonitor"
artifact: com.azure:azure-opentelemetry-exporter-azuremonitor:1.0.0-beta.2