TelemetryFactory Class

Definition

This is a factory which creates policies in an HttpPipeline for adding telemetry to a given HTTP request. In most cases, it is sufficient to configure a TelemetryOptions object and set those as a field on a PipelineOptions object to configure a default pipeline. The factory and policy must only be used directly when creating a custom pipeline.

public class TelemetryFactory
Inheritance
java.lang.Object
RequestPolicyFactory
TelemetryFactory

Constructors

TelemetryFactory(TelemetryOptions telemetryOptions)

Creates a factory that can create telemetry policy objects which add telemetry information to the outgoing HTTP requests.

Methods

create(RequestPolicy next, RequestPolicyOptions options)

Applies to