-
public final class EloDiagnosticsEntryOne recorded load/preload operation, newest first in EloDiagnosticsSnapshot.entries. Cache-hit loads are recorded too — they carry the served outcome but no captured payload, because no network request was constructed.
Mirrors iOS
DiagnosticsEntry.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceEloDiagnosticsEntry.Outcomepublic interfaceEloDiagnosticsEntry.ErrorCategory
-
Field Summary
Fields Modifier and Type Field Description private final LongtimestampEpochMsprivate final IntegermessageCountprivate final IntegercontextCountprivate final LonglatencyMsprivate final EloDiagnosticsEntry.Outcomeoutcomeprivate final StringrequestPayloadJsonprivate final StringserverRequestId
-
Constructor Summary
Constructors Constructor Description EloDiagnosticsEntry(Long timestampEpochMs, Integer messageCount, Integer contextCount, Long latencyMs, EloDiagnosticsEntry.Outcome outcome, String requestPayloadJson, String serverRequestId)
-
Method Summary
Modifier and Type Method Description final LonggetTimestampEpochMs()Epoch millis when the operation completed. final IntegergetMessageCount()Message count of the chat context handed to the SDK. final IntegergetContextCount()Context-object count (capped at 999). final LonggetLatencyMs()Wall-clock operation latency in milliseconds. final EloDiagnosticsEntry.OutcomegetOutcome()final StringgetRequestPayloadJson()Redacted copy of the Elo network request this operation constructed, pretty-printed JSON. final StringgetServerRequestId()The server ad-opportunity id (ad response request_id) for this operation.-
-
Method Detail
-
getTimestampEpochMs
final Long getTimestampEpochMs()
Epoch millis when the operation completed.
-
getMessageCount
final Integer getMessageCount()
Message count of the chat context handed to the SDK.
-
getContextCount
final Integer getContextCount()
Context-object count (capped at 999).
-
getLatencyMs
final Long getLatencyMs()
Wall-clock operation latency in milliseconds.
-
getOutcome
final EloDiagnosticsEntry.Outcome getOutcome()
-
getRequestPayloadJson
final String getRequestPayloadJson()
Redacted copy of the Elo network request this operation constructed, pretty-printed JSON. Message content and context descriptions are dropped (counts and roles/types remain); identity, consent, and the full
deviceblock (includingdevice.geo) are retained.Off by default: only populated when the host app opted in via ad.elo.androidsdk.Elo.setRequestPayloadCaptureEnabled, since it carries the advertising id, geolocation, and consent strings. Also null when the operation never built an Elo request (cache hit, session disabled, adapter-only failure).
-
getServerRequestId
final String getServerRequestId()
The server ad-opportunity id (ad response
request_id) for this operation. E2E flows read it to correlate this exact request to its downstream impression/click events server-side. Null for cached, no-fill, and not-configured outcomes (no fresh Elo server response). Mirrors iOSDiagnosticsEntry.serverRequestId.
-
-
-
-