Class BetaTelemetryDestinationDeliveryHealth
-
- All Implemented Interfaces:
public final class BetaTelemetryDestinationDeliveryHealthThe most recent delivery results that the API records for a telemetry destination.
Changes to the destination's configuration or state don't reset these fields. Changes to these fields don't change
updated_at. The values can lag behind the latest deliveries.See the OpenTelemetry export guide to learn how the API delivers spans and when it disables a destination.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaTelemetryDestinationDeliveryHealth.BuilderA builder for BetaTelemetryDestinationDeliveryHealth.
-
Method Summary
Modifier and Type Method Description final Optional<String>lastError()A message that describes the most recent failed delivery to the destination, or nullif no delivery has failed yet.final Optional<OffsetDateTime>lastErrorAt()Time of the failure that last_errordescribes.final Optional<OffsetDateTime>lastSuccessAt()Time of the most recent successful delivery to the destination, or nullif no delivery has succeeded yet.final JsonField<String>_lastError()Returns the raw JSON value of lastError. final JsonField<OffsetDateTime>_lastErrorAt()Returns the raw JSON value of lastErrorAt. final JsonField<OffsetDateTime>_lastSuccessAt()Returns the raw JSON value of lastSuccessAt. final Map<String, JsonValue>_additionalProperties()final BetaTelemetryDestinationDeliveryHealth.BuildertoBuilder()final BetaTelemetryDestinationDeliveryHealthvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaTelemetryDestinationDeliveryHealth.Builderbuilder()Returns a mutable builder for constructing an instance of BetaTelemetryDestinationDeliveryHealth. -
-
Method Detail
-
lastError
final Optional<String> lastError()
A message that describes the most recent failed delivery to the destination, or
nullif no delivery has failed yet.Examples are
temporary DNS failure,TLS failure,timeout,connection failure,invalid address,HTTP error (status 503), andredirect (status 301). The message isinvalid addressboth for a hostname that doesn't exist and for an address that isn't publicly routable. It never contains the endpoint's response body, a header value, a network address, or TLS details.last_errorandlast_error_atalways change together. A later successful delivery doesn't clear them. Iflast_success_atis later thanlast_error_at, a delivery has succeeded since this failure.See the OpenTelemetry export guide to learn the likely cause of each error.
-
lastErrorAt
final Optional<OffsetDateTime> lastErrorAt()
Time of the failure that
last_errordescribes. Changes together withlast_error. Null until a delivery first fails.
-
lastSuccessAt
final Optional<OffsetDateTime> lastSuccessAt()
Time of the most recent successful delivery to the destination, or
nullif no delivery has succeeded yet.
-
_lastError
final JsonField<String> _lastError()
Returns the raw JSON value of lastError.
Unlike lastError, this method doesn't throw if the JSON field has an unexpected type.
-
_lastErrorAt
final JsonField<OffsetDateTime> _lastErrorAt()
Returns the raw JSON value of lastErrorAt.
Unlike lastErrorAt, this method doesn't throw if the JSON field has an unexpected type.
-
_lastSuccessAt
final JsonField<OffsetDateTime> _lastSuccessAt()
Returns the raw JSON value of lastSuccessAt.
Unlike lastSuccessAt, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaTelemetryDestinationDeliveryHealth.Builder toBuilder()
-
validate
final BetaTelemetryDestinationDeliveryHealth validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaTelemetryDestinationDeliveryHealth.Builder builder()
Returns a mutable builder for constructing an instance of BetaTelemetryDestinationDeliveryHealth.
The following fields are required:
.lastError() .lastErrorAt() .lastSuccessAt()
-
-
-
-