Class FirestoreOpenTelemetryOptions.Builder (3.30.2)

public static class FirestoreOpenTelemetryOptions.Builder

Inheritance

java.lang.Object > FirestoreOpenTelemetryOptions.Builder

Methods

build()

public FirestoreOpenTelemetryOptions build()
Returns
Type Description
FirestoreOpenTelemetryOptions

setOpenTelemetry(OpenTelemetry openTelemetry)

public FirestoreOpenTelemetryOptions.Builder setOpenTelemetry(OpenTelemetry openTelemetry)

Sets the OpenTelemetry to use with this Firestore instance. If telemetry collection is enabled, but an OpenTelemetry is not provided, the Firestore SDK will attempt to use the GlobalOpenTelemetry.

Parameter
Name Description
openTelemetry io.opentelemetry.api.OpenTelemetry

The OpenTelemetry that should be used by this Firestore instance.

Returns
Type Description
FirestoreOpenTelemetryOptions.Builder