Package com.google.bigtable.cassandra
Class OpenTelemetryCollectorConfiguration
java.lang.Object
com.google.bigtable.cassandra.OpenTelemetryCollectorConfiguration
- All Implemented Interfaces:
OpenTelemetryConfiguration
public abstract class OpenTelemetryCollectorConfiguration
extends Object
implements OpenTelemetryConfiguration
Configures the proxy to communicate with an OpenTelemetry collector (...).
This class provides a builder to configure various collector parameters.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Creates a newOpenTelemetryCollectorConfiguration.BuilderforOpenTelemetryCollectorConfiguration.abstract String
-
Constructor Details
-
OpenTelemetryCollectorConfiguration
public OpenTelemetryCollectorConfiguration()
-
-
Method Details
-
serviceName
- Returns:
- The service name.
- See Also:
-
healthcheckEndpoint
- Returns:
- An
Optionalcontaining the healthcheck endpoint. - See Also:
-
metricsEndpoint
- Returns:
- An
Optionalcontaining the metrics endpoint. - See Also:
-
tracesEndpoint
- Returns:
- An
Optionalcontaining the traces endpoint. - See Also:
-
tracesSamplingRatio
- Returns:
- An
Optionalcontaining the traces sampling ratio. - See Also:
-
builder
Creates a newOpenTelemetryCollectorConfiguration.BuilderforOpenTelemetryCollectorConfiguration.A new builder is created with the default service name
DEFAULT_SERVICE_NAME.- Returns:
- A new
OpenTelemetryCollectorConfiguration.Builder.
-