Class FirestoreOpenTelemetryOptions (3.28.0)

public class FirestoreOpenTelemetryOptions

Represents the options that are used to configure the use of OpenTelemetry for telemetry collection in the Firestore SDK.

Inheritance

java.lang.Object > FirestoreOpenTelemetryOptions

Static Methods

newBuilder()

public static FirestoreOpenTelemetryOptions.Builder newBuilder()
Returns
Type Description
FirestoreOpenTelemetryOptions.Builder

Methods

getOpenTelemetry()

public OpenTelemetry getOpenTelemetry()
Returns
Type Description
io.opentelemetry.api.OpenTelemetry

isTracingEnabled() (deprecated)

public boolean isTracingEnabled()

Deprecated. This method will be removed in the next minor version update. Please use a no-op TracerProvider or set the environment variable FIRESTORE_ENABLE_TRACING=OFF to disable tracing. If the GlobalOpenTelemetry or the OpenTelemetry instance passed to Firestore contain a valid TracerProvider, the Firestore client will generate spans by utilizing it.

Returns
Type Description
boolean

toBuilder()

public FirestoreOpenTelemetryOptions.Builder toBuilder()
Returns
Type Description
FirestoreOpenTelemetryOptions.Builder